Raptor.ProgramParser.Statements
Class BoolTerm

java.lang.Object
  extended by Raptor.ProgramParser.Statements.PTerm
      extended by Raptor.ProgramParser.Statements.BoolTerm
All Implemented Interfaces:
java.io.Serializable

public class BoolTerm
extends PTerm

See Also:
Serialized Form

Constructor Summary
BoolTerm(boolean right)
           
 
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 ""
An PTerm clashes with a signature if any of its parts clash with the signature.
 java.lang.String display()
          Returns a String to display the PTerm.
 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

BoolTerm

public BoolTerm(boolean right)
Method Detail

clashes

public java.lang.String clashes(PanSignature pSignature)
Description copied from class: PTerm
Returns a String containing an Error character if this Formula clashes with the passed PanSignature, Otherwise it will return an Empty String ""
An PTerm clashes with a signature if any of its parts clash with the signature.

Specified by:
clashes in class PTerm
Parameters:
pSignature - PanSignature represents the PanSignature to be checked if this Formula clashes with.

display

public java.lang.String display()
Description copied from class: PTerm
Returns a String to display the PTerm.

Specified by:
display in class PTerm

s

public Term s()
Description copied from class: PTerm
Creates VVar to replace PVar in the formula where necessary. Used in Raptor.

Specified by:
s in class PTerm