LexicalInfo Class |
Namespace: Syntactik.DOM
public class LexicalInfo : CharLocation, IEquatable<LexicalInfo>, IComparable<LexicalInfo>
The LexicalInfo type exposes the following members.
Name | Description | |
---|---|---|
LexicalInfo(String) |
Creates instance of the class.
| |
LexicalInfo(LexicalInfo) |
Creates instance of the class.
| |
LexicalInfo(String, Int32, Int32, Int32) |
Creates instance of the class.
|
Name | Description | |
---|---|---|
FileName |
Source code file name.
| |
FullPath |
Fill path to the file. Different from the FileName if it has relative path.
|
Name | Description | |
---|---|---|
CompareTo(CharLocation) | Compares the current object with another object of the same type. (Inherited from CharLocation.) | |
CompareTo(LexicalInfo) | 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. (Inherited from CharLocation.) | |
Equals(LexicalInfo) | 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 CharLocationToString.) |
Name | Description | |
---|---|---|
Column |
Column number (starts from 1).
(Inherited from CharLocation.) | |
Empty |
Singleton instance of LexicalInfo representing "Empty" value.
| |
Index |
Index of character in the file (starts from 0).
(Inherited from CharLocation.) | |
Line |
Line number (starts from 1).
(Inherited from CharLocation.) |