|
Class: Variable
Object
|
+--Variable
|
+--JavaScriptVariable
- Package:
- stx:libcomp
- Category:
- System-Compiler-Support
- Version:
- rev:
1.24
date: 2018/08/27 11:40:44
- user: cg
- file: Variable.st directory: libcomp
- module: stx stc-classLibrary: libcomp
- Author:
- Claus Gittinger
node for parse-trees, representing variables
This is a helper class for the compiler.
instance creation
-
name: name
-
return a new node for a variable named name
-
type: type name: name
-
accessing
-
classHint
-
-
classHint: something
-
-
name
-
return the name of the variable
-
name: nameString
-
set the name of the variable
-
type: typeSymbol name: nameString
-
self assert:nameString notNil.
-
used
-
return the flag marking that this variable has been used
-
used: aBoolean
-
set/clear the flag marking that this variable has been used
-
value
-
return the value of the variable
-
value: v
-
set the value of the (simulated) variable
-
variableValue
-
return the value of the variable
enumerating
-
nodeDo: anEnumerator
-
helper for parse tree walking
printing & storing
-
printOn: aStream
-
special
-
domain
-
-
domain: aDomain
-
-
expressionForSetup
-
finite domain setup
-
type
-
|