Module foundry_compilers::compilers
source · Modules§
Structs§
- Output of the compiler, including contracts, sources and errors. Currently only generic over the error but might be extended in the future.
Enums§
- A compiler version is either installed (available locally) or can be downloaded, from the remote endpoint
Traits§
- Error returned by compiler. Might also represent a warning or informational message.
- The main compiler abstraction trait. Currently mostly represents a wrapper around compiler binary aware of the version and able to compile given input into CompilerOutput including artifacts and errors.’
- Input of a compiler, including sources and settings used for their compilation.
- Compilation settings including evm_version, output_selection, etc.
- Keeps a set of languages recognized by the compiler.
- Parser of the source files which is used to identify imports and version requirements of the given source. Used by path resolver to resolve imports or determine compiler versions needed to compiler given sources.