/** * Returns a string that indicates * where in the template source, this object is. */ public String getStartLocation() { return _MessageUtil.formatLocationForEvaluationError(template, beginLine, beginColumn); }
public String getEndLocation() { return _MessageUtil.formatLocationForEvaluationError(template, endLine, endColumn); }
static void appendInstructionStackItem(TemplateElement stackEl, StringBuilder sb) { sb.append(_MessageUtil.shorten(stackEl.getDescription(), 40)); sb.append(" ["); Macro enclosingMacro = getEnclosingMacro(stackEl); if (enclosingMacro != null) { sb.append(_MessageUtil.formatLocationForEvaluationError( enclosingMacro, stackEl.beginLine, stackEl.beginColumn)); } else { sb.append(_MessageUtil.formatLocationForEvaluationError( stackEl.getTemplate(), stackEl.beginLine, stackEl.beginColumn)); } sb.append("]"); }
/** * Returns a string that indicates * where in the template source, this object is. */ public String getStartLocation() { return _MessageUtil.formatLocationForEvaluationError(template, beginLine, beginColumn); }
/** * Returns a string that indicates * where in the template source, this object is. */ public String getStartLocation() { return _MessageUtil.formatLocationForEvaluationError(template, beginLine, beginColumn); }
public String getEndLocation() { return _MessageUtil.formatLocationForEvaluationError(template, endLine, endColumn); }
public String getEndLocation() { return _MessageUtil.formatLocationForEvaluationError(template, endLine, endColumn); }
static void appendInstructionStackItem(TemplateElement stackEl, StringBuilder sb) { sb.append(_MessageUtil.shorten(stackEl.getDescription(), 40)); sb.append(" ["); Macro enclosingMacro = getEnclosingMacro(stackEl); if (enclosingMacro != null) { sb.append(_MessageUtil.formatLocationForEvaluationError( enclosingMacro, stackEl.beginLine, stackEl.beginColumn)); } else { sb.append(_MessageUtil.formatLocationForEvaluationError( stackEl.getTemplate(), stackEl.beginLine, stackEl.beginColumn)); } sb.append("]"); }
static void appendInstructionStackItem(TemplateElement stackEl, StringBuilder sb) { sb.append(_MessageUtil.shorten(stackEl.getDescription(), 40)); sb.append(" ["); Macro enclosingMacro = getEnclosingMacro(stackEl); if (enclosingMacro != null) { sb.append(_MessageUtil.formatLocationForEvaluationError( enclosingMacro, stackEl.beginLine, stackEl.beginColumn)); } else { sb.append(_MessageUtil.formatLocationForEvaluationError( stackEl.getTemplate(), stackEl.beginLine, stackEl.beginColumn)); } sb.append("]"); }