Package | Description |
---|---|
org.stringtemplate.v4 | |
org.stringtemplate.v4.compiler |
Modifier and Type | Class | Description |
---|---|---|
class |
STGroupDir |
A directory or directory tree full of templates and/or group files.
|
class |
STGroupFile |
The internal representation of a single group file (which must end in
".stg").
|
class |
STGroupString |
A group derived from a string not a file or directory.
|
class |
STRawGroupDir |
A directory of templates without headers like ST v3 had.
|
Modifier and Type | Field | Description |
---|---|---|
static STGroup |
STGroup.defaultGroup |
|
STGroup |
ST.groupThatCreatedThisInstance |
Created as instance of which group? We need this to initialize interpreter
via render.
|
Modifier and Type | Field | Description |
---|---|---|
protected List<STGroup> |
STGroup.imports |
Every group can import templates/dictionaries from other groups.
|
protected List<STGroup> |
STGroup.importsToClearOnUnload |
Modifier and Type | Method | Description |
---|---|---|
List<STGroup> |
STGroup.getImportedGroups() |
Modifier and Type | Method | Description |
---|---|---|
Object |
Interpreter.getDictionary(STGroup g,
String name) |
|
void |
STGroup.importTemplates(STGroup g) |
Make this group import templates/dictionaries from
g . |
protected void |
STGroup.importTemplates(STGroup g,
boolean clearOnUnload) |
Constructor | Description |
---|---|
Interpreter(STGroup group,
boolean debug) |
|
Interpreter(STGroup group,
Locale locale,
boolean debug) |
|
Interpreter(STGroup group,
Locale locale,
ErrorManager errMgr,
boolean debug) |
|
Interpreter(STGroup group,
ErrorManager errMgr,
boolean debug) |
|
ST(STGroup group,
String template) |
Modifier and Type | Field | Description |
---|---|---|
STGroup |
Compiler.group |
|
STGroup |
GroupLexer.group |
|
STGroup |
GroupParser.group |
|
STGroup |
CompiledST.nativeGroup |
The group that physically defines this
ST definition. |
Modifier and Type | Method | Description |
---|---|---|
void |
CompiledST.defineArgDefaultValueTemplates(STGroup group) |
|
void |
CompiledST.defineImplicitlyDefinedTemplates(STGroup group) |
|
void |
GroupParser.group(STGroup group,
String prefix) |
Constructor | Description |
---|---|
Compiler(STGroup group) |
Copyright © 2019. All rights reserved.