aboutsummaryrefslogtreecommitdiffstats
path: root/docs/using-the-compiler.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-09 03:00:07 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-09 07:41:48 +0800
commit749db7608b269b4b2dde7649d63f32c87184f2b7 (patch)
tree93291bf1ca9ea79ddd83e97c4d50c5fe5015649d /docs/using-the-compiler.rst
parent10d3a591d42952980203c6f9395f81065f06575b (diff)
downloaddexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar
dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar.gz
dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar.bz2
dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar.lz
dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar.xz
dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar.zst
dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.zip
Include language field in the JSON
Diffstat (limited to 'docs/using-the-compiler.rst')
-rw-r--r--docs/using-the-compiler.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst
index ab8f3d82..9ea1a6ab 100644
--- a/docs/using-the-compiler.rst
+++ b/docs/using-the-compiler.rst
@@ -69,6 +69,8 @@ Input Description
.. code-block:: none
{
+ // Required: Source code language, such as "Solidity", "serpent", "lll", "assembly", etc.
+ language: "Solidity",
// Required
sources:
{
@@ -205,6 +207,7 @@ Output Description
// This contains the contract-level outputs. It can be limited/filtered by the outputSelection settings.
contracts: {
"sourceFile.sol": {
+ // If the language used has no contract names, this field should equal to an empty string.
"ContractName": {
// The Ethereum Contract ABI. If empty, it is represented as an empty array.
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI