|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.scanner.type.token.AbstractToken
org.extex.scanner.type.token.MacroParamToken
public class MacroParamToken
This class represents a macro parameter token.
This class has a protected constructor only. Use the factory
TokenFactory to get an
instance of this class.
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Constructor Summary | |
|---|---|
protected |
MacroParamToken(UnicodeChar uc)
Creates a new object. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object t)
Indicates whether some other object is "equal to" this one. |
Catcode |
getCatcode()
Getter for the catcode. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Get the string representation of this object for debugging purposes. |
void |
toString(java.lang.StringBuffer sb)
Print the token into a StringBuffer. |
void |
toString(java.lang.StringBuilder sb)
Print the token into a StringBuilder. |
java.lang.String |
toText()
Return the text representation of this object. |
java.lang.Object |
visit(TokenVisitor visitor,
java.lang.Object arg1)
Invoke the appropriate visit method for the current class. |
| Methods inherited from class org.extex.scanner.type.token.AbstractToken |
|---|
eq, eq, eq, getChar, getLocalizer, isa, toText |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.extex.scanner.type.token.Token |
|---|
eq, eq, eq, getChar, isa, toText |
| Field Detail |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
protected MacroParamToken(UnicodeChar uc)
uc - the actual value| Method Detail |
|---|
public boolean equals(java.lang.Object t)
equals in interface Tokenequals in class AbstractTokent - the reference token with which to compare.
true if this object is the same as the obj
argument; false otherwise.AbstractToken.equals(java.lang.Object)public Catcode getCatcode()
getCatcode in interface TokengetCatcode in class AbstractTokenToken.getCatcode()public int hashCode()
hashCode in class AbstractTokenAbstractToken.hashCode()public java.lang.String toString()
toString in class AbstractTokenpublic void toString(java.lang.StringBuffer sb)
toString in interface Tokensb - the target string bufferToken.toString(java.lang.StringBuffer)public void toString(java.lang.StringBuilder sb)
toString in interface Tokensb - the target string builderToken.toString(java.lang.StringBuilder)public java.lang.String toText()
toText in interface TokentoText in class AbstractToken
public java.lang.Object visit(TokenVisitor visitor,
java.lang.Object arg1)
throws java.lang.Exception
visit in interface Tokenvisitor - the calling visitorarg1 - the first argument to pass
java.lang.Exception - in case of an errorToken.visit(
org.extex.scanner.type.token.TokenVisitor, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||