protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, ST self, int strIndex) { String indent = self.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(currentScope, start, start + indent.length() - 1, getExprStartChar(self), getExprStopChar(self)); trackDebugEvent(self, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }
protected void indent(STWriter out, InstanceScope scope, int strIndex) { String indent = scope.st.impl.strings[strIndex]; if ( debug ) { int start = out.index(); // track char we're about to write EvalExprEvent e = new IndentEvent(scope, start, start + indent.length() - 1, getExprStartChar(scope), getExprStopChar(scope)); trackDebugEvent(scope, e); } out.pushIndentation(indent); }