|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.percederberg.mib.asn1.node.Node | +--net.percederberg.mib.asn1.node.Token
A class representing tokens.
Field Summary | |
int |
beginColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
int |
beginLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
int |
endColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
int |
endLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
java.lang.String |
image
The string image of the token. |
Token |
next
A reference to the next regular (non-special) token from the input stream. |
Token |
specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. |
Fields inherited from class net.percederberg.mib.asn1.node.Node |
kind |
Constructor Summary | |
Token()
|
Method Summary | |
int |
firstColumn()
Returns the first column for the token. |
int |
firstLine()
Returns the first line for the token. |
int |
lastColumn()
Returns the last column for the token. |
int |
lastLine()
Returns the last line for the token. |
static Token |
newToken(int ofKind)
Returns a new Token object, by default. |
java.lang.String |
toString()
Returns the image. |
Methods inherited from class net.percederberg.mib.asn1.node.Node |
apply, childAfter, childAt, childOfType, children, childrenOfType, getParent, isAncestor, isParent, isType, setParent, toName, toName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int beginLine
public int beginColumn
public int endLine
public int endColumn
public java.lang.String image
public Token next
public Token specialToken
Constructor Detail |
public Token()
Method Detail |
public final java.lang.String toString()
toString
in class Node
public static final Token newToken(int ofKind)
ofKind
- the token kind
public int firstLine()
firstLine
in class Node
public int firstColumn()
firstColumn
in class Node
public int lastLine()
lastLine
in class Node
public int lastColumn()
lastColumn
in class Node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |