Trait foundry_compilers::compilers::Language

source ·
pub trait Language: Hash + Eq + Clone + Debug + Display + 'static {
    const FILE_EXTENSIONS: &'static [&'static str];
}
Expand description

Keeps a set of languages recognized by the compiler.

Required Associated Constants§

source

const FILE_EXTENSIONS: &'static [&'static str]

Extensions of source files recognized by the language set.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Language for MultiCompilerLanguage

source§

const FILE_EXTENSIONS: &'static [&'static str] = _

source§

impl Language for SolcLanguage

source§

const FILE_EXTENSIONS: &'static [&'static str] = SOLC_EXTENSIONS

source§

impl Language for VyperLanguage

source§

const FILE_EXTENSIONS: &'static [&'static str] = VYPER_EXTENSIONS