Comment Class |
Namespace: Syntactik.DOM.Mapped
public class Comment : Comment, IMappedPair
The Comment type exposes the following members.
| Name | Description | |
|---|---|---|
| Assignment |
Gets or sets a value of pair assignment.
(Inherited from Pair.) | |
| AssignmentInterval | Interval used to define pair assignment. Always empty for Comment.
| |
| CommentType |
Type of the comment:
1 - single-line comment,
2 - multi-line comment.
| |
| IsValueNode |
True if pair has a literal value or pair value. Always true> for Comment.
| |
| Name |
Name of the pair.
(Inherited from Pair.) | |
| NameInterval | Interval used to define name of the pair. Always empty for Comment.
| |
| NameQuotesType |
Stores info about quotes used to define name of the pair.
0 - no quotes
1 - single quotes
2 - double quotes
| |
| PairValue |
Pair value of the pair. Use method AppendChild(Pair) to set value of this property.
(Inherited from Pair.) | |
| Parent |
Parent of the pair.
(Inherited from Pair.) | |
| Value |
Literal value of the pair.
(Inherited from Pair.) | |
| ValueIndent |
Indent of pair value. Always 0 for Comment.
| |
| ValueInterval | Interval used to define literal value of the pair.
| |
| ValueQuotesType |
Stores info about quotes used to define value of the pair.
0 - no quotes
1 - single quotes
2 - double quotes
| |
| ValueType |
Type of the pair value. Always None for Comment.
|
| Name | Description | |
|---|---|---|
| Accept |
Method is a part of the visitor pattern implementation.
(Inherited from Comment.) | |
| AppendChild |
Adds another pair as a child. If pair has "pair assignment" := then the method initializes property PairValue.
(Inherited from Pair.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasValue |
If true then the pair has either literal value or pair value.
(Inherited from Pair.) | |
| InitializeParent |
This method is called when the pair is added as child to another pair.
(Inherited from Pair.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |