public final class DefExpression extends Expression
Constructor and Description |
---|
DefExpression(ASTInfo info,
Type type,
String identifier) |
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
accept(ExpressionVisitor<T,E> visitor)
Accepts visitor.
|
protected Object |
basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
String |
getIdentifier()
Returns the identifier.
|
ASTRange |
getIdentifierRange()
Returns the range of the identifier.
|
ASTRange |
getTypeRange()
Returns the range of the type.
|
boolean |
requiresNewNamespace() |
createANTLRParser, doInterpret, evalCondition, evaluate, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getResultExpression, getResultExpressions, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, 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 String getIdentifier()
public boolean requiresNewNamespace()
requiresNewNamespace
in class Expression
true
if the interpretation requires a new namespacepublic <T,E extends Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends Throwable
Expression
accept
in class Expression
E
E extends Throwable
protected Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace)
Expression
basicInterpret
in class Expression
public ASTRange getTypeRange()
public ASTRange getIdentifierRange()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.