eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::PreIncDecNode':

Home

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

Class: PreIncDecNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

   Object
   |
   +--ParseNode
      |
      +--PrimaryNode
         |
         +--JavaScriptParser::IncDecNode
            |
            +--JavaScriptParser::PreIncDecNode

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

Instance protocol:

compiling
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
expression lineNumber

o  codeOn: aStream inBlock: codeBlock for: aCompiler
expression lineNumber

evaluation
o  evaluateIn: anEnvironment

printing
o  displayString
(comment from inherited method)
return a string used when displaying the receiver in a view;
for example an Inspector. This is usually the same as printString,
but sometimes redefined for a better look.

Notice: displayString and displayOn: are for developers, debugging and inspectors,
whereas printString and printOn: are for the program to print data.

Note: the base method (used by the inspector) is #displayOn:.
So you should implement #displayOn: instead of #displayString in subclasses.

o  printOn: aStream indent: i

testing
o  isPreIncDec

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 10:24:28 GMT