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() |
Token |
getToken(int index) |
void |
ReInit(CharStream stream)
Reinitialise.
|
void |
ReInit(ParserCSSCharsetDetectorTokenManager tm)
Reinitialise
|
CSSNode |
styleSheetCharset() |
boolean |
trace_enabled() |
protected JJTParserCSSCharsetDetectorState jjtree
public ParserCSSCharsetDetectorTokenManager token_source
public Token token
public Token jj_nt
public ParserCSSCharsetDetector(CharStream stream)
stream - stream to init withpublic ParserCSSCharsetDetector(ParserCSSCharsetDetectorTokenManager tm)
tm - Token manager to usepublic final CSSNode styleSheetCharset() throws ParseException
ParseExceptionpublic void ReInit(CharStream stream)
stream - stream to init withpublic void ReInit(ParserCSSCharsetDetectorTokenManager tm)
tm - Token manager to usepublic final Token getNextToken()
public final Token getToken(int index)
index - index to be retrievedpublic ParseException generateParseException()
nullpublic final boolean trace_enabled()
false.public final void enable_tracing()
public final void disable_tracing()
Copyright © 2014–2022 Philip Helger. All rights reserved.