Class: Tree::AbstractMatcher
- Inherits:
-
Object
- Object
- Tree::AbstractMatcher
show all
- Defined in:
- lib/modular_tree/matcher.rb
Instance Method Summary
collapse
Instance Method Details
#! ⇒ Object
7
|
# File 'lib/modular_tree/matcher.rb', line 7
def !() = MatchExpression::NegationExpr.new(self)
|
#&(other) ⇒ Object
6
|
# File 'lib/modular_tree/matcher.rb', line 6
def &(other) = MatchExpression::AndExpr.new(self, other)
|
#match(node) ⇒ Object
3
|
# File 'lib/modular_tree/matcher.rb', line 3
def match(node) = abstract_method
|
#|(other) ⇒ Object
5
|
# File 'lib/modular_tree/matcher.rb', line 5
def |(other) = MatchExpression::OrExpr.new(self, other)
|