eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBCascadeNode':

Home

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

Class: RBCascadeNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBStatementNode
         |
         +--RBValueNode
            |
            +--RBCascadeNode

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.17 date: 2019/05/27 13:11:56
user: cg
file: RBCascadeNode.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


BRCascadeNode is an AST node for cascaded messages (e.g., "self print1 ; print2").

Instance Variables:
	messages        <SequenceableCollection of: BRMessageNode>      the messages 
	semicolons      <SequenceableCollection of: Integer>    positions of the ; between messages


Class protocol:

instance creation
o  messages: messageNodes

o  messages: messageNodes semicolons: integerCollection


Instance protocol:

accessing
o  children

o  messages

o  messages: messageNodeCollection

o  precedence

o  receiver

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)

copying-private
o  postCopy

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

initialize-release
o  messages: messageNodes semicolons: integerCollection

matching
o  copyInContext: aDictionary

o  match: aNode inContext: aDictionary

querying
o  bestNodeFor: anInterval

o  firstLineNumber

o  lastLineNumber

o  whichNodeIsContainedBy: anInterval

replacing
o  replaceNode: aNode withNode: anotherNode

testing
o  directlyUses: aNode

o  isCascade

o  uses: aNode

visitor
o  acceptVisitor: aProgramNodeVisitor



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 19:53:57 GMT