eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::TryCatchStatementNode':

Home

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

Class: TryCatchStatementNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

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

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

Instance protocol:

accessing
o  catchBlock

o  errorExpression

o  finallyBlock

o  finallyBlock: something

o  tryBlock

o  tryBlock: tryBlockArg errorExpression: errorExpressionArg catchBlock: catchBlockArg

o  tryBlock: tryBlockArg finallyBlock: finallyBlockArg

compiling
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
a try...finally

enumeration
o  allSubNodesDo: aBlock
evaluate aBlock for each subnode

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

testing
o  isExpressionStatement

o  isTryCatchFinallyStatement

o  isTryCatchStatement

o  isTryFinallyStatement

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



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 12 Aug 2022 15:10:48 GMT