class

Syntaks::EBNF::Terminal(V)

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

Constructors

new(matcher : Regex | String, action : Token -> V)
Source

Class methods

build(matcher : Matcher, action : Token -> V)
Source
build(matcher : Matcher)
Source

Instance methods

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

Nested types