pub const SwitchCase = struct inline_token: ?TokenIndexpayload_token: ?TokenIndexPoints to the first token after the |. Will either be an identifier or a * (with an identifier immediately after it).
ast: Components2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802 pub const SwitchCase = struct {
inline_token: ?TokenIndex,
/// Points to the first token after the `|`. Will either be an identifier or
/// a `*` (with an identifier immediately after it).
payload_token: ?TokenIndex,
ast: Components,
pub const Components = struct {
/// If empty, this is an else case
values: []const Node.Index,
arrow_token: TokenIndex,
target_expr: Node.Index,
};
}