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

◆ CompileVarParValue()

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

Definition at line 1233 of file QilGenerator.cs.

1234 {
1235 string uri = _lastScope.SourceLine.Uri;
1236 IList<XslNode> content = node.Content;
1237 string select = node.Select;
1239 if (select != null)
1240 {
1244 }
1245 else if (content.Count != 0)
1246 {
1249 qilNode = _f.RtfCtor(CompileInstructions(content), _f.String(uri));
1251 }
1252 else
1253 {
1254 qilNode = _f.String(string.Empty);
1255 }
1256 if (IsDebug)
1257 {
1258 qilNode = _f.TypeAssert(qilNode, XmlQueryTypeFactory.ItemS);
1259 }
1260 return qilNode;
1261 }
void Add(TKey key, TValue value)
QilNode RtfCtor(QilNode content, QilNode baseUri)
QilNode TypeAssert(QilNode expr, XmlQueryType t)
QilNode CompileXPathExpression(string expr)
readonly XsltQilFactory _f
readonly OutputScopeManager _outputScope
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._outputScope, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Xsl.Xslt.QilGenerator.CompileInstructions(), System.Xml.Xsl.Xslt.QilGenerator.CompileXPathExpression(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, System.Xml.Xsl.Xslt.QilGenerator.InstructionList(), System.Xml.Xsl.Xslt.OutputScopeManager.InvalidateAllPrefixes(), System.Xml.Xsl.Xslt.QilGenerator.IsDebug, System.Xml.Xsl.XmlQueryTypeFactory.ItemS, System.Xml.Xsl.Xslt.OutputScopeManager.PopScope(), System.Xml.Xsl.Xslt.OutputScopeManager.PushScope(), System.Xml.Xsl.Qil.QilPatternFactory.RtfCtor(), System.Xml.Xsl.Xslt.XslNode.SourceLine, System.Xml.Xsl.Qil.QilPatternFactory.String(), System.Xml.Xsl.Qil.QilPatternFactory.TypeAssert(), and System.Xml.Xsl.ISourceLineInfo.Uri.

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompileGlobalVarPar(), System.Xml.Xsl.Xslt.QilGenerator.CompileProtoTemplate(), System.Xml.Xsl.Xslt.QilGenerator.CompileVariable(), System.Xml.Xsl.Xslt.QilGenerator.CompileWithParam(), and System.Xml.Xsl.Xslt.QilGenerator.PrecompileProtoTemplatesHeaders().