Beispiel #1
0
 void IAstVisitor.VisitArrayCreateExpression(ArrayCreateExpression arraySCreateExpression)
 {
     Visit(EnterArrayCreateExpression, LeaveArrayCreateExpression, arraySCreateExpression);
 }
Beispiel #2
0
 public override void VisitArrayCreateExpression(ArrayCreateExpression arrayObjectCreateExpression)
 {
     FormatCommas(arrayObjectCreateExpression, policy.SpaceBeforeMethodCallParameterComma, policy.SpaceAfterMethodCallParameterComma);
     base.VisitArrayCreateExpression(arrayObjectCreateExpression);
 }
Beispiel #3
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            ArrayCreateExpression o = other as ArrayCreateExpression;

            return(o != null && this.Type.DoMatch(o.Type, match) && this.Arguments.DoMatch(o.Arguments, match) && this.AdditionalArraySpecifiers.DoMatch(o.AdditionalArraySpecifiers, match) && this.Initializer.DoMatch(o.Initializer, match));
        }