#include <parse.h>
Public Methods | |
Parser (Buffer &buf) | |
Parser (Buffer &buf, const Symbols &st) | |
~Parser () | |
std::string | run () |
bool | run (std::ostream &os) |
bool | syntax () |
unsigned | geterrorcount () const |
bool | geterrorlist (ErrorList &errlist) |
tptexception |
|
Construct a Parser for a Buffer.
|
|
Construct a Parser for a Buffer and Symbols table.
|
|
Destruct this Parser.
|
|
Get the number of errors and warnings.
|
|
Copy the errors and warnings generated by the last parse into the specified array.
|
|
Parse the template in Buffer, outputing the result to the given stream while parsing.
|
|
Parse the template in Buffer and return the result as a string. Note: This method is provided for completeness, but the preferred method of parsing is to use streams instead.
|
|
Perform only syntax checking on Buffer.
|