eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::ForStatementNode':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ForStatementNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

   Object
   |
   +--ParseNode
      |
      +--StatementNode
         |
         +--JavaScriptParser::JavaScriptStatementNode
            |
            +--JavaScriptParser::ForStatementNode

Package:
stx:libjavascript
Category:
Languages-JavaScript-Compiling & Parsing
Owner:
JavaScriptParser

Instance protocol:

accessing
o  arrayExpression

o  condition

o  incrExpression

o  initExpression

o  initExpression: i condition: c incrExpression: incr loopStatements: l

o  loopStatements

o  varExpression

o  varExpression: v arrayExpression: a loopStatements: l

compiling
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
make a block...

enumeration
o  allSubNodesDo: aBlock
evaluate aBlock for each subnode

o  childrenDo: aBlock

o  messageSelectorsDo: aBlock
evaluate aBlock for each message-selector sent by this node and subnodes

o  messagesDo: aBlock
evaluate aBlock for each message-node sent by this node and subnodes

o  variableNodesDo: aBlock
evaluate aBlock for each variable-node in this node and subnodes

evaluation
o  evaluateExpressionIn: anEnvironment
finished

printing
o  printOn: aStream indent: i

testing
o  hasBreakStatement
is there a break statement in the loop?

o  isExpressionStatement

o  isForStatement

visiting
o  acceptVisitor: visitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 02:57:15 GMT