diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 03:00:07 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 07:41:48 +0800 |
commit | 749db7608b269b4b2dde7649d63f32c87184f2b7 (patch) | |
tree | 93291bf1ca9ea79ddd83e97c4d50c5fe5015649d /docs/using-the-compiler.rst | |
parent | 10d3a591d42952980203c6f9395f81065f06575b (diff) | |
download | dexon-solidity-749db7608b269b4b2dde7649d63f32c87184f2b7.tar.gz 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.rst | 3 |
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 |