Lines Matching refs:parser
70 $this->parser =& $css;
127 if (!$this->parser->get_cfg('preserve_css')) {
137 if ($this->parser->get_cfg('timestamp')) {
138 …array_unshift($this->tokens, array(COMMENT, ' CSSTidy ' . $this->parser->version . ': ' . date('r'…
169 if($this->parser->get_cfg('lowercase_s')) $token[1] = strtolower($token[1]);
175 … if($this->parser->get_cfg('case_properties') == 2) $token[1] = strtoupper($token[1]);
176 … if($this->parser->get_cfg('case_properties') == 1) $token[1] = strtolower($token[1]);
182 … if($this->_seeknocomment($key, 1) == SEL_END && $this->parser->get_cfg('remove_last_;')) {
251 if ($this->parser->get_cfg('sort_selectors')) ksort($val);
253 $this->parser->_add_token(AT_START, $medium, true);
258 if ($this->parser->get_cfg('sort_properties')) ksort($vali);
259 $this->parser->_add_token(SEL_START, $selector, true);
263 $this->parser->_add_token(PROPERTY, $property, true);
264 $this->parser->_add_token(VALUE, $valj, true);
267 $this->parser->_add_token(SEL_END, $selector, true);
271 $this->parser->_add_token(AT_END, $medium, true);