Struct rustfmt_nightly::syntux::session::ParseSess [−][src]
pub(crate) struct ParseSess {
parse_sess: RawParseSess,
ignore_path_set: Lrc<IgnorePathSet>,
can_reset_errors: Lrc<AtomicBool>,
}
Expand description
ParseSess holds structs necessary for constructing a parser.
Fields
parse_sess: RawParseSess
ignore_path_set: Lrc<IgnorePathSet>
can_reset_errors: Lrc<AtomicBool>
Implementations
pub(crate) fn default_submod_path(
&self,
id: Ident,
relative: Option<Ident>,
dir_path: &Path
) -> Result<ModulePathSuccess, ModError<'_>>
Trait Implementations
Returns the LineRange
that corresponds to span
in self
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ParseSess
impl !UnwindSafe for ParseSess
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 776 bytes