Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

walkFor

Walk.walkFor
fn walkFor(w: *Walk, for_node: Ast.full.For) Error!void

File

Code

fn walkFor(w: *Walk, for_node: Ast.full.For) Error!void {
    try walkExpressions(w, for_node.ast.inputs);
    try walkExpression(w, for_node.ast.then_expr);
    if (for_node.ast.else_expr.unwrap()) |else_expr| {
        try walkExpression(w, else_expr);
    }
}