nxt.line_column

Conversions from string/file offset to line and column.

Members

Functions

diagnoseGNUStyle
void diagnoseGNUStyle(const(char)[] tag, const(char)[] path, LineColumn lc, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
offsetLineColumn
LineColumn offsetLineColumn(char[] source, size_t offset)

Convert byte offset offset at source to line and column.

Structs

LineColumn
struct LineColumn

Line and column, both 0-based offsets.

See Also

Meta