64 references to FuncId
System.Private.Xml (64)
System\Xml\Xsl\XPath\XPathBuilder.cs (55)
11
using FunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.XPath.XPathBuilder.
FuncId
>;
571
case
FuncId
.Not: return _f.Not(args[0]);
572
case
FuncId
.Last: return GetLastPosition();
573
case
FuncId
.Position: return GetCurrentPosition();
574
case
FuncId
.Count: return _f.XsltConvert(_f.Length(_f.DocOrderDistinct(args[0])), T.DoubleX);
575
case
FuncId
.LocalName: return args.Count == 0 ? _f.LocalNameOf(GetCurrentNode()) : LocalNameOfFirstNode(args[0]);
576
case
FuncId
.NamespaceUri: return args.Count == 0 ? _f.NamespaceUriOf(GetCurrentNode()) : NamespaceOfFirstNode(args[0]);
577
case
FuncId
.Name: return args.Count == 0 ? NameOf(GetCurrentNode()) : NameOfFirstNode(args[0]);
578
case
FuncId
.String: return args.Count == 0 ? _f.XPathNodeValue(GetCurrentNode()) : _f.ConvertToString(args[0]);
579
case
FuncId
.Number: return args.Count == 0 ? _f.XsltConvert(_f.XPathNodeValue(GetCurrentNode()), T.DoubleX) : _f.ConvertToNumber(args[0]);
580
case
FuncId
.Boolean: return _f.ConvertToBoolean(args[0]);
581
case
FuncId
.True: return _f.True();
582
case
FuncId
.False: return _f.False();
583
case
FuncId
.Id: return _f.DocOrderDistinct(_f.Id(GetCurrentNode(), args[0]));
584
case
FuncId
.Concat: return _f.StrConcat(args);
585
case
FuncId
.StartsWith: return _f.InvokeStartsWith(args[0], args[1]);
586
case
FuncId
.Contains: return _f.InvokeContains(args[0], args[1]);
587
case
FuncId
.SubstringBefore: return _f.InvokeSubstringBefore(args[0], args[1]);
588
case
FuncId
.SubstringAfter: return _f.InvokeSubstringAfter(args[0], args[1]);
589
case
FuncId
.Substring:
591
case
FuncId
.StringLength:
593
case
FuncId
.Normalize:
595
case
FuncId
.Translate: return _f.InvokeTranslate(args[0], args[1], args[2]);
596
case
FuncId
.Lang: return _f.InvokeLang(args[0], GetCurrentNode());
597
case
FuncId
.Sum: return Sum(_f.DocOrderDistinct(args[0]));
598
case
FuncId
.Floor: return _f.InvokeFloor(args[0]);
599
case
FuncId
.Ceiling: return _f.InvokeCeiling(args[0]);
600
case
FuncId
.Round: return _f.InvokeRound(args[0]);
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\XslAstAnalyzer.cs (9)
13
using XPathFunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.XPath.XPathBuilder.
FuncId
>;
1078
XPathBuilder.
FuncId
funcId = xpathFunc.id;
1081
funcId == XPathBuilder.
FuncId
.LocalName ||
1082
funcId == XPathBuilder.
FuncId
.NamespaceUri ||
1083
funcId == XPathBuilder.
FuncId
.Name ||
1084
funcId == XPathBuilder.
FuncId
.String ||
1085
funcId == XPathBuilder.
FuncId
.Number ||
1086
funcId == XPathBuilder.
FuncId
.StringLength ||
1087
funcId == XPathBuilder.
FuncId
.Normalize