| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.ProgramParser.Statements.Instruction
Raptor.ProgramParser.Statements.Assignment
public class Assignment
An assignment instruction. 
 Extends abstract Instruction class.
| Constructor Summary | |
|---|---|
| Assignment()For XMLEncoder | |
| Assignment(PTerm pleft,
           BoolTerm pright) | |
| Assignment(PTerm pLeft,
           PTerm pRight)Constructs a new Assignment instruction. | |
| 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 Assignment Statement clashes with a signature if any of its left or right PTerms clash with the signature. | 
|  java.lang.String | display()Returns a String to display the assignment instruction. | 
|  PTerm | getLeft()Returns the left hand side of the assignment expression. | 
|  PTerm | getRight()Returns the right hand side of the assignment expression. | 
|  void | setLeft(PTerm pLeft)Sets the left PTerm of the assignment | 
|  void | setRight(PTerm pRight)Sets the right PTerm of the assignment | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Assignment()
public Assignment(PTerm pLeft,
                  PTerm pRight)
pLeft - the program term on the left hand side of the equals symbolpRight - the program term on the right hand side of the equals symbol
public Assignment(PTerm pleft,
                  BoolTerm pright)
| Method Detail | 
|---|
public PTerm getLeft()
public void setLeft(PTerm pLeft)
public PTerm getRight()
public void setRight(PTerm pRight)
public java.lang.String display()
display in class Instructionpublic java.lang.String clashes(PanSignature pSignature)
clashes in class InstructionpSignature - 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 | ||||||||