com.alibaba.simpleEL.dialect.tiny.ast.stmt.TinyELWhileStatement 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 TinyELWhileStatement extends TinyELStatement {
private final List statementList = new ArrayList();
private TinyELExpr condition;
public TinyELWhileStatement() {
}
public TinyELExpr getCondition() {
return condition;
}
public void setCondition(TinyELExpr condition) {
this.condition = condition;
}
public List getStatementList() {
return statementList;
}
@Override
protected void accept0(TinyELAstVisitor visitor) {
if (visitor.visit(this)) {
acceptChild(visitor, condition);
acceptChild(visitor, statementList);
}
visitor.endVisit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy