pub struct RaiseExpr<'a> { /* private fields */ }Implementations§
Source§impl<'a> RaiseExpr<'a>
impl<'a> RaiseExpr<'a>
Sourcepub fn node_id(&self) -> RaiseExprId
pub fn node_id(&self) -> RaiseExprId
The typed node ID of this node.
pub fn raise_type(&self) -> RaiseType
pub fn error_message(&self) -> Option<Expr<'a>>
Trait Implementations§
Source§impl<'a> From<RaiseExpr<'a>> for RaiseExprId
impl<'a> From<RaiseExpr<'a>> for RaiseExprId
Source§impl<'a> GrammarNodeType<'a> for RaiseExpr<'a>
impl<'a> GrammarNodeType<'a> for RaiseExpr<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for RaiseExpr<'a>
Auto Trait Implementations§
impl<'a> Freeze for RaiseExpr<'a>
impl<'a> !RefUnwindSafe for RaiseExpr<'a>
impl<'a> !Send for RaiseExpr<'a>
impl<'a> !Sync for RaiseExpr<'a>
impl<'a> Unpin for RaiseExpr<'a>
impl<'a> UnsafeUnpin for RaiseExpr<'a>
impl<'a> !UnwindSafe for RaiseExpr<'a>
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