|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmlspecs.jml4.rac.quantifiedexpression.Translator
public abstract class Translator
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jmlspecs.jml4.rac.RacConstants |
---|
RacConstants.Behavior, RacConstants.Condition |
Field Summary |
---|
Method Summary | |
---|---|
abstract java.lang.String |
generateLoop(ASTNode body)
Returns a loop code that evaluates the given body with the quantified variable bound to each possible value of the range. |
abstract java.lang.String |
translate()
Translate a JML quantified expression into Java source code and return the result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract java.lang.String translate() throws NonExecutableQuantifierException
NonExecutableQuantifierException
- if not executable.public abstract java.lang.String generateLoop(ASTNode body) throws NonExecutableQuantifierException
body
- code to be executed as the loop body
NonExecutableQuantifierException
- if not executable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |