コード例 #1
0
ファイル: STGroup.java プロジェクト: baerrach/stringtemplate4
 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);
 }