LinePosition Struct
Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
A source file position converted to a line number and offset within the line
public struct LinePosition
Inheritance
LinePosition → ValueType → object
Constructors
LinePosition(int, int) | Constructs a line position |
Properties
LineNumber | The zero based line number |
Offset | The zero based character offset within the line |
Overridden & Inherited
ToString() | Return the position as a string in the format "onebasedlinenumber,onebasedcharoffset" |