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
579 580 581 |
# File 'lib/fast.rb', line 579 def match?(node) token.all? { |expression| expression.match?(node) } end |
#to_s ⇒ Object
583 584 585 |
# File 'lib/fast.rb', line 583 def to_s "all[#{token}]" end |