81 if (!(0.5 <= num) ||
double.IsPositiveInfinity(num))
91 if (num <= 2147483647.0)
129 return text.PadLeft(minLength,
'0');
175 string localName =
compiler.Input.LocalName;
405 bool flag =
_level ==
"multiple";
425 frame.StoredOutput =
Format(
numberList, (
_formatAvt ==
null) ?
_formatTokens :
ParseFormat(
_formatAvt.
Evaluate(
processor, frame)), (
_langAvt ==
null) ?
_lang :
_langAvt.
Evaluate(
processor, frame), (
_letterAvt ==
null) ?
_letter :
ParseLetter(
_letterAvt.
Evaluate(
processor, frame)), (
_groupingSepAvt ==
null) ?
_groupingSep :
_groupingSepAvt.
Evaluate(
processor, frame), (
_groupingSizeAvt ==
null) ?
_groupingSize :
_groupingSizeAvt.
Evaluate(
processor, frame));
506 for (
int i = 0; i <
count; i++)
509 bool flag =
num2 < num;
549 if (num == 48 || num == 2406)
554 else if (num == 3664 || num == 51067 || num == 65296)
684 if (formatString ==
null || formatString.Length == 0)
696 while (num <= formatString.Length)
void Add(TKey key, TValue value)
static int ToInt32(object? value)
static CultureInfo InvariantCulture
static double Floor(double d)
static string Xslt_CharAttribute
static string Xslt_InvalidAttrValue
static TypeCode GetTypeCode(Type? type)
static bool Equal(string strA, string strB)
object ICloneable. Clone()
static double ToXPathDouble(object o)
static string ToXPathString(object value)
static double XPathRound(double value)
static bool IsAlphaNumeric(char ch)
static XsltException Create(string res, params string[] args)
string Evaluate(Processor processor, ActionFrame frame)
static Avt CompileAvt(Compiler compiler, string avtText)
void CheckEmpty(Compiler compiler)
void CompileAttributes(Compiler compiler)
static string PrecalculateAvt(ref Avt avt)
static readonly FormatInfo s_defaultFormat
static string Format(ArrayList numberlist, List< FormatInfo > tokens, string lang, string letter, string groupingSep, string groupingSize)
string ParseLetter(string letter)
List< FormatInfo > _formatTokens
static List< FormatInfo > ParseFormat(string formatString)
static void mapFormatToken(string wsToken, int startLen, int tokLen, out NumberingSequence seq, out int pminlen)
override void Execute(Processor processor, ActionFrame frame)
bool checkFrom(Processor processor, XPathNavigator nav)
static object SimplifyValue(object value)
int numberCount(XPathNavigator nav, Processor processor, XPathNavigator contextNode)
override void Compile(Compiler compiler)
int numberAny(Processor processor, ActionFrame frame)
XPathNodeType BasicNodeType(XPathNodeType type)
override bool CompileAttribute(Compiler compiler)
bool _forwardCompatibility
static readonly FormatInfo s_defaultSeparator
bool MatchCountKey(Processor processor, XPathNavigator contextNode, XPathNavigator nav)
bool moveToCount(XPathNavigator nav, Processor processor, XPathNavigator contextNode)