36 instantiations of FunctionInfo
System.Private.Xml (36)
System\Xml\Xsl\XPath\XPathBuilder.cs (27)
791
table.Add("last", new
FunctionInfo
(FuncId.Last, 0, 0, null));
792
table.Add("position", new
FunctionInfo
(FuncId.Position, 0, 0, null));
793
table.Add("name", new
FunctionInfo
(FuncId.Name, 0, 1, argNodeSet));
794
table.Add("namespace-uri", new
FunctionInfo
(FuncId.NamespaceUri, 0, 1, argNodeSet));
795
table.Add("local-name", new
FunctionInfo
(FuncId.LocalName, 0, 1, argNodeSet));
796
table.Add("count", new
FunctionInfo
(FuncId.Count, 1, 1, argNodeSet));
797
table.Add("id", new
FunctionInfo
(FuncId.Id, 1, 1, argAny));
798
table.Add("string", new
FunctionInfo
(FuncId.String, 0, 1, argAny));
799
table.Add("concat", new
FunctionInfo
(FuncId.Concat, 2, FunctionInfo.Infinity, null));
800
table.Add("starts-with", new
FunctionInfo
(FuncId.StartsWith, 2, 2, argString2));
801
table.Add("contains", new
FunctionInfo
(FuncId.Contains, 2, 2, argString2));
802
table.Add("substring-before", new
FunctionInfo
(FuncId.SubstringBefore, 2, 2, argString2));
803
table.Add("substring-after", new
FunctionInfo
(FuncId.SubstringAfter, 2, 2, argString2));
804
table.Add("substring", new
FunctionInfo
(FuncId.Substring, 2, 3, argFnSubstr));
805
table.Add("string-length", new
FunctionInfo
(FuncId.StringLength, 0, 1, argString));
806
table.Add("normalize-space", new
FunctionInfo
(FuncId.Normalize, 0, 1, argString));
807
table.Add("translate", new
FunctionInfo
(FuncId.Translate, 3, 3, argString3));
808
table.Add("boolean", new
FunctionInfo
(FuncId.Boolean, 1, 1, argAny));
809
table.Add("not", new
FunctionInfo
(FuncId.Not, 1, 1, argBoolean));
810
table.Add("true", new
FunctionInfo
(FuncId.True, 0, 0, null));
811
table.Add("false", new
FunctionInfo
(FuncId.False, 0, 0, null));
812
table.Add("lang", new
FunctionInfo
(FuncId.Lang, 1, 1, argString));
813
table.Add("number", new
FunctionInfo
(FuncId.Number, 0, 1, argAny));
814
table.Add("sum", new
FunctionInfo
(FuncId.Sum, 1, 1, argNodeSet));
815
table.Add("floor", new
FunctionInfo
(FuncId.Floor, 1, 1, argDouble));
816
table.Add("ceiling", new
FunctionInfo
(FuncId.Ceiling, 1, 1, argDouble));
817
table.Add("round", new
FunctionInfo
(FuncId.Round, 1, 1, argDouble));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (9)
304
table.Add("current", new
FunctionInfo
(FuncId.Current, 0, 0, null));
305
table.Add("document", new
FunctionInfo
(FuncId.Document, 1, 2, s_argFnDocument));
306
table.Add("key", new
FunctionInfo
(FuncId.Key, 2, 2, s_argFnKey));
307
table.Add("format-number", new
FunctionInfo
(FuncId.FormatNumber, 2, 3, s_argFnFormatNumber));
308
table.Add("unparsed-entity-uri", new
FunctionInfo
(FuncId.UnparsedEntityUri, 1, 1, XPathBuilder.argString));
309
table.Add("generate-id", new
FunctionInfo
(FuncId.GenerateId, 0, 1, XPathBuilder.argNodeSet));
310
table.Add("system-property", new
FunctionInfo
(FuncId.SystemProperty, 1, 1, XPathBuilder.argString));
311
table.Add("element-available", new
FunctionInfo
(FuncId.ElementAvailable, 1, 1, XPathBuilder.argString));
312
table.Add("function-available", new
FunctionInfo
(FuncId.FunctionAvailable, 1, 1, XPathBuilder.argString));
26 references to FunctionInfo
System.Private.Xml (26)
System\Xml\Xsl\XPath\XPathBuilder.cs (7)
11
using FunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.
FunctionInfo
<System.Xml.Xsl.XPath.XPathBuilder.FuncId>;
564
FunctionInfo
? func;
787
public static Dictionary<string,
FunctionInfo
> FunctionTable = CreateFunctionTable();
788
private static Dictionary<string,
FunctionInfo
> CreateFunctionTable()
790
Dictionary<string,
FunctionInfo
> table = new Dictionary<string,
FunctionInfo
>(36);
799
table.Add("concat", new FunctionInfo(FuncId.Concat, 2,
FunctionInfo
.Infinity, null));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (15)
12
using FunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.
FunctionInfo
<System.Xml.Xsl.Xslt.QilGenerator.FuncId>;
106
FunctionInfo
? func;
151
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
156
FunctionInfo
.CheckArity(/*minArg:*/2, /*maxArg:*/4, name, args.Count);
166
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
171
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/3, name, args.Count);
181
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
186
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
191
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
200
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
205
FunctionInfo
.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
300
public static Dictionary<string,
FunctionInfo
> FunctionTable = CreateFunctionTable();
301
private static Dictionary<string,
FunctionInfo
> CreateFunctionTable()
303
Dictionary<string,
FunctionInfo
> table = new Dictionary<string,
FunctionInfo
>(16);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (4)
13
using XPathFunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.
FunctionInfo
<System.Xml.Xsl.XPath.XPathBuilder.FuncId>;
14
using XsltFunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.
FunctionInfo
<System.Xml.Xsl.Xslt.QilGenerator.FuncId>;
1073
XPathFunctionInfo
? xpathFunc;
1074
XsltFunctionInfo
? xsltFunc;