aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/Common.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-11-28 22:00:23 +0800
committerchriseth <chris@ethereum.org>2017-12-05 19:09:55 +0800
commit30d7afc2e3fd27333e463a9127011ec1f7470d3e (patch)
tree8ce2d4115ec56f61770f8dfea3383a437e89c010 /test/libjulia/Common.h
parentcba58629d24404ed7553d16bb2ad064f95f9fe37 (diff)
downloaddexon-solidity-30d7afc2e3fd27333e463a9127011ec1f7470d3e.tar.gz
dexon-solidity-30d7afc2e3fd27333e463a9127011ec1f7470d3e.tar.zst
dexon-solidity-30d7afc2e3fd27333e463a9127011ec1f7470d3e.zip
Simplify disambiguator.
Diffstat (limited to 'test/libjulia/Common.h')
-rw-r--r--test/libjulia/Common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/libjulia/Common.h b/test/libjulia/Common.h
index 55fa03da..1371101c 100644
--- a/test/libjulia/Common.h
+++ b/test/libjulia/Common.h
@@ -45,9 +45,10 @@ namespace test
{
void printErrors(solidity::ErrorList const& _errors, solidity::Scanner const& _scanner);
-std::pair<std::shared_ptr<solidity::assembly::Block>, std::shared_ptr<solidity::assembly::AsmAnalysisInfo>> parse(std::string const& _source);
-std::shared_ptr<solidity::assembly::Block> disambiguate(std::string const& _source);
-std::string format(std::string const& _source);
+std::pair<std::shared_ptr<solidity::assembly::Block>, std::shared_ptr<solidity::assembly::AsmAnalysisInfo>>
+parse(std::string const& _source, bool _julia = true);
+solidity::assembly::Block disambiguate(std::string const& _source, bool _julia = true);
+std::string format(std::string const& _source, bool _julia = true);
}
}