Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 35, }, }, }, ), Raw( PartRaw { content: "exporters", span: Span { start: Position { line: 6, column: 36, }, end: Position { line: 6, column: 45, }, }, }, ), Raw( PartRaw { content: "bind", span: Span { start: Position { line: 6, column: 46, }, end: Position { line: 6, column: 50, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 7, }, }, }, ), ], to: Integer( Integer { value: "9119", span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 9, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraOpts", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindURI", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 12, column: 20, }, end: Position { line: 12, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://localhost:8053/", span: Span { start: Position { line: 13, column: 18, }, end: Position { line: 13, column: 40, }, }, }, ), ], span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 14, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "HTTP XML API address of an Bind server.\n", span: Span { start: Position { line: 15, column: 1, }, end: Position { line: 16, column: 7, }, }, }, ), ], span: Span { start: Position { line: 14, column: 31, }, end: Position { line: 16, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 24, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindTimeout", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 18, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 19, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "10s", span: Span { start: Position { line: 20, column: 18, }, end: Position { line: 20, column: 21, }, }, }, ), ], span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 21, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 25, }, end: Position { line: 21, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Timeout for trying to get stats from Bind.\n", span: Span { start: Position { line: 22, column: 1, }, end: Position { line: 23, column: 7, }, }, }, ), ], span: Span { start: Position { line: 21, column: 31, }, end: Position { line: 23, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 28, }, end: Position { line: 24, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindVersion", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 19, }, end: Position { line: 25, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 14, }, end: Position { line: 26, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 26, column: 20, }, end: Position { line: 26, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "xml.v2", span: Span { start: Position { line: 26, column: 28, }, end: Position { line: 26, column: 34, }, }, }, ), ], span: Span { start: Position { line: 26, column: 27, }, end: Position { line: 26, column: 35, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "xml.v3", span: Span { start: Position { line: 26, column: 37, }, end: Position { line: 26, column: 43, }, }, }, ), ], span: Span { start: Position { line: 26, column: 36, }, end: Position { line: 26, column: 44, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "auto", span: Span { start: Position { line: 26, column: 46, }, end: Position { line: 26, column: 50, }, }, }, ), ], span: Span { start: Position { line: 26, column: 45, }, end: Position { line: 26, column: 51, }, }, }, ), ], span: Span { start: Position { line: 26, column: 25, }, end: Position { line: 26, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "auto", span: Span { start: Position { line: 27, column: 18, }, end: Position { line: 27, column: 22, }, }, }, ), ], span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "BIND statistics version. Can be detected automatically.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 30, column: 7, }, }, }, ), ], span: Span { start: Position { line: 28, column: 31, }, end: Position { line: 30, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 28, }, end: Position { line: 31, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindGroups", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 33, column: 20, }, end: Position { line: 33, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 28, }, end: Position { line: 33, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 33, column: 34, }, end: Position { line: 33, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 33, column: 42, }, end: Position { line: 33, column: 48, }, }, }, ), ], span: Span { start: Position { line: 33, column: 41, }, end: Position { line: 33, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "view", span: Span { start: Position { line: 33, column: 51, }, end: Position { line: 33, column: 55, }, }, }, ), ], span: Span { start: Position { line: 33, column: 50, }, end: Position { line: 33, column: 56, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "tasks", span: Span { start: Position { line: 33, column: 58, }, end: Position { line: 33, column: 63, }, }, }, ), ], span: Span { start: Position { line: 33, column: 57, }, end: Position { line: 33, column: 64, }, }, }, ), ], span: Span { start: Position { line: 33, column: 39, }, end: Position { line: 33, column: 66, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 34, column: 20, }, end: Position { line: 34, column: 26, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 27, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "view", span: Span { start: Position { line: 34, column: 29, }, end: Position { line: 34, column: 33, }, }, }, ), ], span: Span { start: Position { line: 34, column: 28, }, end: Position { line: 34, column: 34, }, }, }, ), ], span: Span { start: Position { line: 34, column: 17, }, end: Position { line: 34, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 35, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of statistics to collect. Available: [server, view, tasks]\n", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 37, column: 7, }, }, }, ), ], span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 37, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 38, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 39, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceOpts", span: Span { start: Position { line: 40, column: 3, }, end: Position { line: 40, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 43, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 43, column: 11, }, end: Position { line: 43, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prometheus-bind-exporter", span: Span { start: Position { line: 43, column: 16, }, end: Position { line: 43, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/bind_exporter \\\n --web.listen-address ", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 44, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 44, column: 34, }, end: Position { line: 44, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 44, column: 38, }, end: Position { line: 44, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 44, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 44, column: 55, }, end: Position { line: 44, column: 63, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 44, column: 64, }, end: Position { line: 44, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 44, column: 68, }, end: Position { line: 44, column: 72, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n --bind.pid-file /var/run/named/named.pid \\\n --bind.timeout ", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 46, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 46, column: 28, }, end: Position { line: 46, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 46, column: 37, }, end: Position { line: 46, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bindTimeout", span: Span { start: Position { line: 46, column: 41, }, end: Position { line: 46, column: 52, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n --bind.stats-url ", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 47, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 47, column: 30, }, end: Position { line: 47, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bindURI", span: Span { start: Position { line: 47, column: 34, }, end: Position { line: 47, column: 41, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n --bind.stats-version ", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 48, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 48, column: 34, }, end: Position { line: 48, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bindVersion", span: Span { start: Position { line: 48, column: 38, }, end: Position { line: 48, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n --bind.stats-groups ", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 49, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 49, column: 33, }, end: Position { line: 49, column: 49, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 49, column: 51, }, end: Position { line: 49, column: 52, }, }, }, ), ], span: Span { start: Position { line: 49, column: 50, }, end: Position { line: 49, column: 53, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 49, column: 54, }, end: Position { line: 49, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bindGroups", span: Span { start: Position { line: 49, column: 58, }, end: Position { line: 49, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 50, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 50, column: 13, }, end: Position { line: 50, column: 29, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 50, column: 31, }, end: Position { line: 50, column: 38, }, }, }, ), ], span: Span { start: Position { line: 50, column: 30, }, end: Position { line: 50, column: 39, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 40, }, end: Position { line: 50, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 50, column: 44, }, end: Position { line: 50, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 51, column: 7, }, }, }, ), ], span: Span { start: Position { line: 42, column: 19, }, end: Position { line: 51, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 52, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 17, }, end: Position { line: 53, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 54, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 54, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 54, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 54, column: 2, }, }, }, )