Click or drag to resize

Interval Class

An immutable inclusive interval.
Inheritance Hierarchy
SystemObject
  Syntactik.DOMInterval

Namespace:  Syntactik.DOM
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public class Interval

The Interval type exposes the following members.

Constructors
  NameDescription
Public methodInterval(CharLocation)
Creates instance of the class.
Public methodInterval(ICharStream)
Creates instance of the class.
Public methodInterval(CharLocation, CharLocation)
Creates instance of the class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldBegin
Starting position of the interval (inclusive).
Public fieldStatic memberEmpty
Singleton instance of Interval representing "Empty" value.
Public fieldEnd
Ending position of the interval (inclusive).
Top
See Also