#include <TokenMatch.h>
Public Methods | |
TokenMatch (AIDA_STD::string text) | |
Constructor taking string parameter. More... | |
virtual | ~TokenMatch () |
Destructor. More... | |
bool | isInt () |
Matches 1 or -1. More... | |
bool | isReal1 () |
Matches 1.0 & 1.or -1.0 & -1. More... | |
bool | isReal2 () |
Matches .1 or -.1. More... | |
bool | isReal3 () |
Matches 1.0e23 or -1.0e23. More... | |
bool | isReal4 () |
Matches 1.0e-23 or -1.0e-23. More... | |
bool | isReal5 () |
Matches 1e23 or -1e23. More... | |
bool | isReal6 () |
Matches 1e-23 or 1e-23. More... | |
bool | isReal () |
Is current token a real number ? More... | |
bool | isNum () |
Is current token a number? More... | |
bool | isId () |
Is current token an identifier? More... | |
bool | match (const char *a_regexp) |
Method to match the token to the pattern a_regexp. More... | |
Private Attributes | |
AIDA_STD::string | token |
Definition at line 33 of file TokenMatch.h.
|
Definition at line 36 of file TokenMatch.h. References token. |
|
Definition at line 38 of file TokenMatch.h. |
|
Definition at line 81 of file TokenMatch.h. References match. Referenced by ConstList::parseTerm. |
|
Definition at line 40 of file TokenMatch.h. References match. Referenced by isNum. |
|
Definition at line 77 of file TokenMatch.h. Referenced by ConstList::parseTerm. |
|
Definition at line 73 of file TokenMatch.h. References isReal1, isReal2, isReal3, isReal4, isReal5, and isReal6. Referenced by isNum. |
|
Definition at line 44 of file TokenMatch.h. References match. Referenced by isReal. |
|
Definition at line 49 of file TokenMatch.h. References match. Referenced by isReal. |
|
Definition at line 53 of file TokenMatch.h. References match. Referenced by isReal. |
|
Definition at line 58 of file TokenMatch.h. References match. Referenced by isReal. |
|
Definition at line 63 of file TokenMatch.h. References match. Referenced by isReal. |
|
Definition at line 68 of file TokenMatch.h. References match. Referenced by isReal. |
|
Definition at line 86 of file TokenMatch.h. References token. Referenced by isId, isInt, isReal1, isReal2, isReal3, isReal4, isReal5, and isReal6. |
|
Definition at line 100 of file TokenMatch.h. Referenced by match, and TokenMatch. |