---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "options",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: PropertyAccess {
   expression: Variable {
    identifier: "lib",
    position: (1, 29),
   },
   attribute_path: AttributePath {
    attributes: [
     Raw {
      content: "types",
      position: (1, 33),
     },
    ],
   },
   default: None,
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (3, 3),
       },
       Raw {
        content: "fooDeclarations",
        position: (3, 11),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (3, 29),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "mkOption",
          position: (3, 33),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "default",
             position: (4, 5),
            },
           ],
          },
          PropertyAccess {
           expression: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "options",
              position: (4, 16),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "free",
                position: (4, 24),
               },
               Raw {
                content: "type",
                position: (4, 29),
               },
               Raw {
                content: "getSubOptions",
                position: (4, 34),
               },
              ],
             },
             default: None,
            },
            arguments: [
             List {
              elements: [],
              position: (4, 48),
             },
            ],
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "_freeformOptions",
              position: (4, 52),
             },
             Raw {
              content: "foo",
              position: (4, 69),
             },
             Raw {
              content: "declarations",
              position: (4, 73),
             },
            ],
           },
           default: None,
          },
         ),
        ],
        recursive: false,
        position: (3, 42),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (7, 3),
       },
       Raw {
        content: "free",
        position: (7, 11),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (7, 18),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "mkOption",
          position: (7, 22),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "type",
             position: (8, 5),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "submodule",
            position: (8, 12),
           },
           arguments: [
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "config",
                  position: (9, 7),
                 },
                 Raw {
                  content: "_module",
                  position: (9, 14),
                 },
                 Raw {
                  content: "freeformType",
                  position: (9, 22),
                 },
                ],
               },
               FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (9, 37),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "mkMerge",
                    position: (9, 41),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 List {
                  elements: [
                   FunctionApplication {
                    function: Variable {
                     identifier: "attrsOf",
                     position: (10, 10),
                    },
                    arguments: [
                     FunctionApplication {
                      function: Variable {
                       identifier: "submodule",
                       position: (10, 19),
                      },
                      arguments: [
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "options",
                             position: (11, 11),
                            },
                            Raw {
                             content: "foo",
                             position: (11, 19),
                            },
                           ],
                          },
                          FunctionApplication {
                           function: PropertyAccess {
                            expression: Variable {
                             identifier: "lib",
                             position: (11, 25),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "mkOption",
                               position: (11, 29),
                              },
                             ],
                            },
                            default: None,
                           },
                           arguments: [
                            Map {
                             bindings: [],
                             recursive: false,
                             position: (11, 38),
                            },
                           ],
                          },
                         ),
                        ],
                        recursive: false,
                        position: (10, 29),
                       },
                      ],
                     },
                    ],
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "attrsOf",
                     position: (13, 10),
                    },
                    arguments: [
                     FunctionApplication {
                      function: Variable {
                       identifier: "submodule",
                       position: (13, 19),
                      },
                      arguments: [
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "options",
                             position: (14, 11),
                            },
                            Raw {
                             content: "bar",
                             position: (14, 19),
                            },
                           ],
                          },
                          FunctionApplication {
                           function: PropertyAccess {
                            expression: Variable {
                             identifier: "lib",
                             position: (14, 25),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "mkOption",
                               position: (14, 29),
                              },
                             ],
                            },
                            default: None,
                           },
                           arguments: [
                            Map {
                             bindings: [],
                             recursive: false,
                             position: (14, 38),
                            },
                           ],
                          },
                         ),
                        ],
                        recursive: false,
                        position: (13, 29),
                       },
                      ],
                     },
                    ],
                   },
                  ],
                  position: (9, 49),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (8, 22),
            },
           ],
          },
         ),
        ],
        recursive: false,
        position: (7, 31),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (20, 3),
       },
       Raw {
        content: "free",
        position: (20, 10),
       },
       Raw {
        content: "xxx",
        position: (20, 15),
       },
       Raw {
        content: "foo",
        position: (20, 19),
       },
      ],
     },
     Int {
      value: 10,
      position: (20, 25),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (21, 3),
       },
       Raw {
        content: "free",
        position: (21, 10),
       },
       Raw {
        content: "yyy",
        position: (21, 15),
       },
       Raw {
        content: "bar",
        position: (21, 19),
       },
      ],
     },
     Int {
      value: 10,
      position: (21, 25),
     },
    ),
   ],
   recursive: false,
   position: (1, 40),
  },
  position: (1, 24),
 },
 position: (1, 1),
}