public final class RecordConstructorExpression extends Expression
Constructor and Description |
---|
RecordConstructorExpression(ASTInfo info,
RecordType type,
FunctionSignature signature,
java.util.List<Expression> arguments)
Constructs a new record constructor expression.
|
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.List<Expression> |
getArguments()
Returns unmodifiable list of argument expressions.
|
FunctionSignature |
getSignature()
Returns the constructor signature.
|
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, 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 RecordConstructorExpression(ASTInfo info, RecordType type, FunctionSignature signature, java.util.List<Expression> arguments)
info
- type
- signature
- arguments
- public RecordType getType()
Expression
getType
in class Expression
public java.util.List<Expression> getArguments()
public FunctionSignature getSignature()
public <T,E extends java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expression
accept
in class Expression
E
E extends java.lang.Throwable
protected java.lang.Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
Expression
basicInterpret
in class Expression
ErrorException
public ASTNode getTypeRange()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.