Skip to main content

Atom

Type Alias Atom 

Source
pub type Atom = WithSpan<Token, Span>;
Expand description

A token together with its source span: the atom type fed to the syan parser.

Aliased Type§

pub struct Atom {
    pub slot: Token,
    pub span: Span,
}

Fields§

§slot: Token§span: Span