aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-17 18:43:56 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-26 22:05:16 +0800
commitfa5a7efb45de72d0a83e2e0bdb9b967f76f0c070 (patch)
tree74e9fb9da86133e7a28ce0da4d56dc74c05a714b /libsolidity/interface/CompilerStack.cpp
parent887823dca6e244d4dae84ca545fe3f0e8170b3d0 (diff)
downloaddexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.tar
dexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.tar.gz
dexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.tar.bz2
dexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.tar.lz
dexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.tar.xz
dexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.tar.zst
dexon-solidity-fa5a7efb45de72d0a83e2e0bdb9b967f76f0c070.zip
Remove unused interfaces from CompilerStack
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r--libsolidity/interface/CompilerStack.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp
index 7a87875c..e5bb58d2 100644
--- a/libsolidity/interface/CompilerStack.cpp
+++ b/libsolidity/interface/CompilerStack.cpp
@@ -106,12 +106,6 @@ bool CompilerStack::addSource(string const& _name, string const& _content, bool
return existed;
}
-void CompilerStack::setSource(string const& _sourceCode)
-{
- reset();
- addSource("", _sourceCode);
-}
-
bool CompilerStack::parse()
{
//reset
@@ -252,23 +246,11 @@ bool CompilerStack::analyze()
return false;
}
-bool CompilerStack::parse(string const& _sourceCode)
-{
- setSource(_sourceCode);
- return parse();
-}
-
bool CompilerStack::parseAndAnalyze()
{
return parse() && analyze();
}
-bool CompilerStack::parseAndAnalyze(std::string const& _sourceCode)
-{
- setSource(_sourceCode);
- return parseAndAnalyze();
-}
-
vector<string> CompilerStack::contractNames() const
{
if (m_stackState < AnalysisSuccessful)
@@ -300,11 +282,6 @@ bool CompilerStack::compile(bool _optimize, unsigned _runs, map<string, h160> co
return true;
}
-bool CompilerStack::compile(string const& _sourceCode, bool _optimize, unsigned _runs)
-{
- return parseAndAnalyze(_sourceCode) && compile(_optimize, _runs);
-}
-
void CompilerStack::link()
{
for (auto& contract: m_contracts)