#std.zig.Ast.Node.FnProto.return_type
1 messages · Page 1 of 1 (latest)
Just ref https://github.com/ziglang/zig/blob/8802ec583b376101ee7fcb0a64cf937b90dc6130/lib/std/zig/Ast.zig#L1471-L1538
It's the rhs of data for a node with a tag .fn_proto*
https://github.com/ziglang/zig/blob/8802ec583b376101ee7fcb0a64cf937b90dc6130/lib/std/zig/Ast.zig#L3262-L3287
life saver 🙏
still need to know what it indexes though...
is it a node? is it extra data?
should be a regular node with a tag .identifier or .error_union /me thinks
it's an identifier but...
identifier
(Tag)
Both lhs and rhs unused. Most identifiers will not have explicit AST nodes, however for expressions which could be one of many different kinds of AST nodes, there will be an identifier AST node for it.
Go to Tag```