Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "generators", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "i18n", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 20, }, }, }, ), Raw( PartRaw { content: "inputMethod", span: Span { start: Position { line: 4, column: 21, }, end: Position { line: 4, column: 32, }, }, }, ), Raw( PartRaw { content: "kime", span: Span { start: Position { line: 4, column: 33, }, end: Position { line: 4, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "yamlFormat", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 5, column: 21, }, end: Position { line: 5, column: 28, }, }, }, ), Raw( PartRaw { content: "yaml", span: Span { start: Position { line: 5, column: 29, }, end: Position { line: 5, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 5, column: 34, }, end: Position { line: 5, column: 37, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "i18n", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 9, }, }, }, ), Raw( PartRaw { content: "inputMethod", span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 9, column: 21, }, }, }, ), Raw( PartRaw { content: "kime", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "yamlFormat", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 13, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n daemon = {\n modules = [\"Xim\" \"Indicator\"];\n };\n\n indicator = {\n icon_color = \"White\";\n };\n\n engine = {\n hangul = {\n layout = \"dubeolsik\";\n };\n };\n}\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 29, column: 11, }, }, }, ), ], span: Span { start: Position { line: 13, column: 37, }, end: Position { line: 29, column: 13, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 23, }, end: Position { line: 30, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 30, column: 27, }, end: Position { line: 30, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "kime configuration. Refer to for details on supported values.\n", span: Span { start: Position { line: 31, column: 1, }, end: Position { line: 32, column: 9, }, }, }, ), ], span: Span { start: Position { line: 30, column: 33, }, end: Position { line: 32, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 25, }, end: Position { line: 33, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 29, }, end: Position { line: 34, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 35, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 37, column: 3, }, end: Position { line: 37, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 37, column: 12, }, end: Position { line: 37, column: 16, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "i18n", span: Span { start: Position { line: 37, column: 25, }, end: Position { line: 37, column: 29, }, }, }, ), Raw( PartRaw { content: "inputMethod", span: Span { start: Position { line: 37, column: 30, }, end: Position { line: 37, column: 41, }, }, }, ), Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 37, column: 42, }, end: Position { line: 37, column: 49, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "kime", span: Span { start: Position { line: 37, column: 54, }, end: Position { line: 37, column: 58, }, }, }, ), ], span: Span { start: Position { line: 37, column: 53, }, end: Position { line: 37, column: 59, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "i18n", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 9, }, }, }, ), Raw( PartRaw { content: "inputMethod", span: Span { start: Position { line: 38, column: 10, }, end: Position { line: 38, column: 21, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 38, column: 22, }, end: Position { line: 38, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 38, column: 32, }, end: Position { line: 38, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "kime", span: Span { start: Position { line: 38, column: 37, }, end: Position { line: 38, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 16, }, }, }, ), Raw( PartRaw { content: "variables", span: Span { start: Position { line: 40, column: 17, }, end: Position { line: 40, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GTK_IM_MODULE", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "kime", span: Span { start: Position { line: 41, column: 24, }, end: Position { line: 41, column: 28, }, }, }, ), ], span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 41, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "QT_IM_MODULE", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "kime", span: Span { start: Position { line: 42, column: 24, }, end: Position { line: 42, column: 28, }, }, }, ), ], span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "XMODIFIERS", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@im=kime", span: Span { start: Position { line: 43, column: 24, }, end: Position { line: 43, column: 32, }, }, }, ), ], span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 43, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 29, }, end: Position { line: 44, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 46, column: 17, }, end: Position { line: 46, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "xdg/kime/config.yaml", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 42, }, }, }, ), ], span: Span { start: Position { line: 46, column: 21, }, end: Position { line: 46, column: 43, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 46, column: 44, }, end: Position { line: 46, column: 48, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replaceStrings", span: Span { start: Position { line: 46, column: 51, }, end: Position { line: 46, column: 65, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "\\\\", span: Span { start: Position { line: 46, column: 69, }, end: Position { line: 46, column: 73, }, }, }, ), ], span: Span { start: Position { line: 46, column: 68, }, end: Position { line: 46, column: 74, }, }, }, ), ], span: Span { start: Position { line: 46, column: 66, }, end: Position { line: 46, column: 76, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "\\", span: Span { start: Position { line: 46, column: 80, }, end: Position { line: 46, column: 82, }, }, }, ), ], span: Span { start: Position { line: 46, column: 79, }, end: Position { line: 46, column: 83, }, }, }, ), ], span: Span { start: Position { line: 46, column: 77, }, end: Position { line: 46, column: 85, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 46, column: 87, }, end: Position { line: 46, column: 95, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 46, column: 96, }, end: Position { line: 46, column: 102, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 46, column: 103, }, end: Position { line: 46, column: 106, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 46, column: 107, }, end: Position { line: 46, column: 113, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 61, }, end: Position { line: 47, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 50, column: 3, }, end: Position { line: 50, column: 7, }, }, }, ), Raw( PartRaw { content: "buildDocsInSandbox", span: Span { start: Position { line: 50, column: 8, }, end: Position { line: 50, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 50, column: 29, }, end: Position { line: 50, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 51, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 51, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 51, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 51, column: 2, }, }, }, )