Lines Matching refs:this
92 $this->input = $input;
93 $this->tokens = array();
95 $this->reset();
96 $this->scan($input);
106 $this->lookahead = null;
107 $this->token = null;
108 $this->peek = 0;
109 $this->position = 0;
119 $this->peek = 0;
131 $this->position = $position;
143 return substr($this->input, 0, $position);
155 return null !== $this->lookahead && $this->lookahead['type'] === $token;
167 return null !== $this->lookahead && in_array($this->lookahead['type'], $tokens, true);
177 $this->peek = 0;
178 $this->token = $this->lookahead;
179 $this->lookahead = (isset($this->tokens[$this->position]))
180 ? $this->tokens[$this->position++] : null;
182 return $this->lookahead !== null;
194 while ($this->lookahead !== null && $this->lookahead['type'] !== $type) {
195 $this->moveNext();
209 return $this->getType($value) === $token;
219 if (isset($this->tokens[$this->position + $this->peek])) {
220 return $this->tokens[$this->position + $this->peek++];
233 $peek = $this->peek();
234 $this->peek = 0;
252 implode(')|(', $this->getCatchablePatterns()),
253 implode('|', $this->getNonCatchablePatterns()),
254 $this->getModifiers()
263 $type = $this->getType($match[0]);
265 $this->tokens[] = array(
282 $className = get_class($this);