[−][src]Struct silkworm_syn::ast::Stmt
Fields
span: Span
pragmas: Vec<Pragma>
body: StmtBody
decorator_command: Option<Command>
associated_block: Option<Block>
Trait Implementations
impl Clone for Stmt
[src]
impl Debug for Stmt
[src]
impl Eq for Stmt
[src]
impl Parse for Stmt
[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<Stmt> for Stmt
[src]
impl StructuralEq for Stmt
[src]
impl StructuralPartialEq for Stmt
[src]
Auto Trait Implementations
impl RefUnwindSafe for Stmt
impl Send for Stmt
impl Sync for Stmt
impl Unpin for Stmt
impl UnwindSafe for Stmt
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>,