MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / parser_derive

Function parser_derive

flow-derive/src/lib.rs:71–74  ·  view source on GitHub ↗
(input: TokenStream)

Source from the content-addressed store, hash-verified

69#[doc(hidden)]
70#[proc_macro_derive(Parser)]
71pub fn parser_derive(input: TokenStream) -> TokenStream {
72 let input = parse_macro_input!(input as DeriveInput);
73 internal::parser_expand(input).into()
74}
75
76/// A proc macro used to register a node. `node_register!("NodeType", NodeType)`
77#[proc_macro]

Callers

nothing calls this directly

Calls 1

parser_expandFunction · 0.85

Tested by

no test coverage detected