14 private readonly
string text;
37 Parent.AppendChild(Document.CreateCDataSection(
this.text));
48 if (CheckAgainst is XmlCDataSection ||
49 CheckAgainst is XmlText ||
50 CheckAgainst is XmlWhitespace ||
51 CheckAgainst is XmlSignificantWhitespace)
53 return CheckAgainst.InnerText.Trim() == this.text.Trim() ? PatternMatchResult.Match :
PatternMatchResult.NoMatch;
65 public override bool IsApplicable(XmlNode CheckAgainst, XmlElement First)
67 return CheckAgainst is XmlCDataSection ||
68 CheckAgainst is XmlText ||
69 CheckAgainst is XmlWhitespace ||
70 CheckAgainst is XmlSignificantWhitespace;
Class managing a script expression.
int Length
Length of expression covered by node.
ScriptNode Parent
Parent node.
int Start
Start position in script expression.
override PatternMatchResult PatternMatch(XmlNode CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
XmlScriptCData(string Text, int Start, int Length, Expression Expression)
XML Script CDATA node.
override bool IsApplicable(XmlNode CheckAgainst, XmlElement First)
If the node is applicable in pattern matching against CheckAgainst .
Base class for all XML Script leaf nodes in a parsed script tree.
PatternMatchResult
Status result of a pattern matching operation.