SyntaxError When the code is syntactically wrong
public function tokenize(Source $source) : TokenStream { if (null === $this->lexer) { $this->lexer = new Lexer($this); } return $this->lexer ->tokenize($source); }