|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.ocpware.compiler.left.StringItem
public class StringItem
This class represents a string of characters as left item.
| Constructor Summary | |
|---|---|
StringItem(java.lang.String s)
Creates a new object. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Integer> |
genLeft(State state,
CompilerState cs)
Compile the left item and add the appropriate instructions to the state. |
void |
outRight(CompilerState cs,
boolean withOffset)
Compile the string expression into a set of ΩCP instructions. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringItem(java.lang.String s)
s - the string| Method Detail |
|---|
public java.util.List<java.lang.Integer> genLeft(State state,
CompilerState cs)
throws java.io.IOException,
ArgmentTooBigException
genLeft in interface Leftstate - the current statecs - the compiler state
AliasNotDefinedException - in case that no matching alias is known
for a symbolic table reference
java.io.IOException - in case of an I/O error
ArgmentTooBigException - in case that an argument is encountered
which does not fit into two bytesLeft.genLeft(State, CompilerState)
public void outRight(CompilerState cs,
boolean withOffset)
throws ArgmentTooBigException,
java.io.IOException,
TableNotDefinedException
outRight in interface Exprcs - the compiler state for lookupwithOffset - use push back instead of output
ArgmentTooBigException - in case that an argument is encountered
which does not fit into two bytes
java.io.IOException - in case of an I/O error
TableNotDefinedException - in case that no matching table is known
for a symbolic table referenceExpr.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 | |||||||||