gan_selector_html.php
protected function parse_getIdentifier($do_error = true) {
		$p =& $this->parser;
		$tok = $p->token;

		if ($tok === CSSQueryTokenizer::TOK_IDENTIFIER) {
			return $p->getTokenString();
		} elseif($tok === CSSQueryTokenizer::TOK_STRING) {
			return str_replace(array('\\\'', '\\"', '\\\\'), array('\'', '"', '\\'), $p->getTokenString(1, -1));
		} elseif ($do_error) {
			$this->error('Expected identifier at %pos%!');
		}
		return false;
	}
protected function parse_getIdentifier($do_error = true) {
		$p =& $this->parser;
		$tok = $p->token;

		if ($tok === CSSQueryTokenizer::TOK_IDENTIFIER) {
			return $p->getTokenString();
		} elseif($tok === CSSQueryTokenizer::TOK_STRING) {
			return str_replace(array('\\\'', '\\"', '\\\\'), array('\'', '"', '\\'), $p->getTokenString(1, -1));
		} elseif ($do_error) {
			$this->error('Expected identifier at %pos%!');
		}
		return false;
	}
protected function parse_getIdentifier ( $ do_error = true ) { $ p = & $ this -> parser ; $ tok = $ p -> token ; if ( $ tok === CSSQueryTokenizer :: TOK_IDENTIFIER ) { return $ p -> getTokenString ( ) ; } elseif ( $ tok === CSSQueryTokenizer :: TOK_STRING ) { return str_replace ( array ( '\\\'' , '\\"' , '\\\\' ) , array ( '\'' , '"' , '\\' ) , $ p -> getTokenString ( 1 , - 1 ) ) ; } elseif ( $ do_error ) { $ this -> error ( 'Expected identifier at %pos%!' ) ; } return false ; }
Get identifier (parse identifier or string)
@param bool $do_error Error on failure
@return string False on failure
@access private
Get identifier ( parse identifier or string )