Class: Tree::MatchExpression::OrExpr
- Inherits:
-
BinaryExpr
- Object
- AbstractMatcher
- BinaryExpr
- Tree::MatchExpression::OrExpr
- Defined in:
- lib/modular_tree/matcher.rb
Instance Method Summary collapse
Methods inherited from BinaryExpr
Methods inherited from AbstractMatcher
Constructor Details
This class inherits a constructor from Tree::MatchExpression::BinaryExpr
Instance Method Details
#match?(node) ⇒ Boolean
56 |
# File 'lib/modular_tree/matcher.rb', line 56 def match?(node) = @left.match?(node) || @right.match?(node) ? true : false |