|
Class: StatementBlockNode (private in JavaScriptParser
This class is only visible from within
JavaScriptParser.
Object
|
+--ParseNode
|
+--StatementNode
|
+--JavaScriptParser::JavaScriptStatementNode
|
+--JavaScriptParser::StatementBlockNode
- Package:
- stx:libjavascript
- Category:
- Languages-JavaScript-Compiling & Parsing
- Owner:
- JavaScriptParser
accessing
-
> endPosition">endPosition
-
(comment from inherited method)
the node's last character position in the original source
-
> startPosition">startPosition
-
(comment from inherited method)
the node's character position in the original source
-
> statements">statements
-
-
> statements:">statements: something
-
code generation
-
> codeForSideEffectOn:inBlock:for:">codeForSideEffectOn: aStream inBlock: b for: aCompiler
-
enumeration
-
> allNodesDo:">allNodesDo: aBlock
-
evaluate aBlock for each node in this node and subnodes
-
> allSubNodesDo:">allSubNodesDo: aBlock
-
evaluate aBlock for each subnode
-
> childrenDo:">childrenDo: aBlock
-
evaluate aBlock for each node in this node and subnodes
-
> messageSelectorsDo:">messageSelectorsDo: aBlock
-
evaluate aBlock for each message-selector sent by this node and subnodes
-
> messagesDo:">messagesDo: aBlock
-
evaluate aBlock for each message-node sent by this node and subnodes
-
> variableNodesDo:">variableNodesDo: aBlock
-
evaluate aBlock for each variable-node in this node and subnodes
printing
-
> printOn:indent:">printOn: aStream indent: i
-
visiting
-
> acceptVisitor:">acceptVisitor: visitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|