55 references to XPathOperator
System.Data.SqlXml (55)
System\Xml\Xsl\XPath\IXpathBuilder.cs (1)
24
Node Operator(
XPathOperator
op, Node left, Node right);
System\Xml\Xsl\XPath\XPathBuilder.cs (43)
105
public virtual QilNode Operator(
XPathOperator
op, QilNode left, QilNode right) {
106
Debug.Assert(op !=
XPathOperator
.Unknown);
120
QilNode LogicalOperator(
XPathOperator
op, QilNode left, QilNode right) {
121
Debug.Assert(op ==
XPathOperator
.Or || op ==
XPathOperator
.And);
125
op ==
XPathOperator
.Or ? f.Or (left, right) :
130
QilNode CompareValues(
XPathOperator
op, QilNode left, QilNode right, XmlTypeCode compType) {
137
case
XPathOperator
.Eq : return f.Eq(left, right);
138
case
XPathOperator
.Ne : return f.Ne(left, right);
139
case
XPathOperator
.Lt : return f.Lt(left, right);
140
case
XPathOperator
.Le : return f.Le(left, right);
141
case
XPathOperator
.Gt : return f.Gt(left, right);
142
case
XPathOperator
.Ge : return f.Ge(left, right);
149
QilNode CompareNodeSetAndValue(
XPathOperator
op, QilNode nodeset, QilNode val, XmlTypeCode compType) {
162
static
XPathOperator
InvertOp(
XPathOperator
op) {
164
op ==
XPathOperator
.Lt ?
XPathOperator
.Gt : // '<' --> '>'
165
op ==
XPathOperator
.Le ?
XPathOperator
.Ge : // '<=' --> '>='
166
op ==
XPathOperator
.Gt ?
XPathOperator
.Lt : // '>' --> '<'
167
op ==
XPathOperator
.Ge ?
XPathOperator
.Le : // '>=' --> '<='
172
QilNode CompareNodeSetAndNodeSet(
XPathOperator
op, QilNode left, QilNode right, XmlTypeCode compType) {
187
QilNode EqualityOperator(
XPathOperator
op, QilNode left, QilNode right) {
188
Debug.Assert(op ==
XPathOperator
.Eq || op ==
XPathOperator
.Ne);
210
QilNode RelationalOperator(
XPathOperator
op, QilNode left, QilNode right) {
211
Debug.Assert(op ==
XPathOperator
.Lt || op ==
XPathOperator
.Le || op ==
XPathOperator
.Gt || op ==
XPathOperator
.Ge);
231
QilNode NegateOperator(
XPathOperator
op, QilNode left, QilNode right) {
232
Debug.Assert(op ==
XPathOperator
.UnaryMinus);
237
QilNode ArithmeticOperator(
XPathOperator
op, QilNode left, QilNode right) {
241
case
XPathOperator
.Plus : return f.Add( left, right);
242
case
XPathOperator
.Minus : return f.Subtract(left, right);
243
case
XPathOperator
.Multiply : return f.Multiply(left, right);
244
case
XPathOperator
.Divide : return f.Divide( left, right);
245
case
XPathOperator
.Modulo : return f.Modulo( left, right);
252
QilNode UnionOperator(
XPathOperator
op, QilNode left, QilNode right) {
253
Debug.Assert(op ==
XPathOperator
.Union);
System\Xml\Xsl\XPath\XPathParser.cs (6)
312
XPathOperator
op;
317
op =
XPathOperator
.UnaryMinus;
327
op = (scanner.Kind <= LexKind.LastOperator) ? (
XPathOperator
)scanner.Kind :
XPathOperator
.Unknown;
369
opnd1 = builder.Operator(
XPathOperator
.Union, default(Node), opnd1);
377
opnd1 = builder.Operator(
XPathOperator
.Union, opnd1, opnd2);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
76
public QilNode Operator(
XPathOperator
op, QilNode left, QilNode right) {
77
Debug.Assert(op ==
XPathOperator
.Union);
System\Xml\Xsl\Xslt\XPathPatternParser.cs (1)
56
opnd = ptrnBuilder.Operator(
XPathOperator
.Union, opnd, ParseLocationPathPattern());
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (2)
914
public virtual XslFlags Operator(
XPathOperator
op, XslFlags left, XslFlags right) {
916
Debug.Assert(op !=
XPathOperator
.Unknown);