Function check_macro

Source
pub fn check_macro<Span>(
    ctx: InvocationContext,
    input: Vec<TokenTree<Span>>,
) -> Result<(), Error<Span>>
where Span: Copy + 'static,
Expand description

The whole point.

This functions takes all the tokens that have been passed to the macro invocation and performs all the checks that have been implemented in this crate.