org.zilonis.parser
Interface ParserEventHandler
- All Known Implementing Classes:
- GenericEventHandler
public interface ParserEventHandler
loadFile
void loadFile(antlr.collections.AST filename)
defineRule
Condition defineRule(java.lang.String name,
int salience,
antlr.collections.AST conditionList,
antlr.collections.AST actionList)
defineFact
void defineFact(antlr.collections.AST template)
listFacts
void listFacts()
retractAllFacts
void retractAllFacts()
run
void run()
prettyPrint
void prettyPrint()
noPrettyPrint
void noPrettyPrint()
link
void link()
- Used only in UI tools. If the link is called, it is expected that the
UI will react to the commands that are executed
unlink
void unlink()
- Used only in UI tools. If the unlink is called, it is expected that the
UI will not react to the commands that are executed until the "link" method is called