@nomiclabs/buidler > ResolvedFile

Class: ResolvedFile

Hierarchy

ResolvedFile

Index

Constructors

Properties

Methods


Constructors

constructor

new ResolvedFile(globalName: string, absolutePath: string, content: string, lastModificationDate: Date, libraryName?: undefined | string, libraryVersion?: undefined | string): ResolvedFile

Defined in internal/solidity/resolver.ts:16

Parameters:

Name Type
globalName string
absolutePath string
content string
lastModificationDate Date
Optional libraryName undefined | string
Optional libraryVersion undefined | string

Returns: ResolvedFile


Properties

absolutePath

● absolutePath: string

Defined in internal/solidity/resolver.ts:20


content

● content: string

Defined in internal/solidity/resolver.ts:21


globalName

● globalName: string

Defined in internal/solidity/resolver.ts:19


lastModificationDate

● lastModificationDate: Date

Defined in internal/solidity/resolver.ts:22


<Optional> library

● library: LibraryInfo

Defined in internal/solidity/resolver.ts:16


Methods

getVersionedName

getVersionedName(): string

Defined in internal/solidity/resolver.ts:39

Returns: string