public class ParserCSSCharsetDetector extends Object implements ParserCSSCharsetDetectorTreeConstants, ParserCSSCharsetDetectorConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
protected JJTParserCSSCharsetDetectorState |
jjtree |
Token |
token
Current token.
|
ParserCSSCharsetDetectorTokenManager |
token_source
Generated Token Manager.
|
jjtNodeName, JJTROOTCDC, CDO, CHARSET_SYM, DEFAULT, EOF, ESCAPE, ESCAPE_OTHER, ESCAPE_UNICODE, H, HNUM, IN_COMMENT, REST, S, SEMICOLON, STRING_EOL, STRING1, STRING2, tokenImage| Constructor and Description |
|---|
ParserCSSCharsetDetector(CharStream stream)
Constructor with user supplied CharStream.
|
ParserCSSCharsetDetector(ParserCSSCharsetDetectorTokenManager tm)
Constructor with generated Token Manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
ReInit(CharStream stream)
Reinitialise.
|
void |
ReInit(ParserCSSCharsetDetectorTokenManager tm)
Reinitialise.
|
CSSNode |
styleSheetCharset() |
boolean |
trace_enabled()
Trace enabled.
|
protected JJTParserCSSCharsetDetectorState jjtree
public ParserCSSCharsetDetectorTokenManager token_source
public Token token
public Token jj_nt
public ParserCSSCharsetDetector(CharStream stream)
public ParserCSSCharsetDetector(ParserCSSCharsetDetectorTokenManager tm)
public final CSSNode styleSheetCharset() throws ParseException
ParseExceptionpublic void ReInit(CharStream stream)
public void ReInit(ParserCSSCharsetDetectorTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final boolean trace_enabled()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2014–2018 Philip Helger. All rights reserved.