Click or drag to resize

Element Class

Represents an Element mapped to the source code.
Inheritance Hierarchy

Namespace:  Syntactik.DOM.Mapped
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public class Element : Element, IMappedPair, 
	IChoiceNode, INsNodeOverridable

The Element type exposes the following members.

Constructors
  NameDescription
Public methodElement
Creates a new instance of Element.
Top
Properties
  NameDescription
Public propertyAssignment
Gets or sets a value of pair assignment.
(Inherited from Pair.)
Public propertyAssignmentInterval
Interval used to define pair assignment.
Public propertyChoiceObjects
Cases of the choice.
Public propertyEntities
Collection of child pairs.
(Inherited from Element.)
Public propertyInterpolationItems
List of interpolation objects.
Public propertyIsChoice
True if pair has a choice assignment.
Public propertyIsValueNode
True if pair has a literal value or pair value.
Public propertyName
Name of the pair.
(Inherited from Pair.)
Public propertyNameInterval
Interval used to define name of the pair.
Public propertyNameQuotesType
Stores info about quotes used to define name of the pair. 0 - no quotes 1 - single quotes 2 - double quotes
Public propertyNsPrefix
Namespace prefix of the element.
(Inherited from Element.)
Public propertyPairValue
Pair value of the pair. Use method AppendChild(Pair) to set value of this property.
(Inherited from Pair.)
Public propertyParent
Parent of the pair.
(Inherited from Pair.)
Public propertyValue
Literal value of the pair.
(Inherited from Pair.)
Public propertyValueIndent
Indent of pair value.
Public propertyValueInterval
Interval used to define literal value of the pair.
Public propertyValueQuotesType
Stores info about quotes used to define value of the pair. 0 - no quotes 1 - single quotes 2 - double quotes
Public propertyValueType
Type of the pair value.
Top
Methods
  NameDescription
Public methodAccept
Method is a part of the visitor pattern implementation.
(Inherited from Element.)
Public methodAppendChild
Adds another pair as a child. If pair has "pair assignment" := then the method initializes property PairValue.
(Overrides ElementAppendChild(Pair).)
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 methodStatic memberGetNameAndNs
Splits full name on namespace prefix and name.
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.
(Inherited from Pair.)
Public methodInitializeParent
This method is called when the pair is added as child to another pair.
(Overrides PairInitializeParent(Pair).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOverrideNsPrefix
Overrides namespace prefix of the node.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also