|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface allows to define a new language, it has to be implement by a plugin defining a new language.
Method Summary | |
java.lang.String |
displayGoal(Goal g,
boolean applySubstitution)
Displays a goal in the lemma view. |
ITranslatable |
formulaFactory(Formula f)
Returns a formula corresponding to the initial but converted in a translatable subclass of formula. |
ITranslationResult |
load(JpoInputStream s)
Load a terminal formula from a jpo file. |
ITranslatable |
quantifiedVarFactory(QuantifiedVarForm qvf)
Returns quantified variables corresponding to the initial ones but translatable. |
void |
save(IOutputStream s,
ITranslationResult result)
Saves the result of a translation in a jpo file. |
void |
save(IOutputStream s,
TerminalForm f)
Saves a terminal formula in a jpo file. |
ITranslatable |
typeFactory(Type t)
Returns a type corresponding to the initial one but converted in a translatable type. |
Method Detail |
public ITranslatable formulaFactory(Formula f)
f
- The formula to convert
public ITranslatable typeFactory(Type t)
t
- The type to convert
public ITranslatable quantifiedVarFactory(QuantifiedVarForm qvf)
qvf
- The quantified variables to convert
public java.lang.String displayGoal(Goal g, boolean applySubstitution)
g
- The goal to display
public void save(IOutputStream s, TerminalForm f) throws java.io.IOException, LanguageException
s
- The jpo filef
- The formula to save
java.io.IOException
LanguageException
public void save(IOutputStream s, ITranslationResult result) throws java.io.IOException
s
- The jpo fileresult
- The result to save
java.io.IOException
public ITranslationResult load(JpoInputStream s) throws java.io.IOException
s
- The jpo file
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |