function skip($kind) { $match = $this->lexer->token->kind === $kind; if ($match) { $this->lexer->advance(); } return $match; }