Attribute Macro srclang_derive::node

#[node]

Defines a node.ⓘ

#[node]
struct MyNode {
   field: Type,
}

which will expand to:ⓘ

struct MyNode {
  field: Spanned<Type>,
}