Module make

Source
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§

BuildDocTestBuilder 🔒
Builder type for DocTestBuilder.
DocTestBuilder 🔒
This struct contains information about the doctest itself which is then used to generate doctest source code appropriately.
ParseSourceInfo 🔒
WrapperInfo 🔒
Contains needed information for doctest to be correctly generated with expected “wrapping”.

Enums§

DocTestWrapResult 🔒
Contains a doctest information. Can be converted into code with the to_string() method.

Constants§

DOCTEST_CODE_WRAPPER 🔒

Functions§

parse_source 🔒
reset_error_count 🔒