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.crClass Method Summary
-
.to_class(klass : CLTK::Parser.class)
create the crystal source code representation of the given Parser Class as a class
-
.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
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
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