eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::TypeOfNode':

Home

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

Class: TypeOfNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

   Object
   |
   +--ParseNode
      |
      +--PrimaryNode
         |
         +--JavaScriptParser::TypeOfNode

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

Instance protocol:

accessing
o  expression

o  expression: something

o  lineNumber

o  lineNumber: something

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

o  codeOn: aStream inBlock: codeBlock for: aCompiler

enumeration
o  childrenDo: aBlock
evaluate aBlock for each subnode

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

evaluation
o  evaluateIn: anEnvironment

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; Sat, 21 Dec 2024 17:11:22 GMT