final void setLocation(Template template, Token begin, Token end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, Token begin, TemplateObject end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, Token end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, TemplateObject end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, Token tagBegin, Token tagEnd, TemplateElements children) { TemplateElement lastChild = children.getLast(); if (lastChild != null) { // [<#if exp>children]<#else> setLocation(template, tagBegin, lastChild); } else { // [<#if exp>]<#else> setLocation(template, tagBegin, tagEnd); } }
@Override void setLocation(Template template, int beginColumn, int beginLine, int endColumn, int endLine) { super.setLocation(template, beginColumn, beginLine, endColumn, endLine); if (isLiteral()) { try { constantValue = _eval(null); } catch (Exception e) { // deliberately ignore. } } }
final void setLocation(Template template, Token begin, TemplateObject end) throws ParseException { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, TemplateObject end) throws ParseException { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, Token end) throws ParseException { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, Token begin, Token end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, Token end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, TemplateObject end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, TemplateObject begin, Token end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, Token begin, TemplateObject end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, Token begin, Token end) { setLocation(template, begin.beginColumn, begin.beginLine, end.endColumn, end.endLine); }
final void setLocation(Template template, Token tagBegin, Token tagEnd, TemplateElements children) { TemplateElement lastChild = children.getLast(); if (lastChild != null) { // [<#if exp>children]<#else> setLocation(template, tagBegin, lastChild); } else { // [<#if exp>]<#else> setLocation(template, tagBegin, tagEnd); } }
final void setLocation(Template template, Token tagBegin, Token tagEnd, TemplateElements children) { TemplateElement lastChild = children.getLast(); if (lastChild != null) { // [<#if exp>children]<#else> setLocation(template, tagBegin, lastChild); } else { // [<#if exp>]<#else> setLocation(template, tagBegin, tagEnd); } }
@Override void setLocation(Template template, int beginColumn, int beginLine, int endColumn, int endLine) { super.setLocation(template, beginColumn, beginLine, endColumn, endLine); if (isLiteral()) { try { constantValue = _eval(null); } catch (Exception e) { // deliberately ignore. } } }
void setLocation(Template template, int beginColumn, int beginLine, int endColumn, int endLine) throws ParseException { super.setLocation(template, beginColumn, beginLine, endColumn, endLine); if (isLiteral()) { try { constantValue = _getAsTemplateModel(null); } catch (Exception e) { // deliberately ignore. } } }
@Override void setLocation(Template template, int beginColumn, int beginLine, int endColumn, int endLine) { super.setLocation(template, beginColumn, beginLine, endColumn, endLine); if (isLiteral()) { try { constantValue = _eval(null); } catch (Exception e) { // deliberately ignore. } } }