Uses of Class
org.stringtemplate.v4.compiler.CompiledST
Packages that use CompiledST
-
Uses of CompiledST in org.stringtemplate.v4
Fields in org.stringtemplate.v4 declared as CompiledSTModifier and TypeFieldDescriptionST.impl
The implementation for this template among all instances of same template .protected static final CompiledST
STGroup.NOT_FOUND_ST
Used to indicate that the template doesn't exist.Fields in org.stringtemplate.v4 with type parameters of type CompiledSTModifier and TypeFieldDescriptionprotected Map
<String, CompiledST> STGroup.templates
Maps template name toCompiledST
object.Methods in org.stringtemplate.v4 that return CompiledSTModifier and TypeMethodDescriptionSTGroup.compile
(String srcName, String name, List<FormalArgument> args, String template, org.antlr.runtime.Token templateToken) Compile a template.STGroup.defineRegion
(String enclosingTemplateName, org.antlr.runtime.Token regionT, String template, org.antlr.runtime.Token templateToken) STGroup.defineTemplate
(String templateName, String template) for testingSTGroup.defineTemplate
(String name, String argsS, String template) for testingSTGroup.defineTemplate
(String fullyQualifiedTemplateName, org.antlr.runtime.Token nameT, List<FormalArgument> args, String template, org.antlr.runtime.Token templateToken) STGroup.defineTemplateAlias
(org.antlr.runtime.Token aliasT, org.antlr.runtime.Token targetT) Make name and alias for target.protected CompiledST
Load st from disk if directory or load whole group file if .stg file (then return just one template).protected CompiledST
Load a template from directory or group file.protected CompiledST
protected CompiledST
STGroup.loadAbsoluteTemplateFile
(String fileName) Load template file into this group using absolutefileName
.STGroup.loadTemplateFile
(String prefix, String unqualifiedFileName, org.antlr.runtime.CharStream templateStream) Load template stream into this group.STGroupDir.loadTemplateFile
(String prefix, String unqualifiedFileName) Load .st as relative file name relative to root byprefix
.STRawGroupDir.loadTemplateFile
(String prefix, String unqualifiedFileName, org.antlr.runtime.CharStream templateStream) protected CompiledST
STGroup.lookupImportedTemplate
(String name) STGroup.lookupTemplate
(String name) Look up a fully-qualified name.STGroup.rawGetTemplate
(String name) Methods in org.stringtemplate.v4 with parameters of type CompiledSTModifier and TypeMethodDescriptionSTGroup.createStringTemplate
(CompiledST impl) STGroup.createStringTemplateInternally
(CompiledST impl) Differentiate so we can avoid having creation events for regions, map operations, and other implicit "new ST" events during rendering.void
STGroup.rawDefineTemplate
(String name, CompiledST code, org.antlr.runtime.Token defT) -
Uses of CompiledST in org.stringtemplate.v4.compiler
Fields in org.stringtemplate.v4.compiler declared as CompiledSTModifier and TypeFieldDescription(package private) CompiledST
BytecodeDisassembler.code
FormalArgument.compiledDefaultValue
(package private) CompiledST
CompilationState.impl
The compiled code implementation to fill in.(package private) CompiledST
CodeGenerator.outermostImpl
Fields in org.stringtemplate.v4.compiler with type parameters of type CompiledSTModifier and TypeFieldDescriptionCompiledST.implicitlyDefinedTemplates
A list of all regions and subtemplates.Methods in org.stringtemplate.v4.compiler that return CompiledSTModifier and TypeMethodDescriptionCompiledST.clone()
Cloning theCompiledST
for anST
instance allowsST.add(java.lang.String, java.lang.Object)
to be called safely during interpretation for templates that do not contain formal arguments.Compile full template with unknown formal arguments.Compiler.compile
(String srcName, String name, List<FormalArgument> args, String template, org.antlr.runtime.Token templateToken) Compile full template with respect to a list of formal arguments.static CompiledST
Compiler.defineBlankRegion
(CompiledST outermostImpl, org.antlr.runtime.Token nameToken) final CompiledST
CodeGenerator.template
(String name, List<FormalArgument> args) Methods in org.stringtemplate.v4.compiler with parameters of type CompiledSTModifier and TypeMethodDescriptionvoid
CompiledST.addImplicitlyDefinedTemplate
(CompiledST sub) static CompiledST
Compiler.defineBlankRegion
(CompiledST outermostImpl, org.antlr.runtime.Token nameToken) Constructors in org.stringtemplate.v4.compiler with parameters of type CompiledST