Expand description
Source code that is passed to the parser.
This module contains items representing information about the source code
from which ASTs originate. Source identifies the origin of source code
fragments contained in Code. A Location specifies a particular
character in a Code instance. You can use the pretty submodule to
format messages describing source code locations.
Modules§
- Pretty-printing diagnostic messages containing references to source code
Structs§
- Source code fragment
- Position of source code.
- Character with source description.
Enums§
- Origin of source code
Functions§
- Creates an iterator of source chars from a string.