RecoverForXCompilationUnit
io.joern.x2cpg.passes.frontend.RecoverForXCompilationUnit
abstract class RecoverForXCompilationUnit[CompilationUnitType <: AstNode](cpg: Cpg, cu: CompilationUnitType, builder: DiffGraphBuilder, globalTable: SymbolTable[GlobalKey], addedNodes: Set[(Long, String)], enabledDummyTypes: Boolean) extends RecursiveTask[Unit]
Performs type recovery from the root of a compilation unit level
Attributes
- CompilationUnitType
the AstNode type used to represent a compilation unit of the language.
- addedNodes
new node tracking set.
- builder
the graph builder
- cpg
the graph.
- cu
a compilation unit, e.g. file, procedure, type, etc.
- enabledDummyTypes
enables placeholder/dummy types that show where a type comes from. Useful for pattern matching return values or field members where types are unknown.
- globalTable
the global symbol table.
- Graph
- Supertypes
- class RecursiveTask[Unit]class ForkJoinTask[Unit]trait Serializabletrait Future[Unit]class Objecttrait Matchableclass Any