Home
last modified time | relevance | path

Searched refs:varFn (Results 1 – 4 of 4) sorted by relevance

/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DRule.java53 Function<Character, CldrPath> varFn, in dynamicRule() argument
57 return new DynamicRule(dtdType, pathRegex, specs, varString, varFn, xpathSpec, lineNumber); in dynamicRule()
102 final ImmutableList<Result> transform(CldrValue v, String fullXPath, DynamicVars varFn) { in transform() argument
103 Matcher m = getPathPattern(varFn).matcher(fullXPath); in transform()
106 .flatMap(r -> r.transform(v, m, varFn)) in transform()
166 Function<Character, CldrPath> varFn, in DynamicRule() argument
172 this.dynamicVarFn = checkNotNull(varFn); in DynamicRule()
DVarString.java40 static VarString of(String s, Function<Character, String> varFn) { in of() argument
41 return of(s).apply(varFn); in of()
58 VarString apply(Function<Character, String> varFn) { in apply() argument
64 String v = varFn.apply(c); in apply()
DResultSpec.java297 (p, varFn) -> getFallbackResult(p, varFn, rbPathMatcher, finalFallbackSpec)); in getFallbackFunction()
301 RbPath rbPath, DynamicVars varFn, Pattern rbPathMatcher, VarString fallbackSpec) { in getFallbackResult() argument
310 String specStr = fallbackSpec.apply(dynamicVarFn.andThen(varFn)).get(); in getFallbackResult()
321 .map(v -> v.startsWith("//") ? varFn.apply(parseDistinguishingPath(v)) : v) in getFallbackResult()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DPathValueTransformer.java122 public abstract ImmutableList<Result> transform(CldrValue cldrValue, DynamicVars varFn); in transform() argument
129 public abstract ImmutableList<Result> getFallbackResultsFor(RbPath key, DynamicVars varFn); in getFallbackResultsFor() argument