resrap-0.17.0 doesn't have any documentation.
A parsing library heavily leveraged by proc_macro
.
In resrap
, syntax trees are defined by the structure of data types implmenting [Parse].
Given T : Parse
, a resrap::Result<T>
is returned by passing a [Position] to T::parse
.
Along with the [Parse] trait, there's also a derive
macro of the same name which
automatically implements [Parse] for a struct
or enum
, given each of its members or variants also implement it.