Lines Matching defs:char

1397 	protected $char;
1643 if ($this->size > 0) { $this->char = $this->doc[0]; }
1808 if ($this->char !== '<') {
1814 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1817 if ($this->char === '/') {
1818 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1901 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1927 if ($this->char === '>') { $node->_[HDOM_INFO_TEXT] .= '>'; }
1930 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1940 $this->char = $this->doc[--$this->pos]; // prev
1948 // Next char is the beginning of a new tag, don't touch it.
1949 if ($this->char === '<') {
1954 // Next char closes current tag, add and be done with it.
1955 if ($this->char === '>') { $node->_[HDOM_INFO_TEXT] .= '>'; }
1957 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1986 if ($name === '' && $this->char !== null && $space[0] === '') {
1991 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1999 if ($this->pos >= $this->size - 1 && $this->char !== '>') {
2021 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2034 if ($this->char === '=') { // attribute with value
2035 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2041 if ($this->char != '>') { $this->char = $this->doc[--$this->pos]; } // prev
2055 } while ($this->char !== '>' && $this->char !== '/'); // go until the tag ended
2071 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2090 switch ($this->char) {
2093 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2095 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
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
2146 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2153 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2161 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2171 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2175 protected function copy_until_char($char)
2177 if ($this->char === null) { return ''; }
2179 if (($pos = strpos($this->doc, $char, $this->pos)) === false) {
2181 $this->char = null;
2189 $this->char = $this->doc[$pos];
2222 $this->char = $this->doc[0];