pub struct CatchStatement {
pub keyword: _CatchKeyword,
pub value: Box<Expr>,
}Fields§
§keyword: _CatchKeyword§value: Box<Expr>Implementations§
Source§impl CatchStatement
impl CatchStatement
pub fn new(keyword: _CatchKeyword, value: Expr) -> Self
Trait Implementations§
Source§impl Debug for CatchStatement
impl Debug for CatchStatement
Source§impl From<CatchStatement> for Component
impl From<CatchStatement> for Component
Source§fn from(value: CatchStatement) -> Self
fn from(value: CatchStatement) -> Self
Converts to this type from the input type.
Source§impl From<CatchStatement> for Expr
impl From<CatchStatement> for Expr
Source§fn from(value: CatchStatement) -> Self
fn from(value: CatchStatement) -> Self
Converts to this type from the input type.
Source§impl From<CatchStatement> for SequenceElement
impl From<CatchStatement> for SequenceElement
Source§fn from(value: CatchStatement) -> Self
fn from(value: CatchStatement) -> Self
Converts to this type from the input type.
Source§impl From<CatchStatement> for SyntaxNode
impl From<CatchStatement> for SyntaxNode
Source§fn from(value: CatchStatement) -> Self
fn from(value: CatchStatement) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for CatchStatement
impl PrettyTree for CatchStatement
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for CatchStatementwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for CatchStatementwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for CatchStatement
impl ToCells for CatchStatement
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Source§impl ToTokens for CatchStatement
impl ToTokens for CatchStatement
Auto Trait Implementations§
impl Freeze for CatchStatement
impl RefUnwindSafe for CatchStatement
impl Send for CatchStatement
impl Sync for CatchStatement
impl Unpin for CatchStatement
impl UnsafeUnpin for CatchStatement
impl UnwindSafe for CatchStatement
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