• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Es2panda Dependency analyzer
2
3Defining dependencies between files. Not including standard library files.
4
5
6> What is it?
7
8Import dependency analyzer between files.
9
10> Added special case handling.
11
121) Standard libraries are not handled by our dependency analyzer.
13
142) To prevent loops, it is checked whether this file has been processed before. If so, we skip it.
15
16> The result
17
18The result of the program is std::vector of full file paths. The paths in the array are sorted by import precedence.
19
20If any imported file was not found, the program returns with an error, otherwise it returns 0.
21
22## Usage
23
24```
25dependency_analyzer [input_file] [OPTIONS]
26```
27
28## Arguments
29
30- `input`: input file
31
32### Optional arguments
33- `--output`: dump output file.
34Type of dump to a output file:
35
36```
37<Input file absolute path>
38<First include-file absolute path>
39<Second include-file absolute path>
40...
41```
42
43## Running the tests
44
45```
46es2panda_depanalyz_tests
47```