Struct SourcePosition
Represents position in source input
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.CodeAnalysis.Source
Assembly: Azos.dll
Syntax
public struct SourcePosition
Constructors
SourcePosition(Int32, Int32, Int32)
Declaration
public SourcePosition(int lineNum, int colNum, int charNum)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | lineNum | |
System.Int32 | colNum | |
System.Int32 | charNum |
Fields
CharNumber
Declaration
public readonly int CharNumber
Field Value
Type | Description |
---|---|
System.Int32 |
ColNumber
Declaration
public readonly int ColNumber
Field Value
Type | Description |
---|---|
System.Int32 |
LineNumber
Declaration
public readonly int LineNumber
Field Value
Type | Description |
---|---|
System.Int32 |
UNASSIGNED
Declaration
public static readonly SourcePosition UNASSIGNED
Field Value
Type | Description |
---|---|
SourcePosition |
Properties
IsAssigned
Declaration
public bool IsAssigned { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()