public final class MapExpression extends ContainerExpression
Constructor and Description |
---|
MapExpression(ASTInfo info)
Creates new instance of
MapExpression representing
and empty map expression. |
MapExpression(ASTInfo info,
MapType returnType,
List<Expression> indexExpressions,
List<Expression> itemExpressions)
Creates new instance of
MapExpression . |
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.
|
List<Expression> |
getIndexExpressions()
Returns the index expressions.
|
MapType |
getType()
Returns the return type.
|
getItemExpressions
createANTLRParser, doInterpret, evalCondition, evaluate, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getResultExpression, getResultExpressions, 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 MapExpression(ASTInfo info)
MapExpression
representing
and empty map expression.info
- public MapExpression(ASTInfo info, MapType returnType, List<Expression> indexExpressions, List<Expression> itemExpressions)
MapExpression
.info
- returnType
- indexExpressions
- itemExpressions
- NullPointerException
- if indexExpressions
or itemExpressions
is
nullIllegalArgumentException
- if indexExpressions
or itemExpressions
contain nullpublic MapType getType()
Expression
getType
in class Expression
public List<Expression> getIndexExpressions()
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
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.