class Syntaks::EBNF::Seq(L, R, V)

Defined in:

syntaks/ebnf/seq.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Syntaks::EBNF::Component(V)

as_component as_component, call(state : State, ctx : Context = EmptyContext.new) : Success(V) | Failure | Error call, call_impl(state : State, ctx : Context = EmptyContext.new) : Success(V) | Failure | Error call_impl, short_name short_name, simple? : Bool simple?

Constructor Detail

def self.new(left : Component(L), right : Component(R), backtracking : Bool, action : L, R -> V) #

[View source]

Class Method Detail

def self.build(left : Component(L), right : Component(R), backtracking : Bool = false, &action : L, R -> V) #

[View source]
def self.build(left : Component(L), right : Component(R), backtracking : Bool = false) #

[View source]

Instance Method Detail

def ==(other : Seq) #

[View source]
def backtracking : Bool #

[View source]
def call_impl(state : State, ctx : Context = EmptyContext.new) : Success(V) | Failure | Error #

[View source]
def inspect(io) #

[View source]
def left : Component(L) #

[View source]
def right : Component(R) #

[View source]
def simple? : Bool #

[View source]
def to_s(io) #

[View source]