pub type SwitchStatement = Node<SwitchStatementData>;Expand description
Type alias for Node<SwitchStatementData>.
Aliased Type§
pub struct SwitchStatement {
pub content: SwitchStatementData,
pub span: Option<NodeSpan>,
}Fields§
§content: SwitchStatementDataContents of this syntax node
span: Option<NodeSpan>Span in the input this node was parsed from
Trait Implementations§
Source§impl Extractable<TranslationUnit> for SwitchStatement
impl Extractable<TranslationUnit> for SwitchStatement
Source§impl Host for SwitchStatement
impl Host for SwitchStatement
Source§impl HostMut for SwitchStatement
impl HostMut for SwitchStatement
Source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.