Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "sane", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 29, }, }, }, ), Raw( PartRaw { content: "brscan4", span: Span { start: Position { line: 6, column: 30, }, end: Position { line: 6, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "netDeviceList", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrValues", span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 29, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 8, column: 30, }, end: Position { line: 8, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "netDevices", span: Span { start: Position { line: 8, column: 34, }, end: Position { line: 8, column: 44, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etcFiles", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "callPackage", span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./brscan4_etc_files.nix", span: Span { start: Position { line: 10, column: 31, }, end: Position { line: 10, column: 54, }, }, }, ), ], span: Span { start: Position { line: 10, column: 31, }, end: Position { line: 10, column: 54, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "netDevices", span: Span { start: Position { line: 10, column: 57, }, end: Position { line: 10, column: 67, }, }, }, ), ], to: Identifier( Identifier { id: "netDeviceList", span: Span { start: Position { line: 10, column: 70, }, end: Position { line: 10, column: 83, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 55, }, end: Position { line: 10, column: 86, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "netDeviceOpts", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 16, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 16, }, end: Position { line: 17, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 17, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 23, }, end: Position { line: 18, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 18, column: 27, }, end: Position { line: 18, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The friendly name you give to the network device. If undefined,\nthe name of attribute will be used.\n", span: Span { start: Position { line: 19, column: 1, }, end: Position { line: 21, column: 9, }, }, }, ), ], span: Span { start: Position { line: 18, column: 33, }, end: Position { line: 21, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "office1", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 27, }, }, }, ), ], span: Span { start: Position { line: 23, column: 19, }, end: Position { line: 23, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 23, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "model", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 26, column: 15, }, end: Position { line: 26, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 27, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 25, }, }, }, ), ], default: None, }, ), }, ), 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: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The model of the network device.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 30, column: 9, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 30, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "MFC-7860DW", span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 30, }, }, }, ), ], span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 24, }, end: Position { line: 33, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ip", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 35, column: 12, }, end: Position { line: 35, column: 20, }, }, }, ), 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: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 36, column: 21, }, end: Position { line: 36, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 36, column: 28, }, end: Position { line: 36, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 36, column: 35, }, end: Position { line: 36, column: 38, }, }, }, ), ], }, ), span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 37, column: 19, }, end: Position { line: 37, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 38, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 27, }, end: Position { line: 38, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The ip address of the device. If undefined, you will have to\nprovide a nodename.\n", span: Span { start: Position { line: 39, column: 1, }, end: Position { line: 41, column: 9, }, }, }, ), ], span: Span { start: Position { line: 38, column: 33, }, end: Position { line: 41, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "192.168.1.2", span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 43, column: 31, }, }, }, ), ], span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodename", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 46, column: 18, }, end: Position { line: 46, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 47, column: 21, }, end: Position { line: 47, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 47, column: 28, }, end: Position { line: 47, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 47, column: 35, }, end: Position { line: 47, column: 38, }, }, }, ), ], }, ), span: Span { start: Position { line: 47, column: 16, }, end: Position { line: 47, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 49, column: 23, }, end: Position { line: 49, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 49, column: 27, }, end: Position { line: 49, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The node name of the device. If undefined, you will have to\nprovide an ip.\n", span: Span { start: Position { line: 50, column: 1, }, end: Position { line: 52, column: 9, }, }, }, ), ], span: Span { start: Position { line: 49, column: 33, }, end: Position { line: 52, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "BRW0080927AFBCE", span: Span { start: Position { line: 54, column: 20, }, end: Position { line: 54, column: 35, }, }, }, ), ], span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 55, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 15, }, end: Position { line: 57, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 61, column: 16, }, end: Position { line: 61, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 61, column: 26, }, end: Position { line: 61, column: 30, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 62, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 34, }, end: Position { line: 63, column: 4, }, }, }, ), span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 63, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 68, column: 3, }, end: Position { line: 68, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 70, column: 5, }, end: Position { line: 70, column: 13, }, }, }, ), Raw( PartRaw { content: "sane", span: Span { start: Position { line: 70, column: 14, }, end: Position { line: 70, column: 18, }, }, }, ), Raw( PartRaw { content: "brscan4", span: Span { start: Position { line: 70, column: 19, }, end: Position { line: 70, column: 26, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 70, column: 27, }, end: Position { line: 70, column: 33, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 71, column: 23, }, end: Position { line: 71, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 71, column: 27, }, end: Position { line: 71, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Brother's brscan4 scan backend", span: Span { start: Position { line: 71, column: 34, }, end: Position { line: 71, column: 64, }, }, }, ), ], span: Span { start: Position { line: 71, column: 33, }, end: Position { line: 71, column: 65, }, }, }, ), ], }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 72, column: 25, }, end: Position { line: 72, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "When enabled, will automatically register the \"brscan4\" sane\nbackend and bring configuration files to their expected location.\n", span: Span { start: Position { line: 73, column: 1, }, end: Position { line: 75, column: 7, }, }, }, ), ], span: Span { start: Position { line: 72, column: 31, }, end: Position { line: 75, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 71, column: 70, }, end: Position { line: 76, column: 6, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 78, column: 13, }, }, }, ), Raw( PartRaw { content: "sane", span: Span { start: Position { line: 78, column: 14, }, end: Position { line: 78, column: 18, }, }, }, ), Raw( PartRaw { content: "brscan4", span: Span { start: Position { line: 78, column: 19, }, end: Position { line: 78, column: 26, }, }, }, ), Raw( PartRaw { content: "netDevices", span: Span { start: Position { line: 78, column: 27, }, end: Position { line: 78, column: 37, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 78, column: 40, }, end: Position { line: 78, column: 48, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 79, column: 17, }, end: Position { line: 79, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "office1", span: Span { start: Position { line: 81, column: 11, }, end: Position { line: 81, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "model", span: Span { start: Position { line: 81, column: 23, }, end: Position { line: 81, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "MFC-7860DW", span: Span { start: Position { line: 81, column: 32, }, end: Position { line: 81, column: 42, }, }, }, ), ], span: Span { start: Position { line: 81, column: 31, }, end: Position { line: 81, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ip", span: Span { start: Position { line: 81, column: 45, }, end: Position { line: 81, column: 47, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "192.168.1.2", span: Span { start: Position { line: 81, column: 51, }, end: Position { line: 81, column: 62, }, }, }, ), ], span: Span { start: Position { line: 81, column: 50, }, end: Position { line: 81, column: 63, }, }, }, ), }, ), ], span: Span { start: Position { line: 81, column: 21, }, end: Position { line: 81, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "office2", span: Span { start: Position { line: 82, column: 11, }, end: Position { line: 82, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "model", span: Span { start: Position { line: 82, column: 23, }, end: Position { line: 82, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "MFC-7860DW", span: Span { start: Position { line: 82, column: 32, }, end: Position { line: 82, column: 42, }, }, }, ), ], span: Span { start: Position { line: 82, column: 31, }, end: Position { line: 82, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodename", span: Span { start: Position { line: 82, column: 45, }, end: Position { line: 82, column: 53, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "BRW0080927AFBCE", span: Span { start: Position { line: 82, column: 57, }, end: Position { line: 82, column: 72, }, }, }, ), ], span: Span { start: Position { line: 82, column: 56, }, end: Position { line: 82, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 82, column: 21, }, end: Position { line: 82, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 83, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 84, column: 7, }, end: Position { line: 84, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 19, }, end: Position { line: 84, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 84, column: 26, }, end: Position { line: 84, column: 33, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 84, column: 35, }, end: Position { line: 84, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "netDeviceOpts", span: Span { start: Position { line: 84, column: 45, }, end: Position { line: 84, column: 58, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 84, column: 14, }, end: Position { line: 84, column: 59, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 85, column: 7, }, end: Position { line: 85, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 85, column: 21, }, end: Position { line: 85, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 85, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The list of network devices that will be registered against the brscan4\nsane backend.\n", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 88, column: 7, }, }, }, ), ], span: Span { start: Position { line: 85, column: 31, }, end: Position { line: 88, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 78, column: 49, }, end: Position { line: 89, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 68, column: 13, }, end: Position { line: 90, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 92, column: 3, }, end: Position { line: 92, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 92, column: 12, }, end: Position { line: 92, column: 16, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 92, column: 18, }, end: Position { line: 92, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 92, column: 25, }, end: Position { line: 92, column: 33, }, }, }, ), Raw( PartRaw { content: "sane", span: Span { start: Position { line: 92, column: 34, }, end: Position { line: 92, column: 38, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 92, column: 39, }, end: Position { line: 92, column: 45, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 92, column: 49, }, end: Position { line: 92, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 92, column: 53, }, end: Position { line: 92, column: 59, }, }, }, ), ], default: None, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 94, column: 5, }, end: Position { line: 94, column: 13, }, }, }, ), Raw( PartRaw { content: "sane", span: Span { start: Position { line: 94, column: 14, }, end: Position { line: 94, column: 18, }, }, }, ), Raw( PartRaw { content: "extraBackends", span: Span { start: Position { line: 94, column: 19, }, end: Position { line: 94, column: 32, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 95, column: 7, }, end: Position { line: 95, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "brscan4", span: Span { start: Position { line: 95, column: 12, }, end: Position { line: 95, column: 19, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 94, column: 35, }, end: Position { line: 96, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 98, column: 5, }, end: Position { line: 98, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 98, column: 17, }, end: Position { line: 98, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/brother/scanner/brscan4", span: Span { start: Position { line: 98, column: 22, }, end: Position { line: 98, column: 49, }, }, }, ), ], span: Span { start: Position { line: 98, column: 21, }, end: Position { line: 98, column: 50, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "etcFiles", span: Span { start: Position { line: 99, column: 21, }, end: Position { line: 99, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "/etc/opt/brother/scanner/brscan4", span: Span { start: Position { line: 99, column: 19, }, end: Position { line: 99, column: 62, }, }, }, ), ], span: Span { start: Position { line: 99, column: 18, }, end: Position { line: 99, column: 63, }, }, }, ), }, ), ], span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 101, column: 5, }, end: Position { line: 101, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "all", span: Span { start: Position { line: 102, column: 21, }, end: Position { line: 102, column: 24, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "null", span: Span { start: Position { line: 102, column: 31, }, end: Position { line: 102, column: 35, }, }, }, ), operator: NotEqualTo, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 102, column: 39, }, end: Position { line: 102, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ip", span: Span { start: Position { line: 102, column: 41, }, end: Position { line: 102, column: 43, }, }, }, ), ], default: None, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "null", span: Span { start: Position { line: 102, column: 47, }, end: Position { line: 102, column: 51, }, }, }, ), operator: NotEqualTo, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 102, column: 55, }, end: Position { line: 102, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nodename", span: Span { start: Position { line: 102, column: 57, }, end: Position { line: 102, column: 65, }, }, }, ), ], default: None, }, ), }, ), }, ), span: Span { start: Position { line: 102, column: 29, }, end: Position { line: 102, column: 66, }, }, }, ), span: Span { start: Position { line: 102, column: 26, }, end: Position { line: 102, column: 66, }, }, }, ), Identifier( Identifier { id: "netDeviceList", span: Span { start: Position { line: 102, column: 68, }, end: Position { line: 102, column: 81, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "When describing a network device as part of the attribute list\n`hardware.sane.brscan4.netDevices`, only one of its `ip` or `nodename`\nattribute should be specified, not both!\n", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 107, column: 9, }, }, }, ), ], span: Span { start: Position { line: 103, column: 19, }, end: Position { line: 107, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 102, column: 7, }, end: Position { line: 108, column: 8, }, }, }, ), ], span: Span { start: Position { line: 101, column: 18, }, end: Position { line: 109, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 92, column: 61, }, end: Position { line: 111, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 112, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 112, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 112, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 112, column: 2, }, }, }, )