Checks if the given token is a keyword in the current strict mode state
Token $token Token to checks:
bool
public function isStrictModeKeyword($token) { return $token->type === Token::TYPE_KEYWORD && (in_array($token->value, $this->keywords) || $this->strictMode && in_array($token->value, $this->strictModeKeywords)); }