@Override public Expression clone() { if (elseStatement != null) return new IfExpression((AsBooleanExpression) condition.clone(), thenStatement.clone(), elseStatement.clone()); else return new IfExpression((AsBooleanExpression) condition.clone(), thenStatement.clone()); }
@Override public Object get(Object key) { Object o = proxy.get(key); if (o instanceof Config) return createProxyConfig(this, (String) key, this, (Config) o); else return o; }
protected Config getConfig() { if (config != null) return config; Config config = createConfig(parent(), name()); main.put(key, this.config = config); return config; }
@Override public void setVariable(Variable v) { condition.setVariable(v); if (elseStatement != null) elseStatement.setVariable(v); }
protected Config getConfig() { if (config != null) return config; Config config = createConfig(parent(), name()); main.put(key, this.config = config); return config; }
@Override public Expression clone() { if (elseStatement != null) return new IfExpression((AsBooleanExpression) condition.clone(), thenStatement.clone(), elseStatement.clone()); else return new IfExpression((AsBooleanExpression) condition.clone(), thenStatement.clone()); }
@Override public Object get(Object key) { Object o = proxy.get(key); if (o instanceof Config) return createProxyConfig(this, (String) key, this, (Config) o); else return o; }
@Override public void setVariable(Variable v) { condition.setVariable(v); if (elseStatement != null) elseStatement.setVariable(v); }