![]() |
Zen
A cross-platform functional programming language
|
Class that writes out reference strings for qualified types. More...
Public Member Functions | |
| QualifiedTypeWriter (const Ast::QualifiedType &ptype, const z::string &psep, const TypeSpecRefWriter::Format::T &format=TypeSpecRefWriter::Format::None) | |
| Default constructor. | |
| z::stream & | write (z::stream &os) const |
| Writes the qualified type to the output stream. | |
Private Attributes | |
| const Ast::QualifiedType & | type |
| The qualified type to write out. | |
| const z::string | sep |
| The separator. | |
| const TypeSpecRefWriter::Format::T | _format |
| The output format. | |
Class that writes out reference strings for qualified types.
| QualifiedTypeWriter | ( | const Ast::QualifiedType & | ptype, |
| const z::string & | psep, | ||
| const TypeSpecRefWriter::Format::T & | format = TypeSpecRefWriter::Format::None |
||
| ) | [inline] |
Default constructor.
| ptype | The TypeSpec to generate code for. |
| psep | The separator to use between type names |
| format | The format of the output |
Writes the qualified type to the output stream.
| os | The output stream |