36373839404142
public String getCaret(IDialect dialect) { return dialect.a(); } public static void raiseParseException(IContext ctx, String msg, Object... args) { throw new ParseException(ctx.getEngine(), ctx.getTemplateClass(), ctx.currentLine(), msg, args); }
4243444546474849505152
@Override public void output() { CodeBuilder cb = ctx.getCodeBuilder(); if (!cb.hasMacro(s)) { throw new ParseException(ctx.getEngine(), ctx.getTemplateClass(), line, "Cannot find macro definition for \"%s\"", s); } List<Token> list = cb.getMacro(s); for (Token tb : list) { tb.build(); }