Lines Matching refs:buffer
30 public $buffer; variable in LesserPHP\\Parser
121 public function parse($buffer) argument
127 $this->buffer = $this->writeComments ? $buffer : $this->removeComments($buffer);
144 if ($this->count != strlen($this->buffer)) {
148 strlen($this->buffer)
200 if (empty($this->buffer)) return false;
425 $whiteBefore = isset($this->buffer[$this->count - 1]) &&
426 ctype_space($this->buffer[$this->count - 1]);
449 $whiteAfter = isset($this->buffer[$this->count - 1]) &&
450 ctype_space($this->buffer[$this->count - 1]);
505 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != '(') {
530 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] == '-') {
808 if (isset($this->buffer[$this->count])) {
809 $char = $this->buffer[$this->count];
978 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != '[') {
1076 if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] == '@') {
1203 } elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {
1277 if (!isset($what[1]) && isset($this->buffer[$this->count])) {
1278 if ($this->buffer[$this->count] == $what) {
1345 if (preg_match($r, $this->buffer, $out, 0, $this->count)) {
1358 while (preg_match(self::$whitePattern, $this->buffer, $m, 0, $this->count)) {
1378 return preg_match($r, $this->buffer, $out, 0, $from);
1406 $line = $this->line + substr_count(substr($this->buffer, 0, $count), "\n");