public BoundCompoundFieldAssignmentExpression(SyntaxNode syntax, BoundExpression structInstance, VariableSymbol structMember, BoundBinaryOperator op, BoundExpression expression) : base(syntax) { StructInstance = structInstance; StructMember = structMember; Op = op; Expression = expression; }
public static BoundBinaryExpression Binary(SyntaxNode syntax, BoundExpression left, BoundBinaryOperator op, BoundExpression right) { return(new BoundBinaryExpression(syntax, left, op, right)); }
public BoundCompoundAssignmentExpression(SyntaxNode syntax, VariableSymbol variable, BoundBinaryOperator op, BoundExpression expression) : base(syntax) { Variable = variable; Op = op; Expression = expression; }
public static BoundBinaryExpression Binary(SyntaxNode syntax, BoundExpression left, SyntaxKind kind, BoundExpression right) { var op = BoundBinaryOperator.Bind(kind, left.Type, right.Type) !; return(Binary(syntax, left, op, right)); }