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.12 date: 2017/02/06 13:37:59
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 19:55:02 GMT