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)
SourceClass methods
build(left : Component(L), right : Component(R))
Sourcebuild(*args)
SourceInstance methods
==(other : Alt)
Sourcecall_impl(state : State, ctx : Context = EmptyContext.new) : Success(V) | Failure | Error
Sourceinspect(io)
Sourceleft
Sourceright
Sourcesimple?
Sourceto_s(io)
Source