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