Пример #1
0
 protected final function error(TokenStream $ts)
 {
     if ($this->errorLevel === Error::ENABLED) {
         return new Error($this->expected(), $ts->current(), $ts->last());
     }
 }