|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.ProgramParser.Statements.Statements
public class Statements
Creates statements, which are seperated by a semicolon.
| Constructor Summary | |
|---|---|
Statements()
For XMLEncoder |
|
Statements(Instruction pRight)
Constructs a new Statements where only an Instruction is present. |
|
Statements(Statements pLeft,
Instruction pRight)
Constructs a new Statements where multiple instructions are seperated by semicolons. |
|
| 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 Statement clashes with a signature if any of its left or right Instructions clash with the signature. |
java.lang.String |
display()
Returns a String to display the statements. |
Statements |
getLeft()
Returns the left hand side of the semicolon. |
Instruction |
getRight()
Returns the right hand side of the semicolon. |
void |
setLeft(Statements pStatements)
For XMLEncoder |
void |
setRight(Instruction pRight)
For XMLEncoder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Statements()
public Statements(Statements pLeft,
Instruction pRight)
pLeft - the connected statements to this statementpRight - the instruction at the end of this list of statementspublic Statements(Instruction pRight)
pRight - the instruction of this Statements| Method Detail |
|---|
public Statements getLeft()
public void setLeft(Statements pStatements)
public Instruction getRight()
public void setRight(Instruction pRight)
public java.lang.String display()
public java.lang.String clashes(PanSignature pSignature)
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 | ||||||||