abstract class Pegasus::Generators::Api::Input(I)
- Pegasus::Generators::Api::Input(I)
- Reference
- Object
Overview
A generalization of data input. Subclasses
such as StdInput
and FileInput
provide
a way to read grammar / semantics files from
various sources. The #add_option
method registers
command-line option(s) for the user to configure.
Direct Known Subclasses
Defined in:
generators/generators.crInstance Method Summary
-
#add_option(opt_parser)
Register this input method's options with the given
PegasusOptionParser
. -
#process(opt_parser) : I
Read input of type
I
.
Instance Method Detail
def add_option(opt_parser)
#
Register this input method's options
with the given PegasusOptionParser
.