Class: Sexp::Remaining
- Defined in:
- lib/sexp_matcher.rb
Overview
Constant Summary
Constants inherited from Sexp
Instance Attribute Summary
Attributes inherited from Sexp
#comments, #file, #line, #line_max
Instance Method Summary collapse
- #greedy? ⇒ Boolean
-
#inspect ⇒ Object
:nodoc:.
-
#pretty_print(q) ⇒ Object
:nodoc:.
-
#satisfy?(o) ⇒ Boolean
Always satisfied once this is reached.
Methods inherited from Matcher
#&, #-@, #/, #=~, #>>, match_subs=, match_subs?, parse, #|
Methods inherited from Sexp
#/, #==, #=~, _, ___, all, any, #array_type?, atom, child, #compact, #deep_each, #depth, #each_of_type, #each_sexp, #eql?, #find_and_replace_all, #find_node, #find_nodes, from_array, #gsub, #hash, include, #initialize, k, m, #map, #mass, #method_missing, #new, not?, q, #replace_sexp, #respond_to?, s, #search_each, #sexp_body, #sexp_body=, #sexp_type, #sexp_type=, #shift, #structure, #sub, t, #to_a, #value
Constructor Details
This class inherits a constructor from Sexp
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sexp
Instance Method Details
#greedy? ⇒ Boolean
574 575 576 |
# File 'lib/sexp_matcher.rb', line 574 def greedy? true end |
#inspect ⇒ Object
:nodoc:
578 579 580 |
# File 'lib/sexp_matcher.rb', line 578 def inspect # :nodoc: "___" end |
#pretty_print(q) ⇒ Object
:nodoc:
582 583 584 |
# File 'lib/sexp_matcher.rb', line 582 def pretty_print q # :nodoc: q.text "___" end |
#satisfy?(o) ⇒ Boolean
Always satisfied once this is reached. Think of it as a var arg.
570 571 572 |
# File 'lib/sexp_matcher.rb', line 570 def satisfy? o true end |