You are here

function csstidy::is_token in Advanced CSS/JS Aggregation 6

Checks if there is a token at the current position

@access public @version 1.11

Parameters

string $string:

integer $i:

1 call to csstidy::is_token()
csstidy::parse in advagg_css_compress/csstidy/class.csstidy.inc
Parses CSS in $string. The code is saved as array in $this->css

File

advagg_css_compress/csstidy/class.csstidy.inc, line 539

Class

csstidy
CSS Parser class

Code

function is_token(&$string, $i) {
  return strpos($this->tokens_list, $string[$i]) !== false && !csstidy::escaped($string, $i);
}