class webpack.CssParser extends ParserClassnew CssParser(): CssParserReturns:
<CssParser>Attributes
comments:
<CommentCssParser>[]
defaultMode:
<"global">
|
<"auto">
|
<"local">
|
<"pure">magicCommentContext:
{Context}
options:
<object>getComments(range): voidrange<Tuple><<number>,<number>>- Returns:
<CommentCssParser>[]
Returns comments in the range.
parse(source, state): ParserStateAttributes
source:
<string>
|
<Buffer><
<ArrayBufferLike>
> |
<PreparsedAst>state:
<ParserState>Returns:
<ParserState>Parses the provided source and updates the parser state.
parseCommentOptions(range): voidParses comment options.
Attributes
Attributes