pub struct BreakExpr {
pub break_token: _Break,
pub value: Option<Box<Expr>>,
}Expand description
A typed Macaulay2 break_expr syntax node.
Fields§
§break_token: _BreakThe break_token child of this syntax node.
value: Option<Box<Expr>>The value child of this syntax node.
Implementations§
Trait Implementations§
Source§impl From<BreakExpr> for ControlFlow
impl From<BreakExpr> for ControlFlow
Source§impl Lex for BreakExpr
impl Lex for BreakExpr
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl PrettyTree for BreakExpr
impl PrettyTree for BreakExpr
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 BreakExprwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for BreakExprwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for BreakExpr
impl RefUnwindSafe for BreakExpr
impl Send for BreakExpr
impl Sync for BreakExpr
impl Unpin for BreakExpr
impl UnsafeUnpin for BreakExpr
impl UnwindSafe for BreakExpr
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