|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml2b.languages.java.JavaLanguage
Constructor Summary | |
JavaLanguage()
|
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaLanguage()
Method Detail |
public ITranslatable formulaFactory(Formula f)
ILanguage
formulaFactory
in interface ILanguage
f
- The formula to convert
public ITranslatable typeFactory(Type t)
ILanguage
typeFactory
in interface ILanguage
t
- The type to convert
public ITranslatable quantifiedVarFactory(QuantifiedVarForm qvf)
ILanguage
quantifiedVarFactory
in interface ILanguage
qvf
- The quantified variables to convert
public java.lang.String displayGoal(Goal g, boolean applySubstitution)
ILanguage
displayGoal
in interface ILanguage
g
- The goal to display
public void save(IOutputStream s, TerminalForm f) throws java.io.IOException
ILanguage
save
in interface ILanguage
s
- The jpo filef
- The formula to save
java.io.IOException
public void save(IOutputStream s, ITranslationResult result) throws java.io.IOException
ILanguage
save
in interface ILanguage
s
- The jpo fileresult
- The result to save
java.io.IOException
public ITranslationResult load(JpoInputStream s) throws java.io.IOException
ILanguage
load
in interface ILanguage
s
- The jpo file
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |