public class IndexNode extends ATargetBoundNode
children, syntaxNode| Constructor and Description |
|---|
IndexNode(ISyntaxNode syntaxNode,
IBoundNode[] children,
IBoundNode targetNode,
IOpenIndex index) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(Object value,
IRuntimeEnv env) |
Object |
evaluateRuntime(IRuntimeEnv env) |
IOpenClass |
getType() |
boolean |
isLiteralExpressionParent() |
boolean |
isLvalue() |
void |
updateAssignFieldDependency(BindingDependencies dependencies) |
getTargetNode, setTargetNodeevaluate, evaluateChildren, getChildren, getSyntaxNode, isLiteralExpression, isStaticTarget, setSyntaxNode, updateDependency, visitpublic IndexNode(ISyntaxNode syntaxNode, IBoundNode[] children, IBoundNode targetNode, IOpenIndex index)
syntaxNode - children - targetNode - public void assign(Object value, IRuntimeEnv env) throws OpenLRuntimeException
assign in interface IBoundNodeassign in class ABoundNodeOpenLRuntimeExceptionpublic Object evaluateRuntime(IRuntimeEnv env) throws OpenLRuntimeException
OpenLRuntimeExceptionpublic IOpenClass getType()
public boolean isLvalue()
isLvalue in interface IBoundNodeisLvalue in class ABoundNodepublic void updateAssignFieldDependency(BindingDependencies dependencies)
updateAssignFieldDependency in interface IBoundNodeupdateAssignFieldDependency in class ABoundNodepublic boolean isLiteralExpressionParent()
isLiteralExpressionParent in class ABoundNodeCopyright © 2015. All rights reserved.