Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 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);
 }