|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.interpreter.Conditional
This class represents a conditional for a normal \if \else \fi construct. It records which \if has initiated it and where this has happened.
Field Summary | |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
Constructor Summary | |
Conditional(Locator locator,
Code primitive,
long branch,
boolean neg)
Creates a new object. |
Method Summary | |
long |
getBranch()
Getter for branch. |
Locator |
getLocator()
Getter for the locator of this conditional. |
Code |
getPrimitive()
Getter for primitive. |
java.lang.String |
getPrimitiveName()
Getter for the primitive which started this conditional. |
boolean |
getValue()
Getter for the value of the conditional. |
boolean |
isNeg()
Getter for neg. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final long serialVersionUID
Constructor Detail |
public Conditional(Locator locator, Code primitive, long branch, boolean neg)
locator
- the locatorprimitive
- the primitive which started this conditionalbranch
- true
iff the then branch is takenneg
- indicator that the conditional has been negatedMethod Detail |
public long getBranch()
public Locator getLocator()
public Code getPrimitive()
public java.lang.String getPrimitiveName()
public boolean getValue()
true
then the conditional is one of the
if-then-else constructs. Otherwise it is a \ifcase construction.
public boolean isNeg()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |