Struct dprint_swc_ecma_ast_view::ProgramInfo [−][src]
pub struct ProgramInfo<'a> {
pub program: ProgramRef<'a>,
pub source_file: Option<&'a dyn SourceFile>,
pub tokens: Option<&'a [TokenAndSpan]>,
pub comments: Option<Comments<'a>>,
}
Fields
program: ProgramRef<'a>
source_file: Option<&'a dyn SourceFile>
tokens: Option<&'a [TokenAndSpan]>
comments: Option<Comments<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ProgramInfo<'a>
impl<'a> !Send for ProgramInfo<'a>
impl<'a> !Sync for ProgramInfo<'a>
impl<'a> Unpin for ProgramInfo<'a>
impl<'a> !UnwindSafe for ProgramInfo<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more