class Parser::LR0::Builder

Defined in:

parser/lr0.cr

Constructors

Instance Method Summary

Instance methods inherited from class Parser::IBuilder(Parser::LR0::Item)

closure(i : Set(T)) : Set(T) closure, final(entrypoint : Production) : T final, goto(i : Set(T), x : Node) : Set(T) goto, initial(entrypoint : Production) : T initial, items(entrypoint : Production) : Set(Set(T)) items, make_reduction(item : T, & : T -> Nil) make_reduction, singleton(entrypoint : Production, dot : Int32) : T singleton

Constructor methods inherited from class Parser::IBuilder(Parser::LR0::Item)

new(analysis : Analysis(self)) new

Constructor Detail

def self.new(analysis : Analysis(self)) #

[View source]

Instance Method Detail

def closure(i : Set(Item)) : Set(Item) #

[View source]
def make_reduction(item : Item, &) #

[View source]
def singleton(e : Production, dot : Int32) : Item #

[View source]