class Lingo::Sequence

Defined in:

lingo/sequence.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_parts = Parts.new, name : Nil | String = nil.as(String | ::Nil)) #

[View source]

Instance Method Detail

def parse?(context : Lingo::Context) #

[View source]
def parts : Array(Lingo::Rule) #

[View source]