{"ast_node_type":"function","tokens":[{"end":45,"kind":"keyword","start":0,"text":"fn"}]}
            fn to_val(index: usize) -> Self {
        impl crate::IndexedVal for $name {
                $name(index)