Searched refs:varString (Results 1 – 3 of 3) sorted by relevance
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/ |
D | VarString.java | 25 static VarString of(String varString) { in of() argument 29 for (int i = 0; i < varString.length() - 1; i++) { in of() 30 if (varString.charAt(i) == '%') { in of() 31 char c = varString.charAt(i + 1); in of() 37 return new VarString(varString, requiredChars.build(), ImmutableMap.of()); in of() 44 private final String varString; field in VarString 49 String varString, in VarString() argument 52 this.varString = checkNotNull(varString); in VarString() 70 return new VarString(varString, requiredChars, newVarMap.build()); in apply() 77 RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c))) in resolve() [all …]
|
D | Rule.java | 52 VarString varString, in dynamicRule() argument 57 return new DynamicRule(dtdType, pathRegex, specs, varString, varFn, xpathSpec, lineNumber); in dynamicRule() 158 private final VarString varString; field in Rule.DynamicRule 165 VarString varString, in DynamicRule() argument 171 this.varString = checkNotNull(varString); in DynamicRule() 176 String pathRegex = varString.apply(dynamicVarFn.andThen(varLookupFn)).get(); in getPathPattern()
|
D | RuleParser.java | 142 VarString varString = VarString.of(escapedPathSpec, staticVarMap::get); in parseRule() local 143 Optional<String> resolved = varString.resolve(); in parseRule() 150 … dtdType, pathPrefix, resultSpecs, varString, dynamicVarMap::get, xpathSpec, lineNumber); in parseRule()
|