| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.ParseInputController
public class ParseInputController
Passes data between the View and Parser
| Constructor Summary | |
|---|---|
ParseInputController()
Constructs a Controller  | 
|
| Method Summary | |
|---|---|
 boolean | 
checkPost(java.lang.String pInput,
          ProofWindow pWindow)
Returns true if the postcondition is successfully parsed and allows further input.  | 
 boolean | 
checkPre(java.lang.String pInput,
         ProofWindow pWindow)
Returns true if the precondition is successfully parsed and allows further input.  | 
 boolean | 
checkProg(java.lang.String pInput,
          ProofWindow pWindow)
Returns true if the program is successfully parsed and allows further input.  | 
 View | 
getView()
Returns the View associated with this Controller  | 
 boolean | 
parsePost(java.lang.String pInput,
          ProofWindow pWindow)
Returns true if the postcondition is successfully parsed and starts proof.  | 
 boolean | 
parsePost(java.lang.String pInput,
          ProofWindow pWindow,
          boolean pStartProof)
Returns true if the postcondition is successfully parsed and either allows further input or starts proof.  | 
 boolean | 
parsePre(java.lang.String pInput,
         ProofWindow pWindow)
Returns true if the precondition is successfully parsed and starts proof.  | 
 boolean | 
parsePre(java.lang.String pInput,
         ProofWindow pWindow,
         boolean pStartProof)
Returns true if the precondition is successfully parsed and either allows further input or starts proof.  | 
 boolean | 
parseProg(java.lang.String pInput,
          ProofWindow pWindow)
Returns true if the program is successfully parsed and starts proof.  | 
 boolean | 
parseProg(java.lang.String pInput,
          ProofWindow pWindow,
          boolean pStartProof)
Returns true if the program is successfully parsed and either allows further input or starts proof.  | 
 void | 
var_check(PanSignature pSignature)
Checks that all variables used in the proof have been declared, and declared in the appropriate type.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ParseInputController()
| Method Detail | 
|---|
public View getView()
public boolean checkPre(java.lang.String pInput,
                        ProofWindow pWindow)
pInput - String representing preconditionpWindow - the associated ProofWindow
public boolean checkProg(java.lang.String pInput,
                         ProofWindow pWindow)
pInput - String representing the programpWindow - the associated ProofWindow
public boolean checkPost(java.lang.String pInput,
                         ProofWindow pWindow)
pInput - String representing the postconditionpWindow - the associated ProofWindow
public boolean parsePre(java.lang.String pInput,
                        ProofWindow pWindow)
pInput - String representing the preconditionpWindow - the associated ProofWindow
public boolean parsePre(java.lang.String pInput,
                        ProofWindow pWindow,
                        boolean pStartProof)
pInput - String representing the preconditionpWindow - the associated ProofWindowpStartProof - true if the proof should be started, no further input allowed
public boolean parseProg(java.lang.String pInput,
                         ProofWindow pWindow)
pInput - String representing the programpWindow - the associated ProofWindow
public boolean parseProg(java.lang.String pInput,
                         ProofWindow pWindow,
                         boolean pStartProof)
pInput - String representing the programpWindow - the associated ProofWindowpStartProof - true if the proof should be started, no further input allowed
public boolean parsePost(java.lang.String pInput,
                         ProofWindow pWindow)
pInput - String representing the postconditionpWindow - the associated ProofWindow
public boolean parsePost(java.lang.String pInput,
                         ProofWindow pWindow,
                         boolean pStartProof)
pInput - String representing the postconditionpWindow - the associated ProofWindowpStartProof - true if the proof should be started, no further input allowed
public void var_check(PanSignature pSignature)
               throws java.lang.Exception
pSignature - the signature of the ProofWindow
java.lang.Exception
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||