eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBOptimizedNode':

Home

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

Class: RBOptimizedNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBStatementNode
         |
         +--RBValueNode
            |
            +--RBOptimizedNode

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.9 date: 2016/12/09 14:41:17
user: cg
file: RBOptimizedNode.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


BROptimizedNode is an AST node that represents IBM's ##(...) expressions. These expressions are evaluated at compile time and directly inserted into the method.

Instance Variables:
	body	<BRSequenceNode>	the body of the expression
	left	<Integer>	position of the ##( characters
	right	<Integer>	position of )


Class protocol:

instance creation
o  body: aSequenceNode

o  left: leftInteger body: aSequenceNode right: rightInteger


Instance protocol:

accessing
o  body

o  body: stmtsNode

o  children

o  precedence

o  startWithoutParentheses

o  stopWithoutParentheses

comparing
o  = anObject

o  equalTo: anObject withMapping: aDictionary
return true, if I am equal to another node, with a given variable name mapping.
Side effect: update the mapping dictionary as required to reflect a matching mapping (if possible)

o  equalTo: anObject withSelectorMapping: aDictionary
return true, if I am equal to another node, with a given selector name mapping.
Side effect: update the mapping dictionary as required to reflect a matching mapping (if possible)

o  hash

o  semanticallyEqualTo: anObject withMapping: aDictionary
return true, if I am semantically equal to another node, with a given variable name mapping.
Side effect: update the mapping dictionary as required to reflect a matching mapping (if possible)

enumeration
o  variableNodesDo: aBlock
evaluate a Block for all variable nodes

initialize-release
o  left: leftInteger body: aSequenceNode right: rightInteger

matching
o  copyInContext: aDictionary

o  match: aNode inContext: aDictionary

replacing
o  replaceNode: aNode withNode: anotherNode

testing
o  isImmediate

visitor
o  acceptVisitor: aProgramNodeVisitor



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Thu, 15 Nov 2018 12:24:45 GMT