Home
last modified time | relevance | path

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

/libcore/ojluni/src/tools/build/tools/spp/
DSpp.java120 …final Matcher vardef = Pattern.compile("\\{#if\\[(!)?" + KEY + "\\]\\?" + TEXT + "(:"+ TEXT + ")?… field in Spp
125 vardef.reset(ln); in append()
126 while (vardef.find()) { in append()
128 if (vardef.group(GN_VAR) != null) in append()
129 repl = vars.get(vardef.group(GN_VAR)); in append()
131 boolean test = keys.contains(vardef.group(GN_KEY)); in append()
132 if (vardef.group(GN_NOT) != null) in append()
134 repl = test?vardef.group(GN_YES):vardef.group(GN_NO); in append()
147 vardef.appendReplacement(buf, repl); in append()
149 vardef.appendTail(buf); in append()