public ST createStringTemplate(CompiledST impl) { ST st = new ST(); st.impl = impl; st.groupThatCreatedThisInstance = this; if (impl.formalArguments != null) { st.locals = new Object[impl.formalArguments.size()]; Arrays.fill(st.locals, ST.EMPTY_ATTR); } return st; }
static { Arrays.fill(connections, null); }
public TupleTranslator(int headTokenType, ElementTranslator<? extends V>[] valueTranslators) { this(headTokenType, Arrays.asList(valueTranslators)); }
public TupleTranslator(ElementTranslator<? extends V>[] valueTranslators) { this(SpiderDiagramsParser.SLIST, Arrays.asList(valueTranslators)); }