public void appendExpression(String expr) { out.append(expr); locationTable.put(lineNumber, new Foo(pos, expr)); }
int templateLineNumber; if (item != null) { templateLineNumber = item.getPosition().getLine(); if (firstItem == null) { firstItem = item; return new TemplateExecutionException(id, firstItem.getPosition(), firstItem.getValue(), t);
int templateLineNumber; if (item != null) { templateLineNumber = item.getPosition().getLine(); if (firstItem == null) { firstItem = item; return new TemplateExecutionException(id, firstItem.getPosition(), firstItem.getValue(), t);
Map.Entry<Integer, Foo> entry = i.next(); Foo text = entry.getValue(); Location location = text.getPosition(); builder.append(entry.getKey()).append(':'). append("new ").append(Foo.class.getName()).append("("). append("new ").append(Location.class.getName()).append("(").append(location.getCol()).append(',').append(location.getLine()).append("),"). append("'"); Tools.escape(text.getValue(), builder); builder.append("')"); if (i.hasNext()) {
public void appendExpression(String expr) { out.append(expr); locationTable.put(lineNumber, new Foo(pos, expr)); }
Map.Entry<Integer, Foo> entry = i.next(); Foo text = entry.getValue(); Location location = text.getPosition(); builder.append(entry.getKey()).append(':'). append("new ").append(Foo.class.getName()).append("("). append("new ").append(Location.class.getName()).append("(").append(location.getCol()).append(',').append(location.getLine()).append("),"). append("'"); Tools.escape(text.getValue(), builder); builder.append("')"); if (i.hasNext()) {
public void appendScriptlet(String scriptlet) { out.append(scriptlet); locationTable.put(lineNumber, new Foo(pos, scriptlet)); }
public void appendScriptlet(String scriptlet) { out.append(scriptlet); locationTable.put(lineNumber, new Foo(pos, scriptlet)); }