|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDialect
Method Summary | |
---|---|
String |
a()
Return the primary caret marker, e.g. |
void |
begin(IContext ctx)
|
CodeBuilder |
createCodeBuilder(String template,
String className,
String tagName,
org.rythmengine.internal.compiler.TemplateClass templateClass,
RythmEngine engine)
|
boolean |
enableFreeForLoop()
|
boolean |
enableScripting()
|
void |
end(IContext ctx)
|
String |
id()
Return the ID of the dialect, might be something like "rythm" or "play-groovy" etc. |
boolean |
isMyTemplate(String template)
|
void |
registerParserFactory(IParserFactory parser)
Register a special case parser which will be processed before all other parsers |
Method Detail |
---|
String id()
String a()
void registerParserFactory(IParserFactory parser)
for example, the rythm extension for play!framework might want to register a special case parser to process something like @{Controller.actionMethod()} or &{'MSG_ID'} etc.
parser
- boolean isMyTemplate(String template)
void begin(IContext ctx)
void end(IContext ctx)
boolean enableScripting()
boolean enableFreeForLoop()
CodeBuilder createCodeBuilder(String template, String className, String tagName, org.rythmengine.internal.compiler.TemplateClass templateClass, RythmEngine engine)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |