Module: SexpGrammar::Element

Included in:
Alternative, Many, Reference, Rule, Sequence, Terminal
Defined in:
lib/sexp_grammar/element.rb

Instance Method Summary collapse

Instance Method Details

#===(sexp) ⇒ Object



4
5
6
# File 'lib/sexp_grammar/element.rb', line 4

def ===(sexp)
  match?(sexp)
end