abstract class Pegasus::Generators::Api::OutputMode

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

Defined in:

generators/generators.cr

Instance Method Summary

Instance Method Detail

abstract def output(opt_parser) #

Output the content of the given opt_parser.


[View source]