class Pegasus::Generators::CrystalSem::FullInput

Defined in:

generators/crystalsem/pegasus_crystalsem.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pegasus::Generators::Api::FileInput(Pegasus::Generators::CrystalSem::GeneratorInput)

add_option(opt_parser) add_option, description : String description, description=(description : String) description=, filename : String | Nil filename, filename=(filename : String | Nil) filename=, name : String name, name=(name : String) name=, process(opt_parser, file) : I
process(opt_parser) : I
process

Constructor methods inherited from class Pegasus::Generators::Api::FileInput(Pegasus::Generators::CrystalSem::GeneratorInput)

new(name : String, description : String) new

Instance methods inherited from class Pegasus::Generators::Api::Input(Pegasus::Generators::CrystalSem::GeneratorInput)

add_option(opt_parser) add_option, process(opt_parser) : I process

Constructor Detail

def self.new(language_input : Input(LanguageData)) #

[View source]

Instance Method Detail

def add_option(opt_parser) #

Register this input method's options with the given PegasusOptionParser.


[View source]
def process(opt_parser, file) : GeneratorInput #

Read a value of type I from a file.


[View source]