Click or drag to resize

Pair Class

Base class for all DOM classes.
Inheritance Hierarchy

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

The Pair type exposes the following members.

Constructors
  NameDescription
Protected methodPair
Creates an instance of the Pair.
Protected methodPair(String)
Creates an instance of the Pair.
Protected methodPair(AssignmentEnum)
Creates an instance of the Pair.
Protected methodPair(String, AssignmentEnum)
Creates an instance of the Pair.
Protected methodPair(AssignmentEnum, String)
Creates an instance of the Pair.
Protected methodPair(String, AssignmentEnum, String)
Creates an instance of the Pair.
Top
Properties
  NameDescription
Public propertyAssignment
Gets or sets a value of pair assignment.
Public propertyName
Name of the pair.
Public propertyPairValue
Pair value of the pair. Use method AppendChild(Pair) to set value of this property.
Public propertyParent
Parent of the pair.
Public propertyValue
Literal value of the pair.
Top
Methods
  NameDescription
Public methodAccept
Method is a part of the visitor pattern implementation.
Public methodAppendChild
Adds another pair as a child. If pair has "pair assignment" := then the method initializes property PairValue.
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.)
Public methodHasValue
If true then the pair has either literal value or pair value.
Public methodInitializeParent
This method is called when the pair is added as child to another pair.
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
See Also