예제 #1
0
파일: Statements.cs 프로젝트: tupipa/vcc
 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);
     }
 }
예제 #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);
 }