/** * Initialize any static state, can initialize parser for a file */ function __construct($css = null, $root_path = null, $opts = null) { if (!self::$operatorString) { self::$operatorString = '(' . implode('|', array_map(array($this, 'preg_quote'), array_keys(self::$precedence))) . ')'; } $this->importDir = $root_path; $this->buffer = $css; }