public abstract class Node extends Object implements SourceElement
| Modifier | Constructor and Description |
|---|---|
protected |
Node(TemplatesTree.TextSource source,
int offset,
int endoffset) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
emit(StringBuilder sb,
EvaluationContext context,
IEvaluationStrategy env) |
int |
getEndOffset() |
TemplatesTree.TextSource |
getInput() |
int |
getLine() |
String |
getLocation() |
int |
getOffset() |
String |
getResourceName() |
String |
toString() |
protected Node(TemplatesTree.TextSource source, int offset, int endoffset)
protected abstract void emit(StringBuilder sb, EvaluationContext context, IEvaluationStrategy env)
public String getLocation()
public int getLine()
getLine in interface SourceElementpublic int getOffset()
getOffset in interface SourceElementpublic int getEndOffset()
getEndOffset in interface SourceElementpublic TemplatesTree.TextSource getInput()
public String getResourceName()
getResourceName in interface SourceElementCopyright © 2014. All rights reserved.