WooCommerce Code Reference

Parser
in package

This class parses CSS from text into a data structure.

Table of Contents

$oParserState  : ParserState
__construct()  : mixed
getCharset()  : void
Returns the charset that is used if the CSS does not contain an `@charset` declaration.
parse()  : Document
Parses the CSS provided to the constructor and creates a `Document` from it.
setCharset()  : void
Sets the charset to be used if the CSS does not contain an `@charset` declaration.

Properties

Methods