eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::ConditionalNode':

Home

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

Class: ConditionalNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

   Object
   |
   +--ParseNode
      |
      +--JavaScriptParser::ConditionalNode

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

Instance protocol:

accessing
o  condition

o  condition: c expression1: e1 expression2: e2

o  elseExpression

o  ifExpression

compilation
o  codeOn: aStream inBlock: b for: aCompiler

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

evaluation
o  evaluateIn: anEnvironment

printing
o  printOn: aStream indent: i
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

testing
o  isJavaScriptConditionalExpression
(comment from inherited method)
return true, if this is a node for a ?: expression

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:55:48 GMT