module CLTK::Parser::CrystalizeVisitor

Overview

A Visitor to turn a finalized Parser into its crystal source code representation to be included in a project. This way the Parser can be used at runtime without having to be finalized upon instantiation.

Defined in:

cltk/parser/crystalize.cr

Class Method Summary

Class Method Detail

def self.to_class(klass : CLTK::Parser.class) #

create the crystal source code representation of the given Parser Class as a class


[View source]
def self.to_module(klass : CLTK::Parser.class, name : String) #

create the crystal source code representation of the given Parser Class as a module with the given name


[View source]