Uses of Class
org.stringtemplate.v4.ST

Packages that use ST
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
 ST InstanceScope.st
           
 

Methods in org.stringtemplate.v4 that return ST
 ST ST.add(String name, Object value)
          Inject an attribute (name/value pair).
 ST ST.addAggr(String aggrSpec, Object... values)
          Split "aggrName.{propName1,propName2}" into list [propName1,propName2] and the aggrName.
 ST STGroup.createSingleton(org.antlr.runtime.Token templateToken)
          Create singleton template for use with dictionary values
 ST STGroup.createStringTemplate(CompiledST impl)
           
 ST STGroup.createStringTemplateInternally(CompiledST impl)
          differentiate so we can avoid having creation events for regions, map operations, and other "new ST" events used during interp.
 ST STGroup.createStringTemplateInternally(ST proto)
           
protected  ST STGroup.getEmbeddedInstanceOf(Interpreter interp, ST enclosingInstance, int ip, String name)
           
 ST STGroup.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
static List<ST> Interpreter.getEnclosingInstanceStack(InstanceScope scope, boolean topdown)
           
protected  List<ST> Interpreter.rot_map_iterator(ST self, Iterator attr, List<ST> prototypes)
           
 

Methods in org.stringtemplate.v4 with parameters of type ST
protected  int Interpreter._exec(STWriter out, ST self)
           
 ST STGroup.createStringTemplateInternally(ST proto)
           
 int Interpreter.exec(STWriter out, ST self)
          Execute template self and return how many characters it wrote to out
 Object Interpreter.getAttribute(ST self, String name)
          Find an attr via dynamic scoping up enclosing scope chain.
protected  ST STGroup.getEmbeddedInstanceOf(Interpreter interp, ST enclosingInstance, int ip, String name)
           
protected  int Interpreter.getExprStartChar(ST self)
           
protected  int Interpreter.getExprStopChar(ST self)
           
protected  Object Interpreter.getObjectProperty(STWriter out, ST self, Object o, Object property)
           
 Object ModelAdaptor.getProperty(Interpreter interp, ST self, Object o, Object property, 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, Object attr, ST st)
           
protected  List<ST> Interpreter.rot_map_iterator(ST self, Iterator attr, List<ST> prototypes)
           
protected  void Interpreter.rot_map(ST self, Object attr, 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, Object attr)
           
protected  String Interpreter.toString(STWriter out, ST self, Object value)
           
protected  void Interpreter.trace(ST self, int ip)
           
protected  void Interpreter.trackDebugEvent(ST self, InterpEvent e)
          For every event, we track in overall list and in self's event list so that each template has a list of events used to create it.
protected  int Interpreter.writeIterator(STWriter out, ST self, Object o, String[] options)
           
protected  int Interpreter.writeObject(STWriter out, ST self, Object o, String[] options)
          Generic method to emit text for an object.
protected  int Interpreter.writeObjectNoOptions(STWriter out, ST self, Object o)
          Write out an expression result that doesn't use expression options.
protected  int Interpreter.writeObjectWithOptions(STWriter out, ST self, Object o, Object[] options)
          Write out an expression result that uses expression options.
protected  ST.AttributeList Interpreter.zip_map(ST self, List<Object> exprs, ST prototype)
           
 

Method parameters in org.stringtemplate.v4 with type arguments of type ST
protected  List<ST> Interpreter.rot_map_iterator(ST self, Iterator attr, List<ST> prototypes)
           
protected  void Interpreter.rot_map(ST self, Object attr, List<ST> prototypes)
           
 

Constructors in org.stringtemplate.v4 with parameters of type ST
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
 void JTreeScopeStackModel.addAttributeDescriptions(ST st, JTreeScopeStackModel.StringTree node)
           
 

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
 Object AggregateModelAdaptor.getProperty(Interpreter interp, ST self, Object o, Object property, String propertyName)
           
 Object STModelAdaptor.getProperty(Interpreter interp, ST self, Object o, Object property, String propertyName)
           
 Object MapModelAdaptor.getProperty(Interpreter interp, ST self, Object o, Object property, String propertyName)
           
 Object ObjectModelAdaptor.getProperty(Interpreter interp, ST self, Object o, Object property, String propertyName)
           
 void ErrorManager.internalError(ST self, String msg, Throwable e)
           
 void ErrorManager.IOError(ST self, ErrorType error, Throwable e)
           
 void ErrorManager.IOError(ST self, ErrorType error, Throwable e, Object arg)
           
 void ErrorManager.runTimeError(Interpreter interp, ST self, int ip, ErrorType error)
           
 void ErrorManager.runTimeError(Interpreter interp, ST self, int ip, ErrorType error, Object arg)
           
 void ErrorManager.runTimeError(Interpreter interp, ST self, int ip, ErrorType error, Object arg, Object arg2)
           
 void ErrorManager.runTimeError(Interpreter interp, ST self, int ip, ErrorType error, Object arg, Object arg2, Object arg3)
           
 void ErrorManager.runTimeError(Interpreter interp, ST self, int ip, ErrorType error, Throwable e, Object arg)
           
 

Constructors in org.stringtemplate.v4.misc with parameters of type ST
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)
           
STRuntimeMessage(Interpreter interp, ErrorType error, int ip, ST self)
           
STRuntimeMessage(Interpreter interp, ErrorType error, int ip, ST self, Object arg)
           
STRuntimeMessage(Interpreter interp, ErrorType error, int ip, ST self, Throwable e, Object arg)
           
STRuntimeMessage(Interpreter interp, ErrorType error, int ip, ST self, Throwable e, Object arg, Object arg2)
           
STRuntimeMessage(Interpreter interp, ErrorType error, int ip, ST self, Throwable e, Object arg, Object arg2, Object arg3)
           
 



Copyright © 2011. All Rights Reserved.