Skip to main content

luaur_analysis/macros/
prop.rs

1#[macro_export]
2macro_rules! PROP {
3    ($emitter:expr, $node:expr, $prop:ident) => {
4        $emitter.write(stringify!($prop), &$node.$prop);
5    };
6}
7
8pub use PROP;
9
10#[allow(unused_imports)]
11pub use PROP as prop;