Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CompileMessage()

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileMessage ( XslNode node)
inlineprivate

Definition at line 1211 of file QilGenerator.cs.

1212 {
1213 string uri = _lastScope.SourceLine.Uri;
1214 QilNode n = _f.RtfCtor(CompileInstructions(node.Content), _f.String(uri));
1215 n = _f.InvokeOuterXml(n);
1216 if (!(bool)node.Arg)
1217 {
1218 return _f.Warning(n);
1219 }
1221 return _f.Loop(text = _f.Let(n), _f.Sequence(_f.Warning(text), _f.Error(text)));
1222 }
QilNode Loop(QilIterator variable, QilNode body)
QilIterator Let(QilNode binding)
QilNode RtfCtor(QilNode content, QilNode baseUri)
QilNode Error(string res, QilNode args)
readonly XsltQilFactory _f
QilNode CompileInstructions(IList< XslNode > instructions)
ISourceLineInfo SourceLine
Definition XslNode.cs:10

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Xslt.QilGenerator._lastScope, System.Xml.Xsl.Xslt.QilGenerator.CompileInstructions(), System.Xml.Xsl.XPath.XPathQilFactory.Error(), System.Xml.Xsl.Xslt.XsltQilFactory.InvokeOuterXml(), System.Xml.Xsl.Qil.QilPatternFactory.Let(), System.Xml.Xsl.Qil.QilPatternFactory.Loop(), System.Xml.Xsl.Qil.QilPatternFactory.RtfCtor(), System.Xml.Xsl.Qil.QilPatternFactory.Sequence(), System.Xml.Xsl.Xslt.XslNode.SourceLine, System.Xml.Xsl.Qil.QilPatternFactory.String(), System.text, System.Xml.Xsl.ISourceLineInfo.Uri, and System.Xml.Xsl.Qil.QilPatternFactory.Warning().

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompileInstructions().