com.alibaba.simpleEL.dialect.tiny.ast.stmt.TinyELForStatement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SimpleEL Show documentation
Show all versions of SimpleEL Show documentation
simple expression language implementation
The newest version!
package com.alibaba.simpleEL.dialect.tiny.ast.stmt;
import java.util.ArrayList;
import java.util.List;
import com.alibaba.simpleEL.dialect.tiny.ast.TinyELExpr;
import com.alibaba.simpleEL.dialect.tiny.visitor.TinyELAstVisitor;
public class TinyELForStatement extends TinyELStatement {
private String type;
private final List variants = new ArrayList();
private TinyELExpr condition;
private TinyELExpr postExpr;
private final List statementList = new ArrayList();
public TinyELForStatement() {
}
public List getStatementList() {
return statementList;
}
public TinyELExpr getCondition() {
return condition;
}
public void setCondition(TinyELExpr condition) {
this.condition = condition;
}
public TinyELExpr getPostExpr() {
return postExpr;
}
public void setPostExpr(TinyELExpr postExpr) {
this.postExpr = postExpr;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List getVariants() {
return variants;
}
@Override
protected void accept0(TinyELAstVisitor visitor) {
if (visitor.visit(this)) {
acceptChild(visitor, variants);
acceptChild(visitor, condition);
acceptChild(visitor, postExpr);
acceptChild(visitor, statementList);
}
visitor.endVisit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy