Module item

Source
Expand description

Parser item.

Macros§

as_inner_source 🔒
Defines a method that returns ParseSource inner element if it matches the variant
filter_children_fn 🔒
Defines a method that filters ParseItem’s children and returns the source pt token of the children matching the target variant as well as its comments. Returns Option::None if no children matching the variant are found.

Structs§

ParseItem
The parsed item.

Enums§

ParseSource
A wrapper type around pt token.