public class ProtoVarNode extends ASTNode implements Assignment
accessor, 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, tryStaticAccess
public ProtoVarNode(char[] expr, int fields, Proto type, ParserContext pCtx)
public Object getReducedValueAccelerated(Object ctx, Object thisValue, VariableResolverFactory factory)
getReducedValueAccelerated
in class ASTNode
public Object getReducedValue(Object ctx, Object thisValue, VariableResolverFactory factory)
getReducedValue
in class ASTNode
public String getAssignmentVar()
getAssignmentVar
in interface Assignment
public char[] getExpression()
getExpression
in interface Assignment
public boolean isNewDeclaration()
isNewDeclaration
in interface Assignment
public void setValueStatement(ExecutableStatement stmt)
setValueStatement
in interface Assignment
Copyright © 2012. All Rights Reserved.