class Pegasus::Generators::CSem::FullInput
- Pegasus::Generators::CSem::FullInput
- Pegasus::Generators::Api::FileInput(Pegasus::Generators::CSem::GeneratorInput)
- Pegasus::Generators::Api::Input(Pegasus::Generators::CSem::GeneratorInput)
- Reference
- Object
Defined in:
generators/csem/pegasus_csem.crConstructors
Instance Method Summary
-
#add_option(opt_parser)
Register this input method's options with the given
PegasusOptionParser
. -
#process(opt_parser, file) : GeneratorInput
Read a value of type
I
from a file.
Instance methods inherited from class Pegasus::Generators::Api::FileInput(Pegasus::Generators::CSem::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) : Iprocess(opt_parser) : I process
Constructor methods inherited from class Pegasus::Generators::Api::FileInput(Pegasus::Generators::CSem::GeneratorInput)
new(name : String, description : String)
new
Instance methods inherited from class Pegasus::Generators::Api::Input(Pegasus::Generators::CSem::GeneratorInput)
add_option(opt_parser)
add_option,
process(opt_parser) : I
process
Constructor Detail
Instance Method Detail
def add_option(opt_parser)
#
Description copied from class Pegasus::Generators::Api::Input(Pegasus::Generators::CSem::GeneratorInput)
Register this input method's options
with the given PegasusOptionParser
.
def process(opt_parser, file) : GeneratorInput
#
Description copied from class Pegasus::Generators::Api::FileInput(Pegasus::Generators::CSem::GeneratorInput)
Read a value of type I
from a file.