eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::JavaScriptStatementNode':

Home

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

Class: JavaScriptStatementNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

   Object
   |
   +--ParseNode
      |
      +--StatementNode
         |
         +--JavaScriptParser::JavaScriptStatementNode
            |
            +--JavaScriptParser::AndExpressionNode
            |
            +--JavaScriptParser::BreakStatementNode
            |
            +--JavaScriptParser::ContinueStatementNode
            |
            +--JavaScriptParser::DoWhileStatementNode
            |
            +--JavaScriptParser::ForStatementNode
            |
            +--JavaScriptParser::IfStatementNode
            |
            +--JavaScriptParser::OrExpressionNode
            |
            +--JavaScriptParser::StatementBlockNode
            |
            +--JavaScriptParser::SwitchStatementNode
            |
            +--JavaScriptParser::ThrowStatementNode
            |
            +--JavaScriptParser::TryCatchStatementNode
            |
            +--JavaScriptParser::WhileStatementNode

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

Instance protocol:

compiling
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
(comment from inherited method)
generate code for this statement - value not needed

** This method must be redefined in concrete classes (subclassResponsibility) **

enumerating
o  variableNodesDo: aBlock
evaluate aBlock for each variable-node in this node and subnodes.
Redefined, because JavaScript has different StatementNode subclasses.

printing
o  printOn: aStream indent: i

o  printStatementListOn: aStream indent: i

testing
o  isDoWhileStatement

o  isExpressionStatement

o  isForStatement

o  isIfStatement

o  isThrowStatement

o  isTryCatchFinallyStatement

o  isTryCatchStatement

o  isTryFinallyStatement

o  isWhileStatement

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; Mon, 18 Nov 2024 06:31:37 GMT