Unparser_Opt¶
unparser_opt.h This class contains all options we want to have available when generating C++ code
Synopsis¶
Declared in <src/backend/unparser/languageIndependenceSupport/unparser_opt.h>
class Unparser_Opt; Description¶
Controls the printing of: auto_opt - "auto" in front of variable declarations linefile_opt - emission of #line directives overload_opt - overloaded operators for non-primitive types. For example, prints out "+" instead of "operator+" boolnum_opt - booleans as numbers (0 and 1) to designate false and true or as words ("false" and "true") themselves this_opt - "this" in from of data or function members debug_opt - debugging information to standard output!
Member Functions¶
| Name | Description |
|---|---|
Unparser_OptUnparser_Opt(); [constructor] | This class controls the final unparsing of the AST |
~Unparser_Opt~Unparser_Opt(); [destructor] | Destructor |
get_auto_optbool get_auto_opt(); | |
get_debug_optbool get_debug_opt(); | |
get_linefile_optbool get_linefile_opt(); | |
get_num_optbool get_num_opt(); | |
get_overload_optbool get_overload_opt(); | |
get_this_optbool get_this_opt(); | |
get_unparse_includes_optbool get_unparse_includes_opt(); | |
set_linefile_optvoid set_linefile_opt(bool opt); | |
set_this_optvoid set_this_opt(bool opt); |
Private Data Members¶
| Name |
|---|
auto_opt |
boolnum_opt |
debug_opt |
linefile_opt |
overload_opt |
this_opt |
unparse_includes_opt |
Created with MrDocs