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

◆ CompileAvt() [2/2]

ArrayList System.Xml.Xsl.XsltOld.Compiler.CompileAvt ( string avtText,
out bool constant )
inlinepackage

Definition at line 745 of file Compiler.cs.

746 {
748 constant = true;
749 int start = 0;
750 bool isAvt;
752 {
753 string text = AvtStringBuilder.ToString();
754 if (isAvt)
755 {
756 arrayList.Add(new AvtEvent(AddStringQuery(text)));
757 constant = false;
758 }
759 else
760 {
761 arrayList.Add(new TextEvent(text));
762 }
763 }
764 return arrayList;
765 }
void Add(TKey key, TValue value)
override string ToString()
int AddStringQuery(string xpathQuery)
Definition Compiler.cs:596
static bool GetNextAvtLex(string avt, ref int start, StringBuilder lex, out bool isAvt)
Definition Compiler.cs:728

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Dictionary, System.start, System.text, and System.Text.StringBuilder.ToString().