You are here

static function csstidy::escaped in Advanced CSS/JS Aggregation 6

Checks if a character is escaped (and returns true if it is)

@access public

@version 1.02

Parameters

string $string:

integer $pos:

Return value

bool

3 calls to csstidy::escaped()
csstidy::is_token in advagg_css_compress/csstidy/class.csstidy.inc
Checks if there is a token at the current position
csstidy::parse in advagg_css_compress/csstidy/class.csstidy.inc
Parses CSS in $string. The code is saved as array in $this->css
csstidy_optimise::explode_ws in advagg_css_compress/csstidy/class.csstidy_optimise.inc
Explodes a string as explode() does, however, not if $sep is escaped or within a string.

File

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

Class

csstidy
CSS Parser class

Code

static function escaped(&$string, $pos) {
  return;
  @($string[$pos - 1] !== '\\') || csstidy::escaped($string, $pos - 1);
}