59 references to AxisType
dotnet-svcutil-lib (59)
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (4)
547return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.NodeType == XPathNodeType.Element)); 552return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.NodeType == XPathNodeType.Attribute)); 557return ((ast.TypeOfAxis == Axis.AxisType.DescendantOrSelf) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis)); 562return ((ast.TypeOfAxis == Axis.AxisType.Self) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis));
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Axis.cs (4)
15private AxisType _axisType; 41public Axis(AxisType axisType, AstNode input, string prefix, string name, XPathNodeType nodetype) 53public Axis(AxisType axisType, AstNode input) 72public AxisType TypeOfAxis { get { return _axisType; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (17)
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:
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;