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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 16:51:52 GMT