class Lingo::OrderedChoice

Defined in:

lingo/ordered_choice.cr

Constructors

Instance Method Summary

Instance methods inherited from class Lingo::Rule

>>(other : Lingo::Rule) >>, |(other : Lingo::Rule) |, absent absent, matches?(raw_input) matches?, maybe maybe, named(name) named, parse(raw_input : String)
parse(context : Lingo::Context)
parse
, parse?(context : Lingo::Context)
parse?(raw_input : String)
parse?
, repeat(from = 1, to = Float32::INFINITY) repeat

Constructor Detail

def self.new(incoming_choices = Choices.new) #

[View source]

Instance Method Detail

def choices : Array(Lingo::Rule) #

[View source]
def parse?(context : Lingo::Context) #

[View source]