Represents a base grammar. Each derived grammar has to implement GetStartRule()
method. Base grammar should also store information about an error encountered in any grammara while parsing (not implemented yet).
More...
#include <BaseGrammar.hpp>
|
boost::spirit::qi::rule< Iterator, ReturnType, Skipper > const & | GetStartRule () const |
|
|
bool | HasError () const |
|
void | SetError (bool value) |
|
|
boost::spirit::qi::rule< Iterator, ReturnType, Skipper > | m_start |
|
template<typename Iterator, typename ReturnType, typename Skipper>
class vrml_proc::parser::grammar::BaseGrammar< Iterator, ReturnType, Skipper >
Represents a base grammar. Each derived grammar has to implement GetStartRule()
method. Base grammar should also store information about an error encountered in any grammara while parsing (not implemented yet).
- Template Parameters
-
Iterator | type of iteraror used, e.g. const char* iterator |
ReturnType | type of result grammar will return |
Skipper | type of skipper which is a rule or grammar of the same Iterator type which defines what characters should be skipped while parsing |
The documentation for this class was generated from the following file: