Struct Location
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)
Assembly: cs.temp.dll.dll
Syntax
public struct Location : IEquatable<Location>
Constructors
Location(String, Int32, Int32)
Declaration
public Location(string fileName, int line, int column)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.Int32 |
line |
|
System.Int32 |
column |
|
Properties
Column
Declaration
public int Column { get; }
Property Value
Type |
Description |
System.Int32 |
|
Empty
Declaration
public static Location Empty { get; }
Property Value
FileName
Declaration
public string FileName { get; }
Property Value
Type |
Description |
System.String |
|
Line
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Methods
AddCol()
Declaration
Returns
AddCols(Int32)
Declaration
public Location AddCols(int number)
Parameters
Type |
Name |
Description |
System.Int32 |
number |
|
Returns
AddLine()
Declaration
public Location AddLine()
Returns
Equals(Location)
Declaration
public bool Equals(Location other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Implements
System.IEquatable<T>