pub struct PrismParse {
pub codec: Symbol,
pub semantic_id: Option<SemanticId>,
pub expr: Option<Expr>,
pub span_map: Vec<PrismSpan>,
pub diagnostics: Vec<PrismDiagnostic>,
pub inspection: PrismInspection,
}Expand description
Parse result for one codec surface.
Fields§
§codec: SymbolCodec symbol used for parsing.
semantic_id: Option<SemanticId>Semantic id, if parsing succeeded.
expr: Option<Expr>Parsed expression, if parsing succeeded.
span_map: Vec<PrismSpan>Span map over the parsed input.
diagnostics: Vec<PrismDiagnostic>Parse diagnostics.
inspection: PrismInspectionInspection metadata.
Trait Implementations§
Source§impl Clone for PrismParse
impl Clone for PrismParse
Source§fn clone(&self) -> PrismParse
fn clone(&self) -> PrismParse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrismParse
impl Debug for PrismParse
impl Eq for PrismParse
Source§impl PartialEq for PrismParse
impl PartialEq for PrismParse
Source§fn eq(&self, other: &PrismParse) -> bool
fn eq(&self, other: &PrismParse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrismParse
Auto Trait Implementations§
impl Freeze for PrismParse
impl RefUnwindSafe for PrismParse
impl Send for PrismParse
impl Sync for PrismParse
impl Unpin for PrismParse
impl UnsafeUnpin for PrismParse
impl UnwindSafe for PrismParse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more