eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ProgramNodeBuilder':

Home

everywhere
www.exept.de
for:
[back]

Class: ProgramNodeBuilder


Inheritance:

   Object
   |
   +--ProgramNodeBuilder

Package:
stx:libcomp
Category:
System-Compiler ST-80-compatibility
Version:
rev: 1.7 date: 2012/08/03 20:25:04
user: stefan
file: ProgramNodeBuilder.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


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.


Instance protocol:

tree building
o  newBlockBody: statements

o  newGlobal: name
return a treeNode for a global variable

o  newLiteralValue: aConstantValue
return a treeNode for a literal constant

o  newMessageReceiver: receiverNode selector: selector

o  newMessageReceiver: receiverNode selector: selector arguments: arguments

o  newMethodArgument: name
return a treeNode for a method arg

o  newMethodLocal: name
return a treeNode for a method local

o  newMethodSelector: sel

o  newMethodSelector: sel arguments: argVars temporaries: localVars statements: statementNodes

o  newParameterVariable: aNode

o  newReturnValue: anExpressionNode
return a treeNode for a method-return

o  newSelf



ST/X 7.1.0.0; WebServer 1.653 at exept.de:8081; Sat, 21 Apr 2018 09:39:10 GMT