|
mstring
1.3.1
Generates C++ message functions and classes from localized message definitions
|
Files | |
| file | main.cpp |
| file | Message.cpp |
| file | Message.hh |
The parsed form of a $MESSAGE: its parameters and its texts per locale. | |
| file | MException.cpp |
| file | MException.hh |
| A fatal mstring error (bad command line, unwritable output, an inconsistent message definition). Syntax errors in the input are reported through the parser's diagnostics instead. | |
| file | MFormat.cpp |
| file | MFormat.hh |
Writes one {$expression;format} format as a statement on stream. | |
| file | MIncludes.cpp |
| file | MIncludes.hh |
Writes an #include line. | |
| file | MMessage.cpp |
| file | MMessage.hh |
Writers for everything generated from one $MESSAGE: the declarations in the header and the definitions in the source. | |
| file | MNamespace.cpp |
| file | MNamespace.hh |
Open / close one level of the $NAMESPACE. | |
| file | Module.hh |
| Everything one mstring run produces a header / source pair from. | |
| file | MParameter.cpp |
| file | MParameter.hh |
Writers for the @ name type parameters of a message. | |
| file | MString.cpp |
| file | MString.hh |
Turns a parsed Module into the C++ header / source pair. | |
| file | MStringParser.cpp |
| file | MStringParser.hh |
| The message-definition grammar, a hand-written recursive-descent parser on top of cparse (replaces the former flex/bison front end). | |
| file | MText.cpp |
| file | MText.hh |
| Writes the statements that stream one locale's text. | |
| file | MUsing.cpp |
| file | MUsing.hh |
Writes a $USING entity as a using ...; line. | |
| file | MUtil.cpp |
| file | MUtil.hh |
| Small string helpers shared by the parser and the writers. | |
| file | MWriter.cpp |
| file | MWriter.hh |
| Base of the code writers: an output stream plus a shared indentation. | |
| file | Settings.cpp |
| file | Settings.hh |
The code-generation settings a $STREAMABLE / $STRING / $ERROR / $EXCEPTION / $THROW / $SYSLOG directive changes. | |