Searched refs:ruleText (Results 1 – 5 of 5) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NFRule.java | 90 private String ruleText = null; field in NFRule 140 description = rule1.ruleText; in makeRules() 251 public NFRule(RuleBasedNumberFormat formatter, String ruleText) { in NFRule() argument 253 this.ruleText = ruleText == null ? null : parseRuleDescriptor(ruleText); in NFRule() 414 String ruleText, in extractSubstitutions() argument 416 this.ruleText = ruleText; in extractSubstitutions() 425 ruleText = this.ruleText; in extractSubstitutions() 426 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions() 427 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions() 429 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRule.java | 89 private String ruleText = null; field in NFRule 139 description = rule1.ruleText; in makeRules() 250 public NFRule(RuleBasedNumberFormat formatter, String ruleText) { in NFRule() argument 252 this.ruleText = ruleText == null ? null : parseRuleDescriptor(ruleText); in NFRule() 413 String ruleText, in extractSubstitutions() argument 415 this.ruleText = ruleText; in extractSubstitutions() 424 ruleText = this.ruleText; in extractSubstitutions() 425 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions() 426 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions() 428 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | nfrule.cpp | 39 , ruleText(_ruleText) in NFRule() 45 if (!ruleText.isEmpty()) { in NFRule() 46 parseRuleDescriptor(ruleText, status); in NFRule() 122 description = rule1->ruleText; in makeRules() 411 const UnicodeString &ruleText, in extractSubstitutions() argument 418 this->ruleText = ruleText; in extractSubstitutions() 427 int32_t pluralRuleStart = this->ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions() 428 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? this->ruleText.indexOf(gClosedParenthesisDollar, -… in extractSubstitutions() 430 int32_t endType = this->ruleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions() 435 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions() [all …]
|
D | nfrule.h | 53 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status); 89 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p… 109 UnicodeString ruleText; variable
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Grammar.java | 882 public GrammarAST parseArtificialRule(String ruleText) { in parseArtificialRule() argument 883 ANTLRLexer lexer = new ANTLRLexer(new ANTLRStringStream(ruleText)); in parseArtificialRule() 1613 String ruleText = buf.toString(); in defineLexerRuleFoundInParser() local 1617 lexerGrammarST.add("rules", ruleText); in defineLexerRuleFoundInParser()
|