64 references to FuncId
System.Data.SqlXml (64)
System\Xml\Xsl\XPath\XPathBuilder.cs (55)
18
using FunctionInfo = XPathBuilder.FunctionInfo<XPathBuilder.
FuncId
>;
489
case
FuncId
.Not : return f.Not(args[0]);
490
case
FuncId
.Last : return GetLastPosition();
491
case
FuncId
.Position : return GetCurrentPosition();
492
case
FuncId
.Count : return f.XsltConvert(f.Length(f.DocOrderDistinct(args[0])), T.DoubleX);
493
case
FuncId
.LocalName : return args.Count == 0 ? f.LocalNameOf(GetCurrentNode()) : LocalNameOfFirstNode(args[0]);
494
case
FuncId
.NamespaceUri : return args.Count == 0 ? f.NamespaceUriOf(GetCurrentNode()) : NamespaceOfFirstNode(args[0]);
495
case
FuncId
.Name : return args.Count == 0 ? NameOf(GetCurrentNode()) : NameOfFirstNode(args[0]);
496
case
FuncId
.String : return args.Count == 0 ? f.XPathNodeValue(GetCurrentNode()) : f.ConvertToString(args[0]);
497
case
FuncId
.Number : return args.Count == 0 ? f.XsltConvert(f.XPathNodeValue(GetCurrentNode()), T.DoubleX) : f.ConvertToNumber(args[0]);
498
case
FuncId
.Boolean : return f.ConvertToBoolean(args[0]);
499
case
FuncId
.True : return f.True();
500
case
FuncId
.False : return f.False();
501
case
FuncId
.Id : return f.DocOrderDistinct(f.Id(GetCurrentNode(), args[0]));
502
case
FuncId
.Concat : return f.StrConcat(args);
503
case
FuncId
.StartsWith : return f.InvokeStartsWith(args[0], args[1]);
504
case
FuncId
.Contains : return f.InvokeContains(args[0], args[1]);
505
case
FuncId
.SubstringBefore : return f.InvokeSubstringBefore(args[0], args[1]);
506
case
FuncId
.SubstringAfter : return f.InvokeSubstringAfter(args[0], args[1]);
507
case
FuncId
.Substring :
509
case
FuncId
.StringLength :
511
case
FuncId
.Normalize :
513
case
FuncId
.Translate : return f.InvokeTranslate(args[0], args[1], args[2]);
514
case
FuncId
.Lang : return f.InvokeLang(args[0], GetCurrentNode());
515
case
FuncId
.Sum : return Sum(f.DocOrderDistinct(args[0]));
516
case
FuncId
.Floor : return f.InvokeFloor(args[0]);
517
case
FuncId
.Ceiling : return f.InvokeCeiling(args[0]);
518
case
FuncId
.Round : return f.InvokeRound(args[0]);
690
table.Add("last" , new FunctionInfo(
FuncId
.Last , 0, 0, null));
691
table.Add("position" , new FunctionInfo(
FuncId
.Position , 0, 0, null));
692
table.Add("name" , new FunctionInfo(
FuncId
.Name , 0, 1, argNodeSet));
693
table.Add("namespace-uri" , new FunctionInfo(
FuncId
.NamespaceUri , 0, 1, argNodeSet));
694
table.Add("local-name" , new FunctionInfo(
FuncId
.LocalName , 0, 1, argNodeSet));
695
table.Add("count" , new FunctionInfo(
FuncId
.Count , 1, 1, argNodeSet));
696
table.Add("id" , new FunctionInfo(
FuncId
.Id , 1, 1, argAny));
697
table.Add("string" , new FunctionInfo(
FuncId
.String , 0, 1, argAny));
698
table.Add("concat" , new FunctionInfo(
FuncId
.Concat , 2, FunctionInfo.Infinity, null));
699
table.Add("starts-with" , new FunctionInfo(
FuncId
.StartsWith , 2, 2, argString2));
700
table.Add("contains" , new FunctionInfo(
FuncId
.Contains , 2, 2, argString2));
701
table.Add("substring-before" , new FunctionInfo(
FuncId
.SubstringBefore, 2, 2, argString2));
702
table.Add("substring-after" , new FunctionInfo(
FuncId
.SubstringAfter , 2, 2, argString2));
703
table.Add("substring" , new FunctionInfo(
FuncId
.Substring , 2, 3, argFnSubstr));
704
table.Add("string-length" , new FunctionInfo(
FuncId
.StringLength , 0, 1, argString));
705
table.Add("normalize-space" , new FunctionInfo(
FuncId
.Normalize , 0, 1, argString));
706
table.Add("translate" , new FunctionInfo(
FuncId
.Translate , 3, 3, argString3));
707
table.Add("boolean" , new FunctionInfo(
FuncId
.Boolean , 1, 1, argAny));
708
table.Add("not" , new FunctionInfo(
FuncId
.Not , 1, 1, argBoolean));
709
table.Add("true" , new FunctionInfo(
FuncId
.True , 0, 0, null));
710
table.Add("false" , new FunctionInfo(
FuncId
.False , 0, 0, null));
711
table.Add("lang" , new FunctionInfo(
FuncId
.Lang , 1, 1, argString));
712
table.Add("number" , new FunctionInfo(
FuncId
.Number , 0, 1, argAny));
713
table.Add("sum" , new FunctionInfo(
FuncId
.Sum , 1, 1, argNodeSet));
714
table.Add("floor" , new FunctionInfo(
FuncId
.Floor , 1, 1, argDouble));
715
table.Add("ceiling" , new FunctionInfo(
FuncId
.Ceiling , 1, 1, argDouble));
716
table.Add("round" , new FunctionInfo(
FuncId
.Round , 1, 1, argDouble));
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (9)
18
using XPathFunctionInfo = XPathBuilder.FunctionInfo<XPathBuilder.
FuncId
>;
966
XPathBuilder.
FuncId
funcId = xpathFunc.id;
969
funcId == XPathBuilder.
FuncId
.LocalName ||
970
funcId == XPathBuilder.
FuncId
.NamespaceUri ||
971
funcId == XPathBuilder.
FuncId
.Name ||
972
funcId == XPathBuilder.
FuncId
.String ||
973
funcId == XPathBuilder.
FuncId
.Number ||
974
funcId == XPathBuilder.
FuncId
.StringLength ||
975
funcId == XPathBuilder.
FuncId
.Normalize