Package Torello.CSS
Class TokenizeError
- java.lang.Object
-
- Torello.CSS.TokenizeError
-
public class TokenizeError extends java.lang.Object
This class may be instantiated by both the Tokenizer and the individual Static-Build Methods offered by each of the individual Token-Classes. This class is used to relay that a Parse-Error has occred during part of the Tokenization Process.
Hi-Lited Source-Code:- View Here: Torello/CSS/TokenizeError.java
- Open New Browser-Tab: Torello/CSS/TokenizeError.java
File Size: 2,544 Bytes Line Count: 68 '\n' Characters Found
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method String
toString()
-
-
-
Field Detail
-
sPos
-
ePos
public final int ePos
The exact location of the input Code-Pointint[]
-Array that was being analyzed when it was ultimately decided that a Parse-Error had unequivocally occured.
-
parsingClass
public final java.lang.Class<? extends CSSToken> parsingClass
-
subStr
public final java.lang.String subStr
The CSS where the error occured.subStr = new String(css, sPos, ePos-sPos);
-
message
public final java.lang.String message
The Tokenizer's various'cosnume'
methods will attempt to provide a thoughtfully worded Error-Message depicting what has gone wrong. Those message'sString
-text content will be saved to thispublic
field.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-