|
Class: DoWhileStatementNode (private in JavaScriptParser
This class is only visible from within
JavaScriptParser.
Object
|
+--ParseNode
|
+--StatementNode
|
+--JavaScriptParser::JavaScriptStatementNode
|
+--JavaScriptParser::DoWhileStatementNode
- Package:
- stx:libjavascript
- Category:
- Languages-JavaScript-Compiling & Parsing
- Owner:
- JavaScriptParser
accessing
-
condition
-
return the value of the instance variable 'condition' (automatically generated)
-
condition: something
-
set the value of the instance variable 'condition' (automatically generated)
-
condition: c loopStatements: l
-
-
loopStatements
-
return the value of the instance variable 'loopStatements' (automatically generated)
-
loopStatements: something
-
set the value of the instance variable 'loopStatements' (automatically generated)
compiling
-
codeForSideEffectOn: aStream inBlock: b for: aCompiler
-
always false: no loop at all
enumeration
-
childrenDo: aBlock
-
-
messageSelectorsDo: aBlock
-
evaluate aBlock for each message-selector sent by this node and subnodes
-
messagesnodeDo: aBlock
-
evaluate aBlock for each message-node sent by this node and subnodes
evaluation
-
evaluateExpressionIn: anEnvironment
-
printing
-
printOn: aStream indent: i
-
JavaScriptParser
parseFunction:'
test() {
var i = 0;
do {
Transcript.showCR(''hello'');
} while (i++ < 5);
}
'.
testing
-
isDoWhileStatement
-
-
isExpressionStatement
-
visiting
-
acceptVisitor: visitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|