Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attrsOfSub", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 13, }, }, }, ), Raw( PartRaw { content: "foo", span: Span { start: Position { line: 4, column: 14, }, end: Position { line: 4, column: 17, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 4, column: 18, }, end: Position { line: 4, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 27, }, end: Position { line: 4, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 4, column: 31, }, end: Position { line: 4, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 36, }, end: Position { line: 4, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 4, column: 43, }, end: Position { line: 4, column: 49, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "true", span: Span { start: Position { line: 4, column: 50, }, end: Position { line: 4, column: 54, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 5, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 5, column: 2, }, }, }, )