GenLocation¶
Import: import system.codegen;
GenLocation¶
A file, line, and column identifying a source location.
file¶
Project-relative path (src/models.dream), or <std>/... for stdlib sources.
line¶
One-based line number in the source file.
column¶
One-based column number in the source file.
constructor¶
Creates a GenLocation from its parts. Generators normally receive these from GenContext rather than constructing them.
to_string¶
The location as file:line:column.