|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ST | |
|---|---|
| org.stringtemplate.v4 | |
| org.stringtemplate.v4.debug | |
| org.stringtemplate.v4.misc | |
| Uses of ST in org.stringtemplate.v4 |
|---|
| Fields in org.stringtemplate.v4 declared as ST | |
|---|---|
ST |
ST.enclosingInstance
Enclosing instance if I'm embedded within another template. |
| Methods in org.stringtemplate.v4 that return ST | |
|---|---|
ST |
ST.add(java.lang.String name,
java.lang.Object value)
Inject an attribute (name/value pair). |
ST |
STGroup.createSingleton(org.antlr.runtime.Token templateToken)
Create singleton template for use with dictionary values |
ST |
STGroup.createStringTemplate()
StringTemplate object factory; each group can have its own. |
ST |
STGroup.createStringTemplate(ST proto)
|
protected ST |
STGroup.getEmbeddedInstanceOf(ST enclosingInstance,
int ip,
java.lang.String name)
|
ST |
STGroup.getInstanceOf(java.lang.String name)
The primary means of getting an instance of a template from this group. |
| Methods in org.stringtemplate.v4 that return types with arguments of type ST | |
|---|---|
java.util.List<ST> |
ST.getEnclosingInstanceStack(boolean topdown)
|
protected java.util.List<ST> |
Interpreter.rot_map_iterator(ST self,
java.util.Iterator attr,
java.util.List<ST> prototypes)
|
| Methods in org.stringtemplate.v4 with parameters of type ST | |
|---|---|
protected int |
Interpreter._exec(STWriter out,
ST self)
|
ST |
STGroup.createStringTemplate(ST proto)
|
int |
Interpreter.exec(STWriter out,
ST self)
Execute template self and return how many characters it wrote to out |
protected ST |
STGroup.getEmbeddedInstanceOf(ST enclosingInstance,
int ip,
java.lang.String name)
|
java.util.List<InterpEvent> |
Interpreter.getEvents(ST st)
|
protected int |
Interpreter.getExprStartChar(ST self)
|
protected int |
Interpreter.getExprStopChar(ST self)
|
protected java.lang.Object |
Interpreter.getObjectProperty(STWriter out,
ST self,
java.lang.Object o,
java.lang.Object property)
|
java.lang.Object |
ModelAdaptor.getProperty(ST self,
java.lang.Object o,
java.lang.Object property,
java.lang.String propertyName)
Lookup property name in o and return its value. |
protected void |
Interpreter.indent(STWriter out,
ST self,
int strIndex)
|
protected void |
Interpreter.map(ST self,
java.lang.Object attr,
ST st)
|
protected java.util.List<ST> |
Interpreter.rot_map_iterator(ST self,
java.util.Iterator attr,
java.util.List<ST> prototypes)
|
protected void |
Interpreter.rot_map(ST self,
java.lang.Object attr,
java.util.List<ST> prototypes)
|
void |
Interpreter.setDefaultArguments(STWriter out,
ST invokedST)
Set any default argument values that were not set by the invoking template or by setAttribute directly. |
protected void |
Interpreter.setFirstArgument(ST self,
ST st,
java.lang.Object attr)
|
protected java.lang.String |
Interpreter.toString(STWriter out,
ST self,
java.lang.Object value)
|
protected void |
Interpreter.trace(ST self,
int ip)
|
protected int |
Interpreter.writeIterator(STWriter out,
ST self,
java.lang.Object o,
java.lang.String[] options)
|
protected int |
Interpreter.writeObject(STWriter out,
ST self,
java.lang.Object o,
java.lang.String[] options)
Generic method to emit text for an object. |
protected int |
Interpreter.writeObjectNoOptions(STWriter out,
ST self,
java.lang.Object o)
Write out an expression result that doesn't use expression options. |
protected int |
Interpreter.writeObjectWithOptions(STWriter out,
ST self,
java.lang.Object o,
java.lang.Object[] options)
Write out an expression result that uses expression options. |
protected ST.AttributeList |
Interpreter.zip_map(ST self,
java.util.List<java.lang.Object> exprs,
ST prototype)
|
| Method parameters in org.stringtemplate.v4 with type arguments of type ST | |
|---|---|
protected java.util.List<ST> |
Interpreter.rot_map_iterator(ST self,
java.util.Iterator attr,
java.util.List<ST> prototypes)
|
protected void |
Interpreter.rot_map(ST self,
java.lang.Object attr,
java.util.List<ST> prototypes)
|
| Constructors in org.stringtemplate.v4 with parameters of type ST | |
|---|---|
ST(ST proto)
Clone a prototype template for application in MAP operations; copy all fields |
|
| Uses of ST in org.stringtemplate.v4.debug |
|---|
| Subclasses of ST in org.stringtemplate.v4.debug | |
|---|---|
class |
DebugST
To avoid polluting ST instances with debug info when not debugging. |
| Methods in org.stringtemplate.v4.debug that return ST | |
|---|---|
ST |
DebugST.add(java.lang.String name,
java.lang.Object value)
|
| Constructors in org.stringtemplate.v4.debug with parameters of type ST | |
|---|---|
DebugST(ST proto)
|
|
| Uses of ST in org.stringtemplate.v4.misc |
|---|
| Fields in org.stringtemplate.v4.misc declared as ST | |
|---|---|
ST |
STMessage.self
if in debug mode, has created instance, add attr events and eval template events. |
| Methods in org.stringtemplate.v4.misc with parameters of type ST | |
|---|---|
java.lang.Object |
MapModelAdaptor.getProperty(ST self,
java.lang.Object o,
java.lang.Object property,
java.lang.String propertyName)
|
java.lang.Object |
STModelAdaptor.getProperty(ST self,
java.lang.Object o,
java.lang.Object property,
java.lang.String propertyName)
|
java.lang.Object |
ObjectModelAdaptor.getProperty(ST self,
java.lang.Object o,
java.lang.Object property,
java.lang.String propertyName)
|
void |
ErrorManager.internalError(ST self,
java.lang.String msg,
java.lang.Throwable e)
|
void |
ErrorManager.IOError(ST self,
ErrorType error,
java.lang.Throwable e)
|
void |
ErrorManager.IOError(ST self,
ErrorType error,
java.lang.Throwable e,
java.lang.Object arg)
|
void |
ErrorManager.runTimeError(ST self,
int ip,
ErrorType error)
|
void |
ErrorManager.runTimeError(ST self,
int ip,
ErrorType error,
java.lang.Object arg)
|
void |
ErrorManager.runTimeError(ST self,
int ip,
ErrorType error,
java.lang.Object arg,
java.lang.Object arg2)
|
void |
ErrorManager.runTimeError(ST self,
int ip,
ErrorType error,
java.lang.Object arg,
java.lang.Object arg2,
java.lang.Object arg3)
|
void |
ErrorManager.runTimeError(ST self,
int ip,
ErrorType error,
java.lang.Throwable e,
java.lang.Object arg)
|
static java.lang.String |
STDump.toString(ST self)
|
| Constructors in org.stringtemplate.v4.misc with parameters of type ST | |
|---|---|
STDump(ST self)
|
|
STMessage(ErrorType error,
ST self)
|
|
STMessage(ErrorType error,
ST self,
java.lang.Throwable cause)
|
|
STMessage(ErrorType error,
ST self,
java.lang.Throwable cause,
java.lang.Object arg)
|
|
STMessage(ErrorType error,
ST self,
java.lang.Throwable cause,
java.lang.Object arg,
java.lang.Object arg2)
|
|
STMessage(ErrorType error,
ST self,
java.lang.Throwable cause,
java.lang.Object arg,
java.lang.Object arg2,
java.lang.Object arg3)
|
|
STMessage(ErrorType error,
ST self,
java.lang.Throwable cause,
org.antlr.runtime.Token where,
java.lang.Object arg)
|
|
STRuntimeMessage(ErrorType error,
int ip,
ST self)
|
|
STRuntimeMessage(ErrorType error,
int ip,
ST self,
java.lang.Object arg)
|
|
STRuntimeMessage(ErrorType error,
int ip,
ST self,
java.lang.Throwable e,
java.lang.Object arg)
|
|
STRuntimeMessage(ErrorType error,
int ip,
ST self,
java.lang.Throwable e,
java.lang.Object arg,
java.lang.Object arg2)
|
|
STRuntimeMessage(ErrorType error,
int ip,
ST self,
java.lang.Throwable e,
java.lang.Object arg,
java.lang.Object arg2,
java.lang.Object arg3)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||