Enum swc_common::source_map::FileName [−][src]
pub enum FileName { Real(PathBuf), Macros(String), QuoteExpansion, Anon, MacroExpansion, ProcMacroSourceCode, Custom(String), }
Expand description
Differentiates between real files and common virtual files.
Variants
Real(PathBuf)
Macros(String)
A macro. This includes the full name of the macro, so that there are no clashes.
call to quote!
Command line
Hack in src/libsyntax/parse.rs FIXME(jseyfried)
Custom(String)
Custom sources for explicit parser calls from plugins and drivers
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileName
impl UnwindSafe for FileName
Blanket Implementations
Mutably borrows from an owned value. Read more