|
Class: ArrayAccessNode (private in JavaScriptParser
This class is only visible from within
JavaScriptParser.
Object
|
+--ParseNode
|
+--PrimaryNode
|
+--JavaScriptParser::ArrayAccessNode
|
+--JavaScriptParser::ArrayStoreNode
- Package:
- stx:libjavascript
- Category:
- Languages-JavaScript-Compiling & Parsing
- Owner:
- JavaScriptParser
accessing
-
array: a index: i
-
-
array: a indices: i
-
-
arrayExpression
-
-
indexExpressions
-
-
lineNumber
-
-
lineNumber: something
-
compiling
-
codeOn: aStream inBlock: codeBlock for: aCompiler
-
-
codeOn: aStream inBlock: codeBlock valueNeeded: valueNeeded for: aCompiler
-
self halt.
-
codeStore: valueExpr on: aStream inBlock: codeBlock valueNeeded: valueNeeded for: aCompiler
-
self halt.
-
codeStoreOn: aStream inBlock: codeBlock valueNeeded: valueNeeded for: aCompiler
-
emit code to store the top of stack
enumeration
-
allSubNodesDo: aBlock
-
evaluate aBlock for each subnode
-
childrenDo: aBlock
-
evaluate aBlock for each subnode
-
messageSelectorsDo: aBlock
-
evaluate aBlock for each message-selector sent by this node and subnodes
-
messagesDo: aBlock
-
evaluate aBlock for each message-node sent by this node and subnodes
-
variableNodesDo: aBlock
-
evaluate aBlock for each variable-node in this node and subnodes
evaluating
-
evaluateIn: anEnvironment
-
^ arr js_at:idx
-
store: newValue
-
^ arr js_at:idx put:newValue
printing
-
printOn: aStream indent: i
-
queries
-
isImmutable
-
testing
-
isJavaScriptArrayAccess
-
(comment from inherited method)
return true, if this is a node for a javascript array reference i.e. expr[]
visiting
-
acceptVisitor: visitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|