Class: Fast::All
Overview
Intersect expressions. Works like a AND operator.
Instance Attribute Summary
Attributes inherited from Find
Instance Method Summary collapse
Methods inherited from Find
#==, #compare_symbol_or_head, #debug, #debug_match_recursive, #initialize, #match_recursive
Constructor Details
This class inherits a constructor from Fast::Find
Instance Method Details
#match?(node) ⇒ Boolean
553 554 555 |
# File 'lib/fast.rb', line 553 def match?(node) token.all? { |expression| expression.match?(node) } end |
#to_s ⇒ Object
557 558 559 |
# File 'lib/fast.rb', line 557 def to_s "all[#{token}]" end |