|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectescjava.vcGeneration.VcGenerator
| Field Summary | |
private boolean |
computationDone
|
private TFunction |
currentParent
This attribute is used by the next function to save the current parent of the node we may create. |
private boolean |
firstNotSkipped
|
private TNode |
newRootNode
|
private java.lang.StringBuffer |
oldDot
|
private ASTNode |
oldRootNode
|
private ProverType |
prover
README : This class is an interface to the vc generation suite (this is done this way to be able to put all the other classes in a new package.) |
| Constructor Summary | |
VcGenerator(ProverType p,
ASTNode e,
boolean err,
boolean warn,
boolean info,
boolean colors)
|
|
| Method Summary | |
private void |
generateIfpTree(ASTNode n,
boolean dot)
The main goal of this method is to translate the gc tree (which is still independant from simplify) to a new tree (classes of this new tree are in escjava/vcGeneration which is, by far, easier to manipulate that the one which is given here (parameter e). |
private static java.lang.String |
getNameASTNode(ASTNode e)
Utility method for creating dot representation of gc tree |
void |
getProof(java.io.Writer out,
java.lang.String proofName)
|
java.lang.String |
old2Dot()
|
void |
printInfo()
Debugging purpose only. |
java.lang.String |
toDot()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ProverType prover
private ASTNode oldRootNode
private TNode newRootNode
private java.lang.StringBuffer oldDot
private boolean computationDone
private TFunction currentParent
private boolean firstNotSkipped
| Constructor Detail |
public VcGenerator(ProverType p,
ASTNode e,
boolean err,
boolean warn,
boolean info,
boolean colors)
e - the root node of the gc tree.| Method Detail |
public void getProof(java.io.Writer out,
java.lang.String proofName)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String old2Dot()
public java.lang.String toDot()
throws java.io.IOException
java.io.IOException
private void generateIfpTree(ASTNode n,
boolean dot)
dot - if true, generate the dot representation of the old tree.private static java.lang.String getNameASTNode(ASTNode e)
public void printInfo()
|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||