@nomiclabs/buidler > DependencyGraph

Class: DependencyGraph

Hierarchy

DependencyGraph

Index

Properties

Methods


Properties

dependenciesPerFile

● dependenciesPerFile: Map<ResolvedFile, Set<ResolvedFile>> = new Map< ResolvedFile, Set

()

Defined in internal/solidity/dependencyGraph.ts:18


Methods

getResolvedFiles

getResolvedFiles(): ResolvedFile[]

Defined in internal/solidity/dependencyGraph.ts:27

Returns: ResolvedFile[]


<Static> createFromResolvedFiles

createFromResolvedFiles(resolver: Resolver, resolvedFiles: ResolvedFile[]): Promise<DependencyGraph>

Defined in internal/solidity/dependencyGraph.ts:5

Parameters:

Name Type
resolver Resolver
resolvedFiles ResolvedFile[]

Returns: Promise<DependencyGraph>