Home
last modified time | relevance | path

Searched refs:ruleText (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java92 private String ruleText = null; field in NFRule
142 description = rule1.ruleText; in makeRules()
253 public NFRule(RuleBasedNumberFormat formatter, String ruleText) { in NFRule() argument
255 this.ruleText = ruleText == null ? null : parseRuleDescriptor(ruleText); in NFRule()
416 String ruleText, in extractSubstitutions() argument
418 this.ruleText = ruleText; in extractSubstitutions()
427 ruleText = this.ruleText; in extractSubstitutions()
428 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions()
429 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions()
431 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java91 private String ruleText = null; field in NFRule
141 description = rule1.ruleText; in makeRules()
252 public NFRule(RuleBasedNumberFormat formatter, String ruleText) { in NFRule() argument
254 this.ruleText = ruleText == null ? null : parseRuleDescriptor(ruleText); in NFRule()
415 String ruleText, in extractSubstitutions() argument
417 this.ruleText = ruleText; in extractSubstitutions()
426 ruleText = this.ruleText; in extractSubstitutions()
427 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions()
428 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions()
430 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions()
[all …]
/external/icu/icu4c/source/i18n/
Dnfrule.cpp42 , ruleText(_ruleText) in NFRule()
48 if (!ruleText.isEmpty()) { in NFRule()
49 parseRuleDescriptor(ruleText, status); in NFRule()
125 description = rule1->ruleText; in makeRules()
414 const UnicodeString &ruleText, in extractSubstitutions() argument
421 this->ruleText = ruleText; in extractSubstitutions()
430 int32_t pluralRuleStart = this->ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions()
431 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? this->ruleText.indexOf(gClosedParenthesisDollar, -… in extractSubstitutions()
433 int32_t endType = this->ruleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions()
438 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions()
[all …]
Dnfrule.h54 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
90 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
110 UnicodeString ruleText; variable
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammar.java882 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()