GCC Code Coverage Report


Directory: ../
File: src/visualizer/DependencyGraphVisualizer.h
Date: 2025-03-05 01:50:32
Exec Total Coverage
Lines: 0 0 -%
Functions: 0 0 -%
Branches: 0 0 -%

Line Branch Exec Source
1 // Copyright (c) 2021-2025 ChilliBits. All rights reserved.
2
3 #pragma once
4
5 #include <unordered_set>
6
7 #include <CompilerPass.h>
8
9 namespace spice::compiler {
10
11 // Forward declarations
12 class SourceFile;
13
14 class DependencyGraphVisualizer final : CompilerPass {
15 public:
16 // Constructors
17 using CompilerPass::CompilerPass;
18
19 // Public methods
20 void getDependencyGraph(std::stringstream &output);
21
22 private:
23 // Private members
24 std::unordered_set<const SourceFile *> printedFiles;
25
26 // Private methods
27 void getDependencyGraphNode(std::stringstream &output, const SourceFile *currentSourceFile);
28 };
29
30 } // namespace spice::compiler
31