Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 8, column: 9, }, end: Position { line: 8, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 8, column: 17, }, end: Position { line: 8, column: 25, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 8, column: 26, }, end: Position { line: 8, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postfixCfg", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 9, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 31, }, }, }, ), Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 9, column: 32, }, end: Position { line: 9, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindSocketOpts", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 17, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost:11333", span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 35, }, }, }, ), ], span: Span { start: Position { line: 15, column: 19, }, end: Position { line: 15, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 23, }, end: Position { line: 16, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 27, }, end: Position { line: 16, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Socket for this worker to listen on in a format acceptable by rspamd.\n", span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 18, column: 9, }, }, }, ), ], span: Span { start: Position { line: 16, column: 33, }, end: Position { line: 18, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 19, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 20, column: 14, }, end: Position { line: 20, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 21, column: 22, }, end: Position { line: 21, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0644", span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 22, column: 24, }, }, }, ), ], span: Span { start: Position { line: 22, column: 19, }, end: Position { line: 22, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Mode to set on unix socket", span: Span { start: Position { line: 23, column: 34, }, end: Position { line: 23, column: 60, }, }, }, ), ], span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 61, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 15, }, end: Position { line: 25, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 16, }, end: Position { line: 26, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 27, column: 26, }, end: Position { line: 27, column: 30, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Owner to set on unix socket", span: Span { start: Position { line: 28, column: 34, }, end: Position { line: 28, column: 61, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 28, column: 62, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 29, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 30, column: 15, }, end: Position { line: 30, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 31, column: 16, }, end: Position { line: 31, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 31, column: 22, }, end: Position { line: 31, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 32, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 32, column: 26, }, end: Position { line: 32, column: 31, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 33, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 33, column: 27, }, end: Position { line: 33, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Group to set on unix socket", span: Span { start: Position { line: 33, column: 34, }, end: Position { line: 33, column: 61, }, }, }, ), ], span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 33, column: 62, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 24, }, end: Position { line: 34, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rawEntry", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 35, column: 18, }, end: Position { line: 35, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 37, column: 20, }, end: Position { line: 37, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 35, column: 27, }, end: Position { line: 38, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 15, }, end: Position { line: 39, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 11, }, }, }, ), Raw( PartRaw { content: "rawEntry", span: Span { start: Position { line: 40, column: 12, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maybeOption", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "option", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 23, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 42, column: 24, }, end: Position { line: 42, column: 31, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 42, column: 34, }, end: Position { line: 42, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 42, column: 42, }, end: Position { line: 42, column: 51, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 42, column: 53, }, end: Position { line: 42, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 42, column: 56, }, end: Position { line: 42, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 42, column: 53, }, end: Position { line: 42, column: 64, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 42, column: 66, }, end: Position { line: 42, column: 72, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 42, column: 75, }, end: Position { line: 42, column: 81, }, }, }, ), }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 42, column: 52, }, end: Position { line: 42, column: 84, }, }, }, ), ], }, ), span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 42, column: 84, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 44, column: 13, }, end: Position { line: 44, column: 22, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 44, column: 24, }, end: Position { line: 44, column: 25, }, }, }, ), ], span: Span { start: Position { line: 44, column: 23, }, end: Position { line: 44, column: 26, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 44, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 44, column: 34, }, end: Position { line: 44, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 44, column: 11, }, end: Position { line: 44, column: 41, }, }, }, ), then: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 44, column: 51, }, end: Position { line: 44, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 44, column: 58, }, end: Position { line: 44, column: 64, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 44, column: 48, }, end: Position { line: 44, column: 66, }, }, }, ), else_: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 45, column: 15, }, end: Position { line: 45, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 28, }, }, }, ), ], default: None, }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeOption", span: Span { start: Position { line: 45, column: 31, }, end: Position { line: 45, column: 42, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 45, column: 44, }, end: Position { line: 45, column: 48, }, }, }, ), ], span: Span { start: Position { line: 45, column: 43, }, end: Position { line: 45, column: 49, }, }, }, ), ], }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeOption", span: Span { start: Position { line: 45, column: 52, }, end: Position { line: 45, column: 63, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 45, column: 65, }, end: Position { line: 45, column: 70, }, }, }, ), ], span: Span { start: Position { line: 45, column: 64, }, end: Position { line: 45, column: 71, }, }, }, ), ], }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeOption", span: Span { start: Position { line: 45, column: 74, }, end: Position { line: 45, column: 85, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 45, column: 87, }, end: Position { line: 45, column: 92, }, }, }, ), ], span: Span { start: Position { line: 45, column: 86, }, end: Position { line: 45, column: 93, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 12, }, end: Position { line: 45, column: 95, }, }, }, ), span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 45, column: 95, }, }, }, ), span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 45, column: 95, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 45, }, end: Position { line: 46, column: 4, }, }, }, ), span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 46, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "traceWarning", span: Span { start: Position { line: 48, column: 3, }, end: Position { line: 48, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "w", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 48, column: 24, }, end: Position { line: 48, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "trace", span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 48, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\u{1b}[1;31mwarning: ", span: Span { start: Position { line: 48, column: 40, }, end: Position { line: 48, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "w", span: Span { start: Position { line: 48, column: 58, }, end: Position { line: 48, column: 59, }, }, }, ), }, ), Raw( PartRaw { content: "\u{1b}[0m", span: Span { start: Position { line: 48, column: 40, }, end: Position { line: 48, column: 64, }, }, }, ), ], span: Span { start: Position { line: 48, column: 39, }, end: Position { line: 48, column: 65, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 48, column: 66, }, end: Position { line: 48, column: 67, }, }, }, ), ], }, ), span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 48, column: 67, }, }, }, ), span: Span { start: Position { line: 48, column: 18, }, end: Position { line: 48, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "workerOpts", span: Span { start: Position { line: 50, column: 3, }, end: Position { line: 50, column: 13, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 51, column: 5, }, end: Position { line: 51, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 53, column: 16, }, end: Position { line: 53, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 53, column: 22, }, end: Position { line: 53, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 53, column: 29, }, end: Position { line: 53, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 53, column: 35, }, end: Position { line: 53, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 55, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 55, column: 27, }, end: Position { line: 55, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to run the rspamd worker.", span: Span { start: Position { line: 55, column: 34, }, end: Position { line: 55, column: 67, }, }, }, ), ], span: Span { start: Position { line: 55, column: 33, }, end: Position { line: 55, column: 68, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 52, column: 25, }, end: Position { line: 56, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 57, column: 14, }, end: Position { line: 57, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 58, column: 22, }, end: Position { line: 58, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 29, }, end: Position { line: 58, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 58, column: 35, }, end: Position { line: 58, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "name", span: Span { start: Position { line: 59, column: 19, }, end: Position { line: 59, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 60, column: 23, }, end: Position { line: 60, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 60, column: 27, }, end: Position { line: 60, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Name of the worker", span: Span { start: Position { line: 60, column: 34, }, end: Position { line: 60, column: 52, }, }, }, ), ], span: Span { start: Position { line: 60, column: 33, }, end: Position { line: 60, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 61, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 62, column: 14, }, end: Position { line: 62, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 16, }, end: Position { line: 63, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 30, }, end: Position { line: 63, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 63, column: 36, }, end: Position { line: 63, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "normal", span: Span { start: Position { line: 64, column: 12, }, end: Position { line: 64, column: 18, }, }, }, ), ], span: Span { start: Position { line: 64, column: 11, }, end: Position { line: 64, column: 19, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "controller", span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 31, }, }, }, ), ], span: Span { start: Position { line: 64, column: 20, }, end: Position { line: 64, column: 32, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "fuzzy", span: Span { start: Position { line: 64, column: 34, }, end: Position { line: 64, column: 39, }, }, }, ), ], span: Span { start: Position { line: 64, column: 33, }, end: Position { line: 64, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 64, column: 42, }, end: Position { line: 64, column: 54, }, }, }, ), ], span: Span { start: Position { line: 64, column: 41, }, end: Position { line: 64, column: 55, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "lua", span: Span { start: Position { line: 64, column: 57, }, end: Position { line: 64, column: 60, }, }, }, ), ], span: Span { start: Position { line: 64, column: 56, }, end: Position { line: 64, column: 61, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 64, column: 63, }, end: Position { line: 64, column: 68, }, }, }, ), ], span: Span { start: Position { line: 64, column: 62, }, end: Position { line: 64, column: 69, }, }, }, ), ], span: Span { start: Position { line: 63, column: 41, }, end: Position { line: 65, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 66, column: 23, }, end: Position { line: 66, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 66, column: 27, }, end: Position { line: 66, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The type of this worker. The type `proxy` is\ndeprecated and only kept for backwards compatibility and should be\nreplaced with `rspamd_proxy`.\n", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 70, column: 9, }, }, }, ), ], span: Span { start: Position { line: 66, column: 33, }, end: Position { line: 70, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 14, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 72, column: 13, }, end: Position { line: 72, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "services.rspamd.workers.\"", span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 72, column: 49, }, end: Position { line: 72, column: 53, }, }, }, ), }, ), Raw( PartRaw { content: "\".type", span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 61, }, }, }, ), ], span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 62, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 73, column: 13, }, end: Position { line: 73, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 73, column: 21, }, end: Position { line: 73, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 73, column: 29, }, end: Position { line: 73, column: 33, }, }, }, ), Raw( PartRaw { content: "files", span: Span { start: Position { line: 73, column: 34, }, end: Position { line: 73, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warning", span: Span { start: Position { line: 74, column: 13, }, end: Position { line: 74, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "from", span: Span { start: Position { line: 74, column: 38, }, end: Position { line: 74, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "` defined in ", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 56, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showFiles", span: Span { start: Position { line: 74, column: 58, }, end: Position { line: 74, column: 67, }, }, }, ), arguments: [ Identifier( Identifier { id: "files", span: Span { start: Position { line: 74, column: 68, }, end: Position { line: 74, column: 73, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " has enum value `proxy` which has been renamed to `rspamd_proxy`", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 138, }, }, }, ), ], span: Span { start: Position { line: 74, column: 23, }, end: Position { line: 74, column: 139, }, }, }, ), }, ), ], target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 75, column: 20, }, end: Position { line: 75, column: 21, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 75, column: 26, }, end: Position { line: 75, column: 31, }, }, }, ), ], span: Span { start: Position { line: 75, column: 25, }, end: Position { line: 75, column: 32, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "traceWarning", span: Span { start: Position { line: 75, column: 38, }, end: Position { line: 75, column: 50, }, }, }, ), arguments: [ Identifier( Identifier { id: "warning", span: Span { start: Position { line: 75, column: 51, }, end: Position { line: 75, column: 58, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 75, column: 60, }, end: Position { line: 75, column: 72, }, }, }, ), ], span: Span { start: Position { line: 75, column: 59, }, end: Position { line: 75, column: 73, }, }, }, ), ], }, ), else_: Identifier( Identifier { id: "x", span: Span { start: Position { line: 75, column: 79, }, end: Position { line: 75, column: 80, }, }, }, ), span: Span { start: Position { line: 75, column: 17, }, end: Position { line: 75, column: 80, }, }, }, ), span: Span { start: Position { line: 75, column: 14, }, end: Position { line: 75, column: 80, }, }, }, ), span: Span { start: Position { line: 71, column: 17, }, end: Position { line: 75, column: 80, }, }, }, ), }, ), ], span: Span { start: Position { line: 62, column: 23, }, end: Position { line: 76, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindSockets", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 77, column: 21, }, end: Position { line: 77, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 78, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 30, }, end: Position { line: 78, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "either", span: Span { start: Position { line: 78, column: 36, }, end: Position { line: 78, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 43, }, end: Position { line: 78, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 78, column: 49, }, end: Position { line: 78, column: 52, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 54, }, end: Position { line: 78, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 78, column: 60, }, end: Position { line: 78, column: 69, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "bindSocketOpts", span: Span { start: Position { line: 78, column: 70, }, end: Position { line: 78, column: 84, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 79, column: 19, }, end: Position { line: 79, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 80, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of sockets to listen, in format acceptable by rspamd\n", span: Span { start: Position { line: 81, column: 1, }, end: Position { line: 82, column: 9, }, }, }, ), ], span: Span { start: Position { line: 80, column: 33, }, end: Position { line: 82, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 16, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 84, column: 11, }, end: Position { line: 84, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/rspamd.sock", span: Span { start: Position { line: 84, column: 21, }, end: Position { line: 84, column: 37, }, }, }, ), ], span: Span { start: Position { line: 84, column: 20, }, end: Position { line: 84, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 85, column: 11, }, end: Position { line: 85, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0666", span: Span { start: Position { line: 85, column: 19, }, end: Position { line: 85, column: 23, }, }, }, ), ], span: Span { start: Position { line: 85, column: 18, }, end: Position { line: 85, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 86, column: 11, }, end: Position { line: 86, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 86, column: 20, }, end: Position { line: 86, column: 26, }, }, }, ), ], span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 83, column: 20, }, end: Position { line: 87, column: 10, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "*:11333", span: Span { start: Position { line: 87, column: 12, }, end: Position { line: 87, column: 19, }, }, }, ), ], span: Span { start: Position { line: 87, column: 11, }, end: Position { line: 87, column: 20, }, }, }, ), ], span: Span { start: Position { line: 83, column: 19, }, end: Position { line: 87, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 88, column: 24, }, end: Position { line: 88, column: 27, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "each", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 88, column: 39, }, end: Position { line: 88, column: 47, }, }, }, ), arguments: [ Identifier( Identifier { id: "each", span: Span { start: Position { line: 88, column: 48, }, end: Position { line: 88, column: 52, }, }, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isUnixSocket", span: Span { start: Position { line: 89, column: 20, }, end: Position { line: 89, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "each", span: Span { start: Position { line: 89, column: 33, }, end: Position { line: 89, column: 37, }, }, }, ), ], }, ), then: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 90, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "each", span: Span { start: Position { line: 90, column: 28, }, end: Position { line: 90, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 90, column: 34, }, end: Position { line: 90, column: 39, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 90, column: 42, }, end: Position { line: 90, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 90, column: 46, }, end: Position { line: 90, column: 50, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 90, column: 52, }, end: Position { line: 90, column: 57, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 90, column: 60, }, end: Position { line: 90, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 90, column: 64, }, end: Position { line: 90, column: 69, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 90, column: 71, }, end: Position { line: 90, column: 75, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0644", span: Span { start: Position { line: 90, column: 79, }, end: Position { line: 90, column: 83, }, }, }, ), ], span: Span { start: Position { line: 90, column: 78, }, end: Position { line: 90, column: 84, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rawEntry", span: Span { start: Position { line: 90, column: 86, }, end: Position { line: 90, column: 94, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "each", span: Span { start: Position { line: 90, column: 100, }, end: Position { line: 90, column: 104, }, }, }, ), }, ), ], span: Span { start: Position { line: 90, column: 97, }, end: Position { line: 90, column: 106, }, }, }, ), }, ), ], span: Span { start: Position { line: 90, column: 18, }, end: Position { line: 90, column: 108, }, }, }, ), else_: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 91, column: 19, }, end: Position { line: 91, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "each", span: Span { start: Position { line: 91, column: 28, }, end: Position { line: 91, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rawEntry", span: Span { start: Position { line: 91, column: 34, }, end: Position { line: 91, column: 42, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "each", span: Span { start: Position { line: 91, column: 48, }, end: Position { line: 91, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 45, }, end: Position { line: 91, column: 54, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 18, }, end: Position { line: 91, column: 56, }, }, }, ), span: Span { start: Position { line: 89, column: 16, }, end: Position { line: 91, column: 56, }, }, }, ), else_: Identifier( Identifier { id: "each", span: Span { start: Position { line: 92, column: 16, }, end: Position { line: 92, column: 20, }, }, }, ), span: Span { start: Position { line: 88, column: 35, }, end: Position { line: 92, column: 20, }, }, }, ), span: Span { start: Position { line: 88, column: 29, }, end: Position { line: 92, column: 20, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 92, column: 27, }, }, }, ), ], }, ), span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 92, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 77, column: 30, }, end: Position { line: 93, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "count", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 94, column: 15, }, end: Position { line: 94, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 16, }, end: Position { line: 95, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 95, column: 22, }, end: Position { line: 95, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 29, }, end: Position { line: 95, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 95, column: 35, }, end: Position { line: 95, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 96, column: 19, }, end: Position { line: 96, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 23, }, end: Position { line: 97, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 97, column: 27, }, end: Position { line: 97, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Number of worker instances to run\n", span: Span { start: Position { line: 98, column: 1, }, end: Position { line: 99, column: 9, }, }, }, ), ], span: Span { start: Position { line: 97, column: 33, }, end: Position { line: 99, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 94, column: 24, }, end: Position { line: 100, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "includes", span: Span { start: Position { line: 101, column: 7, }, end: Position { line: 101, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 101, column: 18, }, end: Position { line: 101, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 102, column: 16, }, end: Position { line: 102, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 102, column: 22, }, end: Position { line: 102, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 102, column: 29, }, end: Position { line: 102, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 102, column: 35, }, end: Position { line: 102, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 103, column: 19, }, end: Position { line: 103, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 104, column: 23, }, end: Position { line: 104, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 104, column: 27, }, end: Position { line: 104, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of files to include in configuration\n", span: Span { start: Position { line: 105, column: 1, }, end: Position { line: 106, column: 9, }, }, }, ), ], span: Span { start: Position { line: 104, column: 33, }, end: Position { line: 106, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 101, column: 27, }, end: Position { line: 107, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 108, column: 7, }, end: Position { line: 108, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 109, column: 16, }, end: Position { line: 109, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 109, column: 22, }, end: Position { line: 109, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 110, column: 19, }, end: Position { line: 110, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 111, column: 23, }, end: Position { line: 111, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 111, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Additional entries to put verbatim into worker section of rspamd config file.", span: Span { start: Position { line: 111, column: 34, }, end: Position { line: 111, column: 111, }, }, }, ), ], span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 111, column: 112, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 108, column: 30, }, end: Position { line: 112, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 15, }, end: Position { line: 113, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 114, column: 5, }, end: Position { line: 114, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 114, column: 14, }, end: Position { line: 114, column: 18, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 114, column: 20, }, end: Position { line: 114, column: 24, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "normal", span: Span { start: Position { line: 114, column: 29, }, end: Position { line: 114, column: 35, }, }, }, ), ], span: Span { start: Position { line: 114, column: 28, }, end: Position { line: 114, column: 36, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 114, column: 40, }, end: Position { line: 114, column: 44, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "controller", span: Span { start: Position { line: 114, column: 49, }, end: Position { line: 114, column: 59, }, }, }, ), ], span: Span { start: Position { line: 114, column: 48, }, end: Position { line: 114, column: 60, }, }, }, ), }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 114, column: 64, }, end: Position { line: 114, column: 68, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "fuzzy", span: Span { start: Position { line: 114, column: 73, }, end: Position { line: 114, column: 78, }, }, }, ), ], span: Span { start: Position { line: 114, column: 72, }, end: Position { line: 114, column: 79, }, }, }, ), }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 114, column: 83, }, end: Position { line: 114, column: 87, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 114, column: 92, }, end: Position { line: 114, column: 104, }, }, }, ), ], span: Span { start: Position { line: 114, column: 91, }, end: Position { line: 114, column: 105, }, }, }, ), }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 115, column: 14, }, end: Position { line: 115, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 115, column: 24, }, end: Position { line: 115, column: 28, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "includes", span: Span { start: Position { line: 116, column: 7, }, end: Position { line: 116, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 116, column: 18, }, end: Position { line: 116, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "$CONFDIR/worker-", span: Span { start: Position { line: 116, column: 31, }, end: Position { line: 116, column: 98, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 116, column: 52, }, end: Position { line: 116, column: 56, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 116, column: 61, }, end: Position { line: 116, column: 73, }, }, }, ), ], span: Span { start: Position { line: 116, column: 60, }, end: Position { line: 116, column: 74, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 116, column: 81, }, end: Position { line: 116, column: 86, }, }, }, ), ], span: Span { start: Position { line: 116, column: 80, }, end: Position { line: 116, column: 87, }, }, }, ), else_: Identifier( Identifier { id: "name", span: Span { start: Position { line: 116, column: 93, }, end: Position { line: 116, column: 97, }, }, }, ), span: Span { start: Position { line: 116, column: 49, }, end: Position { line: 116, column: 97, }, }, }, ), }, ), Raw( PartRaw { content: ".inc", span: Span { start: Position { line: 116, column: 31, }, end: Position { line: 116, column: 102, }, }, }, ), ], span: Span { start: Position { line: 116, column: 30, }, end: Position { line: 116, column: 103, }, }, }, ), ], span: Span { start: Position { line: 116, column: 28, }, end: Position { line: 116, column: 105, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindSockets", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 18, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unixSocket", span: Span { start: Position { line: 119, column: 11, }, end: Position { line: 119, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 120, column: 13, }, end: Position { line: 120, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0660", span: Span { start: Position { line: 120, column: 21, }, end: Position { line: 120, column: 25, }, }, }, ), ], span: Span { start: Position { line: 120, column: 20, }, end: Position { line: 120, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 121, column: 13, }, end: Position { line: 121, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/rspamd/", span: Span { start: Position { line: 121, column: 23, }, end: Position { line: 121, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 121, column: 37, }, end: Position { line: 121, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: ".sock", span: Span { start: Position { line: 121, column: 23, }, end: Position { line: 121, column: 47, }, }, }, ), ], span: Span { start: Position { line: 121, column: 22, }, end: Position { line: 121, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 122, column: 13, }, end: Position { line: 122, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 122, column: 21, }, end: Position { line: 122, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 122, column: 25, }, end: Position { line: 122, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 123, column: 13, }, end: Position { line: 123, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 123, column: 21, }, end: Position { line: 123, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 123, column: 25, }, end: Position { line: 123, column: 30, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 119, column: 30, }, end: Position { line: 124, column: 12, }, }, }, ), span: Span { start: Position { line: 119, column: 24, }, end: Position { line: 124, column: 12, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 125, column: 12, }, end: Position { line: 125, column: 21, }, }, }, ), arguments: [ IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 125, column: 26, }, end: Position { line: 125, column: 30, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "normal", span: Span { start: Position { line: 125, column: 35, }, end: Position { line: 125, column: 41, }, }, }, ), ], span: Span { start: Position { line: 125, column: 34, }, end: Position { line: 125, column: 42, }, }, }, ), }, ), then: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "unixSocket", span: Span { start: Position { line: 125, column: 50, }, end: Position { line: 125, column: 60, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 125, column: 62, }, end: Position { line: 125, column: 68, }, }, }, ), ], span: Span { start: Position { line: 125, column: 61, }, end: Position { line: 125, column: 69, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 125, column: 48, }, end: Position { line: 125, column: 71, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 126, column: 19, }, end: Position { line: 126, column: 23, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "controller", span: Span { start: Position { line: 126, column: 28, }, end: Position { line: 126, column: 38, }, }, }, ), ], span: Span { start: Position { line: 126, column: 27, }, end: Position { line: 126, column: 39, }, }, }, ), }, ), then: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "localhost:11334", span: Span { start: Position { line: 126, column: 48, }, end: Position { line: 126, column: 63, }, }, }, ), ], span: Span { start: Position { line: 126, column: 47, }, end: Position { line: 126, column: 64, }, }, }, ), ], span: Span { start: Position { line: 126, column: 45, }, end: Position { line: 126, column: 66, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 127, column: 19, }, end: Position { line: 127, column: 23, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 127, column: 28, }, end: Position { line: 127, column: 40, }, }, }, ), ], span: Span { start: Position { line: 127, column: 27, }, end: Position { line: 127, column: 41, }, }, }, ), }, ), then: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "unixSocket", span: Span { start: Position { line: 127, column: 50, }, end: Position { line: 127, column: 60, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 127, column: 62, }, end: Position { line: 127, column: 67, }, }, }, ), ], span: Span { start: Position { line: 127, column: 61, }, end: Position { line: 127, column: 68, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 127, column: 47, }, end: Position { line: 127, column: 71, }, }, }, ), else_: List( List { elements: [], span: Span { start: Position { line: 128, column: 16, }, end: Position { line: 128, column: 18, }, }, }, ), span: Span { start: Position { line: 127, column: 16, }, end: Position { line: 128, column: 18, }, }, }, ), span: Span { start: Position { line: 126, column: 16, }, end: Position { line: 128, column: 18, }, }, }, ), span: Span { start: Position { line: 125, column: 23, }, end: Position { line: 128, column: 18, }, }, }, ), ], }, ), span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 128, column: 20, }, }, }, ), }, ), ], span: Span { start: Position { line: 114, column: 107, }, end: Position { line: 129, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 50, column: 40, }, end: Position { line: 130, column: 4, }, }, }, ), span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 130, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isUnixSocket", span: Span { start: Position { line: 132, column: 3, }, end: Position { line: 132, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "socket", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 132, column: 26, }, end: Position { line: 132, column: 35, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 132, column: 37, }, end: Position { line: 132, column: 38, }, }, }, ), ], span: Span { start: Position { line: 132, column: 36, }, end: Position { line: 132, column: 39, }, }, }, ), IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 132, column: 45, }, end: Position { line: 132, column: 53, }, }, }, ), arguments: [ Identifier( Identifier { id: "socket", span: Span { start: Position { line: 132, column: 54, }, end: Position { line: 132, column: 60, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "socket", span: Span { start: Position { line: 132, column: 67, }, end: Position { line: 132, column: 73, }, }, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "socket", span: Span { start: Position { line: 132, column: 79, }, end: Position { line: 132, column: 85, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 132, column: 86, }, end: Position { line: 132, column: 92, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 132, column: 41, }, end: Position { line: 132, column: 92, }, }, }, ), ], }, ), span: Span { start: Position { line: 132, column: 18, }, end: Position { line: 132, column: 93, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkBindSockets", span: Span { start: Position { line: 134, column: 3, }, end: Position { line: 134, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "enabled", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "socks", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 134, column: 35, }, end: Position { line: 134, column: 51, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 134, column: 53, }, end: Position { line: 134, column: 57, }, }, }, ), ], span: Span { start: Position { line: 134, column: 52, }, end: Position { line: 134, column: 58, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flatten", span: Span { start: Position { line: 135, column: 6, }, end: Position { line: 135, column: 13, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 135, column: 15, }, end: Position { line: 135, column: 18, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "each", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "bind_socket = \"", span: Span { start: Position { line: 135, column: 27, }, end: Position { line: 135, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "each", span: Span { start: Position { line: 135, column: 45, }, end: Position { line: 135, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rawEntry", span: Span { start: Position { line: 135, column: 50, }, end: Position { line: 135, column: 58, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\";", span: Span { start: Position { line: 135, column: 27, }, end: Position { line: 135, column: 62, }, }, }, ), ], span: Span { start: Position { line: 135, column: 26, }, end: Position { line: 135, column: 63, }, }, }, ), span: Span { start: Position { line: 135, column: 20, }, end: Position { line: 135, column: 63, }, }, }, ), Identifier( Identifier { id: "socks", span: Span { start: Position { line: 135, column: 65, }, end: Position { line: 135, column: 70, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 134, column: 28, }, end: Position { line: 135, column: 72, }, }, }, ), span: Span { start: Position { line: 134, column: 19, }, end: Position { line: 135, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rspamdConfFile", span: Span { start: Position { line: 137, column: 3, }, end: Position { line: 137, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 137, column: 20, }, end: Position { line: 137, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 137, column: 25, }, end: Position { line: 137, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "rspamd.conf", span: Span { start: Position { line: 137, column: 36, }, end: Position { line: 137, column: 47, }, }, }, ), ], span: Span { start: Position { line: 137, column: 35, }, end: Position { line: 137, column: 48, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: ".include \"$CONFDIR/common.conf\"\n\noptions {\n pidfile = \"$RUNDIR/rspamd.pid\";\n .include \"$CONFDIR/options.inc\"\n .include(try=true; priority=1,duplicate=merge) \"$LOCAL_CONFDIR/local.d/options.inc\"\n .include(try=true; priority=10) \"$LOCAL_CONFDIR/override.d/options.inc\"\n}\n\nlogging {\n type = \"syslog\";\n .include \"$CONFDIR/logging.inc\"\n .include(try=true; priority=1,duplicate=merge) \"$LOCAL_CONFDIR/local.d/logging.inc\"\n .include(try=true; priority=10) \"$LOCAL_CONFDIR/override.d/logging.inc\"\n}\n\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 155, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 155, column: 9, }, end: Position { line: 155, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 155, column: 27, }, end: Position { line: 155, column: 29, }, }, }, ), ], span: Span { start: Position { line: 155, column: 26, }, end: Position { line: 155, column: 30, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 155, column: 32, }, end: Position { line: 155, column: 46, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "includeName", span: Span { start: Position { line: 156, column: 11, }, end: Position { line: 156, column: 22, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 156, column: 28, }, end: Position { line: 156, column: 32, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 156, column: 37, }, end: Position { line: 156, column: 49, }, }, }, ), ], span: Span { start: Position { line: 156, column: 36, }, end: Position { line: 156, column: 50, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 156, column: 57, }, end: Position { line: 156, column: 62, }, }, }, ), ], span: Span { start: Position { line: 156, column: 56, }, end: Position { line: 156, column: 63, }, }, }, ), else_: Identifier( Identifier { id: "name", span: Span { start: Position { line: 156, column: 69, }, end: Position { line: 156, column: 73, }, }, }, ), span: Span { start: Position { line: 156, column: 25, }, end: Position { line: 156, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tryOverride", span: Span { start: Position { line: 157, column: 11, }, end: Position { line: 157, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "boolToString", span: Span { start: Position { line: 157, column: 25, }, end: Position { line: 157, column: 37, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 157, column: 39, }, end: Position { line: 157, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 157, column: 45, }, end: Position { line: 157, column: 56, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 157, column: 60, }, end: Position { line: 157, column: 62, }, }, }, ), }, ), ], }, ), }, ), ], target: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "worker \"", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 159, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 159, column: 19, }, end: Position { line: 159, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 25, }, end: Position { line: 159, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" {\n type = \"", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 160, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 160, column: 21, }, end: Position { line: 160, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 160, column: 27, }, end: Position { line: 160, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\";\n ", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 161, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 161, column: 13, }, end: Position { line: 161, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 161, column: 29, }, end: Position { line: 161, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 161, column: 35, }, end: Position { line: 161, column: 41, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 161, column: 45, }, end: Position { line: 161, column: 49, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "enabled = ", span: Span { start: Position { line: 162, column: 14, }, end: Position { line: 162, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 162, column: 29, }, end: Position { line: 162, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 162, column: 35, }, end: Position { line: 162, column: 41, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "false", span: Span { start: Position { line: 162, column: 45, }, end: Position { line: 162, column: 50, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "yes", span: Span { start: Position { line: 162, column: 57, }, end: Position { line: 162, column: 60, }, }, }, ), ], span: Span { start: Position { line: 162, column: 56, }, end: Position { line: 162, column: 61, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "no", span: Span { start: Position { line: 162, column: 68, }, end: Position { line: 162, column: 70, }, }, }, ), ], span: Span { start: Position { line: 162, column: 67, }, end: Position { line: 162, column: 71, }, }, }, ), span: Span { start: Position { line: 162, column: 26, }, end: Position { line: 162, column: 71, }, }, }, ), }, ), Raw( PartRaw { content: ";", span: Span { start: Position { line: 162, column: 14, }, end: Position { line: 162, column: 73, }, }, }, ), ], span: Span { start: Position { line: 162, column: 13, }, end: Position { line: 162, column: 74, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 163, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkBindSockets", span: Span { start: Position { line: 163, column: 13, }, end: Position { line: 163, column: 26, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 163, column: 27, }, end: Position { line: 163, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 163, column: 33, }, end: Position { line: 163, column: 39, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 163, column: 40, }, end: Position { line: 163, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bindSockets", span: Span { start: Position { line: 163, column: 46, }, end: Position { line: 163, column: 57, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 164, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 164, column: 13, }, end: Position { line: 164, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 164, column: 29, }, end: Position { line: 164, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "count", span: Span { start: Position { line: 164, column: 35, }, end: Position { line: 164, column: 40, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 164, column: 44, }, end: Position { line: 164, column: 48, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "count = ", span: Span { start: Position { line: 164, column: 51, }, end: Position { line: 164, column: 82, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 164, column: 61, }, end: Position { line: 164, column: 69, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 164, column: 70, }, end: Position { line: 164, column: 75, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "count", span: Span { start: Position { line: 164, column: 76, }, end: Position { line: 164, column: 81, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: ";", span: Span { start: Position { line: 164, column: 51, }, end: Position { line: 164, column: 83, }, }, }, ), ], span: Span { start: Position { line: 164, column: 50, }, end: Position { line: 164, column: 84, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 165, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 165, column: 13, }, end: Position { line: 165, column: 29, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 165, column: 31, }, end: Position { line: 165, column: 35, }, }, }, ), ], span: Span { start: Position { line: 165, column: 30, }, end: Position { line: 165, column: 36, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 165, column: 38, }, end: Position { line: 165, column: 41, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "each", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: ".include \"", span: Span { start: Position { line: 165, column: 50, }, end: Position { line: 165, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "each", span: Span { start: Position { line: 165, column: 63, }, end: Position { line: 165, column: 67, }, }, }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 165, column: 50, }, end: Position { line: 165, column: 70, }, }, }, ), ], span: Span { start: Position { line: 165, column: 49, }, end: Position { line: 165, column: 71, }, }, }, ), span: Span { start: Position { line: 165, column: 43, }, end: Position { line: 165, column: 71, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 165, column: 73, }, end: Position { line: 165, column: 78, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "includes", span: Span { start: Position { line: 165, column: 79, }, end: Position { line: 165, column: 87, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n .include(try=true; priority=1,duplicate=merge) \"$LOCAL_CONFDIR/local.d/worker-", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 166, column: 89, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "includeName", span: Span { start: Position { line: 166, column: 91, }, end: Position { line: 166, column: 102, }, }, }, ), }, ), Raw( PartRaw { content: ".inc\"\n .include(try=", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 167, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "tryOverride", span: Span { start: Position { line: 167, column: 26, }, end: Position { line: 167, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "; priority=10) \"$LOCAL_CONFDIR/override.d/worker-", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 167, column: 87, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "includeName", span: Span { start: Position { line: 167, column: 89, }, end: Position { line: 167, column: 100, }, }, }, ), }, ), Raw( PartRaw { content: ".inc\"\n}\n", span: Span { start: Position { line: 159, column: 1, }, end: Position { line: 169, column: 7, }, }, }, ), ], span: Span { start: Position { line: 158, column: 12, }, end: Position { line: 169, column: 9, }, }, }, ), span: Span { start: Position { line: 155, column: 61, }, end: Position { line: 169, column: 9, }, }, }, ), span: Span { start: Position { line: 155, column: 54, }, end: Position { line: 169, column: 9, }, }, }, ), span: Span { start: Position { line: 155, column: 48, }, end: Position { line: 169, column: 9, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 169, column: 11, }, end: Position { line: 169, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workers", span: Span { start: Position { line: 169, column: 15, }, end: Position { line: 169, column: 22, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 171, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 171, column: 9, }, end: Position { line: 171, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 171, column: 25, }, end: Position { line: 171, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 171, column: 29, }, end: Position { line: 171, column: 40, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 171, column: 44, }, end: Position { line: 171, column: 46, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: ".include(priority=10) \"$LOCAL_CONFDIR/override.d/extra-config.inc\"\n", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 173, column: 7, }, }, }, ), ], span: Span { start: Position { line: 171, column: 48, }, end: Position { line: 173, column: 9, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 174, column: 4, }, }, }, ), ], span: Span { start: Position { line: 138, column: 5, }, end: Position { line: 174, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filterFiles", span: Span { start: Position { line: 176, column: 3, }, end: Position { line: 176, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "files", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 176, column: 24, }, end: Position { line: 176, column: 35, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 176, column: 43, }, end: Position { line: 176, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 176, column: 45, }, end: Position { line: 176, column: 51, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 176, column: 40, }, end: Position { line: 176, column: 51, }, }, }, ), span: Span { start: Position { line: 176, column: 37, }, end: Position { line: 176, column: 51, }, }, }, ), Identifier( Identifier { id: "files", span: Span { start: Position { line: 176, column: 53, }, end: Position { line: 176, column: 58, }, }, }, ), ], }, ), span: Span { start: Position { line: 176, column: 17, }, end: Position { line: 176, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rspamdDir", span: Span { start: Position { line: 177, column: 3, }, end: Position { line: 177, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 177, column: 15, }, end: Position { line: 177, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "linkFarm", span: Span { start: Position { line: 177, column: 20, }, end: Position { line: 177, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "etc-rspamd-dir", span: Span { start: Position { line: 177, column: 30, }, end: Position { line: 177, column: 44, }, }, }, ), ], span: Span { start: Position { line: 177, column: 29, }, end: Position { line: 177, column: 45, }, }, }, ), BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 178, column: 6, }, end: Position { line: 178, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 178, column: 36, }, end: Position { line: 178, column: 40, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "local.d/", span: Span { start: Position { line: 178, column: 44, }, end: Position { line: 178, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 178, column: 54, }, end: Position { line: 178, column: 58, }, }, }, ), }, ), ], span: Span { start: Position { line: 178, column: 43, }, end: Position { line: 178, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 178, column: 62, }, end: Position { line: 178, column: 66, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "file", span: Span { start: Position { line: 178, column: 69, }, end: Position { line: 178, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 178, column: 74, }, end: Position { line: 178, column: 80, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 178, column: 34, }, end: Position { line: 178, column: 83, }, }, }, ), span: Span { start: Position { line: 178, column: 28, }, end: Position { line: 178, column: 83, }, }, }, ), span: Span { start: Position { line: 178, column: 22, }, end: Position { line: 178, column: 83, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterFiles", span: Span { start: Position { line: 178, column: 86, }, end: Position { line: 178, column: 97, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 178, column: 98, }, end: Position { line: 178, column: 101, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "locals", span: Span { start: Position { line: 178, column: 102, }, end: Position { line: 178, column: 108, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 179, column: 6, }, end: Position { line: 179, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 179, column: 36, }, end: Position { line: 179, column: 40, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "override.d/", span: Span { start: Position { line: 179, column: 44, }, end: Position { line: 179, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 179, column: 57, }, end: Position { line: 179, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 179, column: 43, }, end: Position { line: 179, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 179, column: 65, }, end: Position { line: 179, column: 69, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "file", span: Span { start: Position { line: 179, column: 72, }, end: Position { line: 179, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 179, column: 77, }, end: Position { line: 179, column: 83, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 179, column: 34, }, end: Position { line: 179, column: 86, }, }, }, ), span: Span { start: Position { line: 179, column: 28, }, end: Position { line: 179, column: 86, }, }, }, ), span: Span { start: Position { line: 179, column: 22, }, end: Position { line: 179, column: 86, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterFiles", span: Span { start: Position { line: 179, column: 89, }, end: Position { line: 179, column: 100, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 179, column: 101, }, end: Position { line: 179, column: 104, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "overrides", span: Span { start: Position { line: 179, column: 105, }, end: Position { line: 179, column: 114, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 180, column: 6, }, end: Position { line: 180, column: 14, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 16, }, end: Position { line: 180, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "localLuaRules", span: Span { start: Position { line: 180, column: 20, }, end: Position { line: 180, column: 33, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 180, column: 37, }, end: Position { line: 180, column: 41, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 180, column: 45, }, end: Position { line: 180, column: 49, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd.local.lua", span: Span { start: Position { line: 180, column: 53, }, end: Position { line: 180, column: 69, }, }, }, ), ], span: Span { start: Position { line: 180, column: 52, }, end: Position { line: 180, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 180, column: 72, }, end: Position { line: 180, column: 76, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 79, }, end: Position { line: 180, column: 82, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "localLuaRules", span: Span { start: Position { line: 180, column: 83, }, end: Position { line: 180, column: 96, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 180, column: 43, }, end: Position { line: 180, column: 99, }, }, }, ), ], }, ), operator: Concatenation, right: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd.conf", span: Span { start: Position { line: 181, column: 17, }, end: Position { line: 181, column: 28, }, }, }, ), ], span: Span { start: Position { line: 181, column: 16, }, end: Position { line: 181, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 181, column: 31, }, end: Position { line: 181, column: 35, }, }, }, ), ], to: Identifier( Identifier { id: "rspamdConfFile", span: Span { start: Position { line: 181, column: 38, }, end: Position { line: 181, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 181, column: 7, }, end: Position { line: 181, column: 55, }, }, }, ), ], span: Span { start: Position { line: 181, column: 5, }, end: Position { line: 181, column: 57, }, }, }, ), }, ), }, ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFileModule", span: Span { start: Position { line: 184, column: 3, }, end: Position { line: 184, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "prefix", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 185, column: 5, }, end: Position { line: 185, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 186, column: 7, }, end: Position { line: 186, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 186, column: 16, }, end: Position { line: 186, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 187, column: 9, }, end: Position { line: 187, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 187, column: 16, }, end: Position { line: 187, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 187, column: 22, }, end: Position { line: 187, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 188, column: 9, }, end: Position { line: 188, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 188, column: 19, }, end: Position { line: 188, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 189, column: 9, }, end: Position { line: 189, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 189, column: 23, }, end: Position { line: 189, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 189, column: 27, }, end: Position { line: 189, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether this file ", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 190, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 190, column: 31, }, end: Position { line: 190, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: " should be generated. This\noption allows specific ", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 191, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 191, column: 36, }, end: Position { line: 191, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: " files to be disabled.\n", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 192, column: 9, }, }, }, ), ], span: Span { start: Position { line: 189, column: 33, }, end: Position { line: 192, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 186, column: 25, }, end: Position { line: 193, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 195, column: 7, }, end: Position { line: 195, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 195, column: 14, }, end: Position { line: 195, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 196, column: 9, }, end: Position { line: 196, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 196, column: 19, }, end: Position { line: 196, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 197, column: 9, }, end: Position { line: 197, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 197, column: 16, }, end: Position { line: 197, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 197, column: 22, }, end: Position { line: 197, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 197, column: 29, }, end: Position { line: 197, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 197, column: 35, }, end: Position { line: 197, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 198, column: 9, }, end: Position { line: 198, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 198, column: 23, }, end: Position { line: 198, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 198, column: 27, }, end: Position { line: 198, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Text of the file.", span: Span { start: Position { line: 198, column: 34, }, end: Position { line: 198, column: 51, }, }, }, ), ], span: Span { start: Position { line: 198, column: 33, }, end: Position { line: 198, column: 52, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 195, column: 23, }, end: Position { line: 199, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 201, column: 7, }, end: Position { line: 201, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 201, column: 16, }, end: Position { line: 201, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 202, column: 16, }, end: Position { line: 202, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 202, column: 22, }, end: Position { line: 202, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 203, column: 9, }, end: Position { line: 203, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 203, column: 23, }, end: Position { line: 203, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 203, column: 27, }, end: Position { line: 203, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Path of the source file.", span: Span { start: Position { line: 203, column: 34, }, end: Position { line: 203, column: 58, }, }, }, ), ], span: Span { start: Position { line: 203, column: 33, }, end: Position { line: 203, column: 59, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 201, column: 25, }, end: Position { line: 204, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 185, column: 15, }, end: Position { line: 205, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 206, column: 5, }, end: Position { line: 206, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 207, column: 7, }, end: Position { line: 207, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 207, column: 16, }, end: Position { line: 207, column: 20, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 207, column: 22, }, end: Position { line: 207, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 207, column: 29, }, end: Position { line: 207, column: 33, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 207, column: 37, }, end: Position { line: 207, column: 41, }, }, }, ), }, ), LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name'", span: Span { start: Position { line: 208, column: 13, }, end: Position { line: 208, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "rspamd-", span: Span { start: Position { line: 208, column: 22, }, end: Position { line: 208, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 208, column: 31, }, end: Position { line: 208, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "-", span: Span { start: Position { line: 208, column: 22, }, end: Position { line: 208, column: 39, }, }, }, ), ], span: Span { start: Position { line: 208, column: 21, }, end: Position { line: 208, column: 40, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "baseNameOf", span: Span { start: Position { line: 208, column: 43, }, end: Position { line: 208, column: 53, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 208, column: 54, }, end: Position { line: 208, column: 58, }, }, }, ), ], }, ), }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 209, column: 12, }, end: Position { line: 209, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 209, column: 23, }, end: Position { line: 209, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 209, column: 28, }, end: Position { line: 209, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name'", span: Span { start: Position { line: 209, column: 38, }, end: Position { line: 209, column: 43, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 209, column: 44, }, end: Position { line: 209, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 209, column: 51, }, end: Position { line: 209, column: 55, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 208, column: 9, }, end: Position { line: 209, column: 56, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 206, column: 14, }, end: Position { line: 210, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 184, column: 53, }, end: Position { line: 211, column: 4, }, }, }, ), span: Span { start: Position { line: 184, column: 30, }, end: Position { line: 211, column: 4, }, }, }, ), span: Span { start: Position { line: 184, column: 22, }, end: Position { line: 211, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configOverrides", span: Span { start: Position { line: 213, column: 3, }, end: Position { line: 213, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs'", span: Span { start: Position { line: 214, column: 6, }, end: Position { line: 214, column: 15, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 214, column: 23, }, end: Position { line: 214, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "worker-", span: Span { start: Position { line: 214, column: 38, }, end: Position { line: 214, column: 90, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "n", span: Span { start: Position { line: 214, column: 50, }, end: Position { line: 214, column: 51, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 214, column: 56, }, end: Position { line: 214, column: 68, }, }, }, ), ], span: Span { start: Position { line: 214, column: 55, }, end: Position { line: 214, column: 69, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 214, column: 76, }, end: Position { line: 214, column: 81, }, }, }, ), ], span: Span { start: Position { line: 214, column: 75, }, end: Position { line: 214, column: 82, }, }, }, ), else_: Identifier( Identifier { id: "n", span: Span { start: Position { line: 214, column: 88, }, end: Position { line: 214, column: 89, }, }, }, ), span: Span { start: Position { line: 214, column: 47, }, end: Position { line: 214, column: 89, }, }, }, ), }, ), Raw( PartRaw { content: ".inc", span: Span { start: Position { line: 214, column: 38, }, end: Position { line: 214, column: 94, }, }, }, ), ], span: Span { start: Position { line: 214, column: 37, }, end: Position { line: 214, column: 95, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 215, column: 7, }, end: Position { line: 215, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 215, column: 14, }, end: Position { line: 215, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 215, column: 16, }, end: Position { line: 215, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 214, column: 96, }, end: Position { line: 216, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 214, column: 20, }, end: Position { line: 216, column: 6, }, }, }, ), span: Span { start: Position { line: 214, column: 17, }, end: Position { line: 216, column: 6, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 217, column: 6, }, end: Position { line: 217, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 217, column: 25, }, end: Position { line: 217, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 217, column: 27, }, end: Position { line: 217, column: 38, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 217, column: 42, }, end: Position { line: 217, column: 44, }, }, }, ), }, ), span: Span { start: Position { line: 217, column: 22, }, end: Position { line: 217, column: 44, }, }, }, ), span: Span { start: Position { line: 217, column: 19, }, end: Position { line: 217, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 217, column: 46, }, end: Position { line: 217, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workers", span: Span { start: Position { line: 217, column: 50, }, end: Position { line: 217, column: 57, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), operator: Update, right: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 218, column: 12, }, end: Position { line: 218, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 218, column: 16, }, end: Position { line: 218, column: 27, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 218, column: 31, }, end: Position { line: 218, column: 33, }, }, }, ), }, ), then: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 218, column: 39, }, end: Position { line: 218, column: 41, }, }, }, ), else_: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "extra-config.inc", span: Span { start: Position { line: 219, column: 8, }, end: Position { line: 219, column: 24, }, }, }, ), ], span: Span { start: Position { line: 219, column: 7, }, end: Position { line: 219, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 219, column: 26, }, end: Position { line: 219, column: 30, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 219, column: 33, }, end: Position { line: 219, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 219, column: 37, }, end: Position { line: 219, column: 48, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 218, column: 47, }, end: Position { line: 220, column: 6, }, }, }, ), span: Span { start: Position { line: 218, column: 9, }, end: Position { line: 220, column: 6, }, }, }, ), }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 226, column: 3, }, end: Position { line: 226, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 228, column: 5, }, end: Position { line: 228, column: 13, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 228, column: 14, }, end: Position { line: 228, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 230, column: 7, }, end: Position { line: 230, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 230, column: 16, }, end: Position { line: 230, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 230, column: 32, }, end: Position { line: 230, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 230, column: 36, }, end: Position { line: 230, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "rspamd, the Rapid spam filtering system", span: Span { start: Position { line: 230, column: 43, }, end: Position { line: 230, column: 82, }, }, }, ), ], span: Span { start: Position { line: 230, column: 42, }, end: Position { line: 230, column: 83, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "debug", span: Span { start: Position { line: 232, column: 7, }, end: Position { line: 232, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 232, column: 15, }, end: Position { line: 232, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 233, column: 9, }, end: Position { line: 233, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 233, column: 16, }, end: Position { line: 233, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 233, column: 22, }, end: Position { line: 233, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 234, column: 9, }, end: Position { line: 234, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 234, column: 19, }, end: Position { line: 234, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 235, column: 9, }, end: Position { line: 235, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 235, column: 23, }, end: Position { line: 235, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 235, column: 27, }, end: Position { line: 235, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to run the rspamd daemon in debug mode.", span: Span { start: Position { line: 235, column: 34, }, end: Position { line: 235, column: 81, }, }, }, ), ], span: Span { start: Position { line: 235, column: 33, }, end: Position { line: 235, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 232, column: 24, }, end: Position { line: 236, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "locals", span: Span { start: Position { line: 238, column: 7, }, end: Position { line: 238, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 238, column: 16, }, end: Position { line: 238, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 239, column: 9, }, end: Position { line: 239, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 239, column: 21, }, end: Position { line: 239, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 239, column: 28, }, end: Position { line: 239, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 239, column: 37, }, end: Position { line: 239, column: 46, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "configFileModule", span: Span { start: Position { line: 239, column: 48, }, end: Position { line: 239, column: 64, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "locals", span: Span { start: Position { line: 239, column: 66, }, end: Position { line: 239, column: 72, }, }, }, ), ], span: Span { start: Position { line: 239, column: 65, }, end: Position { line: 239, column: 73, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 239, column: 16, }, end: Position { line: 239, column: 75, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 240, column: 9, }, end: Position { line: 240, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 240, column: 19, }, end: Position { line: 240, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 241, column: 9, }, end: Position { line: 241, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 241, column: 23, }, end: Position { line: 241, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 241, column: 27, }, end: Position { line: 241, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Local configuration files, written into {file}`/etc/rspamd/local.d/{name}`.\n", span: Span { start: Position { line: 242, column: 1, }, end: Position { line: 243, column: 9, }, }, }, ), ], span: Span { start: Position { line: 241, column: 33, }, end: Position { line: 243, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 244, column: 9, }, end: Position { line: 244, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 244, column: 19, }, end: Position { line: 244, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{ \"redis.conf\".source = \"/nix/store/.../etc/dir/redis.conf\";\n \"arc.conf\".text = \"allow_envfrom_empty = true;\";\n}\n", span: Span { start: Position { line: 245, column: 1, }, end: Position { line: 248, column: 9, }, }, }, ), ], span: Span { start: Position { line: 244, column: 37, }, end: Position { line: 248, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 238, column: 25, }, end: Position { line: 249, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrides", span: Span { start: Position { line: 251, column: 7, }, end: Position { line: 251, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 251, column: 19, }, end: Position { line: 251, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 252, column: 9, }, end: Position { line: 252, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 252, column: 21, }, end: Position { line: 252, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 252, column: 28, }, end: Position { line: 252, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 252, column: 37, }, end: Position { line: 252, column: 46, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "configFileModule", span: Span { start: Position { line: 252, column: 48, }, end: Position { line: 252, column: 64, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "overrides", span: Span { start: Position { line: 252, column: 66, }, end: Position { line: 252, column: 75, }, }, }, ), ], span: Span { start: Position { line: 252, column: 65, }, end: Position { line: 252, column: 76, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 252, column: 16, }, end: Position { line: 252, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 253, column: 9, }, end: Position { line: 253, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 253, column: 19, }, end: Position { line: 253, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 254, column: 9, }, end: Position { line: 254, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 254, column: 23, }, end: Position { line: 254, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 254, column: 27, }, end: Position { line: 254, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Overridden configuration files, written into {file}`/etc/rspamd/override.d/{name}`.\n", span: Span { start: Position { line: 255, column: 1, }, end: Position { line: 256, column: 9, }, }, }, ), ], span: Span { start: Position { line: 254, column: 33, }, end: Position { line: 256, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 257, column: 9, }, end: Position { line: 257, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 257, column: 19, }, end: Position { line: 257, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{ \"redis.conf\".source = \"/nix/store/.../etc/dir/redis.conf\";\n \"arc.conf\".text = \"allow_envfrom_empty = true;\";\n}\n", span: Span { start: Position { line: 258, column: 1, }, end: Position { line: 261, column: 9, }, }, }, ), ], span: Span { start: Position { line: 257, column: 37, }, end: Position { line: 261, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 251, column: 28, }, end: Position { line: 262, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "localLuaRules", span: Span { start: Position { line: 264, column: 7, }, end: Position { line: 264, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 264, column: 23, }, end: Position { line: 264, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 265, column: 9, }, end: Position { line: 265, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 265, column: 19, }, end: Position { line: 265, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 266, column: 9, }, end: Position { line: 266, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 266, column: 16, }, end: Position { line: 266, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 266, column: 22, }, end: Position { line: 266, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 266, column: 29, }, end: Position { line: 266, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 266, column: 35, }, end: Position { line: 266, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 267, column: 9, }, end: Position { line: 267, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 267, column: 23, }, end: Position { line: 267, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 267, column: 27, }, end: Position { line: 267, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path of file to link to {file}`/etc/rspamd/rspamd.local.lua` for local\nrules written in Lua\n", span: Span { start: Position { line: 268, column: 1, }, end: Position { line: 270, column: 9, }, }, }, ), ], span: Span { start: Position { line: 267, column: 33, }, end: Position { line: 270, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 264, column: 32, }, end: Position { line: 271, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "workers", span: Span { start: Position { line: 273, column: 7, }, end: Position { line: 273, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 273, column: 17, }, end: Position { line: 273, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 274, column: 9, }, end: Position { line: 274, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 274, column: 21, }, end: Position { line: 274, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 274, column: 28, }, end: Position { line: 274, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 274, column: 37, }, end: Position { line: 274, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "workerOpts", span: Span { start: Position { line: 274, column: 47, }, end: Position { line: 274, column: 57, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 274, column: 16, }, end: Position { line: 274, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 275, column: 9, }, end: Position { line: 275, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 275, column: 23, }, end: Position { line: 275, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 275, column: 27, }, end: Position { line: 275, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Attribute set of workers to start.\n", span: Span { start: Position { line: 276, column: 1, }, end: Position { line: 277, column: 9, }, }, }, ), ], span: Span { start: Position { line: 275, column: 33, }, end: Position { line: 277, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 278, column: 9, }, end: Position { line: 278, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "normal", span: Span { start: Position { line: 279, column: 11, }, end: Position { line: 279, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 279, column: 20, }, end: Position { line: 279, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "controller", span: Span { start: Position { line: 280, column: 11, }, end: Position { line: 280, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 280, column: 24, }, end: Position { line: 280, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 278, column: 19, }, end: Position { line: 281, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 282, column: 9, }, end: Position { line: 282, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 282, column: 19, }, end: Position { line: 282, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n normal = {\n includes = [ \"$CONFDIR/worker-normal.inc\" ];\n bindSockets = [{\n socket = \"/run/rspamd/rspamd.sock\";\n mode = \"0660\";\n owner = \"", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 289, column: 26, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 289, column: 29, }, }, }, ), Raw( PartRaw { content: "{config.", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 289, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 289, column: 39, }, end: Position { line: 289, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 289, column: 43, }, end: Position { line: 289, column: 47, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "}\";\n group = \"", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 290, column: 26, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 290, column: 29, }, }, }, ), Raw( PartRaw { content: "{config.", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 290, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 290, column: 39, }, end: Position { line: 290, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 290, column: 43, }, end: Position { line: 290, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "}\";\n }];\n };\n controller = {\n includes = [ \"$CONFDIR/worker-controller.inc\" ];\n bindSockets = [ \"[::1]:11334\" ];\n };\n}\n", span: Span { start: Position { line: 283, column: 1, }, end: Position { line: 298, column: 9, }, }, }, ), ], span: Span { start: Position { line: 282, column: 37, }, end: Position { line: 298, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 273, column: 26, }, end: Position { line: 299, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 301, column: 7, }, end: Position { line: 301, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 301, column: 21, }, end: Position { line: 301, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 302, column: 9, }, end: Position { line: 302, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 302, column: 16, }, end: Position { line: 302, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 302, column: 22, }, end: Position { line: 302, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 303, column: 9, }, end: Position { line: 303, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 303, column: 19, }, end: Position { line: 303, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 304, column: 9, }, end: Position { line: 304, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 304, column: 23, }, end: Position { line: 304, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 304, column: 27, }, end: Position { line: 304, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra configuration to add at the end of the rspamd configuration\nfile.\n", span: Span { start: Position { line: 305, column: 1, }, end: Position { line: 307, column: 9, }, }, }, ), ], span: Span { start: Position { line: 304, column: 33, }, end: Position { line: 307, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 301, column: 30, }, end: Position { line: 308, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 310, column: 7, }, end: Position { line: 310, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 310, column: 14, }, end: Position { line: 310, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 311, column: 9, }, end: Position { line: 311, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 311, column: 16, }, end: Position { line: 311, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 311, column: 22, }, end: Position { line: 311, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 312, column: 9, }, end: Position { line: 312, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 312, column: 20, }, end: Position { line: 312, column: 26, }, }, }, ), ], span: Span { start: Position { line: 312, column: 19, }, end: Position { line: 312, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 313, column: 9, }, end: Position { line: 313, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 313, column: 23, }, end: Position { line: 313, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 313, column: 27, }, end: Position { line: 313, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "User to use when no root privileges are required.\n", span: Span { start: Position { line: 314, column: 1, }, end: Position { line: 315, column: 9, }, }, }, ), ], span: Span { start: Position { line: 313, column: 33, }, end: Position { line: 315, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 310, column: 23, }, end: Position { line: 316, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 318, column: 7, }, end: Position { line: 318, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 318, column: 15, }, end: Position { line: 318, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 319, column: 9, }, end: Position { line: 319, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 319, column: 16, }, end: Position { line: 319, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 319, column: 22, }, end: Position { line: 319, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 320, column: 9, }, end: Position { line: 320, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 320, column: 20, }, end: Position { line: 320, column: 26, }, }, }, ), ], span: Span { start: Position { line: 320, column: 19, }, end: Position { line: 320, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 321, column: 9, }, end: Position { line: 321, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 321, column: 23, }, end: Position { line: 321, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 321, column: 27, }, end: Position { line: 321, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Group to use when no root privileges are required.\n", span: Span { start: Position { line: 322, column: 1, }, end: Position { line: 323, column: 9, }, }, }, ), ], span: Span { start: Position { line: 321, column: 33, }, end: Position { line: 323, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 318, column: 24, }, end: Position { line: 324, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 326, column: 7, }, end: Position { line: 326, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 327, column: 9, }, end: Position { line: 327, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 327, column: 18, }, end: Position { line: 327, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 328, column: 11, }, end: Position { line: 328, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 328, column: 18, }, end: Position { line: 328, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 328, column: 24, }, end: Position { line: 328, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 329, column: 11, }, end: Position { line: 329, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 329, column: 21, }, end: Position { line: 329, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 330, column: 11, }, end: Position { line: 330, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 330, column: 25, }, end: Position { line: 330, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 330, column: 29, }, end: Position { line: 330, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Add rspamd milter to postfix main.conf", span: Span { start: Position { line: 330, column: 36, }, end: Position { line: 330, column: 74, }, }, }, ), ], span: Span { start: Position { line: 330, column: 35, }, end: Position { line: 330, column: 75, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 327, column: 27, }, end: Position { line: 331, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 333, column: 9, }, end: Position { line: 333, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 333, column: 18, }, end: Position { line: 333, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 334, column: 11, }, end: Position { line: 334, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 334, column: 23, }, end: Position { line: 334, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 334, column: 30, }, end: Position { line: 334, column: 37, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "oneOf", span: Span { start: Position { line: 334, column: 39, }, end: Position { line: 334, column: 44, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "bool", span: Span { start: Position { line: 334, column: 47, }, end: Position { line: 334, column: 51, }, }, }, ), Identifier( Identifier { id: "str", span: Span { start: Position { line: 334, column: 52, }, end: Position { line: 334, column: 55, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 334, column: 57, }, end: Position { line: 334, column: 63, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 334, column: 64, }, end: Position { line: 334, column: 67, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 334, column: 45, }, end: Position { line: 334, column: 70, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 334, column: 18, }, end: Position { line: 334, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 335, column: 11, }, end: Position { line: 335, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 335, column: 25, }, end: Position { line: 335, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 335, column: 29, }, end: Position { line: 335, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Addon to postfix configuration\n", span: Span { start: Position { line: 336, column: 1, }, end: Position { line: 337, column: 11, }, }, }, ), ], span: Span { start: Position { line: 335, column: 35, }, end: Position { line: 337, column: 13, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 338, column: 11, }, end: Position { line: 338, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "smtpd_milters", span: Span { start: Position { line: 339, column: 13, }, end: Position { line: 339, column: 26, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "unix:/run/rspamd/rspamd-milter.sock", span: Span { start: Position { line: 339, column: 31, }, end: Position { line: 339, column: 66, }, }, }, ), ], span: Span { start: Position { line: 339, column: 30, }, end: Position { line: 339, column: 67, }, }, }, ), ], span: Span { start: Position { line: 339, column: 29, }, end: Position { line: 339, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "non_smtpd_milters", span: Span { start: Position { line: 340, column: 13, }, end: Position { line: 340, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "unix:/run/rspamd/rspamd-milter.sock", span: Span { start: Position { line: 340, column: 35, }, end: Position { line: 340, column: 70, }, }, }, ), ], span: Span { start: Position { line: 340, column: 34, }, end: Position { line: 340, column: 71, }, }, }, ), ], span: Span { start: Position { line: 340, column: 33, }, end: Position { line: 340, column: 72, }, }, }, ), }, ), ], span: Span { start: Position { line: 338, column: 21, }, end: Position { line: 341, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 333, column: 27, }, end: Position { line: 342, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 326, column: 17, }, end: Position { line: 343, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 228, column: 23, }, end: Position { line: 344, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 226, column: 13, }, end: Position { line: 345, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 350, column: 3, }, end: Position { line: 350, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 350, column: 12, }, end: Position { line: 350, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 350, column: 17, }, end: Position { line: 350, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 350, column: 21, }, end: Position { line: 350, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 351, column: 5, }, end: Position { line: 351, column: 13, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 351, column: 14, }, end: Position { line: 351, column: 20, }, }, }, ), Raw( PartRaw { content: "overrides", span: Span { start: Position { line: 351, column: 21, }, end: Position { line: 351, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "configOverrides", span: Span { start: Position { line: 351, column: 33, }, end: Position { line: 351, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 352, column: 5, }, end: Position { line: 352, column: 13, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 352, column: 14, }, end: Position { line: 352, column: 20, }, }, }, ), Raw( PartRaw { content: "workers", span: Span { start: Position { line: 352, column: 21, }, end: Position { line: 352, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 352, column: 31, }, end: Position { line: 352, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 352, column: 36, }, end: Position { line: 352, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 352, column: 40, }, end: Position { line: 352, column: 47, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 352, column: 48, }, end: Position { line: 352, column: 54, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "controller", span: Span { start: Position { line: 353, column: 7, }, end: Position { line: 353, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 353, column: 20, }, end: Position { line: 353, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rspamd_proxy", span: Span { start: Position { line: 354, column: 7, }, end: Position { line: 354, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindSockets", span: Span { start: Position { line: 355, column: 9, }, end: Position { line: 355, column: 20, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mode", span: Span { start: Position { line: 356, column: 11, }, end: Position { line: 356, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0660", span: Span { start: Position { line: 356, column: 19, }, end: Position { line: 356, column: 23, }, }, }, ), ], span: Span { start: Position { line: 356, column: 18, }, end: Position { line: 356, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 357, column: 11, }, end: Position { line: 357, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/rspamd/rspamd-milter.sock", span: Span { start: Position { line: 357, column: 21, }, end: Position { line: 357, column: 51, }, }, }, ), ], span: Span { start: Position { line: 357, column: 20, }, end: Position { line: 357, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 358, column: 11, }, end: Position { line: 358, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 358, column: 19, }, end: Position { line: 358, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 358, column: 23, }, end: Position { line: 358, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 359, column: 11, }, end: Position { line: 359, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "postfixCfg", span: Span { start: Position { line: 359, column: 19, }, end: Position { line: 359, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 359, column: 30, }, end: Position { line: 359, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 355, column: 25, }, end: Position { line: 360, column: 10, }, }, }, ), ], span: Span { start: Position { line: 355, column: 23, }, end: Position { line: 360, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 361, column: 9, }, end: Position { line: 361, column: 20, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "upstream \"local\" {\n default = yes; # Self-scan upstreams are always default\n self_scan = yes; # Enable self-scan\n}\n", span: Span { start: Position { line: 362, column: 1, }, end: Position { line: 366, column: 9, }, }, }, ), ], span: Span { start: Position { line: 361, column: 23, }, end: Position { line: 366, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 354, column: 22, }, end: Position { line: 367, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 352, column: 55, }, end: Position { line: 368, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 369, column: 5, }, end: Position { line: 369, column: 13, }, }, }, ), Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 369, column: 14, }, end: Position { line: 369, column: 21, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 369, column: 22, }, end: Position { line: 369, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 369, column: 31, }, end: Position { line: 369, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 369, column: 36, }, end: Position { line: 369, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 369, column: 40, }, end: Position { line: 369, column: 47, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 369, column: 48, }, end: Position { line: 369, column: 54, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 369, column: 55, }, end: Position { line: 369, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 369, column: 59, }, end: Position { line: 369, column: 66, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 369, column: 67, }, end: Position { line: 369, column: 73, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 371, column: 5, }, end: Position { line: 371, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 371, column: 13, }, end: Position { line: 371, column: 21, }, }, }, ), Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 371, column: 22, }, end: Position { line: 371, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 371, column: 32, }, end: Position { line: 371, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 371, column: 37, }, end: Position { line: 371, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 371, column: 41, }, end: Position { line: 371, column: 48, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 371, column: 49, }, end: Position { line: 371, column: 55, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 372, column: 7, }, end: Position { line: 372, column: 20, }, }, }, ), Raw( PartRaw { content: "SupplementaryGroups", span: Span { start: Position { line: 372, column: 21, }, end: Position { line: 372, column: 40, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "postfixCfg", span: Span { start: Position { line: 372, column: 45, }, end: Position { line: 372, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 372, column: 56, }, end: Position { line: 372, column: 61, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 372, column: 43, }, end: Position { line: 372, column: 63, }, }, }, ), }, ), ], span: Span { start: Position { line: 371, column: 56, }, end: Position { line: 373, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 376, column: 5, }, end: Position { line: 376, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 376, column: 17, }, end: Position { line: 376, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 376, column: 36, }, end: Position { line: 376, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 376, column: 41, }, end: Position { line: 376, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 376, column: 34, }, end: Position { line: 376, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 378, column: 5, }, end: Position { line: 378, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 378, column: 11, }, end: Position { line: 378, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 378, column: 19, }, end: Position { line: 378, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 378, column: 23, }, end: Position { line: 378, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 379, column: 7, }, end: Position { line: 379, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd daemon", span: Span { start: Position { line: 379, column: 22, }, end: Position { line: 379, column: 35, }, }, }, ), ], span: Span { start: Position { line: 379, column: 21, }, end: Position { line: 379, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 380, column: 7, }, end: Position { line: 380, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 380, column: 13, }, end: Position { line: 380, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 380, column: 20, }, end: Position { line: 380, column: 23, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 380, column: 24, }, end: Position { line: 380, column: 28, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 380, column: 29, }, end: Position { line: 380, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 381, column: 7, }, end: Position { line: 381, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 381, column: 15, }, end: Position { line: 381, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 381, column: 19, }, end: Position { line: 381, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 378, column: 31, }, end: Position { line: 382, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 384, column: 5, }, end: Position { line: 384, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 384, column: 11, }, end: Position { line: 384, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 384, column: 20, }, end: Position { line: 384, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 384, column: 24, }, end: Position { line: 384, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gid", span: Span { start: Position { line: 385, column: 7, }, end: Position { line: 385, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 385, column: 13, }, end: Position { line: 385, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 385, column: 20, }, end: Position { line: 385, column: 23, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 385, column: 24, }, end: Position { line: 385, column: 28, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 385, column: 29, }, end: Position { line: 385, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 384, column: 33, }, end: Position { line: 386, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 388, column: 5, }, end: Position { line: 388, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 388, column: 17, }, end: Position { line: 388, column: 20, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 388, column: 21, }, end: Position { line: 388, column: 27, }, }, }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 388, column: 28, }, end: Position { line: 388, column: 34, }, }, }, ), ], to: Identifier( Identifier { id: "rspamdDir", span: Span { start: Position { line: 388, column: 37, }, end: Position { line: 388, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 390, column: 5, }, end: Position { line: 390, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 390, column: 13, }, end: Position { line: 390, column: 21, }, }, }, ), Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 390, column: 22, }, end: Position { line: 390, column: 28, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 391, column: 7, }, end: Position { line: 391, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Rspamd Service", span: Span { start: Position { line: 391, column: 22, }, end: Position { line: 391, column: 36, }, }, }, ), ], span: Span { start: Position { line: 391, column: 21, }, end: Position { line: 391, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 393, column: 7, }, end: Position { line: 393, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 393, column: 21, }, end: Position { line: 393, column: 38, }, }, }, ), ], span: Span { start: Position { line: 393, column: 20, }, end: Position { line: 393, column: 39, }, }, }, ), ], span: Span { start: Position { line: 393, column: 18, }, end: Position { line: 393, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 394, column: 7, }, end: Position { line: 394, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 394, column: 18, }, end: Position { line: 394, column: 32, }, }, }, ), ], span: Span { start: Position { line: 394, column: 17, }, end: Position { line: 394, column: 33, }, }, }, ), ], span: Span { start: Position { line: 394, column: 15, }, end: Position { line: 394, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 395, column: 7, }, end: Position { line: 395, column: 22, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "rspamdDir", span: Span { start: Position { line: 395, column: 27, }, end: Position { line: 395, column: 36, }, }, }, ), ], span: Span { start: Position { line: 395, column: 25, }, end: Position { line: 395, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 397, column: 7, }, end: Position { line: 397, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 398, column: 9, }, end: Position { line: 398, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 398, column: 24, }, end: Position { line: 398, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 398, column: 29, }, end: Position { line: 398, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/rspamd ", span: Span { start: Position { line: 398, column: 22, }, end: Position { line: 398, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 398, column: 50, }, end: Position { line: 398, column: 64, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 398, column: 65, }, end: Position { line: 398, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "debug", span: Span { start: Position { line: 398, column: 69, }, end: Position { line: 398, column: 74, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-d", span: Span { start: Position { line: 398, column: 76, }, end: Position { line: 398, column: 78, }, }, }, ), ], span: Span { start: Position { line: 398, column: 75, }, end: Position { line: 398, column: 79, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " -c /etc/rspamd/rspamd.conf -f", span: Span { start: Position { line: 398, column: 22, }, end: Position { line: 398, column: 110, }, }, }, ), ], span: Span { start: Position { line: 398, column: 21, }, end: Position { line: 398, column: 111, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 399, column: 9, }, end: Position { line: 399, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 399, column: 20, }, end: Position { line: 399, column: 26, }, }, }, ), ], span: Span { start: Position { line: 399, column: 19, }, end: Position { line: 399, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 401, column: 9, }, end: Position { line: 401, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 401, column: 19, }, end: Position { line: 401, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 401, column: 23, }, end: Position { line: 401, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 401, column: 16, }, end: Position { line: 401, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 402, column: 9, }, end: Position { line: 402, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 402, column: 20, }, end: Position { line: 402, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 402, column: 24, }, end: Position { line: 402, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 402, column: 17, }, end: Position { line: 402, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SupplementaryGroups", span: Span { start: Position { line: 403, column: 9, }, end: Position { line: 403, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 403, column: 31, }, end: Position { line: 403, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 403, column: 36, }, end: Position { line: 403, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 403, column: 40, }, end: Position { line: 403, column: 47, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 403, column: 48, }, end: Position { line: 403, column: 54, }, }, }, ), ], default: None, }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "postfixCfg", span: Span { start: Position { line: 403, column: 57, }, end: Position { line: 403, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 403, column: 68, }, end: Position { line: 403, column: 73, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 403, column: 55, }, end: Position { line: 403, column: 75, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 405, column: 9, }, end: Position { line: 405, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 405, column: 29, }, end: Position { line: 405, column: 35, }, }, }, ), ], span: Span { start: Position { line: 405, column: 28, }, end: Position { line: 405, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectoryMode", span: Span { start: Position { line: 406, column: 9, }, end: Position { line: 406, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0755", span: Span { start: Position { line: 406, column: 33, }, end: Position { line: 406, column: 37, }, }, }, ), ], span: Span { start: Position { line: 406, column: 32, }, end: Position { line: 406, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 407, column: 9, }, end: Position { line: 407, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 407, column: 27, }, end: Position { line: 407, column: 33, }, }, }, ), ], span: Span { start: Position { line: 407, column: 26, }, end: Position { line: 407, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 408, column: 9, }, end: Position { line: 408, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0700", span: Span { start: Position { line: 408, column: 31, }, end: Position { line: 408, column: 35, }, }, }, ), ], span: Span { start: Position { line: 408, column: 30, }, end: Position { line: 408, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "AmbientCapabilities", span: Span { start: Position { line: 410, column: 9, }, end: Position { line: 410, column: 28, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 410, column: 31, }, end: Position { line: 410, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CapabilityBoundingSet", span: Span { start: Position { line: 411, column: 9, }, end: Position { line: 411, column: 30, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 411, column: 33, }, end: Position { line: 411, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DevicePolicy", span: Span { start: Position { line: 412, column: 9, }, end: Position { line: 412, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "closed", span: Span { start: Position { line: 412, column: 25, }, end: Position { line: 412, column: 31, }, }, }, ), ], span: Span { start: Position { line: 412, column: 24, }, end: Position { line: 412, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LockPersonality", span: Span { start: Position { line: 413, column: 9, }, end: Position { line: 413, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 413, column: 27, }, end: Position { line: 413, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NoNewPrivileges", span: Span { start: Position { line: 414, column: 9, }, end: Position { line: 414, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 414, column: 27, }, end: Position { line: 414, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateDevices", span: Span { start: Position { line: 415, column: 9, }, end: Position { line: 415, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 415, column: 26, }, end: Position { line: 415, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateMounts", span: Span { start: Position { line: 416, column: 9, }, end: Position { line: 416, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 416, column: 25, }, end: Position { line: 416, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 417, column: 9, }, end: Position { line: 417, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 417, column: 22, }, end: Position { line: 417, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateUsers", span: Span { start: Position { line: 419, column: 9, }, end: Position { line: 419, column: 21, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 419, column: 25, }, end: Position { line: 419, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postfix", span: Span { start: Position { line: 419, column: 29, }, end: Position { line: 419, column: 36, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 419, column: 37, }, end: Position { line: 419, column: 43, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 419, column: 24, }, end: Position { line: 419, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectClock", span: Span { start: Position { line: 420, column: 9, }, end: Position { line: 420, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 420, column: 24, }, end: Position { line: 420, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 421, column: 9, }, end: Position { line: 421, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 421, column: 32, }, end: Position { line: 421, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 422, column: 9, }, end: Position { line: 422, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 422, column: 23, }, end: Position { line: 422, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHostname", span: Span { start: Position { line: 423, column: 9, }, end: Position { line: 423, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 423, column: 27, }, end: Position { line: 423, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelLogs", span: Span { start: Position { line: 424, column: 9, }, end: Position { line: 424, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 424, column: 29, }, end: Position { line: 424, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 425, column: 9, }, end: Position { line: 425, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 425, column: 32, }, end: Position { line: 425, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 426, column: 9, }, end: Position { line: 426, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 426, column: 33, }, end: Position { line: 426, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 427, column: 9, }, end: Position { line: 427, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 427, column: 26, }, end: Position { line: 427, column: 32, }, }, }, ), ], span: Span { start: Position { line: 427, column: 25, }, end: Position { line: 427, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RemoveIPC", span: Span { start: Position { line: 428, column: 9, }, end: Position { line: 428, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 428, column: 21, }, end: Position { line: 428, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictAddressFamilies", span: Span { start: Position { line: 429, column: 9, }, end: Position { line: 429, column: 32, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "AF_INET", span: Span { start: Position { line: 429, column: 38, }, end: Position { line: 429, column: 45, }, }, }, ), ], span: Span { start: Position { line: 429, column: 37, }, end: Position { line: 429, column: 46, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "AF_INET6", span: Span { start: Position { line: 429, column: 48, }, end: Position { line: 429, column: 56, }, }, }, ), ], span: Span { start: Position { line: 429, column: 47, }, end: Position { line: 429, column: 57, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "AF_UNIX", span: Span { start: Position { line: 429, column: 59, }, end: Position { line: 429, column: 66, }, }, }, ), ], span: Span { start: Position { line: 429, column: 58, }, end: Position { line: 429, column: 67, }, }, }, ), ], span: Span { start: Position { line: 429, column: 35, }, end: Position { line: 429, column: 69, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictNamespaces", span: Span { start: Position { line: 430, column: 9, }, end: Position { line: 430, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 430, column: 30, }, end: Position { line: 430, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictRealtime", span: Span { start: Position { line: 431, column: 9, }, end: Position { line: 431, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 431, column: 28, }, end: Position { line: 431, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictSUIDSGID", span: Span { start: Position { line: 432, column: 9, }, end: Position { line: 432, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 432, column: 28, }, end: Position { line: 432, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallArchitectures", span: Span { start: Position { line: 433, column: 9, }, end: Position { line: 433, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "native", span: Span { start: Position { line: 433, column: 36, }, end: Position { line: 433, column: 42, }, }, }, ), ], span: Span { start: Position { line: 433, column: 35, }, end: Position { line: 433, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 434, column: 9, }, end: Position { line: 434, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@system-service", span: Span { start: Position { line: 434, column: 29, }, end: Position { line: 434, column: 44, }, }, }, ), ], span: Span { start: Position { line: 434, column: 28, }, end: Position { line: 434, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "UMask", span: Span { start: Position { line: 435, column: 9, }, end: Position { line: 435, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0077", span: Span { start: Position { line: 435, column: 18, }, end: Position { line: 435, column: 22, }, }, }, ), ], span: Span { start: Position { line: 435, column: 17, }, end: Position { line: 435, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 397, column: 23, }, end: Position { line: 436, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 390, column: 31, }, end: Position { line: 437, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 350, column: 28, }, end: Position { line: 438, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 439, column: 3, }, end: Position { line: 439, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 440, column: 6, }, end: Position { line: 440, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 440, column: 31, }, end: Position { line: 440, column: 39, }, }, }, ), ], span: Span { start: Position { line: 440, column: 30, }, end: Position { line: 440, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 440, column: 42, }, end: Position { line: 440, column: 48, }, }, }, ), ], span: Span { start: Position { line: 440, column: 41, }, end: Position { line: 440, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "socketActivation", span: Span { start: Position { line: 440, column: 51, }, end: Position { line: 440, column: 67, }, }, }, ), ], span: Span { start: Position { line: 440, column: 50, }, end: Position { line: 440, column: 68, }, }, }, ), ], span: Span { start: Position { line: 440, column: 28, }, end: Position { line: 440, column: 70, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Socket activation never worked correctly and could at this time not be fixed and so was removed", span: Span { start: Position { line: 441, column: 9, }, end: Position { line: 441, column: 104, }, }, }, ), ], span: Span { start: Position { line: 441, column: 8, }, end: Position { line: 441, column: 105, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 442, column: 6, }, end: Position { line: 442, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 442, column: 31, }, end: Position { line: 442, column: 39, }, }, }, ), ], span: Span { start: Position { line: 442, column: 30, }, end: Position { line: 442, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 442, column: 42, }, end: Position { line: 442, column: 48, }, }, }, ), ], span: Span { start: Position { line: 442, column: 41, }, end: Position { line: 442, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "bindSocket", span: Span { start: Position { line: 442, column: 51, }, end: Position { line: 442, column: 61, }, }, }, ), ], span: Span { start: Position { line: 442, column: 50, }, end: Position { line: 442, column: 62, }, }, }, ), ], span: Span { start: Position { line: 442, column: 28, }, end: Position { line: 442, column: 64, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 442, column: 68, }, end: Position { line: 442, column: 76, }, }, }, ), ], span: Span { start: Position { line: 442, column: 67, }, end: Position { line: 442, column: 77, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 442, column: 79, }, end: Position { line: 442, column: 85, }, }, }, ), ], span: Span { start: Position { line: 442, column: 78, }, end: Position { line: 442, column: 86, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "workers", span: Span { start: Position { line: 442, column: 88, }, end: Position { line: 442, column: 95, }, }, }, ), ], span: Span { start: Position { line: 442, column: 87, }, end: Position { line: 442, column: 96, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "normal", span: Span { start: Position { line: 442, column: 98, }, end: Position { line: 442, column: 104, }, }, }, ), ], span: Span { start: Position { line: 442, column: 97, }, end: Position { line: 442, column: 105, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "bindSockets", span: Span { start: Position { line: 442, column: 107, }, end: Position { line: 442, column: 118, }, }, }, ), ], span: Span { start: Position { line: 442, column: 106, }, end: Position { line: 442, column: 119, }, }, }, ), ], span: Span { start: Position { line: 442, column: 65, }, end: Position { line: 442, column: 121, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 443, column: 6, }, end: Position { line: 443, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 443, column: 31, }, end: Position { line: 443, column: 39, }, }, }, ), ], span: Span { start: Position { line: 443, column: 30, }, end: Position { line: 443, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 443, column: 42, }, end: Position { line: 443, column: 48, }, }, }, ), ], span: Span { start: Position { line: 443, column: 41, }, end: Position { line: 443, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "bindUISocket", span: Span { start: Position { line: 443, column: 51, }, end: Position { line: 443, column: 63, }, }, }, ), ], span: Span { start: Position { line: 443, column: 50, }, end: Position { line: 443, column: 64, }, }, }, ), ], span: Span { start: Position { line: 443, column: 28, }, end: Position { line: 443, column: 66, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 443, column: 70, }, end: Position { line: 443, column: 78, }, }, }, ), ], span: Span { start: Position { line: 443, column: 69, }, end: Position { line: 443, column: 79, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rspamd", span: Span { start: Position { line: 443, column: 81, }, end: Position { line: 443, column: 87, }, }, }, ), ], span: Span { start: Position { line: 443, column: 80, }, end: Position { line: 443, column: 88, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "workers", span: Span { start: Position { line: 443, column: 90, }, end: Position { line: 443, column: 97, }, }, }, ), ], span: Span { start: Position { line: 443, column: 89, }, end: Position { line: 443, column: 98, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "controller", span: Span { start: Position { line: 443, column: 100, }, end: Position { line: 443, column: 110, }, }, }, ), ], span: Span { start: Position { line: 443, column: 99, }, end: Position { line: 443, column: 111, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "bindSockets", span: Span { start: Position { line: 443, column: 113, }, end: Position { line: 443, column: 124, }, }, }, ), ], span: Span { start: Position { line: 443, column: 112, }, end: Position { line: 443, column: 125, }, }, }, ), ], span: Span { start: Position { line: 443, column: 67, }, end: Position { line: 443, column: 127, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 444, column: 6, }, end: Position { line: 444, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 444, column: 31, }, end: Position { line: 444, column: 39, }, }, }, ), ], span: Span { start: Position { line: 444, column: 30, }, end: Position { line: 444, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rmilter", span: Span { start: Position { line: 444, column: 42, }, end: Position { line: 444, column: 49, }, }, }, ), ], span: Span { start: Position { line: 444, column: 41, }, end: Position { line: 444, column: 50, }, }, }, ), ], span: Span { start: Position { line: 444, column: 28, }, end: Position { line: 444, column: 52, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Use services.rspamd.* instead to set up milter service", span: Span { start: Position { line: 444, column: 54, }, end: Position { line: 444, column: 108, }, }, }, ), ], span: Span { start: Position { line: 444, column: 53, }, end: Position { line: 444, column: 109, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 439, column: 13, }, end: Position { line: 445, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 446, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 446, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 446, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 446, column: 2, }, }, }, )