Module gluon_base::pos[][src]

Expand description

Source code locations (borrowed from rustc’s libsyntax_pos)

Structs

A byte position in a source file.

A byte offset in a source file

A byte position in a source file.

A zero-indexed column offset into a source file

A column offset in a source file

A zero-indexed line offset into a source file

A line offset in a source file

A location in a source file

A region of code in a source file

Traits

Index types

Functions

Type Definitions

The raw, untyped index. We use a 32-bit integer here for space efficiency, assuming we won’t be working with sources larger than 4GB.