示例#1
0
 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;
 }
示例#2
0
文件: RContext.java 项目: nunb/fastr
 static {
   Arrays.fill(connections, null);
 }