Package com.helger.css.parser
Class ReadOnlyToken
- java.lang.Object
-
- com.helger.css.parser.ReadOnlyToken
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyToken(Token aToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBeginColumn()
int
getBeginLine()
int
getEndColumn()
int
getEndLine()
String
getImage()
int
getKind()
String
toString()
-
-
-
Method Detail
-
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
@Nullable public String getImage()
- Returns:
- The string representation of the token. May be
null
but should not.
-
-