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

◆ Compile()

override void System.Xml.Xsl.XsltOld.NumberAction.Compile ( Compiler compiler)
inlinepackage

Definition at line 227 of file NumberAction.cs.

228 {
231 _forwardCompatibility = compiler.ForwardCompatibility;
232 _formatTokens = ParseFormat(CompiledAction.PrecalculateAvt(ref _formatAvt));
233 _letter = ParseLetter(CompiledAction.PrecalculateAvt(ref _letterAvt));
234 _lang = CompiledAction.PrecalculateAvt(ref _langAvt);
235 _groupingSep = CompiledAction.PrecalculateAvt(ref _groupingSepAvt);
236 if (_groupingSep != null && _groupingSep.Length > 1)
237 {
238 throw XsltException.Create(System.SR.Xslt_CharAttribute, "grouping-separator");
239 }
240 _groupingSize = CompiledAction.PrecalculateAvt(ref _groupingSizeAvt);
241 }
static string Xslt_CharAttribute
Definition SR.cs:1888
Definition SR.cs:7
void CompileAttributes(Compiler compiler)
string ParseLetter(string letter)
static List< FormatInfo > ParseFormat(string formatString)

References System.Xml.Xsl.XsltOld.NumberAction._formatAvt, System.Xml.Xsl.XsltOld.NumberAction._formatTokens, System.Xml.Xsl.XsltOld.NumberAction._forwardCompatibility, System.Xml.Xsl.XsltOld.NumberAction._groupingSep, System.Xml.Xsl.XsltOld.NumberAction._groupingSepAvt, System.Xml.Xsl.XsltOld.NumberAction._groupingSize, System.Xml.Xsl.XsltOld.NumberAction._groupingSizeAvt, System.Xml.Xsl.XsltOld.NumberAction._lang, System.Xml.Xsl.XsltOld.NumberAction._langAvt, System.Xml.Xsl.XsltOld.NumberAction._letter, System.Xml.Xsl.XsltOld.NumberAction._letterAvt, System.Xml.Xsl.XsltOld.CompiledAction.CheckEmpty(), System.Xml.Xsl.XsltOld.CompiledAction.CompileAttributes(), System.Xml.Xsl.XsltException.Create(), System.Xml.Xsl.XsltOld.NumberAction.ParseFormat(), System.Xml.Xsl.XsltOld.NumberAction.ParseLetter(), System.Xml.Xsl.XsltOld.CompiledAction.PrecalculateAvt(), and System.SR.Xslt_CharAttribute.