Package: DeclarationTag

DeclarationTag

nameinstructionbranchcomplexitylinemethod
DeclarationTag(boolean, AVarDeclIR)
M: 0 C: 9
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 4
100%
M: 0 C: 1
100%
getSuccessVarDecl()
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%
isDeclared()
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;
2:
3: import org.overture.codegen.ir.declarations.AVarDeclIR;
4:
5: public class DeclarationTag
6: {
7:         private boolean declared;
8:
9:         private AVarDeclIR successVarDecl;
10:
11:         public DeclarationTag(boolean declared, AVarDeclIR successVarDecl)
12:         {
13:                 this.declared = declared;
14:                 this.successVarDecl = successVarDecl;
15:         }
16:
17:         public boolean isDeclared()
18:         {
19:                 return declared;
20:         }
21:
22:         public AVarDeclIR getSuccessVarDecl()
23:         {
24:                 return successVarDecl;
25:         }
26: }