java.lang.Object
com.port80.eclipse.csharp.llk.parser.LLKToken
- public class LLKToken
- extends java.lang.Object
|
Constructor Summary |
LLKToken(int type,
SourceLocation start,
int end)
|
LLKToken(int type,
SourceLocation start,
int end,
int value)
|
LLKToken(int type,
SourceLocation start,
int end,
int value,
java.lang.String text)
|
LLKToken(int type,
SourceLocation start,
int end,
java.lang.String text)
|
type
public int type
start
public int start
end
public int end
line
public int line
column
public int column
text
public java.lang.String text
value
public int value
next
public LLKToken next
special
public LLKToken special
LLKToken
public LLKToken(int type,
SourceLocation start,
int end)
LLKToken
public LLKToken(int type,
SourceLocation start,
int end,
java.lang.String text)
LLKToken
public LLKToken(int type,
SourceLocation start,
int end,
int value)
LLKToken
public LLKToken(int type,
SourceLocation start,
int end,
int value,
java.lang.String text)
getType
public final int getType()
setType
public final void setType(int type)
setValue
public final void setValue(int value)
getValue
public final int getValue()
setText
public final void setText(java.lang.String s)
getText
public final java.lang.String getText()
getStart
public int getStart()
getEnd
public int getEnd()
getLine
public int getLine()
getColumn
public int getColumn()
getLocationString
public java.lang.String getLocationString()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
toString
public java.lang.String toString(java.lang.String[] names)
toString
public java.lang.String toString(java.lang.String[] names,
char[] source)