55 references to XPathOperator
System.Private.Xml (55)
System\Xml\Xsl\XPath\IXpathBuilder.cs (1)
24
Node Operator(
XPathOperator
op, Node? left, Node? right);
System\Xml\Xsl\XPath\XPathBuilder.cs (43)
113
public virtual QilNode Operator(
XPathOperator
op, QilNode? left, QilNode? right)
115
Debug.Assert(op !=
XPathOperator
.Unknown);
134
private QilNode LogicalOperator(
XPathOperator
op, QilNode left, QilNode right)
136
Debug.Assert(op ==
XPathOperator
.Or || op ==
XPathOperator
.And);
140
op ==
XPathOperator
.Or ? _f.Or(left, right) :
145
private QilNode CompareValues(
XPathOperator
op, QilNode left, QilNode right, XmlTypeCode compType)
154
case
XPathOperator
.Eq: return _f.Eq(left, right);
155
case
XPathOperator
.Ne: return _f.Ne(left, right);
156
case
XPathOperator
.Lt: return _f.Lt(left, right);
157
case
XPathOperator
.Le: return _f.Le(left, right);
158
case
XPathOperator
.Gt: return _f.Gt(left, right);
159
case
XPathOperator
.Ge: return _f.Ge(left, right);
166
private QilNode CompareNodeSetAndValue(
XPathOperator
op, QilNode nodeset, QilNode val, XmlTypeCode compType)
183
private static
XPathOperator
InvertOp(
XPathOperator
op)
186
op ==
XPathOperator
.Lt ?
XPathOperator
.Gt : // '<' --> '>'
187
op ==
XPathOperator
.Le ?
XPathOperator
.Ge : // '<=' --> '>='
188
op ==
XPathOperator
.Gt ?
XPathOperator
.Lt : // '>' --> '<'
189
op ==
XPathOperator
.Ge ?
XPathOperator
.Le : // '>=' --> '<='
194
private QilNode CompareNodeSetAndNodeSet(
XPathOperator
op, QilNode left, QilNode right, XmlTypeCode compType)
212
private QilNode EqualityOperator(
XPathOperator
op, QilNode left, QilNode right)
214
Debug.Assert(op ==
XPathOperator
.Eq || op ==
XPathOperator
.Ne);
245
private QilNode RelationalOperator(
XPathOperator
op, QilNode left, QilNode right)
247
Debug.Assert(op ==
XPathOperator
.Lt || op ==
XPathOperator
.Le || op ==
XPathOperator
.Gt || op ==
XPathOperator
.Ge);
276
private QilNode NegateOperator(
XPathOperator
op, QilNode left)
278
Debug.Assert(op ==
XPathOperator
.UnaryMinus);
282
private QilNode ArithmeticOperator(
XPathOperator
op, QilNode left, QilNode right)
288
case
XPathOperator
.Plus: return _f.Add(left, right);
289
case
XPathOperator
.Minus: return _f.Subtract(left, right);
290
case
XPathOperator
.Multiply: return _f.Multiply(left, right);
291
case
XPathOperator
.Divide: return _f.Divide(left, right);
292
case
XPathOperator
.Modulo: return _f.Modulo(left, right);
299
private QilNode UnionOperator(
XPathOperator
op, QilNode? left, QilNode right)
301
Debug.Assert(op ==
XPathOperator
.Union);
System\Xml\Xsl\XPath\XPathParser.cs (6)
355
XPathOperator
op;
381
op =
XPathOperator
.UnaryMinus;
394
op = (_scanner.Kind <= LexKind.LastOperator) ? (
XPathOperator
)_scanner.Kind :
XPathOperator
.Unknown;
420
opnd1 = _builder!.Operator(
XPathOperator
.Union, default(Node), opnd1);
429
opnd1 = _builder.Operator(
XPathOperator
.Union, opnd1, opnd2);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
78
public QilNode Operator(
XPathOperator
op, QilNode? left, QilNode? right)
80
Debug.Assert(op ==
XPathOperator
.Union);
System\Xml\Xsl\Xslt\XPathPatternParser.cs (1)
59
opnd = _ptrnBuilder!.Operator(
XPathOperator
.Union, opnd, ParseLocationPathPattern());
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (2)
1011
public XslFlags Operator(
XPathOperator
op, XslFlags left, XslFlags right)
1014
Debug.Assert(op !=
XPathOperator
.Unknown);