code: def parse_operation_type(lexer: Lexer) -> OperationType:
      
      operation_token = expect_token(lexer, TokenKind.NAME)
      try:
          return OperationType(operation_token.value)
      except ValueError:
          raise unexpected(lexer, operation_token)
docs: OperationType: one of query mutation subscription