1 type derived from Axis
System.Xml (1)
System\Xml\Schema\Asttree.cs (1)
342internal class DoubleLinkAxis : Axis {
9 instantiations of Axis
System.Xml (9)
System\Xml\XPath\Internal\XPathParser.cs (9)
223 opnd = ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, opnd)); 270return ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, new Root())); 285opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 315opnd = new Axis(Axis.AxisType.Self, qyInput); 319opnd = new Axis(Axis.AxisType.Parent, qyInput); 396return new Axis(axisType, qyInput, nodePrefix, nodeName, nodeType); 546opnd = new Axis(Axis.AxisType.DescendantOrSelf, new Root()); 558opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 608opnd = ParseRelativePathPattern(new Axis(Axis.AxisType.DescendantOrSelf, opnd));
80 references to Axis
System.Xml (80)
System\Xml\Schema\Asttree.cs (25)
343internal Axis next; 345internal Axis Next { 351internal DoubleLinkAxis(Axis axis, DoubleLinkAxis inputaxis) 362internal static DoubleLinkAxis ConvertTree (Axis axis) { 366return ( new DoubleLinkAxis (axis, ConvertTree ((Axis) (axis.Input)))); 462private static bool IsNameTest(Axis ast) { 465return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.NodeType == XPathNodeType.Element)); 468internal static bool IsAttribute(Axis ast) { 469return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.NodeType == XPathNodeType.Attribute)); 472private static bool IsDescendantOrSelf(Axis ast) { 473return ((ast.TypeOfAxis == Axis.AxisType.DescendantOrSelf) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis)); 476internal static bool IsSelf(Axis ast) { 477return ((ast.TypeOfAxis == Axis.AxisType.Self) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis)); 498Axis ast = (Axis) (XPathParser.ParseXPathExpresion(xpath[i])); 506Axis stepAst; 508Axis ast = (Axis) AstArray[i]; 517Axis top = stepAst; 528stepAst = (Axis) (stepAst.Input); 550stepAst = (Axis) (stepAst.Input); 562this.fAxisArray.Add ( new ForwardAxis ( DoubleLinkAxis.ConvertTree ((Axis) (ast.Input)), false)); 573stepAst = (Axis) (stepAst.Input); 584this.fAxisArray.Add ( new ForwardAxis ( DoubleLinkAxis.ConvertTree ((Axis) (ast.Input)), true)); 600private void SetURN (Axis axis, XmlNamespaceManager nsmgr) {
System\Xml\XPath\Internal\QueryBuilder.cs (21)
56private Query ProcessAxis(Axis root, Flags flags, out Props props) { 66Axis input = root.Input as Axis; 69root.TypeOfAxis == Axis.AxisType.Child && 70input.TypeOfAxis == Axis.AxisType.DescendantOrSelf && input.NodeType == XPathNodeType.All 87if (root.TypeOfAxis == Axis.AxisType.Descendant || root.TypeOfAxis == Axis.AxisType.DescendantOrSelf) { 100case Axis.AxisType.Ancestor: 104case Axis.AxisType.AncestorOrSelf: 108case Axis.AxisType.Child: 115case Axis.AxisType.Parent: 118case Axis.AxisType.Descendant: 129case Axis.AxisType.DescendantOrSelf: 140case Axis.AxisType.Preceding: 144case Axis.AxisType.Following: 148case Axis.AxisType.FollowingSibling: 154case Axis.AxisType.PrecedingSibling: 157case Axis.AxisType.Attribute: 160case Axis.AxisType.Self: 163case Axis.AxisType.Namespace: 405result = ProcessAxis((Axis)root, flags, out props);
System\Xml\XPath\Internal\XPathParser.cs (34)
223 opnd = ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, opnd)); 270return ParseRelativeLocationPath(new Axis(Axis.AxisType.DescendantOrSelf, new Root())); 285opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 315opnd = new Axis(Axis.AxisType.Self, qyInput); 319opnd = new Axis(Axis.AxisType.Parent, qyInput); 322Axis.AxisType axisType = Axis.AxisType.Child; 325axisType = Axis.AxisType.Attribute; 334axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute : 349private AstNode ParseNodeTest(AstNode qyInput, Axis.AxisType axisType, XPathNodeType nodeType) { 546opnd = new Axis(Axis.AxisType.DescendantOrSelf, new Root()); 558opnd = new Axis(Axis.AxisType.DescendantOrSelf, opnd); 608opnd = ParseRelativePathPattern(new Axis(Axis.AxisType.DescendantOrSelf, opnd)); 621Axis.AxisType axisType = Axis.AxisType.Child; 624axisType = Axis.AxisType.Attribute; 629if (axisType != Axis.AxisType.Child && axisType != Axis.AxisType.Attribute) { 636axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute : 745table.Add("ancestor" , Axis.AxisType.Ancestor ); 746table.Add("ancestor-or-self" , Axis.AxisType.AncestorOrSelf ); 747table.Add("attribute" , Axis.AxisType.Attribute ); 748table.Add("child" , Axis.AxisType.Child ); 749table.Add("descendant" , Axis.AxisType.Descendant ); 750table.Add("descendant-or-self", Axis.AxisType.DescendantOrSelf ); 751table.Add("following" , Axis.AxisType.Following ); 752table.Add("following-sibling" , Axis.AxisType.FollowingSibling ); 753table.Add("namespace" , Axis.AxisType.Namespace ); 754table.Add("parent" , Axis.AxisType.Parent ); 755table.Add("preceding" , Axis.AxisType.Preceding ); 756table.Add("preceding-sibling" , Axis.AxisType.PrecedingSibling ); 757table.Add("self" , Axis.AxisType.Self ); 761private Axis.AxisType GetAxis(XPathScanner scaner) { 767return (Axis.AxisType) axis;