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.7 date: 2013/09/28 12:54:06
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.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 17 Nov 2018 09:23:03 GMT