Overview
Package
Class
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
Z
_
S
scope
- Variable in class org.stringtemplate.v4.debug.
InterpEvent
scope
- Variable in exception org.stringtemplate.v4.misc.
STNoSuchAttributeException
scope
- Variable in class org.stringtemplate.v4.misc.
STRuntimeMessage
scrollPane15
- Variable in class org.stringtemplate.v4.gui.
STViewFrame
scrollPane7
- Variable in class org.stringtemplate.v4.gui.
STViewFrame
self
- Variable in class org.stringtemplate.v4.misc.
STMessage
if in debug mode, has created instance, add attr events and eval template events.
SEMI
- Static variable in class org.stringtemplate.v4.compiler.
CodeGenerator
SEMI
- Static variable in class org.stringtemplate.v4.compiler.
STLexer
SEMI
- Static variable in class org.stringtemplate.v4.compiler.
STParser
setDefaultArguments(STWriter, ST)
- Method in class org.stringtemplate.v4.
Interpreter
Set any default argument values that were not set by the invoking template or by setAttribute directly.
setFirstArgument(ST, ST, Object)
- Method in class org.stringtemplate.v4.
Interpreter
setLineWidth(int)
- Method in class org.stringtemplate.v4.
AutoIndentWriter
setLineWidth(int)
- Method in interface org.stringtemplate.v4.
STWriter
setListener(STErrorListener)
- Method in class org.stringtemplate.v4.
STGroup
setOption(CommonTree)
- Method in class org.stringtemplate.v4.compiler.
CodeGenerator
setOption(CommonTree)
- Method in class org.stringtemplate.v4.compiler.
CompilationState
setTreeAdaptor(TreeAdaptor)
- Method in class org.stringtemplate.v4.compiler.
STParser
setUp()
- Method in class org.stringtemplate.v4.test.
BaseTest
setUp()
- Method in class org.stringtemplate.v4.test.
TestCompiler
setUp()
- Method in class org.stringtemplate.v4.test.
TestRenderers
setup()
- Method in class org.stringtemplate.v4.test.
TestTreeConstruction
SHIPPING_COSTS
- Static variable in class org.stringtemplate.v4.benchmark.oliver.
Order
show()
- Method in class org.stringtemplate.v4.
STGroup
show()
- Method in class org.stringtemplate.v4.
STGroupFile
singleElement()
- Method in class org.stringtemplate.v4.compiler.
CodeGenerator
singleElement()
- Method in class org.stringtemplate.v4.compiler.
STParser
SKIP
- Static variable in class org.stringtemplate.v4.compiler.
STLexer
sourceMap()
- Method in class org.stringtemplate.v4.compiler.
BytecodeDisassembler
sourceMap
- Variable in class org.stringtemplate.v4.compiler.
CompiledST
sourceName
- Variable in class org.stringtemplate.v4.
STGroupString
st
- Variable in class org.stringtemplate.v4.
InstanceScope
ST
- Class in
org.stringtemplate.v4
An instance of the StringTemplate.
ST()
- Constructor for class org.stringtemplate.v4.
ST
Used by group creation routine, not by users
ST(String)
- Constructor for class org.stringtemplate.v4.
ST
Used to make templates inline in code for simple things like SQL or log records.
ST(String, char, char)
- Constructor for class org.stringtemplate.v4.
ST
Create ST using non-default delimiters; each one of these will live in it's own group since you're overriding a default; don't want to alter STGroup.defaultGroup.
ST(STGroup, String)
- Constructor for class org.stringtemplate.v4.
ST
ST(ST)
- Constructor for class org.stringtemplate.v4.
ST
Clone a prototype template.
ST.AttributeList
<
T
> - Class in
org.stringtemplate.v4
Just an alias for ArrayList, but this way I can track whether a list is something ST created or it's an incoming list.
ST.AttributeList(int)
- Constructor for class org.stringtemplate.v4.
ST.AttributeList
ST.AttributeList()
- Constructor for class org.stringtemplate.v4.
ST.AttributeList
ST.DebugState
- Class in
org.stringtemplate.v4
Events during template hierarchy construction (not evaluation)
ST.DebugState()
- Constructor for class org.stringtemplate.v4.
ST.DebugState
ST.RegionType
- Enum in
org.stringtemplate.v4
<@r()>, <@r>...<@end>, and @t.r() ::= "..." defined manually by coder
stack
- Variable in class org.stringtemplate.v4.debug.
ConstructionEvent
start()
- Method in class org.stringtemplate.v4.test.
BaseTest.StreamVacuum
STCompiletimeMessage
- Class in
org.stringtemplate.v4.misc
Used for semantic errors that occur at compile time not during interpretation.
STCompiletimeMessage(ErrorType, String, Token, Token)
- Constructor for class org.stringtemplate.v4.misc.
STCompiletimeMessage
STCompiletimeMessage(ErrorType, String, Token, Token, Throwable)
- Constructor for class org.stringtemplate.v4.misc.
STCompiletimeMessage
STCompiletimeMessage(ErrorType, String, Token, Token, Throwable, Object)
- Constructor for class org.stringtemplate.v4.misc.
STCompiletimeMessage
STCompiletimeMessage(ErrorType, String, Token, Token, Throwable, Object, Object)
- Constructor for class org.stringtemplate.v4.misc.
STCompiletimeMessage
STErrorListener
- Interface in
org.stringtemplate.v4
How to handle messages
STException
- Exception in
org.stringtemplate.v4.compiler
STException()
- Constructor for exception org.stringtemplate.v4.compiler.
STException
STException(String, Exception)
- Constructor for exception org.stringtemplate.v4.compiler.
STException
STGroup
- Class in
org.stringtemplate.v4
A directory or directory tree of .st template files and/or group files.
STGroup()
- Constructor for class org.stringtemplate.v4.
STGroup
STGroup(char, char)
- Constructor for class org.stringtemplate.v4.
STGroup
STGroupCompiletimeMessage
- Class in
org.stringtemplate.v4.misc
STGroupCompiletimeMessage(ErrorType, String, Token, Throwable)
- Constructor for class org.stringtemplate.v4.misc.
STGroupCompiletimeMessage
STGroupCompiletimeMessage(ErrorType, String, Token, Throwable, Object)
- Constructor for class org.stringtemplate.v4.misc.
STGroupCompiletimeMessage
STGroupCompiletimeMessage(ErrorType, String, Token, Throwable, Object, Object)
- Constructor for class org.stringtemplate.v4.misc.
STGroupCompiletimeMessage
STGroupDir
- Class in
org.stringtemplate.v4
A directory or directory tree full of templates and/or group files.
STGroupDir(String)
- Constructor for class org.stringtemplate.v4.
STGroupDir
STGroupDir(String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupDir
STGroupDir(String, String)
- Constructor for class org.stringtemplate.v4.
STGroupDir
STGroupDir(String, String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupDir
STGroupDir(URL, String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupDir
STGroupFile
- Class in
org.stringtemplate.v4
The internal representation of a single group file (which must end in ".stg").
STGroupFile(String)
- Constructor for class org.stringtemplate.v4.
STGroupFile
Load a file relative to current dir or from root or via CLASSPATH.
STGroupFile(String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupFile
STGroupFile(String, String)
- Constructor for class org.stringtemplate.v4.
STGroupFile
STGroupFile(String, String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupFile
STGroupFile(URL, String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupFile
STGroupString
- Class in
org.stringtemplate.v4
A group derived from a string not a file or dir.
STGroupString(String)
- Constructor for class org.stringtemplate.v4.
STGroupString
STGroupString(String, String)
- Constructor for class org.stringtemplate.v4.
STGroupString
STGroupString(String, String, char, char)
- Constructor for class org.stringtemplate.v4.
STGroupString
STLexer
- Class in
org.stringtemplate.v4.compiler
This class represents the tokenizer for templates.
STLexer(CharStream)
- Constructor for class org.stringtemplate.v4.compiler.
STLexer
STLexer(ErrorManager, CharStream, Token)
- Constructor for class org.stringtemplate.v4.compiler.
STLexer
STLexer(ErrorManager, CharStream, Token, char, char)
- Constructor for class org.stringtemplate.v4.compiler.
STLexer
STLexer.STToken
- Class in
org.stringtemplate.v4.compiler
We build STToken tokens instead of relying on CommonToken so we can override toString().
STLexer.STToken(CharStream, int, int, int)
- Constructor for class org.stringtemplate.v4.compiler.
STLexer.STToken
STLexer.STToken(int, String)
- Constructor for class org.stringtemplate.v4.compiler.
STLexer.STToken
STLexerMessage
- Class in
org.stringtemplate.v4.misc
STLexerMessage(String, String, Token, Throwable)
- Constructor for class org.stringtemplate.v4.misc.
STLexerMessage
STMessage
- Class in
org.stringtemplate.v4.misc
Upon error, ST creates an STMessage or subclass instance and notifies the listener.
STMessage(ErrorType)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STMessage(ErrorType, ST)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STMessage(ErrorType, ST, Throwable)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STMessage(ErrorType, ST, Throwable, Object)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STMessage(ErrorType, ST, Throwable, Token, Object)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STMessage(ErrorType, ST, Throwable, Object, Object)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STMessage(ErrorType, ST, Throwable, Object, Object, Object)
- Constructor for class org.stringtemplate.v4.misc.
STMessage
STModelAdaptor
- Class in
org.stringtemplate.v4.misc
STModelAdaptor()
- Constructor for class org.stringtemplate.v4.misc.
STModelAdaptor
STNoSuchAttributeException
- Exception in
org.stringtemplate.v4.misc
where name is not found up the dynamic scoping chain.
STNoSuchAttributeException()
- Constructor for exception org.stringtemplate.v4.misc.
STNoSuchAttributeException
STNoSuchPropertyException
- Exception in
org.stringtemplate.v4.misc
For
, object a has no b property
STNoSuchPropertyException()
- Constructor for exception org.stringtemplate.v4.misc.
STNoSuchPropertyException
STNoSuchPropertyException(Exception, Object, String)
- Constructor for exception org.stringtemplate.v4.misc.
STNoSuchPropertyException
STParser
- Class in
org.stringtemplate.v4.compiler
Build an AST from a single StringTemplate template
STParser(TokenStream)
- Constructor for class org.stringtemplate.v4.compiler.
STParser
STParser(TokenStream, RecognizerSharedState)
- Constructor for class org.stringtemplate.v4.compiler.
STParser
STParser(TokenStream, ErrorManager, Token)
- Constructor for class org.stringtemplate.v4.compiler.
STParser
STParser.andConditional_return
- Class in
org.stringtemplate.v4.compiler
STParser.andConditional_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.andConditional_return
STParser.arg_return
- Class in
org.stringtemplate.v4.compiler
STParser.arg_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.arg_return
STParser.argExprList_return
- Class in
org.stringtemplate.v4.compiler
STParser.argExprList_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.argExprList_return
STParser.args_return
- Class in
org.stringtemplate.v4.compiler
STParser.args_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.args_return
STParser.compoundElement_return
- Class in
org.stringtemplate.v4.compiler
STParser.compoundElement_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.compoundElement_return
STParser.conditional_return
- Class in
org.stringtemplate.v4.compiler
STParser.conditional_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.conditional_return
STParser.conditional_scope
- Class in
org.stringtemplate.v4.compiler
STParser.conditional_scope()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.conditional_scope
STParser.element_return
- Class in
org.stringtemplate.v4.compiler
STParser.element_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.element_return
STParser.expr_return
- Class in
org.stringtemplate.v4.compiler
STParser.expr_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.expr_return
STParser.exprNoComma_return
- Class in
org.stringtemplate.v4.compiler
STParser.exprNoComma_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.exprNoComma_return
STParser.exprOptions_return
- Class in
org.stringtemplate.v4.compiler
STParser.exprOptions_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.exprOptions_return
STParser.exprTag_return
- Class in
org.stringtemplate.v4.compiler
STParser.exprTag_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.exprTag_return
STParser.ifstat_return
- Class in
org.stringtemplate.v4.compiler
STParser.ifstat_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.ifstat_return
STParser.includeExpr_return
- Class in
org.stringtemplate.v4.compiler
STParser.includeExpr_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.includeExpr_return
STParser.list_return
- Class in
org.stringtemplate.v4.compiler
STParser.list_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.list_return
STParser.listElement_return
- Class in
org.stringtemplate.v4.compiler
STParser.listElement_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.listElement_return
STParser.mapExpr_return
- Class in
org.stringtemplate.v4.compiler
STParser.mapExpr_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.mapExpr_return
STParser.mapTemplateRef_return
- Class in
org.stringtemplate.v4.compiler
STParser.mapTemplateRef_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.mapTemplateRef_return
STParser.memberExpr_return
- Class in
org.stringtemplate.v4.compiler
STParser.memberExpr_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.memberExpr_return
STParser.namedArg_return
- Class in
org.stringtemplate.v4.compiler
STParser.namedArg_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.namedArg_return
STParser.notConditional_return
- Class in
org.stringtemplate.v4.compiler
STParser.notConditional_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.notConditional_return
STParser.notConditionalExpr_return
- Class in
org.stringtemplate.v4.compiler
STParser.notConditionalExpr_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.notConditionalExpr_return
STParser.option_return
- Class in
org.stringtemplate.v4.compiler
STParser.option_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.option_return
STParser.primary_return
- Class in
org.stringtemplate.v4.compiler
STParser.primary_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.primary_return
STParser.region_return
- Class in
org.stringtemplate.v4.compiler
STParser.region_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.region_return
STParser.singleElement_return
- Class in
org.stringtemplate.v4.compiler
STParser.singleElement_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.singleElement_return
STParser.subtemplate_return
- Class in
org.stringtemplate.v4.compiler
STParser.subtemplate_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.subtemplate_return
STParser.template_return
- Class in
org.stringtemplate.v4.compiler
STParser.template_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.template_return
STParser.templateAndEOF_return
- Class in
org.stringtemplate.v4.compiler
STParser.templateAndEOF_return()
- Constructor for class org.stringtemplate.v4.compiler.
STParser.templateAndEOF_return
str(int)
- Static method in class org.stringtemplate.v4.compiler.
STLexer
STRING
- Static variable in class org.stringtemplate.v4.compiler.
CodeGenerator
STRING
- Static variable in class org.stringtemplate.v4.compiler.
GroupLexer
STRING
- Static variable in class org.stringtemplate.v4.compiler.
GroupParser
STRING
- Static variable in class org.stringtemplate.v4.compiler.
STLexer
STRING
- Static variable in class org.stringtemplate.v4.compiler.
STParser
StringRenderer
- Class in
org.stringtemplate.v4
This render knows to perform a few operations on String objects: upper, lower, cap, url-encode, xml-encode.
StringRenderer()
- Constructor for class org.stringtemplate.v4.
StringRenderer
strings()
- Method in class org.stringtemplate.v4.compiler.
BytecodeDisassembler
strings
- Variable in class org.stringtemplate.v4.compiler.
CompiledST
StringTable
- Class in
org.stringtemplate.v4.compiler
A unique set of strings where we can get a string's index.
StringTable()
- Constructor for class org.stringtemplate.v4.compiler.
StringTable
strip(Object)
- Method in class org.stringtemplate.v4.
Interpreter
Return a new list w/o null values.
strip(String, int)
- Static method in class org.stringtemplate.v4.misc.
Misc
stripLastPathElement(String)
- Static method in class org.stringtemplate.v4.misc.
Misc
Given, say, file:/tmp/test.jar!/org/foo/templates/main.stg convert to file:/tmp/test.jar!/org/foo/templates
STRuntimeMessage
- Class in
org.stringtemplate.v4.misc
Used to track errors that occur in the ST interpreter.
STRuntimeMessage(Interpreter, ErrorType, int)
- Constructor for class org.stringtemplate.v4.misc.
STRuntimeMessage
STRuntimeMessage(Interpreter, ErrorType, int, ST)
- Constructor for class org.stringtemplate.v4.misc.
STRuntimeMessage
STRuntimeMessage(Interpreter, ErrorType, int, ST, Object)
- Constructor for class org.stringtemplate.v4.misc.
STRuntimeMessage
STRuntimeMessage(Interpreter, ErrorType, int, ST, Throwable, Object)
- Constructor for class org.stringtemplate.v4.misc.
STRuntimeMessage
STRuntimeMessage(Interpreter, ErrorType, int, ST, Throwable, Object, Object)
- Constructor for class org.stringtemplate.v4.misc.
STRuntimeMessage
STRuntimeMessage(Interpreter, ErrorType, int, ST, Throwable, Object, Object, Object)
- Constructor for class org.stringtemplate.v4.misc.
STRuntimeMessage
STViewFrame
- Class in
org.stringtemplate.v4.gui
STViewFrame()
- Constructor for class org.stringtemplate.v4.gui.
STViewFrame
STViz
- Class in
org.stringtemplate.v4.gui
STViz(ErrorManager, EvalTemplateEvent, String, Interpreter, List<String>, List<STMessage>)
- Constructor for class org.stringtemplate.v4.gui.
STViz
STWriter
- Interface in
org.stringtemplate.v4
Generic StringTemplate output writer filter.
SUBTEMPLATE
- Static variable in class org.stringtemplate.v4.compiler.
CodeGenerator
subtemplate()
- Method in class org.stringtemplate.v4.compiler.
CodeGenerator
SUBTEMPLATE
- Static variable in class org.stringtemplate.v4.compiler.
STParser
subtemplate()
- Method in class org.stringtemplate.v4.compiler.
STParser
SUBTEMPLATE_PREFIX
- Static variable in class org.stringtemplate.v4.compiler.
Compiler
subtemplateCount
- Static variable in class org.stringtemplate.v4.compiler.
Compiler
Name subtemplates _sub1, _sub2, ...
subtemplateDepth
- Variable in class org.stringtemplate.v4.compiler.
STLexer
To be able to properly track the inside/outside mode, we need to track how deeply nested we are in some templates.
SUPER
- Static variable in class org.stringtemplate.v4.compiler.
CodeGenerator
SUPER
- Static variable in class org.stringtemplate.v4.compiler.
STLexer
SUPER
- Static variable in class org.stringtemplate.v4.compiler.
STParser
supportedOptions
- Static variable in class org.stringtemplate.v4.compiler.
Compiler
SUREFIRE_CLASSPATH
- Static variable in class org.stringtemplate.v4.test.
BaseTest
When runnning from Maven, the junit tests are run via the surefire plugin.
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
Z
_