public final class DereferenceExpression extends AssignableExpression
Constructor and Description |
---|
DereferenceExpression(ASTInfo info,
Type returnType,
Expression expression) |
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.
|
Expression |
getExpression()
Returns the expression being dereferenced.
|
protected Object |
interpretCompoundAssignment(Operation operation,
Expression arg,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
void |
setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin)
Assign a value into the assignable (e.g.
|
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 DereferenceExpression(ASTInfo info, Type returnType, Expression expression)
info
- returnType
- expression
- public Expression getExpression()
public <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) throws ErrorException
Expression
basicInterpret
in class Expression
ErrorException
public void setValue(Object value, Namespace namespace, InterpreterStackTrace stackTrace, ExpressionOrigin origin) throws ErrorException
AssignableExpression
setValue
in class AssignableExpression
ErrorException
protected Object interpretCompoundAssignment(Operation operation, Expression arg, Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
interpretCompoundAssignment
in class AssignableExpression
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.