class TupelizeVisitor

Defined in:

cltk/parser/tupelize.cr

Class Method Summary

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Class Method Detail

def self.define_types(klass) #

[View source]
def self.to_tuple(klass) #

[View source]
def self.visit(action : CLTK::Parser::Accept) #

[View source]
def self.visit(action : CLTK::Parser::Reduce) #

[View source]
def self.visit(action : CLTK::Parser::GoTo) #

[View source]
def self.visit(action : CLTK::Parser::Shift) #

[View source]
def self.visit(item : CLTK::CFG::Item) #

[View source]
def self.visit(production : CLTK::CFG::Production) #

[View source]
def self.visit(node : Tuple(CLTK::Parser::ProdProc, Int32)) #

[View source]
def self.visit(node : CLTK::Parser::ProdProc) #

[View source]
def self.visit(token_hook : Proc(CLTK::Parser::Environment, Nil)) #

[View source]
def self.visit(node : Nil) #

[View source]
def self.visit(env : CLTK::Parser::Environment.class | Nil) #

[View source]
def self.visit(node : Array) #

[View source]
def self.visit(node : String) #

[View source]
def self.visit(node : Int) #

[View source]
def self.visit(node : Symbol) #

[View source]
def self.visit(node : Hash, klass = nil) #

[View source]
def self.visit_actions(actions) #

[View source]
def self.visit_lh_sides(lh_sides) #

[View source]
def self.visit_procs(procs) #

[View source]
def self.visit_state(state) #

[View source]
def self.visit_states(states) #

[View source]
def self.visit_symbols(symbols) #

[View source]