Class: Walrat::Parslet
- Inherits:
-
Object
- Object
- Walrat::Parslet
- Includes:
- Memoizing, ParsletCombining
- Defined in:
- lib/walrat/parslet.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Memoizing
#check_left_recursion, #memoizing_parse
Methods included from ParsletCombining
#&, #>>, #and?, #and_predicate, #choice, #memoizing_parse, #merge, #not!, #not_predicate, #omission, #one_or_more, #optional, #repeat, #repeat_with_default, #repetition, #repetition_with_default, #sequence, #skip, #zero_or_more, #zero_or_one, #|
Instance Method Details
#parse(string, options = {}) ⇒ Object
34 35 36 |
# File 'lib/walrat/parslet.rb', line 34 def parse string, = {} raise NotImplementedError # subclass responsibility end |
#to_parseable ⇒ Object
30 31 32 |
# File 'lib/walrat/parslet.rb', line 30 def to_parseable self end |