[−][src]Struct silkworm_syn::ast::Node
Fields
span: Span
outer_pragmas: Vec<Pragma>
headers: Vec<NodeHeader>
body: Block
Trait Implementations
impl Clone for Node
[src]
impl Debug for Node
[src]
impl Eq for Node
[src]
impl Parse for Node
[src]
const SOURCE_BLOCK_MODE: BlockMode
[src]
const SOURCE_INLINE_MODE: InlineMode
[src]
fn partial_parse_with_ctx<I: IntoIterator<Item = Token>>(
partial: bool,
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
[src]
partial: bool,
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
fn parse_with_ctx<I: IntoIterator<Item = Token>>(
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
[src]
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
fn partial_parse_with_interner(
partial: bool,
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
[src]
partial: bool,
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
fn parse_with_interner(
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
[src]
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
fn partial_parse(
partial: bool,
source: &str,
span_base: u32
) -> Result<(Self, Interner), Vec<Error>>
[src]
partial: bool,
source: &str,
span_base: u32
) -> Result<(Self, Interner), Vec<Error>>
fn parse(source: &str, span_base: u32) -> Result<(Self, Interner), Vec<Error>>
[src]
impl PartialEq<Node> for Node
[src]
impl StructuralEq for Node
[src]
impl StructuralPartialEq for Node
[src]
Auto Trait Implementations
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,