public final class DefExpression extends Expression
| Constructor and Description |
|---|
DefExpression(ASTInfo info,
Type type,
String identifier,
boolean isFinal) |
| 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.
|
ASTNode |
getIdentifierRange()
Returns the range of the identifier.
|
ASTNode |
getKeywordRange()
Returns the range of the keyword (def or final).
|
ASTNode |
getTypeRange()
Returns the range of the type.
|
boolean |
requiresNewNamespace() |
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, setCompiled, showInFullText, showInSurroundingText, showInText, toExpressionsgetFullText, getLine, getNodeText, getText, toStringcontains, getBeginIndex, getEndIndex, getLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFullText, getLine, getNodeText, getTextcontains, getBeginIndex, getEndIndex, getLengthpublic String getIdentifier()
public boolean requiresNewNamespace()
requiresNewNamespace in class Expressiontrue if the interpretation requires a new namespacepublic <T,E extends Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends Throwable
Expressionaccept in class ExpressionEE extends Throwableprotected Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace)
ExpressionbasicInterpret in class Expressionpublic ASTNode getKeywordRange()
public ASTNode getTypeRange()
public ASTNode getIdentifierRange()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.