diff options
author | LianaHus <liana@ethdev.com> | 2016-03-10 00:23:05 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-03-12 00:49:32 +0800 |
commit | 58e07151e3fd8503bc0418dba452a822f03ff260 (patch) | |
tree | 343e697c2ab83417c67b8b7e193a87347a15c039 /libsolidity/interface | |
parent | 67793f1aedab8cae956e8df0eec5e6a99f06b87b (diff) | |
download | dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.tar dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.tar.gz dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.tar.bz2 dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.tar.lz dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.tar.xz dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.tar.zst dexon-solidity-58e07151e3fd8503bc0418dba452a822f03ff260.zip |
- inline and assembly keywords added
- some style fixes
Diffstat (limited to 'libsolidity/interface')
-rw-r--r-- | libsolidity/interface/CompilerStack.h | 8 | ||||
-rw-r--r-- | libsolidity/interface/InterfaceHandler.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h index 1d13a23c..c7f98184 100644 --- a/libsolidity/interface/CompilerStack.h +++ b/libsolidity/interface/CompilerStack.h @@ -101,7 +101,7 @@ public: /// Sets the given source code as the only source unit apart from standard sources and parses it. /// @returns false on error. bool parse(std::string const& _sourceCode); - /// Returns a list of the contract names in the sources. + /// @returns a list of the contract names in the sources. std::vector<std::string> contractNames() const; std::string defaultContractName() const; @@ -144,13 +144,13 @@ public: /// Prerequisite: Successful compilation. Json::Value streamAssembly(std::ostream& _outStream, std::string const& _contractName = "", StringMap _sourceCodes = StringMap(), bool _inJsonFormat = false) const; - /// Returns a string representing the contract interface in JSON. + /// @returns a string representing the contract interface in JSON. /// Prerequisite: Successful call to parse or compile. std::string const& interface(std::string const& _contractName = "") const; - /// Returns a string representing the contract interface in Solidity. + /// @returns a string representing the contract interface in Solidity. /// Prerequisite: Successful call to parse or compile. std::string const& solidityInterface(std::string const& _contractName = "") const; - /// Returns a string representing the contract's documentation in JSON. + /// @returns a string representing the contract's documentation in JSON. /// Prerequisite: Successful call to parse or compile. /// @param type The type of the documentation to get. /// Can be one of 4 types defined at @c DocumentationType diff --git a/libsolidity/interface/InterfaceHandler.h b/libsolidity/interface/InterfaceHandler.h index 30b8f520..3e0a1660 100644 --- a/libsolidity/interface/InterfaceHandler.h +++ b/libsolidity/interface/InterfaceHandler.h @@ -85,7 +85,7 @@ public: static std::string devDocumentation(ContractDefinition const& _contractDef); private: - /// Returns concatenation of all content under the given tag name. + /// @returns concatenation of all content under the given tag name. static std::string extractDoc(std::multimap<std::string, DocTag> const& _tags, std::string const& _name); }; |