structstd.zig.Ast.full.Switch[src]

Fields

ast: Components
label_token: ?TokenIndex

Source Code

Source code
pub const Switch = struct {
    ast: Components,
    label_token: ?TokenIndex,

    pub const Components = struct {
        switch_token: TokenIndex,
        condition: Node.Index,
        cases: []const Node.Index,
    };
}