public final class RecordExpression extends Expression
| Constructor and Description |
|---|
RecordExpression(ASTInfo info,
RecordType returnType,
java.util.Map<java.lang.String,Expression> fieldExpressions)
Creates new instance of
RecordExpression. |
| 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.util.Map<java.lang.String,Expression> |
getFieldExpressions()
Returns the field expressions.
|
java.util.List<java.lang.String> |
getFieldKeys()
Returns the immutable list of field keys (names).
|
java.util.Map<java.lang.String,ASTRange> |
getFieldRanges()
Returns the map of field ranges.
|
java.util.List<Expression> |
getFieldValueExpressions()
Returns the immutable list of field value expressions.
|
RecordType |
getType()
Returns the return type.
|
ASTNode |
getTypeRange()
Returns the range of the record type.
|
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, requiresNewNamespace, 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 RecordExpression(ASTInfo info, RecordType returnType, java.util.Map<java.lang.String,Expression> fieldExpressions)
RecordExpression.info - returnType - fieldExpressions - java.lang.NullPointerException - if fieldExpressions is nulljava.lang.IllegalArgumentException - if fieldExpressions contains null key or valuepublic java.util.Map<java.lang.String,Expression> getFieldExpressions()
public java.util.List<java.lang.String> getFieldKeys()
public java.util.List<Expression> getFieldValueExpressions()
public RecordType getType()
ExpressiongetType in class Expressionpublic <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) throws ErrorException
ExpressionbasicInterpret in class ExpressionErrorExceptionpublic ASTNode getTypeRange()
public java.util.Map<java.lang.String,ASTRange> getFieldRanges()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.