62 references to XPathExprType
System.ServiceModel (62)
System\ServiceModel\Dispatcher\XPathCompiler.cs (34)
186case XPathExprType.And: 190case XPathExprType.Or: 194case XPathExprType.Relational: 198case XPathExprType.Function: 202case XPathExprType.Union: 211case XPathExprType.RelativePath: 215case XPathExprType.LocationPath: 224case XPathExprType.Math: 228case XPathExprType.Number: 239case XPathExprType.String: 243case XPathExprType.Filter: 251case XPathExprType.Path: 259case XPathExprType.XsltFunction: 263case XPathExprType.XsltVariable: 273Fx.Assert(XPathExprType.Filter == expr.Type, ""); 316if (expr.Type != XPathExprType.XsltFunction) 386if (XPathExprType.String == expr.SubExpr[1].Type) 457if (XPathExprType.Number == mathExpr.Right.Type && XPathExprType.Number == mathExpr.Left.Type) 511bool leftNumber = (XPathExprType.Number == expr.Left.Type); 512bool rightNumber = (XPathExprType.Number == expr.Right.Type); 536bool leftNumber = (XPathExprType.Number == expr.Left.Type); 537bool rightNumber = (XPathExprType.Number == expr.Right.Type); 587if (expr.Type == XPathExprType.Filter) 616Fx.Assert(XPathExprType.PathStep == e.Type, ""); 649if (expr.IsLiteral && XPathExprType.Number == expr.Type) 692if (XPathExprType.Number == expr.Left.Type || XPathExprType.Number == expr.Right.Type) 699if (expr.Op == RelationOperator.Eq && (XPathExprType.String == expr.Left.Type || XPathExprType.String == expr.Right.Type)) 714Fx.Assert(XPathExprType.RelativePath == expr.Type, ""); 724bool leftString = (XPathExprType.String == expr.Left.Type); 725bool rightString = (XPathExprType.String == expr.Right.Type); 744Fx.Assert(XPathExprType.PathStep == steps[i].Type, "");
System\ServiceModel\Dispatcher\XPathExpr.cs (15)
35XPathExprType type; 39internal XPathExpr(XPathExprType type, ValueDataType returnType, XPathExprList subExpr) 45internal XPathExpr(XPathExprType type, ValueDataType returnType) 103internal XPathExprType Type 129internal void AddBooleanExpression(XPathExprType boolExprType, XPathExpr expr) 184internal XPathConjunctExpr(XPathExprType type, ValueDataType returnType, XPathExpr left, XPathExpr right) 217: base(XPathExprType.Relational, ValueDataType.Boolean, left, right) 240: base(XPathExprType.Math, ValueDataType.Double, left, right) 259: base(XPathExprType.Function, function.ReturnType, subExpr) 280: base(XPathExprType.XsltFunction, ConvertTypeFromXslt(function.ReturnType), subExpr) 351: base(XPathExprType.XsltVariable, XPathXsltFunctionExpr.ConvertTypeFromXslt(variable.VariableType)) 385: base(XPathExprType.PathStep, ValueDataType.Sequence, predicates) 402internal XPathLiteralExpr(XPathExprType type, ValueDataType returnType) 427: base(XPathExprType.String, ValueDataType.String) 454: base(XPathExprType.Number, ValueDataType.Double)
System\ServiceModel\Dispatcher\XPathParser.cs (13)
233XPathExpr andExpr = new XPathExpr(XPathExprType.And, ValueDataType.Boolean); 235andExpr.AddBooleanExpression(XPathExprType.And, eqExpr); 241andExpr.AddBooleanExpression(XPathExprType.And, eqExpr); 358XPathExpr filterExpr = new XPathExpr(XPathExprType.Filter, primaryExpr.ReturnType); 462return new XPathExpr(XPathExprType.LocationPath, ValueDataType.Sequence, path); 632XPathExpr orExpr = new XPathExpr(XPathExprType.Or, ValueDataType.Boolean); 634orExpr.AddBooleanExpression(XPathExprType.Or, andExpr); 640orExpr.AddBooleanExpression(XPathExprType.Or, andExpr); 673XPathExpr relPathExpr = new XPathExpr(XPathExprType.RelativePath, ValueDataType.Sequence, relPath); 675pathExpr = new XPathExpr(XPathExprType.Path, ValueDataType.Sequence); 689XPathExpr relPathExpr = new XPathExpr(XPathExprType.RelativePath, ValueDataType.Sequence, relPath); 690pathExpr = new XPathExpr(XPathExprType.Path, ValueDataType.Sequence); 969return new XPathConjunctExpr(XPathExprType.Union, ValueDataType.Sequence, leftExpr, rightExpr);