vrmlproc & togeom
 
Loading...
Searching...
No Matches
vrml_proc::parser::grammar::BaseGrammar< Iterator, ReturnType, Skipper > Class Template Reference

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>

Public Member Functions

boost::spirit::qi::rule< Iterator, ReturnType, Skipper > const & GetStartRule () const
 

Protected Member Functions

bool HasError () const
 
void SetError (bool value)
 

Protected Attributes

boost::spirit::qi::rule< Iterator, ReturnType, Skipper > m_start
 

Detailed Description

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
Iteratortype of iteraror used, e.g. const char* iterator
ReturnTypetype of result grammar will return
Skippertype 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: