| Modifier and Type | Class and Description |
|---|---|
static class |
CSSLexer.LexerState.RecoveryMode |
| Modifier and Type | Field and Description |
|---|---|
boolean |
aposOpen |
short |
curlyNest |
short |
parenNest |
boolean |
quotOpen |
| Constructor and Description |
|---|
CSSLexer.LexerState() |
CSSLexer.LexerState(CSSLexer.LexerState clone) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CSSToken |
generateEOFRecover()
Recovers from unexpected EOF by preparing
new token
|
boolean |
isBalanced()
Checks whether all pair characters (single and double quotatation marks,
curly braces) are balanced
|
boolean |
isBalanced(CSSLexer.LexerState.RecoveryMode mode,
CSSLexer.LexerState state)
Checks whether some pair characters are balanced.
|
String |
toString() |
public short curlyNest
public short parenNest
public boolean quotOpen
public boolean aposOpen
public CSSLexer.LexerState()
public CSSLexer.LexerState(CSSLexer.LexerState clone)
public boolean isBalanced()
public boolean isBalanced(CSSLexer.LexerState.RecoveryMode mode, CSSLexer.LexerState state)
public CSSToken generateEOFRecover()
Copyright © 2014. All rights reserved.