original_string: public function throwParseError($msg = 'parse error')
      {
          list($line, /* $column */) = $this->getSourcePosition($this->count);
  
          $loc = empty($this->sourceName) ? "line: $line" : "$this->sourceName on line $line";
  
          if ($this->peek("(.*?)(\n|$)", $m, $this->count)) {
              throw new ParserException("$msg: failed at `$m[1]` $loc");
          }
  
          throw new ParserException("$msg: $loc");
      }
code: public function throwParseError($msg = 'parse error')
      {
          list($line, /* $column */) = $this->getSourcePosition($this->count);
  
          $loc = empty($this->sourceName) ? "line: $line" : "$this->sourceName on line $line";
  
          if ($this->peek("(.*?)(\n|$)", $m, $this->count)) {
              throw new ParserException("$msg: failed at `$m[1]` $loc");
          }
  
          throw new ParserException("$msg: $loc");
      }
code_tokens: public function throwParseError ( $ msg = 'parse error' ) { list ( $ line , /* $column */ ) = $ this -> getSourcePosition ( $ this -> count ) ; $ loc = empty ( $ this -> sourceName ) ? "line: $line" : "$this->sourceName on line $line" ; if ( $ this -> peek ( "(.*?)(\n|$)" , $ m , $ this -> count ) ) { throw new ParserException ( "$msg: failed at `$m[1]` $loc" ) ; } throw new ParserException ( "$msg: $loc" ) ; }
docstring: Throw parser error
  
  @api
  
  @param string $msg
  
  @throws \Leafo\ScssPhp\Exception\ParserException
docstring_tokens: Throw parser error