#include <archon/util/lexer.H>
Collaboration diagram for Archon::Utilities::Lexer::Engine:
Public Member Functions | |
Engine (const RuleSet &, const ActorBase *=0) | |
Configure a lexer engine with the given set of rules. | |
Classes | |
struct | Rule |
Definition at line 315 of file lexer.H.
|
Configure a lexer engine with the given set of rules. The RuleSet object can be destroyed after contruction. The ActorBase object on the other hand must not be destroyed before this engine is destroyed. The ActorBase object is optional but can only be left out if none of the rules have methods associated with them. Definition at line 46 of file lexer.C. References Archon::Utilities::NFA::altern(), Archon::Utilities::Lexer::RuleSet::rules, and Archon::Utilities::DFA::State::step(). |