private VccMatchCase(VccMatchStatement stmt, VccMatchCase template) : base(template.sourceLocation) { this.containingMatchStatement = stmt; this._body = (BlockStatement)template.Body.MakeCopyFor(stmt.Block); if (template.pattern != null) { this.pattern = template.pattern.MakeCopyFor(stmt.Block); } }
private VccMatchCase(VccMatchStatement stmt, VccMatchCase template) : base(template.sourceLocation) { this.containingMatchStatement = stmt; this._body = (BlockStatement)template.Body.MakeCopyFor(stmt.Block); if (template.pattern != null) this.pattern = template.pattern.MakeCopyFor(stmt.Block); }