Struct kailua_syntax::ast::Chunk [] [src]

pub struct Chunk {
    pub block: Spanned<Block>,
    pub map: ScopeMap<Name>,
    pub global_scope: HashMap<Name, Span>,
    pub local_names: HashMap<ScopedId, LocalName>,
    pub token_aux: Vec<TokenAux>,
}

The parsed chunk, representing a single source file with associated side informations.

Fields

The top-level block.

An associated scope map for local names.

A map from globally assigned names to spans to their first occurrences.

Global names that has been used are not recorded.

A map from local names (in the form of scoped identifiers) to the resolved information.

Auxiliary informations for each input token (including Tok::EOF), in the order.

Trait Implementations

impl Clone for Chunk
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more