Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "mwProCapture", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 20, }, end: Position { line: 9, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 9, column: 27, }, end: Position { line: 9, column: 31, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 9, column: 32, }, end: Position { line: 9, column: 46, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 15, column: 3, }, end: Position { line: 15, column: 10, }, }, }, ), Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 19, }, }, }, ), Raw( PartRaw { content: "mwProCapture", span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 32, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 39, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 56, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 15, column: 58, }, end: Position { line: 15, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 15, column: 62, }, end: Position { line: 15, column: 67, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Magewell Pro Capture family kernel module", span: Span { start: Position { line: 15, column: 69, }, end: Position { line: 15, column: 110, }, }, }, ), ], span: Span { start: Position { line: 15, column: 68, }, end: Position { line: 15, column: 111, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 17, column: 12, }, end: Position { line: 17, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 17, column: 17, }, end: Position { line: 17, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 17, column: 21, }, end: Position { line: 17, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 19, column: 10, }, end: Position { line: 19, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "ProCapture", span: Span { start: Position { line: 19, column: 29, }, end: Position { line: 19, column: 39, }, }, }, ), ], span: Span { start: Position { line: 19, column: 28, }, end: Position { line: 19, column: 40, }, }, }, ), ], span: Span { start: Position { line: 19, column: 26, }, end: Position { line: 19, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "kernelPackages", span: Span { start: Position { line: 21, column: 36, }, end: Position { line: 21, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mwprocapture", span: Span { start: Position { line: 21, column: 51, }, end: Position { line: 21, column: 63, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModulePackages", span: Span { start: Position { line: 23, column: 10, }, end: Position { line: 23, column: 29, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "kernelPackages", span: Span { start: Position { line: 23, column: 34, }, end: Position { line: 23, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mwprocapture", span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 61, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 23, column: 32, }, end: Position { line: 23, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModprobeConfig", span: Span { start: Position { line: 25, column: 10, }, end: Position { line: 25, column: 29, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Set the png picture to be displayed when no input signal is detected.\noptions ProCapture nosignal_file=", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 27, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "kernelPackages", span: Span { start: Position { line: 27, column: 42, }, end: Position { line: 27, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mwprocapture", span: Span { start: Position { line: 27, column: 57, }, end: Position { line: 27, column: 69, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/res/NoSignal.png\n\n# Set the png picture to be displayed when an unsupported input signal is detected.\noptions ProCapture unsupported_file=", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 30, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "kernelPackages", span: Span { start: Position { line: 30, column: 45, }, end: Position { line: 30, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mwprocapture", span: Span { start: Position { line: 30, column: 60, }, end: Position { line: 30, column: 72, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/res/Unsupported.png\n\n# Set the png picture to be displayed when an loking input signal is detected.\noptions ProCapture locking_file=", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 33, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "kernelPackages", span: Span { start: Position { line: 33, column: 41, }, end: Position { line: 33, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mwprocapture", span: Span { start: Position { line: 33, column: 56, }, end: Position { line: 33, column: 68, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/res/Locking.png\n\n# Message signaled interrupts switch\n#options ProCapture disable_msi=0\n\n# Set the debug level\n#options ProCapture debug_level=0\n\n# Force init switch eeprom\n#options ProCapture init_switch_eeprom=0\n\n# Min frame interval for VIDIOC_ENUM_FRAMEINTERVALS (default: 166666(100ns))\n#options ProCapture enum_frameinterval_min=166666\n\n# VIDIOC_ENUM_FRAMESIZES type (1: DISCRETE; 2: STEPWISE; otherwise: CONTINUOUS )\n#options ProCapture enum_framesizes_type=0\n\n# Parameters for internal usage\n#options ProCapture internal_params=\"\"\n", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 52, column: 5, }, }, }, ), ], span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 52, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 28, }, end: Position { line: 54, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 56, column: 2, }, }, }, )