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

◆ CompileLangToLcid()

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileLangToLcid ( QilNode lang,
bool fwdCompat )
inlineprivate

Definition at line 1324 of file QilGenerator.cs.

1325 {
1326 if (lang == null)
1327 {
1328 return _f.Double(127.0);
1329 }
1330 if (lang.NodeType == QilNodeType.LiteralString)
1331 {
1333 }
1334 return _f.XsltConvert(_f.InvokeLangToLcid(lang, fwdCompat), XmlQueryTypeFactory.DoubleX);
1335 }
QilNode XsltConvert(QilNode expr, XmlQueryType t)
static string LangToNameInternal(string lang, bool forwardCompatibility, IErrorHelper errorHelper)
readonly XsltQilFactory _f
QilNode InvokeLangToLcid(QilNode n, bool fwdCompat)

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Qil.QilPatternFactory.Double(), System.Xml.Xsl.XmlQueryTypeFactory.DoubleX, System.Xml.Xsl.Xslt.XsltQilFactory.InvokeLangToLcid(), System.Xml.Xsl.Runtime.XsltLibrary.LangToNameInternal(), System.Xml.Xsl.Qil.QilNode.NodeType, System.Xml.Xsl.Qil.QilPatternFactory.String(), and System.Xml.Xsl.Qil.QilPatternFactory.XsltConvert().

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