public class CssParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CssParser.Syntax |
| Constructor and Description |
|---|
CssParser() |
CssParser(CssParser.Syntax parseSyntax) |
| Modifier and Type | Method and Description |
|---|---|
StyleSheetNode |
parse(CssToken... tokens)
Parses token sequence into AST
|
StyleSheetNode |
parse(Iterable<CssToken> tokens)
Parses token sequence into AST
|
StyleSheetNode |
parse(Iterator<CssToken> cssTokens)
Parses token sequence into AST
|
CssParser.Syntax |
syntax() |
public CssParser()
public CssParser(CssParser.Syntax parseSyntax)
public CssParser.Syntax syntax()
public StyleSheetNode parse(CssToken... tokens) throws IOException
tokens - IOExceptionpublic StyleSheetNode parse(Iterable<CssToken> tokens) throws IOException
tokens - IOExceptionpublic StyleSheetNode parse(Iterator<CssToken> cssTokens) throws IOException
cssTokens - IOExceptionCopyright © 2014. All rights reserved.