public final class ThisConstructorExpression extends Expression
Constructor and Description |
---|
ThisConstructorExpression(ASTInfo info,
FunctionSignature signature,
List<Expression> arguments)
Constructs a new "this" record constructor invocation 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.
|
List<Expression> |
getArguments()
Returns unmodifiable list of argument expressions.
|
FunctionSignature |
getSignature()
Returns the constructor signature.
|
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 ThisConstructorExpression(ASTInfo info, FunctionSignature signature, List<Expression> arguments)
info
- signature
- arguments
- public List<Expression> getArguments()
public FunctionSignature getSignature()
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-2020 Whitestein Technologies. All Rights Reserved.