Package gw.lang.parser.template
Interface ITemplateGenerator
-
- All Known Implementing Classes:
TemplateGenerator
public interface ITemplateGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPRINT_COMPRESSED_METHODstatic java.lang.StringPRINT_METHODstatic java.lang.StringPRINT_RANGE_METHOD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompile(ISymbolTable symTable)voidexecute(java.io.Writer writer, ISymbolTable symbolTable)voidexecute(java.io.Writer writer, StringEscaper escaper, ISymbolTable symTable)java.lang.StringgetFullyQualifiedTypeName()java.util.List<ISymbol>getParameters()IProgramgetProgram()java.lang.StringgetSource()ITypegetSuperType()java.util.List<TemplateParseException>getTemplateSyntaxProblems()booleanisValid()voidverify(IGosuParser parser)
-
-
-
Field Detail
-
PRINT_METHOD
static final java.lang.String PRINT_METHOD
- See Also:
- Constant Field Values
-
PRINT_COMPRESSED_METHOD
static final java.lang.String PRINT_COMPRESSED_METHOD
- See Also:
- Constant Field Values
-
PRINT_RANGE_METHOD
static final java.lang.String PRINT_RANGE_METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
void execute(java.io.Writer writer, ISymbolTable symbolTable) throws TemplateParseException- Throws:
TemplateParseException
-
execute
void execute(java.io.Writer writer, StringEscaper escaper, ISymbolTable symTable) throws TemplateParseException- Throws:
TemplateParseException
-
compile
void compile(ISymbolTable symTable) throws TemplateParseException
- Throws:
TemplateParseException
-
verify
void verify(IGosuParser parser) throws ParseResultsException
- Throws:
ParseResultsException
-
isValid
boolean isValid()
-
getParameters
java.util.List<ISymbol> getParameters()
-
getSuperType
IType getSuperType()
-
getFullyQualifiedTypeName
java.lang.String getFullyQualifiedTypeName()
-
getTemplateSyntaxProblems
java.util.List<TemplateParseException> getTemplateSyntaxProblems()
-
getProgram
IProgram getProgram()
-
getSource
java.lang.String getSource()
-
-