mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
- inline and assembly keywords added
- some style fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user