Package gw.lang.parser.template
Interface ITemplateGenerator
-
- All Known Implementing Classes:
TemplateGenerator
public interface ITemplateGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static String
PRINT_COMPRESSED_METHOD
static String
PRINT_METHOD
static String
PRINT_RANGE_METHOD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compile(ISymbolTable symTable)
void
execute(Writer writer, ISymbolTable symbolTable)
void
execute(Writer writer, StringEscaper escaper, ISymbolTable symTable)
String
getFullyQualifiedTypeName()
List<ISymbol>
getParameters()
IProgram
getProgram()
String
getSource()
IType
getSuperType()
List<TemplateParseException>
getTemplateSyntaxProblems()
boolean
isValid()
void
verify(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()
-
-