eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RBPatternMethodNode':

Home

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

Class: RBPatternMethodNode


Inheritance:

   Object
   |
   +--RBProgramNode
      |
      +--RBMethodNode
         |
         +--RBPatternMethodNode

Package:
stx:goodies/refactoryBrowser/parser
Category:
Refactory-AST-Nodes
Version:
rev: 1.9 date: 2021/01/20 15:36:25
user: cg
file: RBPatternMethodNode.st directory: goodies/refactoryBrowser/parser
module: stx stc-classLibrary: parser

Description:


BRMetaMethodNode is a BRMethodNode that will match other method 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:

initialize-release
o  selectorParts: tokenCollection arguments: variableNodes

matching
o  copyInContext: aDictionary

o  match: aNode inContext: aDictionary

o  matchArgumentsAgainst: aNode inContext: aDictionary
validate the rule against my uppercase (global-only) change

o  matchSelectorAgainst: aNode inContext: aDictionary

private
o  matchingClass

testing
o  isSelectorList

testing-matching
o  isPatternNode



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 19:00:35 GMT