public class ProtoVarNode extends ASTNode implements Assignment
isDeepPropertyaccessor, ARRAY_TYPE_LITERAL, ASSIGN, BLOCK_DO, BLOCK_DO_UNTIL, BLOCK_FOR, BLOCK_FOREACH, BLOCK_IF, BLOCK_UNTIL, BLOCK_WHILE, BLOCK_WITH, COLLECTION, COMPILE_IMMEDIATE, cursorPosition, DEEP_PROPERTY, DEFERRED_TYPE_RES, DEOP, DISCARD, egressType, endOfName, fields, firstUnion, IDENTIFIER, INLINE_COLLECTION, INVERT, literal, LITERAL, nameCache, nextASTNode, NOJIT, NUMERIC, OPERATOR, OPT_SUBTR, PCTX_STORED, safeAccessor, STRONG_TYPING, THISREF| Constructor and Description |
|---|
ProtoVarNode(char[] expr,
int fields,
Proto type,
ParserContext pCtx) |
ProtoVarNode(String name,
Proto type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssignmentVar() |
char[] |
getExpression() |
String |
getName() |
Object |
getReducedValue(Object ctx,
Object thisValue,
VariableResolverFactory factory) |
Object |
getReducedValueAccelerated(Object ctx,
Object thisValue,
VariableResolverFactory factory) |
boolean |
isNewDeclaration() |
void |
setValueStatement(ExecutableStatement stmt) |
canSerializeAccessor, discard, getAbsoluteName, getAbsoluteRemainder, getAbsoluteRootElement, getAccessor, getCursorPosition, getEgressType, getFields, getLiteralValue, getNameAsArray, getOperator, isAssignment, isCollection, isDebuggingSymbol, isDeepProperty, isDiscard, isIdentifier, isLiteral, isOperator, isOperator, isThisVal, setAccessor, setAsLiteral, setCursorPosition, setEgressType, setLiteralValue, setName, storeInLiteralRegister, storePctx, strongTyping, toString, tryStaticAccesspublic ProtoVarNode(char[] expr,
int fields,
Proto type,
ParserContext pCtx)
public Object getReducedValueAccelerated(Object ctx, Object thisValue, VariableResolverFactory factory)
getReducedValueAccelerated in class ASTNodepublic Object getReducedValue(Object ctx, Object thisValue, VariableResolverFactory factory)
getReducedValue in class ASTNodepublic String getAssignmentVar()
getAssignmentVar in interface Assignmentpublic char[] getExpression()
getExpression in interface Assignmentpublic boolean isNewDeclaration()
isNewDeclaration in interface Assignmentpublic void setValueStatement(ExecutableStatement stmt)
setValueStatement in interface AssignmentCopyright © 2014. All rights reserved.