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: 11, }, end: Position { line: 6, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 18, }, end: Position { line: 6, column: 26, }, }, }, ), Raw( PartRaw { content: "minetest-server", span: Span { start: Position { line: 6, column: 27, }, end: Position { line: 6, column: 42, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "flag", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 7, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "val", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 28, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 7, column: 32, }, end: Position { line: 7, column: 36, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "--", span: Span { start: Position { line: 7, column: 43, }, end: Position { line: 7, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 7, column: 47, }, end: Position { line: 7, column: 51, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 7, column: 43, }, end: Position { line: 7, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 7, column: 55, }, end: Position { line: 7, column: 63, }, }, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 7, column: 64, }, end: Position { line: 7, column: 67, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 7, column: 43, }, end: Position { line: 7, column: 69, }, }, }, ), ], span: Span { start: Position { line: 7, column: 42, }, end: Position { line: 7, column: 70, }, }, }, ), else_: String( String_ { parts: [], span: Span { start: Position { line: 7, column: 76, }, end: Position { line: 7, column: 78, }, }, }, ), span: Span { start: Position { line: 7, column: 22, }, end: Position { line: 7, column: 78, }, }, }, ), span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 78, }, }, }, ), span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "flags", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 8, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flag", span: Span { start: Position { line: 9, column: 6, }, end: Position { line: 9, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gameId", span: Span { start: Position { line: 9, column: 15, }, end: Position { line: 9, column: 21, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "gameid", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 29, }, }, }, ), ], span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 30, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flag", span: Span { start: Position { line: 10, column: 6, }, end: Position { line: 10, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 11, }, end: Position { line: 10, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "world", span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 10, column: 20, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "world", span: Span { start: Position { line: 10, column: 22, }, end: Position { line: 10, column: 27, }, }, }, ), ], span: Span { start: Position { line: 10, column: 21, }, end: Position { line: 10, column: 28, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flag", span: Span { start: Position { line: 11, column: 6, }, end: Position { line: 11, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 11, column: 11, }, end: Position { line: 11, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configPath", span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 25, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 33, }, }, }, ), ], span: Span { start: Position { line: 11, column: 26, }, end: Position { line: 11, column: 34, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flag", span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 12, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logPath", span: Span { start: Position { line: 12, column: 15, }, end: Position { line: 12, column: 22, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "logfile", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 31, }, }, }, ), ], span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 32, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flag", span: Span { start: Position { line: 13, column: 6, }, end: Position { line: 13, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 11, }, end: Position { line: 13, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 13, column: 15, }, end: Position { line: 13, column: 19, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 25, }, }, }, ), ], span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 26, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 8, column: 11, }, end: Position { line: 14, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 13, }, }, }, ), Raw( PartRaw { content: "minetest-server", span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 18, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 20, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 20, column: 29, }, end: Position { line: 20, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 21, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 23, }, end: Position { line: 22, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 22, column: 27, }, end: Position { line: 22, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "If enabled, starts a Minetest Server.", span: Span { start: Position { line: 22, column: 34, }, end: Position { line: 22, column: 71, }, }, }, ), ], span: Span { start: Position { line: 22, column: 33, }, end: Position { line: 22, column: 72, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 23, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gameId", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 16, }, end: Position { line: 25, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 26, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 26, column: 29, }, end: Position { line: 26, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 36, }, end: Position { line: 26, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 26, column: 42, }, end: Position { line: 26, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 27, column: 23, }, end: Position { line: 27, column: 27, }, }, }, ), }, ), 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: "Id of the game to use. To list available games run\n`minetestserver --gameid list`.\n\nIf only one game exists, this option can be null.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 33, column: 9, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 33, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 25, }, end: Position { line: 34, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "world", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 36, column: 15, }, end: Position { line: 36, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 23, }, end: Position { line: 37, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 37, column: 29, }, end: Position { line: 37, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 36, }, end: Position { line: 37, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 37, column: 42, }, end: Position { line: 37, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 38, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 39, column: 23, }, end: Position { line: 39, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 39, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name of the world to use. To list available worlds run\n`minetestserver --world list`.\n\nIf only one world exists, this option can be null.\n", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 44, column: 9, }, }, }, ), ], span: Span { start: Position { line: 39, column: 33, }, end: Position { line: 44, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 24, }, end: Position { line: 45, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configPath", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 48, column: 29, }, end: Position { line: 48, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 48, column: 36, }, end: Position { line: 48, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 48, column: 42, }, end: Position { line: 48, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 49, column: 23, }, end: Position { line: 49, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 50, column: 23, }, end: Position { line: 50, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 50, column: 27, }, end: Position { line: 50, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to the config to use.\n\nIf set to null, the config of the running user will be used:\n`~/.minetest/minetest.conf`.\n", span: Span { start: Position { line: 51, column: 1, }, end: Position { line: 55, column: 9, }, }, }, ), ], span: Span { start: Position { line: 50, column: 33, }, end: Position { line: 55, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 47, column: 29, }, end: Position { line: 56, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logPath", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 58, column: 17, }, end: Position { line: 58, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 59, column: 23, }, end: Position { line: 59, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 59, column: 29, }, end: Position { line: 59, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 59, column: 36, }, end: Position { line: 59, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 59, column: 42, }, end: Position { line: 59, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 60, column: 23, }, end: Position { line: 60, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 23, }, end: Position { line: 61, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 27, }, end: Position { line: 61, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to logfile for logging.\n\nIf set to null, logging will be output to stdout which means\nall output will be catched by systemd.\n", span: Span { start: Position { line: 62, column: 1, }, end: Position { line: 66, column: 9, }, }, }, ), ], span: Span { start: Position { line: 61, column: 33, }, end: Position { line: 66, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 58, column: 26, }, end: Position { line: 67, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 69, column: 14, }, end: Position { line: 69, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 70, column: 23, }, end: Position { line: 70, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 70, column: 29, }, end: Position { line: 70, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 70, column: 36, }, end: Position { line: 70, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 70, column: 42, }, end: Position { line: 70, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 71, column: 23, }, end: Position { line: 71, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 72, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Port number to bind to.\n\nIf set to null, the default 30000 will be used.\n", span: Span { start: Position { line: 73, column: 1, }, end: Position { line: 76, column: 9, }, }, }, ), ], span: Span { start: Position { line: 72, column: 33, }, end: Position { line: 76, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 77, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 32, }, end: Position { line: 78, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 79, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 81, column: 3, }, end: Position { line: 81, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 81, column: 12, }, end: Position { line: 81, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 81, column: 17, }, end: Position { line: 81, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 81, column: 21, }, end: Position { line: 81, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 82, column: 5, }, end: Position { line: 82, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 82, column: 11, }, end: Position { line: 82, column: 16, }, }, }, ), Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 82, column: 17, }, end: Position { line: 82, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Minetest Server Service user", span: Span { start: Position { line: 83, column: 26, }, end: Position { line: 83, column: 54, }, }, }, ), ], span: Span { start: Position { line: 83, column: 25, }, end: Position { line: 83, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 84, column: 7, }, end: Position { line: 84, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/minetest", span: Span { start: Position { line: 84, column: 26, }, end: Position { line: 84, column: 43, }, }, }, ), ], span: Span { start: Position { line: 84, column: 25, }, end: Position { line: 84, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createHome", span: Span { start: Position { line: 85, column: 7, }, end: Position { line: 85, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 85, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 86, column: 25, }, end: Position { line: 86, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 86, column: 32, }, end: Position { line: 86, column: 35, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 86, column: 36, }, end: Position { line: 86, column: 40, }, }, }, ), Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 86, column: 41, }, end: Position { line: 86, column: 49, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 87, column: 26, }, end: Position { line: 87, column: 34, }, }, }, ), ], span: Span { start: Position { line: 87, column: 25, }, end: Position { line: 87, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 82, column: 28, }, end: Position { line: 88, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 89, column: 5, }, end: Position { line: 89, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 89, column: 11, }, end: Position { line: 89, column: 17, }, }, }, ), Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 89, column: 18, }, end: Position { line: 89, column: 26, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 89, column: 27, }, end: Position { line: 89, column: 30, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 89, column: 33, }, end: Position { line: 89, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 89, column: 40, }, end: Position { line: 89, column: 43, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 89, column: 44, }, end: Position { line: 89, column: 48, }, }, }, ), Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 89, column: 49, }, end: Position { line: 89, column: 57, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 91, column: 5, }, end: Position { line: 91, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 91, column: 13, }, end: Position { line: 91, column: 21, }, }, }, ), Raw( PartRaw { content: "minetest-server", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 37, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 92, column: 7, }, end: Position { line: 92, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Minetest Server Service", span: Span { start: Position { line: 92, column: 24, }, end: Position { line: 92, column: 47, }, }, }, ), ], span: Span { start: Position { line: 92, column: 23, }, end: Position { line: 92, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 93, column: 26, }, end: Position { line: 93, column: 43, }, }, }, ), ], span: Span { start: Position { line: 93, column: 25, }, end: Position { line: 93, column: 44, }, }, }, ), ], span: Span { start: Position { line: 93, column: 23, }, end: Position { line: 93, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 94, column: 26, }, end: Position { line: 94, column: 40, }, }, }, ), ], span: Span { start: Position { line: 94, column: 25, }, end: Position { line: 94, column: 41, }, }, }, ), ], span: Span { start: Position { line: 94, column: 23, }, end: Position { line: 94, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 20, }, }, }, ), Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 96, column: 21, }, end: Position { line: 96, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 96, column: 32, }, end: Position { line: 96, column: 38, }, }, }, ), ], span: Span { start: Position { line: 96, column: 31, }, end: Position { line: 96, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 20, }, }, }, ), Raw( PartRaw { content: "User", span: Span { start: Position { line: 97, column: 21, }, end: Position { line: 97, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 97, column: 32, }, end: Position { line: 97, column: 40, }, }, }, ), ], span: Span { start: Position { line: 97, column: 31, }, end: Position { line: 97, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 98, column: 7, }, end: Position { line: 98, column: 20, }, }, }, ), Raw( PartRaw { content: "Group", span: Span { start: Position { line: 98, column: 21, }, end: Position { line: 98, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 98, column: 32, }, end: Position { line: 98, column: 40, }, }, }, ), ], span: Span { start: Position { line: 98, column: 31, }, end: Position { line: 98, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 100, column: 7, }, end: Position { line: 100, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cd /var/lib/minetest\n\nexec ", span: Span { start: Position { line: 101, column: 1, }, end: Position { line: 103, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 103, column: 16, }, end: Position { line: 103, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "minetest", span: Span { start: Position { line: 103, column: 21, }, end: Position { line: 103, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/minetest --server ", span: Span { start: Position { line: 101, column: 1, }, end: Position { line: 103, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStrings", span: Span { start: Position { line: 103, column: 55, }, end: Position { line: 103, column: 68, }, }, }, ), arguments: [ Identifier( Identifier { id: "flags", span: Span { start: Position { line: 103, column: 69, }, end: Position { line: 103, column: 74, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 101, column: 1, }, end: Position { line: 104, column: 7, }, }, }, ), ], span: Span { start: Position { line: 100, column: 16, }, end: Position { line: 104, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 40, }, end: Position { line: 105, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 81, column: 28, }, end: Position { line: 106, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 107, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 107, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 107, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 107, column: 2, }, }, }, )