Пример #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)));
        }
Пример #2
0
 protected override void VisitAssignmentPattern(AssignmentPattern assignmentPattern)
 {
     using (StartNodeObject(assignmentPattern))
     {
         Member("left", assignmentPattern.Left);
         Member("right", assignmentPattern.Right);
     }
 }
Пример #3
0
 public virtual void VisitAssignmentPattern(AssignmentPattern assignmentPattern)
 {
 }
Пример #4
0
 protected virtual void VisitAssignmentPattern(AssignmentPattern assignmentPattern)
 {
 }
Пример #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);
 }