[−][src]Module gluon_base::pos
Source code locations (borrowed from rustc's libsyntax_pos)
Structs
ByteIndex | A byte position in a source file. |
ByteOffset | A byte offset in a source file |
BytePos | A byte position in a source file. |
Column | A zero-indexed column offset into a source file |
ColumnOffset | A column offset in a source file |
Line | A zero-indexed line offset into a source file |
LineOffset | A line offset in a source file |
Location | A location in a source file |
Positioned | |
Span | A region of code in a source file |
Spanned |
Traits
HasSpan | |
Index | Index types |
Functions
span | |
spanned | |
spanned2 |
Type Definitions
RawIndex | 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. |