diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 22:33:25 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 22:41:49 +0800 |
commit | 0abf1c71f64e90aba3e3bac55c8c24dc984bf80d (patch) | |
tree | 706164fe8eb0f002cdce55629a14a0092a5c40de /packages/sol-resolver | |
parent | 85be2fbf19ef937709f747b0c9169a2cf3e6697e (diff) | |
download | dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.tar dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.tar.gz dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.tar.bz2 dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.tar.lz dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.tar.xz dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.tar.zst dexon-sol-tools-0abf1c71f64e90aba3e3bac55c8c24dc984bf80d.zip |
Add a comment for SpyResolver
Diffstat (limited to 'packages/sol-resolver')
-rw-r--r-- | packages/sol-resolver/src/resolvers/spy_resolver.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/sol-resolver/src/resolvers/spy_resolver.ts b/packages/sol-resolver/src/resolvers/spy_resolver.ts index b31ecfe1d..5582d771a 100644 --- a/packages/sol-resolver/src/resolvers/spy_resolver.ts +++ b/packages/sol-resolver/src/resolvers/spy_resolver.ts @@ -4,6 +4,10 @@ import { ContractSource } from '../types'; import { Resolver } from './resolver'; +/** + * This resolver is a passthrough proxy to any resolver that records all the resolved contracts sources. + * You can access them later using the `resolvedContractSources` public field. + */ export class SpyResolver extends Resolver { public resolvedContractSources: ContractSource[] = []; private readonly _resolver: Resolver; |