Expand description
Contains functionality for dealing with projects.
Re-exports§
pub use nom;pub use nom_language;
Structs§
- Archive
- Wrapper unifying the API of all the different compression formats supported by langs. Unfortunately the API is more complicated due to tar only supporting iterating through the files one by one, while zip only supports accessing by index.
- Archive
Builder - Everything
IsStudent File Policy - Mock policy that ignores the config file and returns true for all files.
- Exercise
Desc - A description of an exercise.
- Exercise
Packaging Configuration - Represents configuration based on which submission may be packaged.
- Meta
Syntax Parser - Parses a given text file into an iterator of
MetaStrings. - Nothing
IsStudent File Policy - Mock policy that ignores the config file and returns false for all files.
- Output
- Python
Ver - Python version from TmcProjectYml.
- RunResult
- The result of running an exercise’s test suite against a submission.
- Style
Validation Error - A style validation error.
- Style
Validation Result - The result of a style check.
- Test
Desc - A description of an exercise’s test case.
- Test
Result - The result of a single test case.
- TmcCommand
- Wrapper around subprocess::Exec
- TmcProject
Yml - Extra data from a
.tmcproject.ymlfile.
Enums§
- Command
Error - An error caused by a failed attempt to execute an external command.
- Compression
- Supported compression methods.
- Exit
Status - Exit status of a process.
- Language
- Meta
String - Used to classify lines of code based on the annotations in the file.
- Popen
Error - Error in
Popencalls. - RunStatus
- The overall status of a test run.
- Style
Validation Strategy - Determines how style errors are handled.
- TmcError
Traits§
- Language
Plugin - The trait that each language plug-in must implement.
- Student
File Policy - Specifies which files are student files. A single StudentFilePolicy is only valid for a single project as it uses a config file to determine its output.