23 references to FuncId
System.Private.Xml (23)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (19)
12
using FunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.Xslt.QilGenerator.
FuncId
>;
113
case
FuncId
.Current:
120
case
FuncId
.Key:
126
case
FuncId
.Document: return CompileFnDocument(args[0], args.Count > 1 ? args[1] : null);
127
case
FuncId
.FormatNumber: return CompileFormatNumber(args[0], args[1], args.Count > 2 ? args[2] : null);
128
case
FuncId
.UnparsedEntityUri: return CompileUnparsedEntityUri(args[0]);
129
case
FuncId
.GenerateId: return CompileGenerateId(args.Count > 0 ? args[0] : env.GetCurrent()!);
130
case
FuncId
.SystemProperty: return CompileSystemProperty(args[0]);
131
case
FuncId
.ElementAvailable: return CompileElementAvailable(args[0]);
132
case
FuncId
.FunctionAvailable: return CompileFunctionAvailable(args[0]);
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));
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (4)
14
using XsltFunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.Xslt.QilGenerator.
FuncId
>;
1095
QilGenerator.
FuncId
funcId = xsltFunc.id;
1097
if (funcId == QilGenerator.
FuncId
.Current)
1101
else if (funcId == QilGenerator.
FuncId
.GenerateId && args.Count == 0)