Module: Sexpr::Matcher
- Included in:
- Alternative, Many, NonTerminal, Reference, Rule, Sequence, Terminal
- Defined in:
- lib/sexpr/matcher.rb,
lib/sexpr/matcher/many.rb,
lib/sexpr/matcher/rule.rb,
lib/sexpr/matcher/sequence.rb,
lib/sexpr/matcher/terminal.rb,
lib/sexpr/matcher/reference.rb,
lib/sexpr/matcher/alternative.rb,
lib/sexpr/matcher/non_terminal.rb
Defined Under Namespace
Classes: Alternative, Many, NonTerminal, Reference, Rule, Sequence, Terminal
Instance Method Summary collapse
Instance Method Details
#===(sexp) ⇒ Object
4 5 6 |
# File 'lib/sexpr/matcher.rb', line 4 def ===(sexp) match?(sexp) end |