module Crass
def self.parse(input, options = {})
CSS 3 syntax rules.
such as the IE "*" hack will be preserved even though they violate
* **:preserve_hacks** - If `true`, certain non-standard browser hacks
`:comment` tokens.
* **:preserve_comments** - If `true`, comments will be preserved as
prevent stack exhaustion. Defaults to {Parser::DEFAULT_MAXIMUM_DEPTH}.
functions. Constructs nested more deeply than this are discarded to
* **:maximum_depth** - Maximum nesting depth for simple blocks and
Options:
Parses _input_ as a CSS stylesheet and returns a parse tree.
def self.parse(input, options = {}) Parser.parse_stylesheet(input, options) end