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