eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBValueNode':

Home

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

Class: RBValueNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBStatementNode
         |
         +--RBValueNode
            |
            +--RBArrayNode
            |
            +--RBAssignmentNode
            |
            +--RBBlockNode
            |
            +--RBCascadeNode
            |
            +--RBLiteralNode
            |
            +--RBMessageNode
            |
            +--RBOptimizedNode
            |
            +--RBSTXPrimitiveValueCCodeNode
            |
            +--RBVariableNode

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.11 date: 2017/02/06 12:34:18
user: cg
file: RBValueNode.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


BRValueNode is an abstract class that represents a node that returns some value.

Instance Variables:
	parentheses	<SequenceableCollection of: Inteval>	the positions of the parethesis around this node. We need a collection of intervals for stupid code such as "((3 + 4))" that has multiple parethesis around the same expression.


Instance protocol:

accessing
o  addParenthesis: anInterval

o  leftMostReceiver

o  parentheses

o  start

o  startWithoutParentheses

o  stop

o  stopWithoutParentheses

comparing
o  semanticallyEqualToNegated: expr2 withMapping: mappingDict
return true,

testing
o  containedBy: anInterval

o  hasParentheses

o  isValue



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 08:32:45 GMT