Lexer class for turning a template into a list of tokens. More...
Public Member Functions | |
TemplateLexer (const TemplateEngine *engine, const QCString &fileName, const QCString &data) | |
void | tokenize (QList< TemplateToken > &tokens) |
void | setOpenCloseCharacters (char openChar, char closeChar) |
Private Member Functions | |
void | addToken (QList< TemplateToken > &tokens, const char *data, int line, int startPos, int endPos, TemplateToken::Type type) |
void | reset () |
Private Attributes | |
const TemplateEngine * | m_engine |
QCString | m_fileName |
QCString | m_data |
char | m_openChar |
char | m_closeChar |
Lexer class for turning a template into a list of tokens.
Definition at line 4415 of file template.cpp.
TemplateLexer::TemplateLexer | ( | const TemplateEngine * | engine, |
const QCString & | fileName, | ||
const QCString & | data | ||
) |
Definition at line 4434 of file template.cpp.
|
private |
Definition at line 4644 of file template.cpp.
|
private |
|
inline |
Definition at line 4420 of file template.cpp.
void TemplateLexer::tokenize | ( | QList< TemplateToken > & | tokens | ) |
Definition at line 4441 of file template.cpp.
|
private |
Definition at line 4431 of file template.cpp.
|
private |
Definition at line 4429 of file template.cpp.
|
private |
Definition at line 4427 of file template.cpp.
|
private |
Definition at line 4428 of file template.cpp.
|
private |
Definition at line 4430 of file template.cpp.