Lines Matching refs:this
31 $this->current = array();
32 $this->stack = array();
34 $this->string = $string;
35 $this->length = strlen($this->string);
37 for ($this->position=0; $this->position < $this->length; $this->position++) {
38 switch ($this->string[$this->position]) {
40 $this->push();
42 array_push($this->stack, $this->current);
43 $this->current = array();
47 $this->push();
49 $t = $this->current;
51 $this->current = array_pop($this->stack);
53 $this->current[] = $t;
65 if ($this->buffer_start === null) {
66 $this->buffer_start = $this->position;
71 return $this->current;
76 if ($this->buffer_start !== null) {
78 … $buffer = substr($this->string, $this->buffer_start, $this->position - $this->buffer_start);
80 $this->buffer_start = null;
82 $this->current[] = $buffer;