8 types derived from AstNode
System.Xml (8)
System\Xml\XPath\Internal\Axis.cs (1)
15
internal class Axis :
AstNode
{
System\Xml\XPath\Internal\Filter.cs (1)
15
internal class Filter :
AstNode
{
System\Xml\XPath\Internal\Function.cs (1)
15
internal class Function :
AstNode
{
System\Xml\XPath\Internal\Group.cs (1)
14
internal class Group :
AstNode
{
System\Xml\XPath\Internal\Operand.cs (1)
15
internal class Operand :
AstNode
{
System\Xml\XPath\Internal\Operator.cs (1)
14
internal class Operator :
AstNode
{
System\Xml\XPath\Internal\Root.cs (1)
13
internal class Root :
AstNode
{
System\Xml\XPath\Internal\Variable.cs (1)
13
internal class Variable :
AstNode
{
112 references to AstNode
System.Xml (112)
System\Xml\XPath\Internal\Axis.cs (4)
17
private
AstNode
input;
41
public Axis(AxisType axisType,
AstNode
input, string prefix, string name, XPathNodeType nodetype) {
52
public Axis(AxisType axisType,
AstNode
input)
62
public
AstNode
Input {
System\Xml\XPath\Internal\Filter.cs (6)
16
private
AstNode
input;
17
private
AstNode
condition;
19
public Filter(
AstNode
input,
AstNode
condition) {
27
public
AstNode
Input { get { return input; } }
28
public
AstNode
Condition { get { return condition; } }
System\Xml\XPath\Internal\Function.cs (1)
69
public Function(FunctionType ftype,
AstNode
arg) {
System\Xml\XPath\Internal\Group.cs (3)
15
private
AstNode
groupNode;
17
public Group(
AstNode
groupNode) {
23
public
AstNode
GroupNode { get { return groupNode; } }
System\Xml\XPath\Internal\Operator.cs (6)
56
private
AstNode
opnd1;
57
private
AstNode
opnd2;
59
public Operator(Op op,
AstNode
opnd1,
AstNode
opnd2) {
79
public
AstNode
Operand1 { get { return opnd1; } }
80
public
AstNode
Operand2 { get { return opnd2; } }
System\Xml\XPath\Internal\QueryBuilder.cs (17)
208
if (root.Input.Type !=
AstNode
.AstType.Filter) {
315
ProcessNode((
AstNode
)(root.ArgumentList[0]), Flags.None, out props)
318
qy = new IDQuery(ProcessNode((
AstNode
)(root.ArgumentList[0]), Flags.None, out props));
326
ProcessNode((
AstNode
)(root.ArgumentList[0]), Flags.None, out props)
349
ProcessNode((
AstNode
)root.ArgumentList[0], Flags.None, out props)
361
ProcessNode((
AstNode
)root.ArgumentList[0], Flags.None, out props)
385
argList.Add(ProcessNode((
AstNode
)args[count], Flags.None, out argProps));
394
private Query ProcessNode(
AstNode
root, Flags flags, out Props props) {
404
case
AstNode
.AstType.Axis:
407
case
AstNode
.AstType.Operator:
410
case
AstNode
.AstType.Filter:
413
case
AstNode
.AstType.ConstantOperand:
416
case
AstNode
.AstType.Variable:
419
case
AstNode
.AstType.Function:
422
case
AstNode
.AstType.Group:
425
case
AstNode
.AstType.Root:
436
private Query Build(
AstNode
root, string query) {
System\Xml\XPath\Internal\XPathParser.cs (75)
24
public static
AstNode
ParseXPathExpresion(string xpathExpresion) {
27
AstNode
result = parser.ParseExpresion(null);
34
public static
AstNode
ParseXPathPattern(string xpathPattern) {
37
AstNode
result = parser.ParsePattern(null);
53
private
AstNode
ParseExpresion(
AstNode
qyInput) {
57
AstNode
result = ParseOrExpr(qyInput);
63
private
AstNode
ParseOrExpr(
AstNode
qyInput) {
64
AstNode
opnd = ParseAndExpr(qyInput);
76
private
AstNode
ParseAndExpr(
AstNode
qyInput) {
77
AstNode
opnd = ParseEqualityExpr(qyInput);
90
private
AstNode
ParseEqualityExpr(
AstNode
qyInput) {
91
AstNode
opnd = ParseRelationalExpr(qyInput);
109
private
AstNode
ParseRelationalExpr(
AstNode
qyInput) {
110
AstNode
opnd = ParseAdditiveExpr(qyInput);
130
private
AstNode
ParseAdditiveExpr(
AstNode
qyInput) {
131
AstNode
opnd = ParseMultiplicativeExpr(qyInput);
149
private
AstNode
ParseMultiplicativeExpr(
AstNode
qyInput) {
150
AstNode
opnd = ParseUnaryExpr(qyInput);
168
private
AstNode
ParseUnaryExpr(
AstNode
qyInput) {
184
private
AstNode
ParseUnionExpr(
AstNode
qyInput) {
185
AstNode
opnd = ParsePathExpr(qyInput);
192
AstNode
opnd2 = ParsePathExpr(qyInput);
213
private
AstNode
ParsePathExpr(
AstNode
qyInput) {
214
AstNode
opnd;
234
private
AstNode
ParseFilterExpr(
AstNode
qyInput) {
235
AstNode
opnd = ParsePrimaryExpr(qyInput);
244
private
AstNode
ParsePredicate(
AstNode
qyInput) {
245
AstNode
opnd;
258
private
AstNode
ParseLocationPath(
AstNode
qyInput) {
261
AstNode
opnd = new Root();
279
private
AstNode
ParseRelativeLocationPath(
AstNode
qyInput) {
280
AstNode
opnd = qyInput;
311
private
AstNode
ParseStep(
AstNode
qyInput) {
312
AstNode
opnd;
349
private
AstNode
ParseNodeTest(
AstNode
qyInput, Axis.AxisType axisType, XPathNodeType nodeType) {
410
private
AstNode
ParsePrimaryExpr(
AstNode
qyInput) {
412
AstNode
opnd = null;
431
if (opnd.Type !=
AstNode
.AstType.ConstantOperand) {
446
private
AstNode
ParseMethod(
AstNode
qyInput) {
471
AstNode
arg = (
AstNode
)argList[i];
486
AstNode
arg = (
AstNode
)argList[i];
520
private
AstNode
ParsePattern(
AstNode
qyInput) {
521
AstNode
opnd = ParseLocationPathPattern(qyInput);
534
private
AstNode
ParseLocationPathPattern(
AstNode
qyInput) {
535
AstNode
opnd = null;
571
private
AstNode
ParseIdKeyPattern(
AstNode
qyInput) {
604
private
AstNode
ParseRelativePathPattern(
AstNode
qyInput) {
605
AstNode
opnd = ParseStepPattern(qyInput);
619
private
AstNode
ParseStepPattern(
AstNode
qyInput) {
620
AstNode
opnd;