#include <evaluator.h>
List of all members.
Public Types |
enum | Op {
InvalidOp = 0,
Plus,
Minus,
Asterisk,
Slash,
Backslash,
Caret,
Super0,
Super1,
Super2,
Super3,
Super4,
Super5,
Super6,
Super7,
Super8,
Super9,
LeftPar,
RightPar,
Semicolon,
Percent,
Exclamation,
Equal,
Modulo,
LeftShift,
RightShift,
Ampersand,
Pipe
} |
enum | Type {
stxUnknown,
stxNumber,
stxIdentifier,
stxOperator,
stxOpenPar,
stxClosePar,
stxSep
} |
Public Member Functions |
| Token (Type type=stxUnknown, const QString &text=QString::null, int pos=-1) |
| Token (const Token &) |
HNumber | asNumber () const |
Op | asOperator () const |
QString | description () const |
bool | isNumber () const |
bool | isOperator () const |
bool | isIdentifier () const |
int | pos () const |
QString | text () const |
Type | type () const |
Token & | operator= (const Token &) |
Static Public Attributes |
static const Token | null |
Protected Attributes |
int | m_pos |
QString | m_text |
Type | m_type |
Member Enumeration Documentation
- Enumerator:
InvalidOp |
|
Plus |
|
Minus |
|
Asterisk |
|
Slash |
|
Backslash |
|
Caret |
|
Super0 |
|
Super1 |
|
Super2 |
|
Super3 |
|
Super4 |
|
Super5 |
|
Super6 |
|
Super7 |
|
Super8 |
|
Super9 |
|
LeftPar |
|
RightPar |
|
Semicolon |
|
Percent |
|
Exclamation |
|
Equal |
|
Modulo |
|
LeftShift |
|
RightShift |
|
Ampersand |
|
Pipe |
|
- Enumerator:
stxUnknown |
|
stxNumber |
|
stxIdentifier |
|
stxOperator |
|
stxOpenPar |
|
stxClosePar |
|
stxSep |
|
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: