Uses of Class
org.stringtemplate.v4.ST
-
Packages that use ST Package Description org.stringtemplate.v4 org.stringtemplate.v4.gui org.stringtemplate.v4.misc -
-
Uses of ST in org.stringtemplate.v4
Fields in org.stringtemplate.v4 declared as ST Modifier and Type Field Description STInstanceScope. stTemplate we're executing.Methods in org.stringtemplate.v4 that return ST Modifier and Type Method Description STST. add(String name, Object value)Inject an attribute (name/value pair).STST. addAggr(String aggrSpec, Object... values)SplitaggrName.{propName1,propName2}into list[propName1, propName2]and theaggrName.STSTGroup. createSingleton(org.antlr.runtime.Token templateToken)Create singleton template for use with dictionary values.STSTGroup. createStringTemplate(CompiledST impl)STSTGroup. createStringTemplateInternally(CompiledST impl)Differentiate so we can avoid having creation events for regions, map operations, and other implicit "new ST" events during rendering.STSTGroup. createStringTemplateInternally(ST proto)protected STSTGroup. getEmbeddedInstanceOf(Interpreter interp, InstanceScope scope, String name)STSTGroup. getInstanceOf(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 Modifier and Type Method Description static List<ST>Interpreter. getEnclosingInstanceStack(InstanceScope scope, boolean topdown)protected List<ST>Interpreter. rot_map_iterator(InstanceScope scope, Iterator<?> attr, List<ST> prototypes)Methods in org.stringtemplate.v4 with parameters of type ST Modifier and Type Method Description STSTGroup. createStringTemplateInternally(ST proto)ObjectModelAdaptor. getProperty(Interpreter interp, ST self, T model, Object property, String propertyName)Lookup property name inoand return its value.protected voidInterpreter. map(InstanceScope scope, Object attr, ST st)protected voidInterpreter. setFirstArgument(InstanceScope scope, ST st, Object attr)protected ST.AttributeListInterpreter. zip_map(InstanceScope scope, List<Object> exprs, ST prototype)Renders expressions of the form<names,phones:{n,p | ...}>or<a,b:t()>.Method parameters in org.stringtemplate.v4 with type arguments of type ST Modifier and Type Method Description protected voidInterpreter. rot_map(InstanceScope scope, Object attr, List<ST> prototypes)Renders expressions of the form<names:a()>or<names:a(),b()>.protected List<ST>Interpreter. rot_map_iterator(InstanceScope scope, Iterator<?> attr, List<ST> prototypes)Constructors in org.stringtemplate.v4 with parameters of type ST Constructor Description InstanceScope(InstanceScope parent, ST st)ST(ST proto)Clone a prototype template. -
Uses of ST in org.stringtemplate.v4.gui
Methods in org.stringtemplate.v4.gui with parameters of type ST Modifier and Type Method Description voidJTreeScopeStackModel. addAttributeDescriptions(ST st, JTreeScopeStackModel.StringTree node, Set<String> names) -
Uses of ST in org.stringtemplate.v4.misc
Fields in org.stringtemplate.v4.misc declared as ST Modifier and Type Field Description STSTMessage. selfif in debug mode, has created instance, add attr events and eval template events.Methods in org.stringtemplate.v4.misc with parameters of type ST Modifier and Type Method Description ObjectAggregateModelAdaptor. getProperty(Interpreter interp, ST self, Aggregate o, Object property, String propertyName)ObjectMapModelAdaptor. getProperty(Interpreter interp, ST self, Map<?,?> model, Object property, String propertyName)ObjectObjectModelAdaptor. getProperty(Interpreter interp, ST self, T model, Object property, String propertyName)ObjectSTModelAdaptor. getProperty(Interpreter interp, ST self, ST model, Object property, String propertyName)voidErrorManager. internalError(ST self, String msg, Throwable e)voidErrorManager. IOError(ST self, ErrorType error, Throwable e)voidErrorManager. IOError(ST self, ErrorType error, Throwable e, Object arg)Constructors in org.stringtemplate.v4.misc with parameters of type ST Constructor Description STMessage(ErrorType error, ST self)STMessage(ErrorType error, ST self, Throwable cause)STMessage(ErrorType error, ST self, Throwable cause, Object arg)STMessage(ErrorType error, ST self, Throwable cause, Object arg, Object arg2)STMessage(ErrorType error, ST self, Throwable cause, Object arg, Object arg2, Object arg3)STMessage(ErrorType error, ST self, Throwable cause, org.antlr.runtime.Token where, Object arg)
-