eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptParser::PostIncDecNode':

Home

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

Class: PostIncDecNode (private in JavaScriptParser

This class is only visible from within JavaScriptParser.

Inheritance:

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

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

Instance protocol:

compiling
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
should not arrive here

o  codeOn: aStream inBlock: codeBlock for: aCompiler

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  isPostIncDec

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; Sun, 22 Dec 2024 02:54:45 GMT