|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRaptor.ProgramParser.Statements.PTerm
Raptor.ProgramParser.Statements.PLVar
public class PLVar
Creates an length variable term for an array used in the proof.
Extends abstract class PTerm.
Constructor Summary | |
---|---|
PLVar(java.lang.String pName)
Constructs a new length variable. |
Method Summary | |
---|---|
boolean |
clashes(Atom pAtom)
|
boolean |
clashes(Function pFunction)
|
java.lang.String |
clashes(PanSignature pSignature)
Returns a String containing an Error character if this Formula clashes with the passed PanSignature, Otherwise it will return an Empty String "" A PVar Statement clashes with a signature if any of its parts clash with the signature. |
boolean |
clashes(PArray pPArray)
|
boolean |
clashes(Var pVar)
|
java.lang.String |
display()
Returns a String to display the var term. |
boolean |
equals(PTerm pTerm)
Returns true if the passed Term is equal to this Term. |
java.lang.String |
getName()
Return the name of the length variable |
boolean |
isIn(PanSignature pSignature)
Returns true if this PLVar is in the PLVar list of the passed PanSignature. |
Term |
s()
Creates VVar to replace PVar in the formula where necessary. |
void |
setName(java.lang.String pName)
Set the name of the length variable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PLVar(java.lang.String pName)
pName
- the name of the length variableMethod Detail |
---|
public java.lang.String getName()
getName
in class PTerm
public void setName(java.lang.String pName)
setName
in class PTerm
pName
- the name of the length variablepublic java.lang.String display()
display
in class PTerm
public Term s()
s
in class PTerm
public java.lang.String clashes(PanSignature pSignature)
clashes
in class PTerm
pSignature
- PanSignature represents the PanSignature to be checked if this
Formula clashes with.public boolean isIn(PanSignature pSignature)
pSignature
- PanSignature represents the signature it is to be searched in.public boolean equals(PTerm pTerm)
pTerm
- Term represents the Term it is to be compared against.public boolean clashes(PArray pPArray)
public boolean clashes(Atom pAtom)
public boolean clashes(Function pFunction)
public boolean clashes(Var pVar)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |