Calitha GOLD Parser Engine Documentation

Location Members

Location overview

Public Instance Constructors

Location Overloaded. Initializes a new instance of the Location class.

Public Instance Properties

ColumnNr The zero-based column number.
LineNr The zero-based line number.
Position The zero-based position.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
NextColumn Signals that the input has advanced one character (which was not an end-of-line.
NextLine Signals that the input has encountered an end-of-line.
ToString Converts the location to a string. Line number and column number will be incremented by one.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Location Class | com.calitha.goldparser Namespace