Skip to content

SourceMark Struct ​

Definition ​

A position in a SourceReader, created by Mark() and typically used to mark the start of a token before scanning to its end.

c#
public sealed struct SourceMark : IEquatable<SourceMark>

View source

Properties ​

NameDescription
ColumnIndexZero based index of the column of the position in the file.
IndexThe index of the position in the file.
LineIndexZero based index of the line of the position in the file.