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