/// <summary> /// Expands short assignment to an identifier: /// x += 1 /// </summary> private NodeBase ExpandIdentifier(SetIdentifierNode node) { return(Expr.Set( node.Identifier, _assignmentOperator( Expr.Get(node.Identifier), node.Value ) )); }
protected bool Equals(SetIdentifierNode other) { return(base.Equals(other) && Equals(Value, other.Value)); }
protected bool Equals(SetIdentifierNode other) { return base.Equals(other) && Equals(Value, other.Value); }
/// <summary> /// Expands short assignment to an identifier: /// x += 1 /// </summary> private NodeBase expandIdentifier(SetIdentifierNode node) { return Expr.Set( node.Identifier, _AssignmentOperator( Expr.Get(node.Identifier), node.Value ) ); }