Crate gluon_base

Crate gluon_base 

Source
Expand description

The base crate contains pervasive types used in the compiler such as type representations, the AST and some basic containers.

Modules§

ast
Module containing the types which make up gluon’s AST (Abstract Syntax Tree)
error
Module containing a few common error wrappers which allows more information to be saved for later display to the user
fixed
Collection types which allows insertion of new values while shared references to its contents are alive. This is done by storing each value in a stable memory location and preventing an earlier inserted value to be overwritten.
fnv
kind
macros
merge
metadata
pos
Source code locations (borrowed from rustc’s libsyntax_pos)
resolve
scoped_map
A map data type which allows the same key to exist at multiple scope levels
source
Module containing types and functions for mapping between byte indexes and line and column locations
symbol
Module which contains types working with symbols
types

Macros§

chain
expr
forward_type_interner_methods
forward_type_interner_methods_no_arg
ice
mk_ast_arena

Enums§

DebugLevel

Functions§

filename_to_module