public final class AssignmentExpression extends Expression
Constructor and Description |
---|
AssignmentExpression(ASTInfo info,
Expression leftExpression,
Expression rightExpression) |
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 |
getLeftExpression()
Returns the left-hand side expression.
|
ASTNode |
getOperatorRange() |
Expression |
getResultExpression()
Returns the result expression.
|
List<Expression> |
getResultExpressions()
Returns the result expression.
|
Expression |
getRightExpression()
Returns the right-hand side expression.
|
boolean |
requiresNewNamespace() |
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, 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 AssignmentExpression(ASTInfo info, Expression leftExpression, Expression rightExpression)
info
- leftExpression
- rightExpression
- public boolean requiresNewNamespace()
requiresNewNamespace
in class Expression
true
if the interpretation requires a new namespacepublic Expression getLeftExpression()
public Expression getRightExpression()
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 Expression getResultExpression()
Expression
this
.getResultExpression
in class Expression
this
)public List<Expression> getResultExpressions()
Expression
getResultExpressions
in class Expression
public ASTNode getOperatorRange()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.