All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description AddAttributeEvent Aggregate An automatically created aggregate of properties.AggregateModelAdaptor Deal with structs created viaST.addAggr(java.lang.String, java.lang.Object...)
("structname.{prop1, prop2}", ...);
.AmbiguousMatchException ArrayIterator AttributeRenderer<T> This interface describes an object that knows how to format or otherwise render an object appropriately.AutoIndentWriter Essentially a char filter that knows how to auto-indent output by maintaining a stack of indent levels.Bytecode Bytecode.Instruction Bytecode.OperandType BytecodeDisassembler CodeGenerator CodeGenerator.args_return CodeGenerator.conditional_return CodeGenerator.exprOptions_return CodeGenerator.includeExpr_return CodeGenerator.list_return CodeGenerator.listElement_return CodeGenerator.mapTemplateRef_return CodeGenerator.primary_return CodeGenerator.qualifiedId_return CodeGenerator.region_return CodeGenerator.subtemplate_return CodeGenerator.template_scope CompilationState Temporary data used during construction and functions that fill it / use it.CompiledST The result of compiling anST
.Compiler A compiler for a single template.ConstructionEvent An event that happens when building ST trees, adding attributes etc...Coordinate A line number and char position within a line.DateRenderer ErrorBuffer Used during tests to track all errors.ErrorManager ErrorType All the errors that can happen and how to generate a message.EvalExprEvent EvalTemplateEvent FormalArgument Represents the name of a formal argument defined in a template:GroupLexer GroupParser GroupParser.formalArgs_scope IndentEvent InstanceScope InterpEvent Interpreter This class knows how to execute template bytecodes relative to a particularSTGroup
.Interpreter.ArgumentsMap Interpreter.ObjectList Interpreter.Option Interval An inclusive intervala..b
.JTreeASTModel JTreeScopeStackModel From a scope, get stack of enclosing scopes in order from root down to scope.JTreeScopeStackModel.StringTree JTreeSTModel JTreeSTModel.Wrapper MapModelAdaptor Misc ModelAdaptor<T> An object that knows how to convert property references to appropriate actions on a model object.MultiMap<K,V> A hash table that maps a key to a list of elements not just a single.NoIndentWriter Just pass through the text.NumberRenderer ObjectModelAdaptor<T> ST An instance of the StringTemplate.ST.AttributeList Just an alias forArrayList
, but this way I can track whether a list is something ST created or it's an incoming list.ST.DebugState Events during template hierarchy construction (not evaluation)ST.RegionType <@r()>
,<@r>...<@end>
, and@t.r() ::= "..."
defined manually by coderSTCompiletimeMessage Used for semantic errors that occur at compile time not during interpretation.STErrorListener How to handle messages.STException STGroup A directory or directory tree of.st
template files and/or group files.STGroupCompiletimeMessage STGroupDir A directory or directory tree full of templates and/or group files.STGroupFile The internal representation of a single group file (which must end in ".stg").STGroupString A group derived from a string not a file or directory.STLexer This class represents the tokenizer for templates.STLexer.STToken We buildSTToken
tokens instead of relying onCommonToken
so we can overrideSTLexer.STToken.toString()
.STLexerMessage STMessage Upon error, ST creates anSTMessage
or subclass instance and notifies the listener.STModelAdaptor STNoSuchAttributeException <name>
wherename
is not found up the dynamic scoping chain.STNoSuchPropertyException For<a.b>
, objecta
does not have a propertyb
.STParser Build an AST from a single StringTemplate templateSTParser.andConditional_return STParser.arg_return STParser.argExprList_return STParser.args_return STParser.compoundElement_return STParser.conditional_return STParser.conditional_scope STParser.element_return STParser.expr_return STParser.exprNoComma_return STParser.exprOptions_return STParser.exprTag_return STParser.ifstat_return STParser.includeExpr_return STParser.list_return STParser.listElement_return STParser.mapExpr_return STParser.mapTemplateRef_return STParser.memberExpr_return STParser.namedArg_return STParser.notConditional_return STParser.notConditionalExpr_return STParser.option_return STParser.primary_return STParser.qualifiedId_return STParser.region_return STParser.singleElement_return STParser.subtemplate_return STParser.template_return STParser.templateAndEOF_return STRawGroupDir A directory of templates without headers like ST v3 had.StringRenderer This render knows to perform a few format operations onString
objects:upper
: Convert to upper case.lower
: Convert to lower case.cap
: Convert first character to upper case.url-encode
:xml-encode
:StringTable A unique set of strings where we can get a string's index.STRuntimeMessage Used to track errors that occur in the ST interpreter.STViewFrame STViz STWriter Generic StringTemplate output writer filter.TypeRegistry<V>