private UstExprs.AssignmentExpression VisitAssignmentPattern(AssignmentPattern assignmentPattern) { var left = Visit(assignmentPattern.Left).ToExpressionIfRequired(); var right = Visit(assignmentPattern.Right).ToExpressionIfRequired(); return(new UstExprs.AssignmentExpression(left, right, GetTextSpan(assignmentPattern))); }
protected override void VisitAssignmentPattern(AssignmentPattern assignmentPattern) { using (StartNodeObject(assignmentPattern)) { Member("left", assignmentPattern.Left); Member("right", assignmentPattern.Right); } }
public virtual void VisitAssignmentPattern(AssignmentPattern assignmentPattern) { }
protected virtual void VisitAssignmentPattern(AssignmentPattern assignmentPattern) { }
protected internal override void VisitAssignmentPattern(AssignmentPattern assignmentPattern) { VisitingAssignmentPattern?.Invoke(this, assignmentPattern); base.VisitAssignmentPattern(assignmentPattern); VisitedAssignmentPattern?.Invoke(this, assignmentPattern); }
protected override void VisitAssignmentPattern(AssignmentPattern assignmentPattern) { // left side skipped (imports are read-only) Visit(assignmentPattern.Right); }