eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBArrayNode':

Home

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

Class: RBArrayNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBStatementNode
         |
         +--RBValueNode
            |
            +--RBArrayNode

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

Description:


I represent a squeak constructed array { expr1. expr2. ... exprN }


Class protocol:

instance creation
o  leftBrace: leftBrace rightBrace: rightBrace statements: statements


Instance protocol:

accessing
o  addNode: aRBMessageNode

o  children

o  left: leftBrace0

o  leftBrace: leftBrace0

o  periods

o  periods: periods0

o  precedence

o  right: rightBrace0

o  rightBrace: rightBrace0

o  start

o  startWithoutParentheses

o  statements

o  statements: statements0

o  stop

o  stopWithoutParentheses

comparing
o  = anObject

o  hash

copying-private
o  postCopy

initialization
o  leftBrace: leftBrace0 rightBrace: rightBrace0 statements: statements0

matching
o  match: aNode inContext: aDictionary
1 to: statements size do: [:i |

usage example(s):

((statements at: i) match: (aNode statements at: i) inContext: aDictionary)

replacing
o  replaceNode: oldNode withNode: newNode

testing
o  isArray
This is bad...

o  isSqueakArray

o  lastIsReturn

visitor
o  acceptVisitor: aProgramNodeVisitor



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 15:51:39 GMT