2using System.Collections.Generic;
14 private readonly
string text;
37 Parent.AppendChild(Document.CreateComment(
this.text));
48 if (CheckAgainst is XmlComment)
49 return CheckAgainst.InnerText == this.text ? PatternMatchResult.Match :
PatternMatchResult.NoMatch;
61 return (CheckAgainst is XmlComment);
Class managing a script expression.
int Length
Length of expression covered by node.
ScriptNode Parent
Parent node.
int Start
Start position in script expression.
Base class for all XML Script leaf nodes in a parsed script tree.
PatternMatchResult
Status result of a pattern matching operation.