com.alibaba.simpleEL.dialect.ql.ast.QLNumberLiteralExpr 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.ql.ast;
import com.alibaba.simpleEL.dialect.ql.visitor.QLAstVisitor;
public class QLNumberLiteralExpr extends QLLiteralExpr {
private Number value;
public QLNumberLiteralExpr() {
}
public QLNumberLiteralExpr(Number value) {
this.value = value;
}
public Number getValue() {
return value;
}
public void output(StringBuffer buf) {
if (value == null) {
buf.append("NULL");
} else {
buf.append(value.toString());
}
}
protected void accept0(QLAstVisitor visitor) {
visitor.visit(this);
visitor.endVisit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy