Skip to main content

Statement

Type Alias Statement 

Source
pub type Statement = Node<StatementKind>;
Expand description

A top-level statement.

Aliased Type§

pub struct Statement {
    pub kind: StatementKind,
    pub span: Span,
}

Fields§

§kind: StatementKind

The syntax represented by this node.

§span: Span

The full source extent, excluding surrounding trivia.