Lines Matching refs:token
285 UnicodeString token;
298 mParser->getNextToken(ruleData, &ruleIndex, token, type, status);
340 curAndConstraint->opNum=getNumberValue(token);
344 curAndConstraint->rangeLow=getNumberValue(token);
347 curAndConstraint->rangeHigh=getNumberValue(token);
366 ruleChain->keyword = token;
376 PluralRules::getNumberValue(const UnicodeString& token) const {
380 i = token.extract(0, token.length(), digits, ARRAY_SIZE(digits), US_INV);
962 UnicodeString& token,
982 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
985 getKeyType(token, type, status);
995 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
998 getKeyType(token, type, status);
1027 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
1030 getKeyType(token, type, status);
1047 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
1048 getKeyType(token, type, status);
1092 RuleParser::getKeyType(const UnicodeString& token, tokenType& keyType, UErrorCode &status)
1099 else if (token==PK_VAR_N) {
1102 else if (token==PK_IS) {
1105 else if (token==PK_AND) {
1108 else if (token==PK_IN) {
1111 else if (token==PK_WITHIN) {
1114 else if (token==PK_NOT) {
1117 else if (token==PK_MOD) {
1120 else if (token==PK_OR) {
1123 else if ( isValidKeyword(token) ) {
1132 RuleParser::isValidKeyword(const UnicodeString& token) {
1133 if ( token.length()==0 ) {
1136 if ( idStartFilter->contains(token.charAt(0) )==TRUE ) {
1138 for (i=1; i< token.length(); i++) {
1139 if (idContinueFilter->contains(token.charAt(i))== FALSE) {