Home
last modified time | relevance | path

Searched refs:ruleText (Results 1 – 6 of 6) 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/cldr/tools/java/org/unicode/cldr/icu/
DRBNFWriter.java123 String ruleText = workingLine; in main() local
125 ruleText = workingLine.substring(1, workingLine.indexOf("\"", 1)); in main()
130 if (ruleText.contains(":")) { in main()
131 String[] parts = ruleText.split(":"); in main()
176 ruleString = ruleText; in main()
/external/icu/icu4c/source/i18n/
Dnfrule.h54 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
91 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
Dnfrule.cpp414 const UnicodeString &ruleText, in extractSubstitutions() argument
421 fRuleText = ruleText; in extractSubstitutions()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammar.java923 public GrammarAST parseArtificialRule(String ruleText) { in parseArtificialRule() argument
924 ANTLRLexer lexer = new ANTLRLexer(new ANTLRStringStream(ruleText)); in parseArtificialRule()
1654 String ruleText = buf.toString(); in defineLexerRuleFoundInParser() local
1658 lexerGrammarST.add("rules", ruleText); in defineLexerRuleFoundInParser()