Package: DeclBlockPair

DeclBlockPair

nameinstructionbranchcomplexitylinemethod
DeclBlockPair(AVarDeclIR, AVarDeclIR, ABlockStmIR)
M: 0 C: 12
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 5
100%
M: 0 C: 1
100%
getBlock()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getDecl()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getNextDecl()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: package org.overture.codegen.trans.patterns;
2:
3: import org.overture.codegen.ir.declarations.AVarDeclIR;
4: import org.overture.codegen.ir.statements.ABlockStmIR;
5:
6: public class DeclBlockPair
7: {
8:         private AVarDeclIR decl;
9:         private AVarDeclIR nextDecl;
10:         private ABlockStmIR block;
11:
12:         public DeclBlockPair(AVarDeclIR decl, AVarDeclIR nextDecl,
13:                         ABlockStmIR block)
14:         {
15:                 super();
16:                 this.decl = decl;
17:                 this.nextDecl = nextDecl;
18:                 this.block = block;
19:         }
20:
21:         public AVarDeclIR getDecl()
22:         {
23:                 return decl;
24:         }
25:
26:         public AVarDeclIR getNextDecl()
27:         {
28:                 return nextDecl;
29:         }
30:
31:         public ABlockStmIR getBlock()
32:         {
33:                 return block;
34:         }
35: }