1 type derived from Axis
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (1)
403internal class DoubleLinkAxis : Axis
9 instantiations of Axis
dotnet-svcutil-lib (9)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (9)
259opnd = ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, opnd)); 314return ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, new Root())); 333opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 368opnd = new Axis(Axis.AxisType.Self, qyInput); 373opnd = new Axis(Axis.AxisType.Parent, qyInput); 460return new Axis(axisType, qyInput, nodePrefix, nodeName, nodeType); 638opnd = new Axis(Axis.AxisType.DescendantOrSelf, new Root()); 653opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 709opnd = ParseRelativePathPattern(new Axis(Axis.AxisType.DescendantOrSelf, opnd));
80 references to Axis
dotnet-svcutil-lib (80)
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (25)
405internal Axis next; 407internal Axis Next 414internal DoubleLinkAxis(Axis axis, DoubleLinkAxis inputaxis) 427internal static DoubleLinkAxis ConvertTree(Axis axis) 433return (new DoubleLinkAxis(axis, ConvertTree((Axis)(axis.Input)))); 543private static bool IsNameTest(Axis ast) 547return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.NodeType == XPathNodeType.Element)); 550internal static bool IsAttribute(Axis ast) 552return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.NodeType == XPathNodeType.Attribute)); 555private static bool IsDescendantOrSelf(Axis ast) 557return ((ast.TypeOfAxis == Axis.AxisType.DescendantOrSelf) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis)); 560internal static bool IsSelf(Axis ast) 562return ((ast.TypeOfAxis == Axis.AxisType.Self) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis)); 587Axis ast = (Axis)(XPathParser.ParseXPathExpresion(xpath[i])); 596Axis stepAst; 599Axis ast = (Axis)AstArray[i]; 609Axis top = stepAst; 624stepAst = (Axis)(stepAst.Input); 652stepAst = (Axis)(stepAst.Input); 667_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree((Axis)(ast.Input)), false)); 681stepAst = (Axis)(stepAst.Input); 695_fAxisArray.Add(new ForwardAxis(DoubleLinkAxis.ConvertTree((Axis)(ast.Input)), true)); 712private void SetURN(Axis axis, XmlNamespaceManager nsmgr)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (21)
58private Query ProcessAxis(Axis root, Flags flags, out Props props) 73Axis input = root.Input as Axis; 77root.TypeOfAxis == Axis.AxisType.Child && 78input.TypeOfAxis == Axis.AxisType.DescendantOrSelf && input.NodeType == XPathNodeType.All 100if (root.TypeOfAxis == Axis.AxisType.Descendant || root.TypeOfAxis == Axis.AxisType.DescendantOrSelf) 117case Axis.AxisType.Ancestor: 121case Axis.AxisType.AncestorOrSelf: 125case Axis.AxisType.Child: 135case Axis.AxisType.Parent: 138case Axis.AxisType.Descendant: 153case Axis.AxisType.DescendantOrSelf: 168case Axis.AxisType.Preceding: 172case Axis.AxisType.Following: 176case Axis.AxisType.FollowingSibling: 183case Axis.AxisType.PrecedingSibling: 186case Axis.AxisType.Attribute: 189case Axis.AxisType.Self: 192case Axis.AxisType.Namespace: 472result = ProcessAxis((Axis)root, flags, out props);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (34)
259opnd = ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, opnd)); 314return ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, new Root())); 333opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 368opnd = new Axis(Axis.AxisType.Self, qyInput); 373opnd = new Axis(Axis.AxisType.Parent, qyInput); 377Axis.AxisType axisType = Axis.AxisType.Child; 381axisType = Axis.AxisType.Attribute; 390axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute : 406private AstNode ParseNodeTest(AstNode qyInput, Axis.AxisType axisType, XPathNodeType nodeType) 638opnd = new Axis(Axis.AxisType.DescendantOrSelf, new Root()); 653opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 709opnd = ParseRelativePathPattern(new Axis(Axis.AxisType.DescendantOrSelf, opnd)); 724Axis.AxisType axisType = Axis.AxisType.Child; 728axisType = Axis.AxisType.Attribute; 733if (axisType != Axis.AxisType.Child && axisType != Axis.AxisType.Attribute) 741axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute : 862table.Add("ancestor", Axis.AxisType.Ancestor); 863table.Add("ancestor-or-self", Axis.AxisType.AncestorOrSelf); 864table.Add("attribute", Axis.AxisType.Attribute); 865table.Add("child", Axis.AxisType.Child); 866table.Add("descendant", Axis.AxisType.Descendant); 867table.Add("descendant-or-self", Axis.AxisType.DescendantOrSelf); 868table.Add("following", Axis.AxisType.Following); 869table.Add("following-sibling", Axis.AxisType.FollowingSibling); 870table.Add("namespace", Axis.AxisType.Namespace); 871table.Add("parent", Axis.AxisType.Parent); 872table.Add("preceding", Axis.AxisType.Preceding); 873table.Add("preceding-sibling", Axis.AxisType.PrecedingSibling); 874table.Add("self", Axis.AxisType.Self); 878private Axis.AxisType GetAxis(XPathScanner scaner) 886return (Axis.AxisType)axis;