Expand description
Logic for transforming the raw code given by the user into something actually
runnable, e.g. by adding a main
function if it doesn’t already exist.
Structs§
- Build
DocTest 🔒Builder - Builder type for
DocTestBuilder
. - DocTest
Builder 🔒 - This struct contains information about the doctest itself which is then used to generate doctest source code appropriately.
- Parse
Source 🔒Info - Wrapper
Info 🔒 - Contains needed information for doctest to be correctly generated with expected “wrapping”.
Enums§
- DocTest
Wrap 🔒Result - Contains a doctest information. Can be converted into code with the
to_string()
method.