|
Class: ProgramNodeEnumerator
Object
|
+--ProgramNodeEnumerator
- Package:
- stx:libcomp
- Category:
- System-Compiler
- Version:
- rev:
1.11
date: 2021/01/20 16:04:04
- user: cg
- file: ProgramNodeEnumerator.st directory: libcomp
- module: stx stc-classLibrary: libcomp
This is a pure mimicri class.
It is not used by ST/X, but provided to support limited
compatibility for applications which walk codetrees,
knowing internals of ST-80's compiler class hierarchy.
This classes protocol is not (not meant to be) fully covering
the corresponding ST-80's classes protocol. It maps ST-80 messages
to corresponding ST/X messages (as far as possible).
This class was added to allow for the PD goody CodeReview to be filed
into ST/X.
NO WARRANTY and GUARANTEE; this class may be removed without notice.
copyrightCOPYRIGHT (c) 2004 by eXept Software AG
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.
instance creation
-
new
-
(comment from inherited method)
return an instance of myself without indexed variables
enumeration callbacks
-
doAssignment: aNode variable: var value: val
-
-
doBlock: aNode arguments: args body: seq
-
-
doCascade: aNode receiver: rcvr messages: msgs
-
-
doLiteral: aNode value: lit
-
-
doMessage: aNode receiver: rcvr selector: sel arguments: args
-
-
doMethod: aNode selector: sel primitive: prim block: block
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
doParameter: aNode variable: var type: type
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
doPrimitive: aNode code: code primitiveIndex: primNumber
-
-
doReturn: aNode value: value
-
-
doSequence: aNode temporaries: temps statements: stats
-
-
doVariable: aNode name: nameString
-
private
-
collectNodes: nodeList
-
-
doNode: aNode
-
-
doNodeList: firstNode
-
-
doNodes: nodeList
-
cg: is it required to return the nodeList, or just sloppy programming?
-
doType: aType
-
|