Exemple #1
0
        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);
     }
 }
Exemple #3
0
 public virtual void VisitAssignmentPattern(AssignmentPattern assignmentPattern)
 {
 }
Exemple #4
0
 protected virtual void VisitAssignmentPattern(AssignmentPattern assignmentPattern)
 {
 }
Exemple #5
0
 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);
 }