class

Syntaks::EBNF::Alt(L, R, V)

Inherits Syntaks::EBNF::Component < Syntaks::EBNF::AbstractComponent < Reference < Object

Constructors

new(left : Component(L), right : Component(R), action : V -> V = ->(v : V) do v end)
Source

Class methods

build(left : Component(L), right : Component(R))
Source
build(*args)
Source

Instance methods

==(other : Alt)
Source
call_impl(state : State, ctx : Context = EmptyContext.new) : Success(V) | Failure | Error
Source
inspect(io)
Source
left
Source
right
Source
simple?
Source
to_s(io)
Source