|
|||||||||
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.PNum
public class PNum
Creates a number program term.
Extends abstract class PTerm.
Constructor Summary | |
---|---|
PNum(int pValue)
Constructs a new Num PTerm. |
Method Summary | |
---|---|
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 PNum clashes with a signature if any of its parts clash with the signature. |
java.lang.String |
display()
Returns a String to display the num term. |
Term |
s()
Creates VVar to replace PVar in the formula where necessary. |
Methods inherited from class Raptor.ProgramParser.Statements.PTerm |
---|
getName, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PNum(int pValue)
pValue
- the numerical value of the numMethod Detail |
---|
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |