class Syntaks::EBNF::Seq(L, R, V)
- Syntaks::EBNF::Seq(L, R, V)
- Syntaks::EBNF::Component(V)
- Syntaks::EBNF::AbstractComponent
- Reference
- Object
Defined in:
syntaks/ebnf/seq.crConstructors
Class Method Summary
- .build(left : Component(L), right : Component(R), backtracking : Bool = false, &action : L, R -> V)
- .build(left : Component(L), right : Component(R), backtracking : Bool = false)
Instance Method Summary
- #==(other : Seq)
- #backtracking : Bool
- #call_impl(state : State, ctx : Context = EmptyContext.new) : Success(V) | Failure | Error
- #inspect(io)
- #left : Component(L)
- #right : Component(R)
- #simple? : Bool
- #to_s(io)
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
Class Method Detail
def self.build(left : Component(L), right : Component(R), backtracking : Bool = false, &action : L, R -> V)
#