Uses of Class
org.stringtemplate.v4.InstanceScope
Packages that use InstanceScope
Package
Description
-
Uses of InstanceScope in org.stringtemplate.v4
Fields in org.stringtemplate.v4 declared as InstanceScopeModifier and TypeFieldDescriptionfinal InstanceScopeInstanceScope.parentTemplate that invoked us.Methods in org.stringtemplate.v4 that return types with arguments of type InstanceScopeModifier and TypeMethodDescriptionstatic List<InstanceScope> Interpreter.getScopeStack(InstanceScope scope, boolean topdown) Methods in org.stringtemplate.v4 with parameters of type InstanceScopeModifier and TypeMethodDescriptionprotected intInterpreter._exec(STWriter out, InstanceScope scope) protected voidInterpreter.addToList(InstanceScope scope, List<Object> list, Object o) Interpreter.convertAnythingIteratableToIterator(InstanceScope scope, Object o) Iterator<?> Interpreter.convertAnythingToIterator(InstanceScope scope, Object o) intInterpreter.exec(STWriter out, InstanceScope scope) Execute templateselfand return how many characters it wrote toout.Interpreter.first(InstanceScope scope, Object v) Return the first attribute if multi-valued, or the attribute itself if single-valued.Interpreter.getAttribute(InstanceScope scope, String name) Find an attribute via dynamic scoping up enclosing scope chain.protected STSTGroup.getEmbeddedInstanceOf(Interpreter interp, InstanceScope scope, String name) Interpreter.getEnclosingInstanceStack(InstanceScope scope, boolean topdown) static StringInterpreter.getEnclosingInstanceStackString(InstanceScope scope) If an instance of x is enclosed in a y which is in a z, return aStringof these instance names in order from topmost to lowest; here that would be[z y x].static List<EvalTemplateEvent> Interpreter.getEvalTemplateEventStack(InstanceScope scope, boolean topdown) protected intInterpreter.getExprStartChar(InstanceScope scope) protected intInterpreter.getExprStopChar(InstanceScope scope) protected ObjectInterpreter.getObjectProperty(STWriter out, InstanceScope scope, Object o, Object property) static List<InstanceScope> Interpreter.getScopeStack(InstanceScope scope, boolean topdown) protected voidInterpreter.indent(STWriter out, InstanceScope scope, int strIndex) Interpreter.last(InstanceScope scope, Object v) Return the last attribute if multi-valued, or the attribute itself if single-valued.protected voidInterpreter.map(InstanceScope scope, Object attr, ST st) (package private) voidprotected voidInterpreter.printForTrace(StringBuilder tr, InstanceScope scope, Object o) private <T> StringInterpreter.renderObject(InstanceScope scope, String formatString, Object o, Class<T> attributeType) Interpreter.rest(InstanceScope scope, Object v) Return everything but the first attribute if multi-valued, ornullif single-valued.Interpreter.reverse(InstanceScope scope, Object v) Return a list with the same elements asvbut in reverse order.protected voidInterpreter.rot_map(InstanceScope scope, Object attr, List<ST> prototypes) Renders expressions of the form<names:a()>or<names:a(),b()>.Interpreter.rot_map_iterator(InstanceScope scope, Iterator<?> attr, List<ST> prototypes) voidInterpreter.setDefaultArguments(STWriter out, InstanceScope scope) Set any default argument values that were not set by the invoking template or byST.add(java.lang.String, java.lang.Object)directly.protected voidInterpreter.setFirstArgument(InstanceScope scope, ST st, Object attr) (package private) voidInterpreter.storeArgs(InstanceScope scope, int nargs, ST st) (package private) voidInterpreter.strip(InstanceScope scope, Object v) Return a new list withoutnullvalues.(package private) voidInterpreter.super_new(InstanceScope scope, String name, int nargs) (package private) voidprotected StringInterpreter.toString(STWriter out, InstanceScope scope, Object value) protected voidInterpreter.trace(InstanceScope scope, int ip) protected voidInterpreter.trackDebugEvent(InstanceScope scope, InterpEvent e) For every event, we track in overallInterpreter.eventslist and inself'seventslist so that each template has a list of events used to create it.Interpreter.trunc(InstanceScope scope, Object v) Return all but the last element.protected intInterpreter.writeIterator(STWriter out, InstanceScope scope, Object o, String[] options) protected intInterpreter.writeObject(STWriter out, InstanceScope scope, Object o, String[] options) Generic method to emit text for an object.protected intInterpreter.writeObjectNoOptions(STWriter out, InstanceScope scope, Object o) Write out an expression result that doesn't use expression options.protected intInterpreter.writeObjectWithOptions(STWriter out, InstanceScope scope, Object o, Object[] options) Write out an expression result that uses expression options.protected intInterpreter.writePOJO(STWriter out, InstanceScope scope, Object o, String[] options) 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()>.Constructors in org.stringtemplate.v4 with parameters of type InstanceScope -
Uses of InstanceScope in org.stringtemplate.v4.debug
Fields in org.stringtemplate.v4.debug declared as InstanceScopeConstructors in org.stringtemplate.v4.debug with parameters of type InstanceScopeModifierConstructorDescriptionEvalExprEvent(InstanceScope scope, int start, int stop, int exprStartChar, int exprStopChar) EvalTemplateEvent(InstanceScope scope, int exprStartChar, int exprStopChar) IndentEvent(InstanceScope scope, int start, int stop, int exprStartChar, int exprStopChar) InterpEvent(InstanceScope scope, int outputStartChar, int outputStopChar) -
Uses of InstanceScope in org.stringtemplate.v4.gui
Fields in org.stringtemplate.v4.gui declared as InstanceScopeMethods in org.stringtemplate.v4.gui with parameters of type InstanceScopeModifier and TypeMethodDescriptionprotected voidSTViz.updateAttributes(InstanceScope scope, STViewFrame m) protected voidSTViz.updateStack(InstanceScope scope, STViewFrame m) Constructors in org.stringtemplate.v4.gui with parameters of type InstanceScope -
Uses of InstanceScope in org.stringtemplate.v4.misc
Fields in org.stringtemplate.v4.misc declared as InstanceScopeModifier and TypeFieldDescriptionSTNoSuchAttributeException.scopefinal InstanceScopeSTRuntimeMessage.scopeMethods in org.stringtemplate.v4.misc with parameters of type InstanceScopeModifier and TypeMethodDescriptionvoidErrorManager.runTimeError(Interpreter interp, InstanceScope scope, ErrorType error) voidErrorManager.runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg) voidErrorManager.runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2) voidErrorManager.runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Object arg, Object arg2, Object arg3) voidErrorManager.runTimeError(Interpreter interp, InstanceScope scope, ErrorType error, Throwable e, Object arg) Constructors in org.stringtemplate.v4.misc with parameters of type InstanceScopeModifierConstructorDescriptionSTNoSuchAttributeException(String name, InstanceScope scope) STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope) STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Object arg) STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg) STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg, Object arg2) STRuntimeMessage(Interpreter interp, ErrorType error, int ip, InstanceScope scope, Throwable e, Object arg, Object arg2, Object arg3)