#case #pattern-matching #pattern #matching #match #macro #pattern-match

vesta-syntax

The syntax for the case! macro defined in the Vesta crate

1 unstable release

0.1.0 Apr 8, 2021

#32 in #pattern-match


Used in 2 crates (via vesta-macro)

MIT license

15KB
262 lines

Parsing Vesta's case! macro

This crate defines parsing and compilation for the Vesta crates's case! macro. If you need to parse a macro invocation that matches this syntax and/or emit code from a macro that matches its output, depend on this crate. Otherwise, you likely want to depend on vesta itself.

Dependencies

~4MB
~83K SLoC