eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SuperNode':

Home

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

Class: SuperNode


Inheritance:

   Object
   |
   +--ParseNode
      |
      +--PrimaryNode
         |
         +--SelfNode
            |
            +--SuperNode

Package:
stx:libcomp
Category:
System-Compiler-Support
Version:
rev: 1.19 date: 2018/08/30 11:26:00
user: cg
file: SuperNode.st directory: libcomp
module: stx stc-classLibrary: libcomp
Author:
Claus Gittinger

Description:


node for parse-trees, representing super
This is a helper class for the compiler.


Class protocol:

instance creation
o  value: val inClass: cls

o  value: val inClass: cls here: isHere


Instance protocol:

accessing
o  definingClass

o  value: val inClass: cls here: h

printing & storing
o  displayOn: aGCOrStream
Compatibility
append a printed desription on some stream (Dolphin, Squeak)
OR:
display the receiver in a graphicsContext at 0@0 (ST80).
This method allows for any object to be displayed in some view
(although the fallBack is to display its printString ...)

o  printOn: aStream indent: i

testing
o  isHere

o  isSuper
return true, if this is a super-node

o  name

visiting
o  acceptVisitor: aVisitor
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, 26 Apr 2024 21:33:04 GMT