Click or drag to resize

LexicalInfo Class

Represents immutable location of the character in the project.
Inheritance Hierarchy

Namespace:  Syntactik.DOM
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public class LexicalInfo : CharLocation, 
	IEquatable<LexicalInfo>, IComparable<LexicalInfo>

The LexicalInfo type exposes the following members.

Constructors
  NameDescription
Public methodLexicalInfo(String)
Creates instance of the class.
Public methodLexicalInfo(LexicalInfo)
Creates instance of the class.
Public methodLexicalInfo(String, Int32, Int32, Int32)
Creates instance of the class.
Top
Properties
  NameDescription
Public propertyFileName
Source code file name.
Public propertyFullPath
Fill path to the file. Different from the FileName if it has relative path.
Top
Methods
  NameDescription
Public methodCompareTo(CharLocation)
Compares the current object with another object of the same type.
(Inherited from CharLocation.)
Public methodCompareTo(LexicalInfo)
Compares the current object with another object of the same type.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(CharLocation)
Indicates whether the current object is equal to another object of the same type.
(Inherited from CharLocation.)
Public methodEquals(LexicalInfo)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides CharLocationToString.)
Top
Fields
  NameDescription
Public fieldColumn
Column number (starts from 1).
(Inherited from CharLocation.)
Public fieldStatic memberEmpty
Singleton instance of LexicalInfo representing "Empty" value.
Public fieldIndex
Index of character in the file (starts from 0).
(Inherited from CharLocation.)
Public fieldLine
Line number (starts from 1).
(Inherited from CharLocation.)
Top
See Also