| @@ 77-85 (lines=9) @@ | ||
| 74 | $this->emit($type, $name, $location); |
|
| 75 | } |
|
| 76 | ||
| 77 | private function comment() |
|
| 78 | { |
|
| 79 | $this->scanner->next(); |
|
| 80 | $next = $this->scanner->peek(); |
|
| 81 | while ($this->scanner->eof() === false && $next !== "\n" && $next !== "\r") { |
|
| 82 | $this->scanner->next(); |
|
| 83 | $next = $this->scanner->peek(); |
|
| 84 | } |
|
| 85 | } |
|
| 86 | ||
| 87 | private function spread() |
|
| 88 | { |
|
| @@ 69-77 (lines=9) @@ | ||
| 66 | $this->emit($type, $name, $location); |
|
| 67 | } |
|
| 68 | ||
| 69 | private function comment() |
|
| 70 | { |
|
| 71 | $this->scanner->next(); |
|
| 72 | $next = $this->scanner->peek(); |
|
| 73 | while ($this->scanner->eof() === false && $next !== "\n" && $next !== "\r") { |
|
| 74 | $this->scanner->next(); |
|
| 75 | $next = $this->scanner->peek(); |
|
| 76 | } |
|
| 77 | } |
|
| 78 | ||
| 79 | private function str() |
|
| 80 | { |
|