forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParsedProject.java
More file actions
31 lines (25 loc) · 809 Bytes
/
Copy pathParsedProject.java
File metadata and controls
31 lines (25 loc) · 809 Bytes
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
package com.semmle.js.parser;
import java.io.File;
import java.util.Set;
public class ParsedProject {
private final File tsConfigFile;
private final Set<File> ownFiles;
private final Set<File> allFiles;
public ParsedProject(File tsConfigFile, Set<File> ownFiles, Set<File> allFiles) {
this.tsConfigFile = tsConfigFile;
this.ownFiles = ownFiles;
this.allFiles = allFiles;
}
/** Returns the <code>tsconfig.json</code> file that defines this project. */
public File getTsConfigFile() {
return tsConfigFile;
}
/** Absolute paths to the files included in this project. */
public Set<File> getOwnFiles() {
return ownFiles;
}
/** Absolute paths to the files included in or referenced by this project. */
public Set<File> getAllFiles() {
return allFiles;
}
}