eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PrimaryNode':

Home

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

Class: PrimaryNode


Inheritance:

   Object
   |
   +--ParseNode
      |
      +--PrimaryNode
         |
         +--ConstantNode
         |
         +--JavaScriptParser::ArrayAccessNode
         |
         +--JavaScriptParser::IncDecNode
         |
         +--JavaScriptParser::NewNode
         |
         +--JavaScriptParser::TypeOfNode
         |
         +--SelfNode
         |
         +--VariableNode

Package:
stx:libcomp
Category:
System-Compiler-Support
Version:
rev: 1.34 date: 2018/04/23 20:42:08
user: cg
file: PrimaryNode.st directory: libcomp
module: stx stc-classLibrary: libcomp
Author:
Claus Gittinger

Description:


node for parse-trees, representing primaries (variables & literals)
This is a helper class for the compiler.


Instance protocol:

accessing
o  charIndex

o  charIndex: something

o  line

o  line: something

o  type: t value: val

o  value

o  value: val

code generation
o  codeForSideEffectOn: aStream inBlock: b for: aCompiler
no code at all

o  codeStoreOn: aStream inBlock: codeBlock valueNeeded: valueNeeded for: aCompiler

enumeration
o  allSubNodesDo: aBlock
no subnodes

evaluation
o  store: aValue

printing & storing
o  printOn: aStream indent: i

queries
o  precedence

testing
o  isArgument

o  isBlockArg
return false here; to be redefined in subclass(es)

o  isBlockVariable
return false here; to be redefined in subclass(es)

o  isClassVariable

o  isInstanceVariable

o  isInstanceVariableNamed: name

o  isLocal

o  isMethodArg

o  isPoolVariable
return false here; to be redefined in subclass(es)

o  isPrimary
return true, if this is a node for a primary (i.e. non-send)

o  isUndeclared



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 06:55:49 GMT