Package com.helger.css.parser
Class ReadOnlyToken
java.lang.Object
com.helger.css.parser.ReadOnlyToken
This class has the same layout as the normal
Token class, but its
contents are not modifiable!- Author:
- Philip Helger
-
Constructor Details
-
ReadOnlyToken
-
-
Method Details
-
getKind
public int getKind()- Returns:
- The internal index identifying this token.
-
getBeginLine
public int getBeginLine()- Returns:
- Line number where the token starts
-
getBeginColumn
public int getBeginColumn()- Returns:
- Column number where the token starts
-
getEndLine
public int getEndLine()- Returns:
- Line number where the token ends
-
getEndColumn
public int getEndColumn()- Returns:
- Column number where the token ends
-
getImage
- Returns:
- The string representation of the token. May be
nullbut should not.
-
toString
-