|
LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
#include <ParserDriver.hpp>

Public Member Functions | |
| ParserDriver (Kernel &k) | |
| For future parsing... | |
| ParserDriver (const std::string s, Kernel &k) | |
| For parsing a string... | |
| void | parse (const std::string &s) |
| Parse the passed string... | |
| void | parse (void) |
| Calls the Bison parser. | |
Public Attributes | |
| parser * | pparser |
| LoosLexer * | lexer |
| Kernel & | kern |
| std::istringstream * | isp |
Driver for the Bison parser (to encapsulate data) Can parse from either stdin or a string. Requires a Kernel for storing the compiled Actions
|
inline |
Parse the passed string...
Note that it is up to the caller to reset the kernel if you don't want to concatenate the commands...