pub struct ParseOutput {
pub ir_version: &'static str,
pub syntax_version: &'static str,
pub capabilities: ParserCapabilities,
pub document: Document,
pub diagnostics: Vec<Diagnostic>,
}Expand description
A binding-friendly parse envelope.
Capabilities let a binding verify the features represented in this parse result before it adapts the portable tree to a host-language API.
Fields§
§ir_version: &'static str§syntax_version: &'static str§capabilities: ParserCapabilities§document: Document§diagnostics: Vec<Diagnostic>Trait Implementations§
Source§impl Clone for ParseOutput
impl Clone for ParseOutput
Source§fn clone(&self) -> ParseOutput
fn clone(&self) -> ParseOutput
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 ParseOutput
impl Debug for ParseOutput
impl Eq for ParseOutput
Source§impl PartialEq for ParseOutput
impl PartialEq for ParseOutput
Source§impl Serialize for ParseOutput
impl Serialize for ParseOutput
impl StructuralPartialEq for ParseOutput
Auto Trait Implementations§
impl Freeze for ParseOutput
impl RefUnwindSafe for ParseOutput
impl Send for ParseOutput
impl Sync for ParseOutput
impl Unpin for ParseOutput
impl UnsafeUnpin for ParseOutput
impl UnwindSafe for ParseOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.