|
Class: ProgramNodeBuilder
Object
|
+--ProgramNodeBuilder
- Package:
- stx:libcomp
- Category:
- System-Compiler ST-80-compatibility
- Version:
- rev:
1.9
date: 2021/01/20 14:34:24
- user: cg
- file: ProgramNodeBuilder.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 build up 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).
NO WARRANTY and GUARANTEE; this class may be removed without notice.
copyrightCOPYRIGHT (c) 1995 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.
tree building
-
newMessageReceiver: receiverNode selector: selector arguments: arguments
-
tree building
-
newBlockBody: statements
-
-
newGlobal: name
-
return a treeNode for a global variable
-
newLiteralValue: aConstantValue
-
return a treeNode for a literal constant
-
newMessageReceiver: receiverNode selector: selector
-
-
newMessageReceiver: arg1 selector: arg2 arguments: arg3
-
-
newMethodArgument: name
-
return a treeNode for a method arg
-
newMethodLocal: name
-
return a treeNode for a method local
-
newMethodSelector: sel
-
-
newMethodSelector: sel arguments: argVars temporaries: localVars statements: statementNodes
-
-
newParameterVariable: aNode
-
-
newReturnValue: anExpressionNode
-
return a treeNode for a method-return
-
newSelf
-
|