Checks whether a given token matches the current lookahead.
integer|string $token:
boolean
public function isNextToken($token) { return null !== $this->lookahead && $this->lookahead['type'] === $token; }