class Syntaks::EBNF::Rep(V)

Defined in:

syntaks/ebnf/rep.cr

Constructors

Instance Method Summary

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

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

Constructor Detail

def self.new(rule : Component(V)) #

[View source]

Instance Method Detail

def ==(other : Rep) #

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

[View source]
def inspect(io) #

[View source]
def rule : Component(V) #

[View source]
def simple? : Bool #

[View source]
def to_s(io) #

[View source]