CFG.Location (cfg_lib v0.1.0) View Source
Link to this section Summary
Functions
Return a location with the specified line and column.
Link to this section Types
Specs
t() :: %CFG.Location{column: non_neg_integer(), line: pos_integer()}
This type represents a location in the CFG source.
These are its fields:
line
: The source line. It must be a positive integer.column
: The source column. It must be a non-negative integer. Newlines end with a zero column; the first character in the next line would be at column 1.
Link to this section Functions
Specs
new(pos_integer(), non_neg_integer()) :: %CFG.Location{ column: term(), line: term() }
Return a location with the specified line and column.