Public Member Functions | |
int | IsCounter (InputToken &t) |
int | IsNumber (InputToken &t) |
int | IsColor (int i) |
int | IsMaterial (int i) |
void | ParseInput (const char *string) |
void | Apply () |
bool | Matches (SentenceMatch &pattern) |
Public Attributes | |
SentenceIn | sen |
int | iWords |
bool TestParser::Matches | ( | SentenceMatch & | pattern) |
Test whether the parsed sentence matches a given pattern. If so, return true and copy the non-literal values to the pattern tokens.