|
Class: RBArrayNode
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
I represent a squeak constructed array { expr1. expr2. ... exprN }
instance creation
-
leftBrace: leftBrace rightBrace: rightBrace statements: statements
-
accessing
-
addNode: aRBMessageNode
-
-
children
-
-
left: leftBrace0
-
-
leftBrace: leftBrace0
-
-
periods
-
-
periods: periods0
-
-
precedence
-
-
right: rightBrace0
-
-
rightBrace: rightBrace0
-
-
start
-
-
startWithoutParentheses
-
-
statements
-
-
statements: statements0
-
-
stop
-
-
stopWithoutParentheses
-
comparing
-
= 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.
-
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
-
postCopy
-
Modified (format): / 22-01-2024 / 15:34:19 / cg
initialization
-
leftBrace: leftBrace0 rightBrace: rightBrace0 statements: statements0
-
Modified (format): / 22-01-2024 / 15:34:15 / cg
matching
-
match: aNode inContext: aDictionary
-
1 to: statements size do: [:i |
Usage example(s):
((statements at: i) match: (aNode statements at: i) inContext: aDictionary)
|
replacing
-
replaceNode: oldNode withNode: newNode
-
Modified (format): / 22-01-2024 / 15:34:22 / cg
testing
-
isArray
-
This is bad...
-
isSqueakArray
-
-
lastIsReturn
-
visitor
-
acceptVisitor: aProgramNodeVisitor
-
|