-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathAnalysisResults.cs
36 lines (28 loc) · 1.13 KB
/
AnalysisResults.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using SolcNet.DataDescription.Output;
using System.Collections.Generic;
namespace Meadow.CoverageReport
{
public class AnalysisResults
{
/// <summary>
/// All nodes with no filtering.
/// </summary>
public AstNode[] FullNodeList { get; set; }
/// <summary>
/// All nodes that have a corresponding sourcemap entry.
/// </summary>
public AstNode[] ReachableNodes { get; set; }
/// <summary>
/// All nodes that represent executable source code
/// </summary>
public AstNode[] AllActiveNodes { get; set; }
/// <summary>
/// All nodes that have executable source code which are not compiled into the bytecode and thus are
/// unreachable.
/// </summary>
public AstNode[] UnreachableNodes { get; set; }
public AstNode[] FunctionNode { get; set; }
public (AstNode Node, BranchType BranchType)[] BranchNodes { get; set; }
public IReadOnlyDictionary<(string FileName, string ContractName, string BytecodeHash), (SourceMapEntry[] NonDeployed, SourceMapEntry[] Deployed)> SourceMaps;
}
}