aiken-lang 1.1.23

Cardano smart contract language and toolchain
Documentation
---
source: crates/aiken-lang/src/parser/expr/fail_todo_trace.rs
description: "Code:\n\ntrace string.join([\"foo\", \"bar\"])\na\n"
---
Trace {
    kind: Trace,
    location: 0..35,
    then: Var {
        location: 34..35,
        name: "a",
    },
    label: Call {
        arguments: [
            CallArg {
                label: None,
                location: 18..32,
                value: List {
                    location: 18..32,
                    elements: [
                        ByteArray {
                            location: 19..24,
                            bytes: [
                                (
                                    102,
                                    0..0,
                                ),
                                (
                                    111,
                                    0..0,
                                ),
                                (
                                    111,
                                    0..0,
                                ),
                            ],
                            preferred_format: Utf8String,
                        },
                        ByteArray {
                            location: 26..31,
                            bytes: [
                                (
                                    98,
                                    0..0,
                                ),
                                (
                                    97,
                                    0..0,
                                ),
                                (
                                    114,
                                    0..0,
                                ),
                            ],
                            preferred_format: Utf8String,
                        },
                    ],
                    tail: None,
                },
            },
        ],
        fun: FieldAccess {
            location: 6..17,
            label: "join",
            container: Var {
                location: 6..12,
                name: "string",
            },
        },
        location: 6..33,
    },
    arguments: [],
}