diff options
Diffstat (limited to 'CompilerStack.h')
-rw-r--r-- | CompilerStack.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CompilerStack.h b/CompilerStack.h index 0520f2b1..a5b8ec41 100644 --- a/CompilerStack.h +++ b/CompilerStack.h @@ -54,6 +54,9 @@ public: void parse(); /// Sets the given source code as the only source unit and parses it. void parse(std::string const& _sourceCode); + /// Returns a list of the contract names in the sources. + std::vector<std::string> getContractNames(); + /// Compiles the source units that were prevously added and parsed. void compile(bool _optimize = false); /// Parses and compiles the given source code. |