| java.lang.Object freemarker.core.TemplateObject
All known Subclasses: freemarker.core.Expression, freemarker.core.TemplateElement,
TemplateObject | abstract public class TemplateObject (Code) | | Objects that represent instructions or expressions
in the compiled tree representation of the template
all descend from this abstract base class.
|
Method Summary | |
static void | assertNonNull(TemplateModel model, Expression exp, Environment env) | public boolean | contains(int column, int line) | TemplateObject | copyLocationFrom(TemplateObject from) | final public int | getBeginColumn() | final public int | getBeginLine() | abstract public String | getCanonicalForm() | final public int | getEndColumn() | final public int | getEndLine() | public String | getEndLocation() | final public String | getSource() | public String | getStartLocation() Returns a string that indicates
where in the template source, this object is. | public Template | getTemplate() | static TemplateException | invalidTypeException(TemplateModel model, Expression exp, Environment env, String expected) | final void | setLocation(Template template, Token begin, Token end) | final void | setLocation(Template template, Token begin, TemplateObject end) | final void | setLocation(Template template, TemplateObject begin, Token end) | final void | setLocation(Template template, TemplateObject begin, TemplateObject end) | void | setLocation(Template template, int beginColumn, int beginLine, int endColumn, int endLine) | public String | toString() |
beginColumnbeginLineendColumnendLine | int beginColumnbeginLineendColumnendLine(Code) | | |
contains | public boolean contains(int column, int line)(Code) | | whether the point in the template file specified by the column and line numbers is contained within this template object. |
getBeginColumn | final public int getBeginColumn()(Code) | | |
getBeginLine | final public int getBeginLine()(Code) | | |
getCanonicalForm | abstract public String getCanonicalForm()(Code) | | |
getEndColumn | final public int getEndColumn()(Code) | | |
getEndLine | final public int getEndLine()(Code) | | |
getStartLocation | public String getStartLocation()(Code) | | Returns a string that indicates
where in the template source, this object is.
|
|
|