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§

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.
  • Abstraction over a compiler version manager. Currently main implementation is SolcVersionManager. Acts as a factory of Compilers.
  • 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.