aboutsummaryrefslogtreecommitdiffstats
path: root/docs/using-the-compiler.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/using-the-compiler.rst')
-rw-r--r--docs/using-the-compiler.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst
index a49bfb8e..4fc5c71d 100644
--- a/docs/using-the-compiler.rst
+++ b/docs/using-the-compiler.rst
@@ -204,12 +204,15 @@ that can be used to query a location of the binary (and whether the version is
version: "soljson-2313-2016-12-12",
keccak: "0x123..."
},
+ // This is a subset of the regular compiler input
sources:
{
"abc": {keccak: "0x456..."}, // here, sources are always given by hash
"def": {keccak: "0x123..."},
- "dir/file.sol": {keccax: "0xabc..."}
+ "dir/file.sol": {keccax: "0xabc..."},
+ "xkcd": {swarm: "0x456..."}
},
+ // This is a subset of the regular compiler input
settings:
{
remappings: [":g/dir"],
@@ -219,9 +222,12 @@ that can be used to query a location of the binary (and whether the version is
"def:MyLib": "0x123123..."
}
},
+ // This is a subset of the regular compiler output
output:
{
abi: [ /* abi definition */ ],
+ userdoc: [],
+ devdoc: [],
natspec: [ /* user documentation comments */ ]
}
}