CharLocation Class |
Namespace: Syntactik.DOM
public class CharLocation : IEquatable<CharLocation>, IComparable<CharLocation>
The CharLocation type exposes the following members.
Name | Description | |
---|---|---|
CharLocation(ICharStream) |
Creates instance of the class.
| |
CharLocation(Int32, Int32, Int32) |
Creates instance of the class.
|
Name | Description | |
---|---|---|
CompareTo | Compares the current object with another object of the same type. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(CharLocation) | Indicates whether the current object is equal to another object of the same type. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Column |
Column number (starts from 1).
| |
Empty |
Singleton instance of CharLocation representing "Empty" value.
| |
Index |
Index of character in the file (starts from 0).
| |
Line |
Line number (starts from 1).
|