Attribute Macro rust_sitter::skip

source ·
#[skip]
Expand description

Defines a field that does not correspond to anything in the input string, such as some metadata. Takes a single, unnamed argument, which is the value used to populate the field at runtime.

§Example

struct MyNode {
   ...,
   #[rust_sitter::skip(false)]
   node_visited: bool
}