public final class DefExpression extends Expression
| Constructor and Description | 
|---|
DefExpression(ASTInfo info,
             Type type,
             java.lang.String identifier,
             boolean isFinal)  | 
| 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. 
 | 
java.lang.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 java.lang.String getIdentifier()
public boolean requiresNewNamespace()
requiresNewNamespace in class Expressiontrue if the interpretation requires a new namespacepublic <T,E extends java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expressionaccept in class ExpressionEE extends java.lang.Throwableprotected java.lang.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.