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
677 678 679 |
# File 'lib/fast.rb', line 677 def match?(node) token.all? { |expression| expression.match?(node) } end |
#to_s ⇒ Object
681 682 683 |
# File 'lib/fast.rb', line 681 def to_s "all[#{token}]" end |