Struct pomelo_parse::ast::expressions::OrElseExpr
source · pub struct OrElseExpr {
syntax: SyntaxNode,
}
Fields§
§syntax: SyntaxNode
Implementations§
Trait Implementations§
source§impl AstNode for OrElseExpr
impl AstNode for OrElseExpr
type Language = SML
fn can_cast(kind: <Self::Language as Language>::Kind) -> boolwhere
Self: Sized,
fn cast(node: SyntaxNode) -> Option<Self>where
Self: Sized,
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Clone for OrElseExpr
impl Clone for OrElseExpr
source§fn clone(&self) -> OrElseExpr
fn clone(&self) -> OrElseExpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OrElseExpr
impl Debug for OrElseExpr
source§impl Display for OrElseExpr
impl Display for OrElseExpr
source§impl From<OrElseExpr> for Expr
impl From<OrElseExpr> for Expr
source§fn from(x: OrElseExpr) -> Self
fn from(x: OrElseExpr) -> Self
Converts to this type from the input type.