Function iterate [src]
Prototype
pub fn iterate(fn_proto: *const FnProto, tree: *const Ast) Iterator
Parameters
fn_proto: *const FnProto
tree: *const Ast
Source
pub fn iterate(fn_proto: *const FnProto, tree: *const Ast) Iterator {
return .{
.tree = tree,
.fn_proto = fn_proto,
.param_i = 0,
.tok_i = fn_proto.lparen + 1,
.tok_flag = true,
};
}