Lines Matching refs:parser
48 public $parser; variable in csstidy_print
83 $this->parser = $css;
186 if (!$this->parser->get_cfg('preserve_css')) {
196 if ($this->parser->get_cfg('timestamp')) {
197 …array_unshift($this->tokens, array(COMMENT, ' CSSTidy ' . $this->parser->version . ': ' . date('r'…
208 $this->parser->log('Optimised @import : Removed "url("', 'Information');
224 $this->parser->log('Optimised @namespace : Removed "url("', 'Information');
245 if ($this->parser->get_cfg('lowercase_s'))
252 if ($this->parser->get_cfg('case_properties') === 2) {
254 } elseif ($this->parser->get_cfg('case_properties') === 1) {
262 if ($this->_seeknocomment($key, 1) == SEL_END && $this->parser->get_cfg('remove_last_;')) {
348 $sort_selectors = $this->parser->get_cfg('sort_selectors');
349 $sort_properties = $this->parser->get_cfg('sort_properties');
353 $this->parser->_add_token(IMPORTANT_COMMENT, rtrim($this->css['!']), true);
365 $this->parser->_add_token(AT_START, $part, true);
369 $this->parser->_add_token(AT_START, $default_media, true);
375 $this->parser->_add_token(SEL_START, $selector, true);
389 $this->parser->_add_token(PROPERTY, $property, true);
390 $this->parser->_add_token(VALUE, $valj, true);
396 $this->parser->_add_token(PROPERTY, $property, true);
397 $this->parser->_add_token(VALUE, $valj, true);
400 $this->parser->_add_token(SEL_END, $selector, true);
408 $this->parser->_add_token(AT_END, $part, true);
412 $this->parser->_add_token(AT_END, $default_media, true);