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.20 date: 2021/01/20 10:29:48
user: cg
file: SuperNode.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


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

copyright

COPYRIGHT (c) 1994 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 03:46:06 GMT