eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MethodNode':

Home

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

Class: MethodNode


Inheritance:

   Object
   |
   +--ParseNode
      |
      +--MethodNode

Package:
stx:libcomp
Category:
System-Compiler ST-80-compatibility
Version:
rev: 1.14 date: 2014/03/24 12:12:59
user: stefan
file: MethodNode.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:

accessing
o  arguments

o  arguments: something

o  arguments: argVars locals: localVars statements: stats

o  encoder

o  encoder: something

o  locals

o  selector

o  selector: sel

o  selector: sel arguments: argVars locals: localVars statements: stats

o  statementCollection
returns an orderedColl for my linked statement list

o  statements

o  statements: something

code generation
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
(comment from inherited method)
generate code for this statement - value not needed

o  emitEffect: aStream

printing
o  printOn: aStream indent: i
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

testing
o  isMethodNode



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 27 Apr 2024 01:17:26 GMT