|
Class: RBPragmaNode
Object
|
+--RBProgramNode
|
+--RBPragmaNode
- Package:
- stx:goodies/refactoryBrowser/parser
- Category:
- Refactory-AST-Nodes
- Version:
- rev:
1.6
date: 2019/05/27 13:13:08
- user: cg
- file: RBPragmaNode.st directory: goodies/refactoryBrowser/parser
- module: stx stc-classLibrary: parser
RBPragmaNode is an AST node that represents a method pragma.
Instance Variables:
arguments <SequenceableCollection of: RBLiteralNode> our argument nodes
left <Integer | nil> position of <
right <Integer | nil> position of >
selector <Symbol | nil> the selector we're sending (cached)
selectorParts <SequenceableCollection of: RBValueToken> the tokens for each keyword
instance creation
-
selectorParts: keywordTokens arguments: valueNodes
-
accessing
-
argumentAt: keywordSelector
-
-
argumentAt: keywordSelector ifAbsent: absentBlock
-
-
argumentCount
-
-
arguments
-
-
arguments: aLiteralCollection
-
-
children
-
-
numArgs
-
-
selector
-
-
selector: aSelector
-
-
sentMessages
-
warning: returns a string collection because we avoid creating symbols when parsing
-
start
-
-
stop
-
accessing-token
-
left
-
-
left: anInteger
-
-
right
-
-
right: anInteger
-
comparing
-
= anObject
-
-
equalTo: anObject withMapping: aDictionary
-
-
hash
-
-
semanticallyEqualTo: anObject withMapping: aDictionary
-
copying-private
-
postCopy
-
initialization
-
selectorParts: keywordTokens arguments: valueNodes
-
matching
-
copyInContext: aDictionary
-
-
match: aNode inContext: aDictionary
-
private
-
buildSelector
-
to be checked: this creates symbols, although it probably shouldn't
-
selectorParts
-
-
selectorParts: tokenCollection
-
replacing
-
replaceNode: aNode withNode: anotherNode
-
testing
-
isBinary
-
-
isFaulty
-
-
isKeyword
-
-
isPragma
-
-
isPrimitive
-
-
isUnary
-
visiting
-
acceptVisitor: aProgramNodeVisitor
-
|