Lines Matching defs:char

1403 	protected $char;
1649 if ($this->size > 0) { $this->char = $this->doc[0]; }
1814 if ($this->char !== '<') {
1820 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1823 if ($this->char === '/') {
1824 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1907 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1933 if ($this->char === '>') { $node->_[HDOM_INFO_TEXT] .= '>'; }
1936 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1946 $this->char = $this->doc[--$this->pos]; // prev
1954 // Next char is the beginning of a new tag, don't touch it.
1955 if ($this->char === '<') {
1960 // Next char closes current tag, add and be done with it.
1961 if ($this->char === '>') { $node->_[HDOM_INFO_TEXT] .= '>'; }
1963 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1992 if ($name === '' && $this->char !== null && $space[0] === '') {
1997 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2005 if ($this->pos >= $this->size - 1 && $this->char !== '>') {
2027 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2040 if ($this->char === '=') { // attribute with value
2041 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2047 if ($this->char != '>') { $this->char = $this->doc[--$this->pos]; } // prev
2061 } while ($this->char !== '>' && $this->char !== '/'); // go until the tag ended
2077 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2096 switch ($this->char) {
2099 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2101 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2105 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2107 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2152 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2159 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2167 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2177 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2181 protected function copy_until_char($char)
2183 if ($this->char === null) { return ''; }
2185 if (($pos = strpos($this->doc, $char, $this->pos)) === false) {
2187 $this->char = null;
2195 $this->char = $this->doc[$pos];
2228 $this->char = $this->doc[0];