Пример #1
0
 private static bool OperandsAre(BinaryOperatorExpression binOp, AphidExpressionType type) =>
 binOp.LeftOperand.Type == type && binOp.RightOperand.Type == type;
Пример #2
0
 public List <AphidExpression> Find(
     List <AphidExpression> source,
     AphidExpressionType expressionType,
     bool ignoreMatchChildren = false) => Find(source, x => x.Type == expressionType);