public class CustomConstantExpression extends Expression
Modifier and Type | Method and Description |
---|---|
<T,E extends java.lang.Throwable> |
accept(ExpressionVisitor<T,E> visitor)
Accepts visitor.
|
protected java.lang.Object |
basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
static Expression |
create(ASTInfo astInfo,
ConstantInfo info)
Creates a custom constant expression.
|
ConstantInfo |
getConstantInfo()
Returns the constant info object.
|
java.lang.String |
getModuleName()
Returns the name of the module where the constant is declared.
|
java.lang.String |
getName()
Returns the constant name.
|
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, requiresNewNamespace, setCompiled, showInFullText, showInSurroundingText, showInText, toExpressions
getFullText, getLine, getNodeText, getText, toString
contains, getBeginIndex, getEndIndex, getLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFullText, getLine, getNodeText, getText
contains, getBeginIndex, getEndIndex, getLength
public static Expression create(ASTInfo astInfo, ConstantInfo info)
astInfo
- info
- public java.lang.String getName()
public java.lang.String getModuleName()
public ConstantInfo getConstantInfo()
public <T,E extends java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expression
accept
in class Expression
E
E extends java.lang.Throwable
protected java.lang.Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace)
Expression
basicInterpret
in class Expression
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.