Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
TestParser Class Reference

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
 

Member Function Documentation

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.


The documentation for this class was generated from the following files: