Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "name", 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: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataPath", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 7, column: 7, }, end: Position { line: 7, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 7, column: 14, }, end: Position { line: 7, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 7, column: 20, }, end: Position { line: 7, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 8, column: 7, }, end: Position { line: 8, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/pantalaimon-", span: Span { start: Position { line: 8, column: 18, }, end: Position { line: 8, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 8, column: 41, }, end: Position { line: 8, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 17, }, end: Position { line: 8, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 9, column: 7, }, end: Position { line: 9, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 21, }, end: Position { line: 9, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 9, column: 25, }, end: Position { line: 9, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The directory where `pantalaimon` should store its state such as the database file.\n", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 11, column: 7, }, }, }, ), ], span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 11, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 12, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "info", span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 32, }, }, }, ), ], span: Span { start: Position { line: 15, column: 27, }, end: Position { line: 15, column: 33, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "warning", span: Span { start: Position { line: 15, column: 35, }, end: Position { line: 15, column: 42, }, }, }, ), ], span: Span { start: Position { line: 15, column: 34, }, end: Position { line: 15, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "error", span: Span { start: Position { line: 15, column: 45, }, end: Position { line: 15, column: 50, }, }, }, ), ], span: Span { start: Position { line: 15, column: 44, }, end: Position { line: 15, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "debug", span: Span { start: Position { line: 15, column: 53, }, end: Position { line: 15, column: 58, }, }, }, ), ], span: Span { start: Position { line: 15, column: 52, }, end: Position { line: 15, column: 59, }, }, }, ), ], span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 61, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "warning", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 25, }, }, }, ), ], span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 21, }, end: Position { line: 17, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 17, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set the log level of the daemon.\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 19, column: 7, }, }, }, ), ], span: Span { start: Position { line: 17, column: 31, }, end: Position { line: 19, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 20, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "homeserver", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 18, }, end: Position { line: 22, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 23, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "https://matrix.org", span: Span { start: Position { line: 24, column: 18, }, end: Position { line: 24, column: 36, }, }, }, ), ], span: Span { start: Position { line: 24, column: 17, }, end: Position { line: 24, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 25, column: 25, }, end: Position { line: 25, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The URI of the homeserver that the `pantalaimon` proxy should\nforward requests to, without the matrix API path but including\nthe http(s) schema.\n", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 29, column: 7, }, }, }, ), ], span: Span { start: Position { line: 25, column: 31, }, end: Position { line: 29, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 27, }, end: Position { line: 30, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 11, }, end: Position { line: 32, column: 19, }, }, }, ), 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: 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: "bool", span: Span { start: Position { line: 33, column: 20, }, end: Position { line: 33, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 34, column: 17, }, end: Position { line: 34, column: 21, }, }, }, ), }, ), 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: "Whether or not SSL verification should be enabled for outgoing\nconnections to the homeserver.\n", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 38, column: 7, }, }, }, ), ], span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 38, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 39, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 41, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 42, column: 14, }, end: Position { line: 42, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 42, column: 20, }, end: Position { line: 42, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 43, column: 18, }, end: Position { line: 43, column: 27, }, }, }, ), ], span: Span { start: Position { line: 43, column: 17, }, end: Position { line: 43, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 44, column: 21, }, end: Position { line: 44, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 44, column: 25, }, end: Position { line: 44, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The address where the daemon will listen to client connections\nfor this homeserver.\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 47, column: 7, }, }, }, ), ], span: Span { start: Position { line: 44, column: 31, }, end: Position { line: 47, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 41, column: 30, }, end: Position { line: 48, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listenPort", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 50, column: 18, }, end: Position { line: 50, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 51, column: 14, }, end: Position { line: 51, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 14, }, }, }, ), ], to: Integer( Integer { value: "8009", span: Span { start: Position { line: 52, column: 17, }, end: Position { line: 52, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 53, column: 21, }, end: Position { line: 53, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 53, column: 25, }, end: Position { line: 53, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The port where the daemon will listen to client connections for\nthis homeserver. Note that the listen address/port combination\nneeds to be unique between different homeservers.\n", span: Span { start: Position { line: 54, column: 1, }, end: Position { line: 57, column: 7, }, }, }, ), ], span: Span { start: Position { line: 53, column: 31, }, end: Position { line: 57, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 50, column: 27, }, end: Position { line: 58, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraSettings", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 21, }, end: Position { line: 60, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 14, }, end: Position { line: 61, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 61, column: 20, }, end: Position { line: 61, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 62, column: 17, }, end: Position { line: 62, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 63, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 63, column: 25, }, end: Position { line: 63, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra configuration options. See\n[pantalaimon(5)](https://github.com/matrix-org/pantalaimon/blob/master/docs/man/pantalaimon.5.md)\nfor available options.\n", span: Span { start: Position { line: 64, column: 1, }, end: Position { line: 67, column: 7, }, }, }, ), ], span: Span { start: Position { line: 63, column: 31, }, end: Position { line: 67, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 60, column: 30, }, end: Position { line: 68, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 13, }, end: Position { line: 69, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 70, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 70, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 70, column: 2, }, }, }, )