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

◆ LoadFallbacks()

List< XslNode > System.Xml.Xsl.Xslt.XsltLoader.LoadFallbacks ( string instrName)
inlineprivate

Definition at line 1867 of file XsltLoader.cs.

1868 {
1870 ISourceLineInfo lineInfo = _input.BuildNameLineInfo();
1873 {
1874 do
1875 {
1877 {
1879 list.Add(SetInfo(AstFactory.List(), LoadInstructions(), attributes));
1880 }
1881 else
1882 {
1883 _input.SkipNode();
1884 }
1885 }
1886 while (_input.MoveToNextSibling());
1887 }
1888 if (list.Count == 0)
1889 {
1890 list.Add(AstFactory.Error(XslLoadException.CreateMessage(lineInfo, System.SR.Xslt_UnknownExtensionElement, instrName)));
1891 }
1892 return list;
1893 }
void Add(TKey key, TValue value)
static string Xslt_UnknownExtensionElement
Definition SR.cs:1942
Definition SR.cs:7
bool IsXsltKeyword(string kwd)
Definition XsltInput.cs:717
ISourceLineInfo BuildNameLineInfo()
List< XslNode > LoadInstructions()
static XslNode SetInfo(XslNode to, List< XslNode > content, XsltInput.ContextInfo info)

References System.Xml.Xsl.Xslt.XsltLoader._atoms, System.Xml.Xsl.Xslt.XsltLoader._input, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Xsl.Xslt.XsltInput.BuildNameLineInfo(), System.Xml.Xsl.XslLoadException.CreateMessage(), System.Xml.Dictionary, System.Xml.Xsl.Xslt.AstFactory.Error(), System.Xml.Xsl.Xslt.KeywordsTable.Fallback, System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.Xml.Xsl.Xslt.XsltInput.IsXsltKeyword(), System.list, System.Xml.Xsl.Xslt.AstFactory.List(), System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(), System.Xml.Xsl.Xslt.XsltInput.MoveToElement(), System.Xml.Xsl.Xslt.XsltInput.MoveToFirstChild(), System.Xml.Xsl.Xslt.XsltInput.MoveToNextSibling(), System.Xml.Xsl.Xslt.XsltLoader.SetInfo(), System.Xml.Xsl.Xslt.XsltInput.SkipNode(), and System.SR.Xslt_UnknownExtensionElement.

Referenced by System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(), and System.Xml.Xsl.Xslt.XsltLoader.LoadUnknownXsltInstruction().