64 references to FuncId
System.Private.Xml (64)
System\Xml\Xsl\XPath\XPathBuilder.cs (55)
11using FunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.XPath.XPathBuilder.FuncId>; 571case FuncId.Not: return _f.Not(args[0]); 572case FuncId.Last: return GetLastPosition(); 573case FuncId.Position: return GetCurrentPosition(); 574case FuncId.Count: return _f.XsltConvert(_f.Length(_f.DocOrderDistinct(args[0])), T.DoubleX); 575case FuncId.LocalName: return args.Count == 0 ? _f.LocalNameOf(GetCurrentNode()) : LocalNameOfFirstNode(args[0]); 576case FuncId.NamespaceUri: return args.Count == 0 ? _f.NamespaceUriOf(GetCurrentNode()) : NamespaceOfFirstNode(args[0]); 577case FuncId.Name: return args.Count == 0 ? NameOf(GetCurrentNode()) : NameOfFirstNode(args[0]); 578case FuncId.String: return args.Count == 0 ? _f.XPathNodeValue(GetCurrentNode()) : _f.ConvertToString(args[0]); 579case FuncId.Number: return args.Count == 0 ? _f.XsltConvert(_f.XPathNodeValue(GetCurrentNode()), T.DoubleX) : _f.ConvertToNumber(args[0]); 580case FuncId.Boolean: return _f.ConvertToBoolean(args[0]); 581case FuncId.True: return _f.True(); 582case FuncId.False: return _f.False(); 583case FuncId.Id: return _f.DocOrderDistinct(_f.Id(GetCurrentNode(), args[0])); 584case FuncId.Concat: return _f.StrConcat(args); 585case FuncId.StartsWith: return _f.InvokeStartsWith(args[0], args[1]); 586case FuncId.Contains: return _f.InvokeContains(args[0], args[1]); 587case FuncId.SubstringBefore: return _f.InvokeSubstringBefore(args[0], args[1]); 588case FuncId.SubstringAfter: return _f.InvokeSubstringAfter(args[0], args[1]); 589case FuncId.Substring: 591case FuncId.StringLength: 593case FuncId.Normalize: 595case FuncId.Translate: return _f.InvokeTranslate(args[0], args[1], args[2]); 596case FuncId.Lang: return _f.InvokeLang(args[0], GetCurrentNode()); 597case FuncId.Sum: return Sum(_f.DocOrderDistinct(args[0])); 598case FuncId.Floor: return _f.InvokeFloor(args[0]); 599case FuncId.Ceiling: return _f.InvokeCeiling(args[0]); 600case FuncId.Round: return _f.InvokeRound(args[0]); 791table.Add("last", new FunctionInfo(FuncId.Last, 0, 0, null)); 792table.Add("position", new FunctionInfo(FuncId.Position, 0, 0, null)); 793table.Add("name", new FunctionInfo(FuncId.Name, 0, 1, argNodeSet)); 794table.Add("namespace-uri", new FunctionInfo(FuncId.NamespaceUri, 0, 1, argNodeSet)); 795table.Add("local-name", new FunctionInfo(FuncId.LocalName, 0, 1, argNodeSet)); 796table.Add("count", new FunctionInfo(FuncId.Count, 1, 1, argNodeSet)); 797table.Add("id", new FunctionInfo(FuncId.Id, 1, 1, argAny)); 798table.Add("string", new FunctionInfo(FuncId.String, 0, 1, argAny)); 799table.Add("concat", new FunctionInfo(FuncId.Concat, 2, FunctionInfo.Infinity, null)); 800table.Add("starts-with", new FunctionInfo(FuncId.StartsWith, 2, 2, argString2)); 801table.Add("contains", new FunctionInfo(FuncId.Contains, 2, 2, argString2)); 802table.Add("substring-before", new FunctionInfo(FuncId.SubstringBefore, 2, 2, argString2)); 803table.Add("substring-after", new FunctionInfo(FuncId.SubstringAfter, 2, 2, argString2)); 804table.Add("substring", new FunctionInfo(FuncId.Substring, 2, 3, argFnSubstr)); 805table.Add("string-length", new FunctionInfo(FuncId.StringLength, 0, 1, argString)); 806table.Add("normalize-space", new FunctionInfo(FuncId.Normalize, 0, 1, argString)); 807table.Add("translate", new FunctionInfo(FuncId.Translate, 3, 3, argString3)); 808table.Add("boolean", new FunctionInfo(FuncId.Boolean, 1, 1, argAny)); 809table.Add("not", new FunctionInfo(FuncId.Not, 1, 1, argBoolean)); 810table.Add("true", new FunctionInfo(FuncId.True, 0, 0, null)); 811table.Add("false", new FunctionInfo(FuncId.False, 0, 0, null)); 812table.Add("lang", new FunctionInfo(FuncId.Lang, 1, 1, argString)); 813table.Add("number", new FunctionInfo(FuncId.Number, 0, 1, argAny)); 814table.Add("sum", new FunctionInfo(FuncId.Sum, 1, 1, argNodeSet)); 815table.Add("floor", new FunctionInfo(FuncId.Floor, 1, 1, argDouble)); 816table.Add("ceiling", new FunctionInfo(FuncId.Ceiling, 1, 1, argDouble)); 817table.Add("round", new FunctionInfo(FuncId.Round, 1, 1, argDouble));
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (9)
13using XPathFunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.XPath.XPathBuilder.FuncId>; 1078XPathBuilder.FuncId funcId = xpathFunc.id; 1081funcId == XPathBuilder.FuncId.LocalName || 1082funcId == XPathBuilder.FuncId.NamespaceUri || 1083funcId == XPathBuilder.FuncId.Name || 1084funcId == XPathBuilder.FuncId.String || 1085funcId == XPathBuilder.FuncId.Number || 1086funcId == XPathBuilder.FuncId.StringLength || 1087funcId == XPathBuilder.FuncId.Normalize