com.alibaba.simpleEL.dialect.tiny.ast.TinyELBooleanExpr 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;
import com.alibaba.simpleEL.dialect.tiny.visitor.TinyELAstVisitor;
public class TinyELBooleanExpr extends TinyELExpr {
private boolean value;
public TinyELBooleanExpr(boolean value) {
this.value = value;
}
public boolean getValue() {
return value;
}
public void setValue(boolean value) {
this.value = value;
}
@Override
protected void accept0(TinyELAstVisitor visitor) {
visitor.visit(this);
visitor.endVisit(this);
}
@Override
public void output(StringBuffer buf) {
buf.append(value ? "true" : "false");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy