parameters: (self, operator)
return_statement: return self.type == JavaScriptTokenType.OPERATOR and self.string == operator
docstring: Tests if this token is the given operator.
  
      Args:
        operator: The operator to compare to.
  
      Returns:
        True if this token is a operator token with the given name.
docstring_summary: Tests if this token is the given operator.
docstring_tokens: Tests if this token is the given operator .
function: def IsOperator(self, operator):
      """Tests if this token is the given operator.
  
      Args:
        operator: The operator to compare to.
  
      Returns:
        True if this token is a operator token with the given name.
      """
      return self.type == JavaScriptTokenType.OPERATOR and self.string == operator
function_tokens: def IsOperator ( self , operator ) : return self . type == JavaScriptTokenType . OPERATOR and self . string == operator