Example #1
0
 private static BoundBinaryOperator BindBinaryOperator(TokenKind kind)
 {
     return(BoundBinaryOperator.GetOperator(kind)
            ?? throw new Exception($"Unexpected binary operator kind {kind}."));
 }
Example #2
0
 public BoundBinaryOperationExpression(SyntaxNode syntax, BoundExpression left, BoundBinaryOperator op, BoundExpression right)
     : base(syntax)
 {
     Left  = left;
     Op    = op;
     Right = right;
 }