class Cabbage::Parser(T)

Defined in:

cabbage/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(grammar : Cabbage::Grammar(T)) #

[View source]

Instance Method Detail

def accepted_item #

[View source]
def accepted_item? #

[View source]
def accepted_rule #

Fixme: Support for multiples.


[View source]
def consume_char(c) #

[View source]
def current : Set(T) #

[View source]
def grammar : Grammar(T) #

[View source]
def parse(input) #

[View source]
def process(input) #

[View source]
def sets : Array(Set(T)) #

[View source]