Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", 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: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mpdCfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 12, }, end: Position { line: 7, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 19, }, end: Position { line: 7, column: 27, }, }, }, ), Raw( PartRaw { content: "mpd", span: Span { start: Position { line: 7, column: 28, }, end: Position { line: 7, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mpdOpt", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 8, column: 12, }, end: Position { line: 8, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 28, }, }, }, ), Raw( PartRaw { content: "mpd", span: Span { start: Position { line: 8, column: 29, }, end: Position { line: 8, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "endpointUrls", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "last.fm", span: Span { start: Position { line: 11, column: 6, }, end: Position { line: 11, column: 13, }, }, }, ), ], span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 14, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://post.audioscrobbler.com", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 48, }, }, }, ), ], span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "libre.fm", span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 12, column: 14, }, }, }, ), ], span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 15, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://turtle.libre.fm", span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 41, }, }, }, ), ], span: Span { start: Position { line: 12, column: 18, }, end: Position { line: 12, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "jamendo", span: Span { start: Position { line: 13, column: 6, }, end: Position { line: 13, column: 13, }, }, }, ), ], span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 14, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://postaudioscrobbler.jamendo.com", span: Span { start: Position { line: 13, column: 18, }, end: Position { line: 13, column: 55, }, }, }, ), ], span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "listenbrainz", span: Span { start: Position { line: 14, column: 6, }, end: Position { line: 14, column: 18, }, }, }, ), ], span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 19, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://proxy.listenbrainz.org", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 52, }, }, }, ), ], span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 18, }, end: Position { line: 15, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkSection", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "secname", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "secCfg", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 18, column: 6, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "secname", span: Span { start: Position { line: 18, column: 8, }, end: Position { line: 18, column: 15, }, }, }, ), }, ), Raw( PartRaw { content: "]\nurl = ", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 19, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "secCfg", span: Span { start: Position { line: 19, column: 18, }, end: Position { line: 19, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 28, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nusername = ", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 20, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "secCfg", span: Span { start: Position { line: 20, column: 18, }, end: Position { line: 20, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\npassword = {{", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 21, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "secname", span: Span { start: Position { line: 21, column: 20, }, end: Position { line: 21, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "_PASSWORD}}\njournal = /var/lib/mpdscribble/", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 22, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "secname", span: Span { start: Position { line: 22, column: 39, }, end: Position { line: 22, column: 46, }, }, }, ), }, ), Raw( PartRaw { content: ".journal\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 23, column: 3, }, }, }, ), ], span: Span { start: Position { line: 17, column: 32, }, end: Position { line: 23, column: 5, }, }, }, ), span: Span { start: Position { line: 17, column: 24, }, end: Position { line: 23, column: 5, }, }, }, ), span: Span { start: Position { line: 17, column: 15, }, end: Position { line: 23, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "endpoints", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 25, column: 15, }, end: Position { line: 25, column: 31, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 25, column: 35, }, }, }, ), ], span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 25, column: 36, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 25, column: 38, }, end: Position { line: 25, column: 52, }, }, }, ), arguments: [ Identifier( Identifier { id: "mkSection", span: Span { start: Position { line: 25, column: 53, }, end: Position { line: 25, column: 62, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 25, column: 63, }, end: Position { line: 25, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "endpoints", span: Span { start: Position { line: 25, column: 67, }, end: Position { line: 25, column: 76, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfgTemplate", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 26, column: 17, }, end: Position { line: 26, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mpdscribble.conf", span: Span { start: Position { line: 26, column: 33, }, end: Position { line: 26, column: 49, }, }, }, ), ], span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 26, column: 50, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "## This file was automatically genenrated by NixOS and will be overwritten.\n## Do not edit. Edit your NixOS configuration instead.\n\n## mpdscribble - an audioscrobbler for the Music Player Daemon.\n## http://mpd.wikia.com/wiki/Client:mpdscribble\n\n# HTTP proxy URL.\n", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 34, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 21, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 34, column: 27, }, end: Position { line: 34, column: 32, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 34, column: 36, }, end: Position { line: 34, column: 40, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "proxy = ", span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 34, column: 53, }, end: Position { line: 34, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 34, column: 57, }, end: Position { line: 34, column: 62, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 64, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n# The location of the mpdscribble log file. The special value\n# \"syslog\" makes mpdscribble use the local syslog daemon. On most\n# systems, log messages will appear in /var/log/daemon.log then.\n# \"-\" means log to stderr (the current terminal).\nlog = -\n\n# How verbose mpdscribble's logging should be. Default is 1.\nverbose = ", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 43, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 43, column: 17, }, end: Position { line: 43, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 43, column: 26, }, end: Position { line: 43, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "verbose", span: Span { start: Position { line: 43, column: 30, }, end: Position { line: 43, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n# How often should mpdscribble save the journal file? [seconds]\njournal_interval = ", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 46, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 46, column: 26, }, end: Position { line: 46, column: 34, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 46, column: 35, }, end: Position { line: 46, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "journalInterval", span: Span { start: Position { line: 46, column: 39, }, end: Position { line: 46, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n# The host running MPD, possibly protected by a password\n# ([PASSWORD@]HOSTNAME).\nhost = ", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 50, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 50, column: 15, }, end: Position { line: 50, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 31, }, end: Position { line: 50, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 50, column: 35, }, end: Position { line: 50, column: 47, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 50, column: 51, }, end: Position { line: 50, column: 55, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "{{MPD_PASSWORD}}@", span: Span { start: Position { line: 50, column: 58, }, end: Position { line: 50, column: 75, }, }, }, ), ], span: Span { start: Position { line: 50, column: 57, }, end: Position { line: 50, column: 76, }, }, }, ), ], }, ), operator: Addition, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 80, }, end: Position { line: 50, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 50, column: 84, }, end: Position { line: 50, column: 88, }, }, }, ), ], default: None, }, ), }, ), }, ), Raw( PartRaw { content: "\n\n# The port that the MPD listens on and mpdscribble should try to\n# connect to.\nport = ", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 54, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 54, column: 14, }, end: Position { line: 54, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 54, column: 23, }, end: Position { line: 54, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 54, column: 27, }, end: Position { line: 54, column: 31, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 56, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "endpoints", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 16, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 57, column: 3, }, }, }, ), ], span: Span { start: Position { line: 26, column: 51, }, end: Position { line: 57, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfgFile", span: Span { start: Position { line: 59, column: 3, }, end: Position { line: 59, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/mpdscribble/mpdscribble.conf", span: Span { start: Position { line: 59, column: 14, }, end: Position { line: 59, column: 47, }, }, }, ), ], span: Span { start: Position { line: 59, column: 13, }, end: Position { line: 59, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "replaceSecret", span: Span { start: Position { line: 61, column: 3, }, end: Position { line: 61, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "secretFile", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "placeholder", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "targetFile", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 62, column: 5, }, end: Position { line: 62, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "secretFile", span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 31, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 62, column: 35, }, end: Position { line: 62, column: 39, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replace-secret", span: Span { start: Position { line: 63, column: 14, }, end: Position { line: 63, column: 28, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/replace-secret ", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 49, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "placeholder", span: Span { start: Position { line: 63, column: 52, }, end: Position { line: 63, column: 63, }, }, }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 66, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "secretFile", span: Span { start: Position { line: 63, column: 69, }, end: Position { line: 63, column: 79, }, }, }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 82, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 83, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "targetFile", span: Span { start: Position { line: 63, column: 85, }, end: Position { line: 63, column: 95, }, }, }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 63, column: 98, }, }, }, ), ], span: Span { start: Position { line: 62, column: 41, }, end: Position { line: 63, column: 100, }, }, }, ), ], }, ), span: Span { start: Position { line: 61, column: 44, }, end: Position { line: 63, column: 100, }, }, }, ), span: Span { start: Position { line: 61, column: 31, }, end: Position { line: 63, column: 100, }, }, }, ), span: Span { start: Position { line: 61, column: 19, }, end: Position { line: 63, column: 100, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 65, column: 3, }, end: Position { line: 65, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 65, column: 14, }, end: Position { line: 65, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeShellScript", span: Span { start: Position { line: 65, column: 19, }, end: Position { line: 65, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mpdscribble-pre-start", span: Span { start: Position { line: 65, column: 37, }, end: Position { line: 65, column: 58, }, }, }, ), ], span: Span { start: Position { line: 65, column: 36, }, end: Position { line: 65, column: 59, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cp -f \"", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 66, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "cfgTemplate", span: Span { start: Position { line: 66, column: 14, }, end: Position { line: 66, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "\" \"", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 66, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "cfgFile", span: Span { start: Position { line: 66, column: 31, }, end: Position { line: 66, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "\"\n", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 67, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replaceSecret", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 67, column: 25, }, end: Position { line: 67, column: 37, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "{{MPD_PASSWORD}}", span: Span { start: Position { line: 67, column: 39, }, end: Position { line: 67, column: 55, }, }, }, ), ], span: Span { start: Position { line: 67, column: 38, }, end: Position { line: 67, column: 56, }, }, }, ), Identifier( Identifier { id: "cfgFile", span: Span { start: Position { line: 67, column: 57, }, end: Position { line: 67, column: 64, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 68, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 68, column: 27, }, }, }, ), ], span: Span { start: Position { line: 68, column: 24, }, end: Position { line: 68, column: 28, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 68, column: 30, }, end: Position { line: 68, column: 44, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "secname", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cfg", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replaceSecret", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 69, column: 21, }, end: Position { line: 69, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 69, column: 25, }, end: Position { line: 69, column: 37, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "{{", span: Span { start: Position { line: 69, column: 39, }, end: Position { line: 69, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "secname", span: Span { start: Position { line: 69, column: 43, }, end: Position { line: 69, column: 50, }, }, }, ), }, ), Raw( PartRaw { content: "_PASSWORD}}", span: Span { start: Position { line: 69, column: 39, }, end: Position { line: 69, column: 62, }, }, }, ), ], span: Span { start: Position { line: 69, column: 38, }, end: Position { line: 69, column: 63, }, }, }, ), Identifier( Identifier { id: "cfgFile", span: Span { start: Position { line: 69, column: 64, }, end: Position { line: 69, column: 71, }, }, }, ), ], }, ), span: Span { start: Position { line: 68, column: 55, }, end: Position { line: 69, column: 71, }, }, }, ), span: Span { start: Position { line: 68, column: 46, }, end: Position { line: 69, column: 71, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "endpoints", span: Span { start: Position { line: 70, column: 11, }, end: Position { line: 70, column: 20, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 71, column: 3, }, }, }, ), ], span: Span { start: Position { line: 65, column: 60, }, end: Position { line: 71, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "localMpd", span: Span { start: Position { line: 73, column: 3, }, end: Position { line: 73, column: 11, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 73, column: 15, }, end: Position { line: 73, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 73, column: 19, }, end: Position { line: 73, column: 23, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 73, column: 28, }, end: Position { line: 73, column: 37, }, }, }, ), ], span: Span { start: Position { line: 73, column: 27, }, end: Position { line: 73, column: 38, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 73, column: 42, }, end: Position { line: 73, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 73, column: 46, }, end: Position { line: 73, column: 50, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1", span: Span { start: Position { line: 73, column: 55, }, end: Position { line: 73, column: 64, }, }, }, ), ], span: Span { start: Position { line: 73, column: 54, }, end: Position { line: 73, column: 65, }, }, }, ), }, ), }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 78, column: 3, }, end: Position { line: 78, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 78, column: 11, }, end: Position { line: 78, column: 19, }, }, }, ), Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 78, column: 20, }, end: Position { line: 78, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 80, column: 5, }, end: Position { line: 80, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 80, column: 14, }, end: Position { line: 80, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 30, }, end: Position { line: 80, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 80, column: 34, }, end: Position { line: 80, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 80, column: 41, }, end: Position { line: 80, column: 52, }, }, }, ), ], span: Span { start: Position { line: 80, column: 40, }, end: Position { line: 80, column: 53, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 82, column: 5, }, end: Position { line: 82, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 82, column: 13, }, end: Position { line: 82, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 83, column: 17, }, end: Position { line: 83, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 84, column: 7, }, end: Position { line: 84, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 14, }, end: Position { line: 84, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 84, column: 20, }, end: Position { line: 84, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 27, }, end: Position { line: 84, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 84, column: 33, }, end: Position { line: 84, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), 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: "HTTP proxy URL.\n", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 87, column: 7, }, }, }, ), ], span: Span { start: Position { line: 85, column: 31, }, end: Position { line: 87, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 88, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "verbose", span: Span { start: Position { line: 90, column: 5, }, end: Position { line: 90, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 90, column: 15, }, end: Position { line: 90, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 91, column: 7, }, end: Position { line: 91, column: 14, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 91, column: 17, }, end: Position { line: 91, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 92, column: 7, }, end: Position { line: 92, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 92, column: 14, }, end: Position { line: 92, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 92, column: 20, }, end: Position { line: 92, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 93, column: 21, }, end: Position { line: 93, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 93, column: 25, }, end: Position { line: 93, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Log level for the mpdscribble daemon.\n", span: Span { start: Position { line: 94, column: 1, }, end: Position { line: 95, column: 7, }, }, }, ), ], span: Span { start: Position { line: 93, column: 31, }, end: Position { line: 95, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 90, column: 24, }, end: Position { line: 96, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "journalInterval", span: Span { start: Position { line: 98, column: 5, }, end: Position { line: 98, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 98, column: 23, }, end: Position { line: 98, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 14, }, }, }, ), ], to: Integer( Integer { value: "600", span: Span { start: Position { line: 99, column: 17, }, end: Position { line: 99, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 100, column: 7, }, end: Position { line: 100, column: 14, }, }, }, ), ], to: Integer( Integer { value: "60", span: Span { start: Position { line: 100, column: 17, }, end: Position { line: 100, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 101, column: 7, }, end: Position { line: 101, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 101, column: 14, }, end: Position { line: 101, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 101, column: 20, }, end: Position { line: 101, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 102, column: 7, }, end: Position { line: 102, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 102, column: 21, }, end: Position { line: 102, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 102, column: 25, }, end: Position { line: 102, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "How often should mpdscribble save the journal file? [seconds]\n", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 104, column: 7, }, }, }, ), ], span: Span { start: Position { line: 102, column: 31, }, end: Position { line: 104, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 98, column: 32, }, end: Position { line: 105, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 107, column: 5, }, end: Position { line: 107, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 107, column: 12, }, end: Position { line: 107, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 108, column: 7, }, end: Position { line: 108, column: 14, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdCfg", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 108, column: 28, }, end: Position { line: 108, column: 35, }, }, }, ), Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 108, column: 36, }, end: Position { line: 108, column: 49, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "any", span: Span { start: Position { line: 108, column: 54, }, end: Position { line: 108, column: 57, }, }, }, ), ], span: Span { start: Position { line: 108, column: 53, }, end: Position { line: 108, column: 58, }, }, }, ), }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdCfg", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 109, column: 16, }, end: Position { line: 109, column: 23, }, }, }, ), Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 109, column: 24, }, end: Position { line: 109, column: 37, }, }, }, ), ], default: None, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 111, column: 10, }, end: Position { line: 111, column: 19, }, }, }, ), ], span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 20, }, }, }, ), span: Span { start: Position { line: 108, column: 18, }, end: Position { line: 111, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 112, column: 21, }, end: Position { line: 112, column: 38, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if config.", span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 113, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdOpt", span: Span { start: Position { line: 113, column: 21, }, end: Position { line: 113, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 113, column: 28, }, end: Position { line: 113, column: 35, }, }, }, ), Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 113, column: 36, }, end: Position { line: 113, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " != \"any\"\nthen config.", span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 114, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdOpt", span: Span { start: Position { line: 114, column: 23, }, end: Position { line: 114, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 114, column: 30, }, end: Position { line: 114, column: 37, }, }, }, ), Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 114, column: 38, }, end: Position { line: 114, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nelse \"localhost\"\n", span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 116, column: 7, }, }, }, ), ], span: Span { start: Position { line: 112, column: 39, }, end: Position { line: 116, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 117, column: 14, }, end: Position { line: 117, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 117, column: 20, }, end: Position { line: 117, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 118, column: 7, }, end: Position { line: 118, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 118, column: 21, }, end: Position { line: 118, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 118, column: 25, }, end: Position { line: 118, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Host for the mpdscribble daemon to search for a mpd daemon on.\n", span: Span { start: Position { line: 119, column: 1, }, end: Position { line: 120, column: 7, }, }, }, ), ], span: Span { start: Position { line: 118, column: 31, }, end: Position { line: 120, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 107, column: 21, }, end: Position { line: 121, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 123, column: 5, }, end: Position { line: 123, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 123, column: 20, }, end: Position { line: 123, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 14, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "localMpd", span: Span { start: Position { line: 124, column: 20, }, end: Position { line: 124, column: 28, }, }, }, ), then: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "findFirst", span: Span { start: Position { line: 125, column: 10, }, end: Position { line: 125, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "c", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "any", span: Span { start: Position { line: 126, column: 15, }, end: Position { line: 126, column: 18, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 126, column: 23, }, end: Position { line: 126, column: 24, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "read", span: Span { start: Position { line: 126, column: 29, }, end: Position { line: 126, column: 33, }, }, }, ), ], span: Span { start: Position { line: 126, column: 28, }, end: Position { line: 126, column: 34, }, }, }, ), }, ), span: Span { start: Position { line: 126, column: 20, }, end: Position { line: 126, column: 34, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "c", span: Span { start: Position { line: 126, column: 36, }, end: Position { line: 126, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "permissions", span: Span { start: Position { line: 126, column: 38, }, end: Position { line: 126, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 126, column: 12, }, end: Position { line: 126, column: 49, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 127, column: 13, }, end: Position { line: 127, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 127, column: 28, }, end: Position { line: 127, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 127, column: 11, }, end: Position { line: 127, column: 35, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdCfg", span: Span { start: Position { line: 128, column: 11, }, end: Position { line: 128, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "credentials", span: Span { start: Position { line: 128, column: 18, }, end: Position { line: 128, column: 29, }, }, }, ), ], default: None, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 128, column: 31, }, end: Position { line: 128, column: 43, }, }, }, ), ], default: None, }, ), else_: Identifier( Identifier { id: "null", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 13, }, }, }, ), span: Span { start: Position { line: 124, column: 17, }, end: Position { line: 130, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalMD", span: Span { start: Position { line: 131, column: 21, }, end: Position { line: 131, column: 30, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The first password file with read access configured for MPD when using a local instance,\notherwise `null`.\n", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 134, column: 7, }, }, }, ), ], span: Span { start: Position { line: 131, column: 31, }, end: Position { line: 134, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 135, column: 7, }, end: Position { line: 135, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 135, column: 14, }, end: Position { line: 135, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 135, column: 20, }, end: Position { line: 135, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 135, column: 27, }, end: Position { line: 135, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 135, column: 33, }, end: Position { line: 135, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 136, column: 21, }, end: Position { line: 136, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 136, column: 25, }, end: Position { line: 136, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "File containing the password for the mpd daemon.\nIf there is a local mpd configured using {option}`services.mpd.credentials`\nthe default is automatically set to a matching passwordFile of the local mpd.\n", span: Span { start: Position { line: 137, column: 1, }, end: Position { line: 140, column: 7, }, }, }, ), ], span: Span { start: Position { line: 136, column: 31, }, end: Position { line: 140, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 123, column: 29, }, end: Position { line: 141, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 143, column: 5, }, end: Position { line: 143, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 143, column: 12, }, end: Position { line: 143, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 144, column: 7, }, end: Position { line: 144, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdCfg", span: Span { start: Position { line: 144, column: 17, }, end: Position { line: 144, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 144, column: 24, }, end: Position { line: 144, column: 31, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 144, column: 32, }, end: Position { line: 144, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 145, column: 7, }, end: Position { line: 145, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 145, column: 21, }, end: Position { line: 145, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.", span: Span { start: Position { line: 145, column: 40, }, end: Position { line: 145, column: 69, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mpdOpt", span: Span { start: Position { line: 145, column: 49, }, end: Position { line: 145, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 145, column: 56, }, end: Position { line: 145, column: 63, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 145, column: 64, }, end: Position { line: 145, column: 68, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 145, column: 39, }, end: Position { line: 145, column: 70, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 146, column: 7, }, end: Position { line: 146, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 146, column: 14, }, end: Position { line: 146, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 146, column: 20, }, end: Position { line: 146, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 147, column: 7, }, end: Position { line: 147, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 147, column: 21, }, end: Position { line: 147, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 147, column: 25, }, end: Position { line: 147, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Port for the mpdscribble daemon to search for a mpd daemon on.\n", span: Span { start: Position { line: 148, column: 1, }, end: Position { line: 149, column: 7, }, }, }, ), ], span: Span { start: Position { line: 147, column: 31, }, end: Position { line: 149, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 143, column: 21, }, end: Position { line: 150, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "endpoints", span: Span { start: Position { line: 152, column: 5, }, end: Position { line: 152, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 152, column: 17, }, end: Position { line: 152, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 153, column: 7, }, end: Position { line: 153, column: 11, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "endpoint", span: Span { start: Position { line: 154, column: 9, }, end: Position { line: 154, column: 17, }, }, }, ), ], 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: 155, column: 11, }, end: Position { line: 155, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 156, column: 13, }, end: Position { line: 156, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 156, column: 19, }, end: Position { line: 156, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 157, column: 15, }, end: Position { line: 157, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 157, column: 22, }, end: Position { line: 157, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 157, column: 28, }, end: Position { line: 157, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 158, column: 15, }, end: Position { line: 158, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "endpointUrls", span: Span { start: Position { line: 158, column: 25, }, end: Position { line: 158, column: 37, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 158, column: 40, }, end: Position { line: 158, column: 44, }, }, }, ), }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 158, column: 49, }, end: Position { line: 158, column: 51, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 159, column: 15, }, end: Position { line: 159, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 160, column: 17, }, end: Position { line: 160, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 160, column: 21, }, end: Position { line: 160, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The url endpoint where the scrobble API is listening.", span: Span { start: Position { line: 160, column: 28, }, end: Position { line: 160, column: 81, }, }, }, ), ], span: Span { start: Position { line: 160, column: 27, }, end: Position { line: 160, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 156, column: 28, }, end: Position { line: 161, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 162, column: 13, }, end: Position { line: 162, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 162, column: 24, }, end: Position { line: 162, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 163, column: 15, }, end: Position { line: 163, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 163, column: 22, }, end: Position { line: 163, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 163, column: 28, }, end: Position { line: 163, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 164, column: 15, }, end: Position { line: 164, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 164, column: 29, }, end: Position { line: 164, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 164, column: 33, }, end: Position { line: 164, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Username for the scrobble service.\n", span: Span { start: Position { line: 165, column: 1, }, end: Position { line: 166, column: 15, }, }, }, ), ], span: Span { start: Position { line: 164, column: 39, }, end: Position { line: 166, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 162, column: 33, }, end: Position { line: 167, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 168, column: 13, }, end: Position { line: 168, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 168, column: 28, }, end: Position { line: 168, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 169, column: 15, }, end: Position { line: 169, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 169, column: 22, }, end: Position { line: 169, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 169, column: 28, }, end: Position { line: 169, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 169, column: 35, }, end: Position { line: 169, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 169, column: 41, }, end: Position { line: 169, column: 44, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 170, column: 15, }, end: Position { line: 170, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 171, column: 17, }, end: Position { line: 171, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 171, column: 21, }, end: Position { line: 171, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "File containing the password, either as MD5SUM or cleartext.", span: Span { start: Position { line: 171, column: 28, }, end: Position { line: 171, column: 88, }, }, }, ), ], span: Span { start: Position { line: 171, column: 27, }, end: Position { line: 171, column: 89, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 168, column: 37, }, end: Position { line: 172, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 155, column: 21, }, end: Position { line: 173, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 154, column: 35, }, end: Position { line: 174, column: 10, }, }, }, ), span: Span { start: Position { line: 154, column: 20, }, end: Position { line: 174, column: 10, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 175, column: 10, }, end: Position { line: 175, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 175, column: 16, }, end: Position { line: 175, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 175, column: 25, }, end: Position { line: 175, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 175, column: 31, }, end: Position { line: 175, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "endpoint", span: Span { start: Position { line: 175, column: 41, }, end: Position { line: 175, column: 49, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 153, column: 15, }, end: Position { line: 175, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 176, column: 17, }, end: Position { line: 176, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 177, column: 7, }, end: Position { line: 177, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "last.fm", span: Span { start: Position { line: 178, column: 10, }, end: Position { line: 178, column: 17, }, }, }, ), ], span: Span { start: Position { line: 178, column: 9, }, end: Position { line: 178, column: 18, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 179, column: 11, }, end: Position { line: 179, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "foo", span: Span { start: Position { line: 179, column: 23, }, end: Position { line: 179, column: 26, }, }, }, ), ], span: Span { start: Position { line: 179, column: 22, }, end: Position { line: 179, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 180, column: 11, }, end: Position { line: 180, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/secrets/lastfm_password", span: Span { start: Position { line: 180, column: 27, }, end: Position { line: 180, column: 55, }, }, }, ), ], span: Span { start: Position { line: 180, column: 26, }, end: Position { line: 180, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 178, column: 21, }, end: Position { line: 181, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 177, column: 17, }, end: Position { line: 182, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 183, column: 7, }, end: Position { line: 183, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 183, column: 21, }, end: Position { line: 183, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 183, column: 25, }, end: Position { line: 183, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Endpoints to scrobble to.\nIf the endpoint is one of \"", span: Span { start: Position { line: 184, column: 1, }, end: Position { line: 185, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 186, column: 11, }, end: Position { line: 186, column: 27, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\", \"", span: Span { start: Position { line: 186, column: 29, }, end: Position { line: 186, column: 35, }, }, }, ), ], span: Span { start: Position { line: 186, column: 28, }, end: Position { line: 186, column: 36, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 186, column: 38, }, end: Position { line: 186, column: 47, }, }, }, ), arguments: [ Identifier( Identifier { id: "endpointUrls", span: Span { start: Position { line: 186, column: 48, }, end: Position { line: 186, column: 60, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\" the url is set automatically.\n", span: Span { start: Position { line: 184, column: 1, }, end: Position { line: 188, column: 7, }, }, }, ), ], span: Span { start: Position { line: 183, column: 31, }, end: Position { line: 188, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 152, column: 26, }, end: Position { line: 189, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 78, column: 34, }, end: Position { line: 191, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 195, column: 3, }, end: Position { line: 195, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 195, column: 12, }, end: Position { line: 195, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 195, column: 17, }, end: Position { line: 195, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 195, column: 21, }, end: Position { line: 195, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 196, column: 5, }, end: Position { line: 196, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 196, column: 13, }, end: Position { line: 196, column: 21, }, }, }, ), Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 196, column: 22, }, end: Position { line: 196, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 197, column: 7, }, end: Position { line: 197, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 197, column: 18, }, end: Position { line: 197, column: 32, }, }, }, ), ], span: Span { start: Position { line: 197, column: 17, }, end: Position { line: 197, column: 33, }, }, }, ), ], span: Span { start: Position { line: 197, column: 15, }, end: Position { line: 197, column: 35, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 197, column: 40, }, end: Position { line: 197, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "localMpd", span: Span { start: Position { line: 197, column: 49, }, end: Position { line: 197, column: 57, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mpd.service", span: Span { start: Position { line: 197, column: 59, }, end: Position { line: 197, column: 70, }, }, }, ), ], span: Span { start: Position { line: 197, column: 58, }, end: Position { line: 197, column: 71, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 198, column: 7, }, end: Position { line: 198, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mpdscribble mpd scrobble client", span: Span { start: Position { line: 198, column: 22, }, end: Position { line: 198, column: 53, }, }, }, ), ], span: Span { start: Position { line: 198, column: 21, }, end: Position { line: 198, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 199, column: 7, }, end: Position { line: 199, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 199, column: 21, }, end: Position { line: 199, column: 38, }, }, }, ), ], span: Span { start: Position { line: 199, column: 20, }, end: Position { line: 199, column: 39, }, }, }, ), ], span: Span { start: Position { line: 199, column: 18, }, end: Position { line: 199, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 200, column: 7, }, end: Position { line: 200, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 201, column: 9, }, end: Position { line: 201, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 201, column: 23, }, end: Position { line: 201, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 202, column: 27, }, end: Position { line: 202, column: 38, }, }, }, ), ], span: Span { start: Position { line: 202, column: 26, }, end: Position { line: 202, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 203, column: 9, }, end: Position { line: 203, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 203, column: 29, }, end: Position { line: 203, column: 40, }, }, }, ), ], span: Span { start: Position { line: 203, column: 28, }, end: Position { line: 203, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectoryMode", span: Span { start: Position { line: 204, column: 9, }, end: Position { line: 204, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "700", span: Span { start: Position { line: 204, column: 33, }, end: Position { line: 204, column: 36, }, }, }, ), ], span: Span { start: Position { line: 204, column: 32, }, end: Position { line: 204, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStartPre", span: Span { start: Position { line: 206, column: 9, }, end: Position { line: 206, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "+", span: Span { start: Position { line: 206, column: 25, }, end: Position { line: 206, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "preStart", span: Span { start: Position { line: 206, column: 28, }, end: Position { line: 206, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 206, column: 24, }, end: Position { line: 206, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 207, column: 9, }, end: Position { line: 207, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 208, column: 14, }, end: Position { line: 208, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mpdscribble", span: Span { start: Position { line: 208, column: 19, }, end: Position { line: 208, column: 30, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mpdscribble --no-daemon --conf ", span: Span { start: Position { line: 208, column: 12, }, end: Position { line: 208, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "cfgFile", span: Span { start: Position { line: 208, column: 69, }, end: Position { line: 208, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 208, column: 11, }, end: Position { line: 208, column: 78, }, }, }, ), }, ), ], span: Span { start: Position { line: 200, column: 23, }, end: Position { line: 209, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 196, column: 36, }, end: Position { line: 210, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 195, column: 28, }, end: Position { line: 211, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 75, column: 4, }, end: Position { line: 213, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 213, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 213, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 213, column: 2, }, }, }, )