pub struct ParsedStatement {
pub ast: Ast,
pub statement: Statement,
pub consumed: usize,
pub parameters: ParameterMap,
pub span: Span,
}Expand description
One parsed statement and everything the caller needs to continue.
Fields§
§ast: AstThe arena holding every node.
statement: StatementThe statement itself.
consumed: usizeHow many bytes of the source this statement consumed, including its terminating semicolon and any trivia before the next statement.
parameters: ParameterMapThe parameters the statement declared.
span: SpanThe span of the statement text itself, without the trailing trivia.
Trait Implementations§
Source§impl Clone for ParsedStatement
impl Clone for ParsedStatement
Auto Trait Implementations§
impl Freeze for ParsedStatement
impl RefUnwindSafe for ParsedStatement
impl Send for ParsedStatement
impl Sync for ParsedStatement
impl Unpin for ParsedStatement
impl UnsafeUnpin for ParsedStatement
impl UnwindSafe for ParsedStatement
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