#include <archon/util/lexer.H>
Collaboration diagram for Archon::Utilities::Lexer::RuleSet:

Public Member Functions | |
| template<typename L> | |
| void | add (const Regex &r, int method, int terminal, L lexemeValue) |
| Add a rule. | |
| template<typename L> | |
| void | add (const Regex &r, int method, int terminal, Ref< L > lexemeValue) |
| void | add (const Regex &r, int method, int terminal, RefAny lexemeValue) |
| void | add (const Regex &r, int method=-1, int terminal=-1) |
Classes | |
| struct | Rule |
A set of lexer rules must be created before the actual lexer can be created. In fact you must furst create a RuleSet object and add rules to it. Then you must create an Engine object from the rule set, and the finally you can create a lexer by associating an input streem with the engine.
Definition at line 258 of file lexer.H.
|
||||||||||||||||||||||||
|
Add a rule.
Definition at line 286 of file lexer.H. Referenced by Archon::X3D::VRML::Parser::Parser(). |
1.4.4