abstract class Pegasus::Generators::Api::OutputMode
- Pegasus::Generators::Api::OutputMode
- Reference
- Object
Overview
Class that specifies the program's output mode.
The idea is to generalize behaviors such as
merging into a single file or printing out to STDOUT.
The #output
method takes in a parser and, as side effect,
should emit the output of its various FileGenerator
classes.
Direct Known Subclasses
- Pegasus::Generators::Api::FileOutputMode
- Pegasus::Generators::Api::FilesOutputMode
- Pegasus::Generators::Api::StdOutputMode
Defined in:
generators/generators.crInstance Method Summary
-
#output(opt_parser)
Output the content of the given
opt_parser
.