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.10 date: 2024/01/22 15:11:36
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
(comment from inherited method)
return true if the receiver and the arg have the same structure.
Notice:
This method is partially open coded (inlined) by the compiler(s)
identical objects are always considered equal.
redefining it may not work as expected.

o  hash
(comment from inherited method)
return an Integer useful as a hash key for the receiver.
This hash should return same values for objects with same
contents (i.e. use this to hash on structure)

copying-private
o  postCopy
Modified (format): / 22-01-2024 / 15:34:19 / cg

initialization
o  leftBrace: leftBrace0 rightBrace: rightBrace0 statements: statements0
Modified (format): / 22-01-2024 / 15:34:15 / cg

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
Modified (format): / 22-01-2024 / 15:34:22 / cg

testing
o  isArray
This is bad...

o  isSqueakArray

o  lastIsReturn

visitor
o  acceptVisitor: aProgramNodeVisitor



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 10:51:07 GMT