|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.ocpware.compiler.arith.ArithExpr
org.extex.ocpware.compiler.arith.LastChar
public class LastChar
This class represents an arithmetic expression which references a character in the prefix relative to last.
| Constructor Summary | |
|---|---|
LastChar(int n)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
outRight(CompilerState cs,
boolean withOffset)
Compile the string expression into a set of ΩCP instructions. |
java.lang.String |
toString()
|
| Methods inherited from class org.extex.ocpware.compiler.arith.ArithExpr |
|---|
needsParen, parse, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LastChar(int n)
n - the number of positions from the right| Method Detail |
|---|
public void outRight(CompilerState cs,
boolean withOffset)
throws java.io.IOException,
ArgmentTooBigException
outRight in interface Exprcs - the compiler state for lookupwithOffset - use push back instead of output
java.io.IOException - in case of an I/O error
TableNotDefinedException - in case that no matching table is known
for a symbolic table reference
ArgmentTooBigException - in case that an argument is encountered
which does not fit into two bytesExpr.outRight(
org.extex.ocpware.compiler.parser.CompilerState, boolean)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||