class Parser::Analysis(T)

Defined in:

parser/analysis.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.build(entrypoint : String, &) : Array(Automaton::State) #

[View source]

Instance Method Detail

def add(name : String, *items, action : Action | Nil = nil) : ActionableProduction #

[View source]
def add(name : String, *items, &block : Action) : ActionableProduction #

[View source]
def all_symbols : Set(Node) #

[View source]
def build(entrypoint : String) : Array(Automaton::State) #

[View source]
def first(x : Iterable(Node)) : Set(Node) #

[View source]
def first #

[View source]
def first(*x : Node | Nil) : Set(Node) #

[View source]
def follow #

[View source]
def populate_first #

[View source]
def populate_follow(entrypoint : NonTerminal) #

[View source]
def rules #

[View source]