eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBPatternMessageNode':

Home

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

Class: RBPatternMessageNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBStatementNode
         |
         +--RBValueNode
            |
            +--RBMessageNode
               |
               +--RBPatternMessageNode

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.14 date: 2021/01/20 15:19:26
user: cg
file: RBPatternMessageNode.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


BRMetaMessageNode is a BRMessageNode that will match other message nodes without their selectors being equal. 

Instance Variables:
	isList	<Boolean>	are we matching each keyword or matching all keywords together (e.g., `keyword1: would match a one argument method whereas `@keywords: would match 0 or more arguments)


Instance protocol:

accessing
o  sentMessages
warning: returns a string collection because we avoid creating symbols when parsing

enumeration
o  allNonPatternMessageNodesDo: aBlock
intentionally left blank

o  variableNodesDo: aBlock
intentionally left blank

initialize-release
o  receiver: aValueNode selectorParts: keywordTokens arguments: valueNodes

matching
o  copyInContext: aDictionary

o  match: aNode inContext: aDictionary
cg: this is rubbish...

o  matchArgumentsAgainst: aNode inContext: aDictionary

o  matchSelectorAgainst: aNode inContext: aDictionary

private
o  matchingClass

testing-matching
o  isList

o  isPatternNode

o  isSelectorList



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 06:48:53 GMT