| Package | Description |
|---|---|
| org.stringtemplate.v4 | |
| org.stringtemplate.v4.debug | |
| org.stringtemplate.v4.gui | |
| org.stringtemplate.v4.misc |
| Modifier and Type | Field and Description |
|---|---|
InstanceScope |
InstanceScope.parent
Template that invoked us.
|
| Modifier and Type | Method and Description |
|---|---|
static List |
Interpreter.getScopeStack(InstanceScope
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
Interpreter._exec(STWriter
|
protected void |
Interpreter.addToList(InstanceScope
|
Object |
Interpreter.convertAnythingIteratableToIterator(InstanceScope
|
Iterator |
Interpreter.convertAnythingToIterator(InstanceScope
|
int |
Interpreter.exec(STWriter
Execute template
self and return how many characters it wrote to
out.
|
Object |
Interpreter.first(InstanceScope
Return the first attribute if multi-valued, or the attribute itself if single-valued.
|
Object |
Interpreter.getAttribute(InstanceScope
Find an attribute via dynamic scoping up enclosing scope chain.
|
protected ST |
STGroup.getEmbeddedInstanceOf(Interpreter
|
static List |
Interpreter.getEnclosingInstanceStack(InstanceScope
|
static String |
Interpreter.getEnclosingInstanceStackString(InstanceScope
If an instance of
x is enclosed in a
y which is in a
z, return a
String of these instance names in order from topmost to lowest; here that would be
[z y x].
|
static List |
Interpreter.getEvalTemplateEventStack(InstanceScope
|
protected int |
Interpreter.getExprStartChar(InstanceScope
|
protected int |
Interpreter.getExprStopChar(InstanceScope
|
protected Object |
Interpreter.getObjectProperty(STWriter
|
static List |
Interpreter.getScopeStack(InstanceScope
|
protected void |
Interpreter.indent(STWriter
|
Object |
Interpreter.last(InstanceScope
Return the last attribute if multi-valued, or the attribute itself if single-valued.
|
protected void |
Interpreter.map(InstanceScope
|
protected void |
Interpreter.printForTrace(StringBuilder
|
Object |
Interpreter.rest(InstanceScope
Return everything but the first attribute if multi-valued, or
null if single-valued.
|
Object |
Interpreter.reverse(InstanceScope
Return a list with the same elements as
v but in reverse order.
|
protected List |
Interpreter.rot_map_iterator(InstanceScope
|
protected void |
Interpreter.rot_map(InstanceScope
Renders expressions of the form
<names:a()> or
<names:a(),b()>.
|
void |
Interpreter.setDefaultArguments(STWriter
Set any default argument values that were not set by the invoking template or by
ST directly.
|
protected void |
Interpreter.setFirstArgument(InstanceScope
|
Object |
Interpreter.strip(InstanceScope
Return a new list without
null values.
|
protected String |
Interpreter.toString(STWriter
|
protected void |
Interpreter.trace(InstanceScope
|
protected void |
Interpreter.trackDebugEvent(InstanceScope
For every event, we track in overall
Interpreter list and in
self's
events list so that each template has a list of events used to create it.
|
Object |
Interpreter.trunc(InstanceScope
Return all but the last element.
|
protected int |
Interpreter.writeIterator(STWriter
|
protected int |
Interpreter.writeObject(STWriter
Generic method to emit text for an object.
|
protected int |
Interpreter.writeObjectNoOptions(STWriter
Write out an expression result that doesn't use expression options.
|
protected int |
Interpreter.writeObjectWithOptions(STWriter
Write out an expression result that uses expression options.
|
protected int |
Interpreter.writePOJO(STWriter
|
protected ST |
Interpreter.zip_map(InstanceScope
Renders expressions of the form
<names,phones:{n,p | ...}> or
<a,b:t()>.
|
| Constructor and Description | |
|---|---|
InstanceScope(InstanceScope
|
| Modifier and Type | Field and Description |
|---|---|
InstanceScope |
InterpEvent.scope
|
| Constructor and Description | |
|---|---|
EvalExprEvent(InstanceScope
|
|
EvalTemplateEvent(InstanceScope
|
|
IndentEvent(InstanceScope
|
|
InterpEvent(InstanceScope
|
| Modifier and Type | Field and Description |
|---|---|
InstanceScope |
STViz.currentScope
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
STViz.updateAttributes(InstanceScope
|
protected void |
STViz.updateStack(InstanceScope
|
| Constructor and Description | |
|---|---|
JTreeScopeStackModel(InstanceScope
|
| Modifier and Type | Field and Description |
|---|---|
InstanceScope |
STNoSuchAttributeException.scope
|
InstanceScope |
STRuntimeMessage.scope
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorManager.runTimeError(Interpreter
|
void |
ErrorManager.runTimeError(Interpreter
|
void |
ErrorManager.runTimeError(Interpreter
|
void |
ErrorManager.runTimeError(Interpreter
|
void |
ErrorManager.runTimeError(Interpreter
|
| Constructor and Description | |
|---|---|
STNoSuchAttributeException(String
|
|
STRuntimeMessage(Interpreter
|
|
STRuntimeMessage(Interpreter
|
|
STRuntimeMessage(Interpreter
|
|
STRuntimeMessage(Interpreter
|
|
STRuntimeMessage(Interpreter
|