public class CSSLexerState extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CSSLexerState.RecoveryMode |
| Modifier and Type | Field and Description |
|---|---|
boolean |
aposOpen |
short |
curlyNest |
short |
parenNest |
boolean |
quotOpen |
short |
sqNest |
| Constructor and Description |
|---|
CSSLexerState() |
CSSLexerState(CSSLexerState clone) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
isBalanced()
Checks whether all pair characters (single and double quotatation marks,
curly braces) are balanced
|
boolean |
isBalanced(CSSLexerState.RecoveryMode mode,
CSSLexerState state,
CSSToken t)
Checks whether some pair characters are balanced.
|
String |
toString() |
public short curlyNest
public short parenNest
public short sqNest
public boolean quotOpen
public boolean aposOpen
public CSSLexerState()
public CSSLexerState(CSSLexerState clone)
public boolean isBalanced()
public boolean isBalanced(CSSLexerState.RecoveryMode mode, CSSLexerState state, CSSToken t)
mode - the desired recovery nodestate - the required lexer state (used for DECL mode)t - the token that is being processed (used for DECL mode)Copyright © 2019. All rights reserved.