Go to the documentation of this file.
26 #include <boost/regex.hpp>
44 void addRule(
int id,
const std::string& name,
const std::string& regex);
std::vector< Rule > rules
LexerInfo getPositionInfo(int pos)
void positionToLineAndColumn(int pos, int &line, int &column)
std::string currentTokenValue
std::string tokenIdToName(int id)
Rule(int id, const std::string &name, const boost::regex ®ex)
SimpleLexer(std::string src, int tokenFin=-1, int tokenError=-2)
void addRule(int id, const std::string &name, const std::string ®ex)
This file offers overloads of toIce() and fromIce() functions for STL container types.