pub struct Analysis { /* private fields */ }Expand description
The outcome of reading one statement.
Implementations§
Source§impl Analysis
impl Analysis
Sourcepub const fn classification(&self) -> Classification
pub const fn classification(&self) -> Classification
What the statement does.
Sourcepub const fn kind(&self) -> &'static str
pub const fn kind(&self) -> &'static str
The recognised statement shape, such as select or create_table.
Simulation branches on this, so it is a stable identifier and not prose.
Sourcepub fn statements(&self) -> &[Statement]
pub fn statements(&self) -> &[Statement]
The parsed statements, in the order they were written.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Analysis
impl RefUnwindSafe for Analysis
impl Send for Analysis
impl Sync for Analysis
impl Unpin for Analysis
impl UnsafeUnpin for Analysis
impl UnwindSafe for Analysis
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