59 references to AxisType
dotnet-svcutil-lib (59)
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (4)
547
return ((ast.TypeOfAxis == Axis.
AxisType
.Child) && (ast.NodeType == XPathNodeType.Element));
552
return ((ast.TypeOfAxis == Axis.
AxisType
.Attribute) && (ast.NodeType == XPathNodeType.Attribute));
557
return ((ast.TypeOfAxis == Axis.
AxisType
.DescendantOrSelf) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis));
562
return ((ast.TypeOfAxis == Axis.
AxisType
.Self) && (ast.NodeType == XPathNodeType.All) && (ast.AbbrAxis));
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Axis.cs (4)
15
private
AxisType
_axisType;
41
public Axis(
AxisType
axisType, AstNode input, string prefix, string name, XPathNodeType nodetype)
53
public Axis(
AxisType
axisType, AstNode input)
72
public
AxisType
TypeOfAxis { get { return _axisType; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (17)
77
root.TypeOfAxis == Axis.
AxisType
.Child &&
78
input.TypeOfAxis == Axis.
AxisType
.DescendantOrSelf && input.NodeType == XPathNodeType.All
100
if (root.TypeOfAxis == Axis.
AxisType
.Descendant || root.TypeOfAxis == Axis.
AxisType
.DescendantOrSelf)
117
case Axis.
AxisType
.Ancestor:
121
case Axis.
AxisType
.AncestorOrSelf:
125
case Axis.
AxisType
.Child:
135
case Axis.
AxisType
.Parent:
138
case Axis.
AxisType
.Descendant:
153
case Axis.
AxisType
.DescendantOrSelf:
168
case Axis.
AxisType
.Preceding:
172
case Axis.
AxisType
.Following:
176
case Axis.
AxisType
.FollowingSibling:
183
case Axis.
AxisType
.PrecedingSibling:
186
case Axis.
AxisType
.Attribute:
189
case Axis.
AxisType
.Self:
192
case Axis.
AxisType
.Namespace:
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (34)
259
opnd = ParseRelativeLocationPath(new Axis(Axis.
AxisType
.DescendantOrSelf, opnd));
314
return ParseRelativeLocationPath(new Axis(Axis.
AxisType
.DescendantOrSelf, new Root()));
333
opnd = new Axis(Axis.
AxisType
.DescendantOrSelf, opnd);
368
opnd = new Axis(Axis.
AxisType
.Self, qyInput);
373
opnd = new Axis(Axis.
AxisType
.Parent, qyInput);
377
Axis.
AxisType
axisType = Axis.
AxisType
.Child;
381
axisType = Axis.
AxisType
.Attribute;
390
axisType == Axis.
AxisType
.Attribute ? XPathNodeType.Attribute :
406
private AstNode ParseNodeTest(AstNode qyInput, Axis.
AxisType
axisType, XPathNodeType nodeType)
638
opnd = new Axis(Axis.
AxisType
.DescendantOrSelf, new Root());
653
opnd = new Axis(Axis.
AxisType
.DescendantOrSelf, opnd);
709
opnd = ParseRelativePathPattern(new Axis(Axis.
AxisType
.DescendantOrSelf, opnd));
724
Axis.
AxisType
axisType = Axis.
AxisType
.Child;
728
axisType = Axis.
AxisType
.Attribute;
733
if (axisType != Axis.
AxisType
.Child && axisType != Axis.
AxisType
.Attribute)
741
axisType == Axis.
AxisType
.Attribute ? XPathNodeType.Attribute :
862
table.Add("ancestor", Axis.
AxisType
.Ancestor);
863
table.Add("ancestor-or-self", Axis.
AxisType
.AncestorOrSelf);
864
table.Add("attribute", Axis.
AxisType
.Attribute);
865
table.Add("child", Axis.
AxisType
.Child);
866
table.Add("descendant", Axis.
AxisType
.Descendant);
867
table.Add("descendant-or-self", Axis.
AxisType
.DescendantOrSelf);
868
table.Add("following", Axis.
AxisType
.Following);
869
table.Add("following-sibling", Axis.
AxisType
.FollowingSibling);
870
table.Add("namespace", Axis.
AxisType
.Namespace);
871
table.Add("parent", Axis.
AxisType
.Parent);
872
table.Add("preceding", Axis.
AxisType
.Preceding);
873
table.Add("preceding-sibling", Axis.
AxisType
.PrecedingSibling);
874
table.Add("self", Axis.
AxisType
.Self);
878
private Axis.
AxisType
GetAxis(XPathScanner scaner)
886
return (Axis.
AxisType
)axis;