mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style fixes
This commit is contained in:
parent
13a64777de
commit
f5808185f0
@ -246,8 +246,10 @@ void InterfaceHandler::resetDev()
|
||||
m_params.clear();
|
||||
}
|
||||
|
||||
static inline string::const_iterator skipLineOrEOS(string::const_iterator _nlPos,
|
||||
string::const_iterator _end)
|
||||
static inline string::const_iterator skipLineOrEOS(
|
||||
string::const_iterator _nlPos,
|
||||
string::const_iterator _end
|
||||
)
|
||||
{
|
||||
return (_nlPos == _end) ? _end : ++_nlPos;
|
||||
}
|
||||
|
@ -67,8 +67,10 @@ public:
|
||||
/// types provided by @c DocumentationType
|
||||
/// @return A unique pointer contained string with the json
|
||||
/// representation of provided type
|
||||
std::unique_ptr<std::string> getDocumentation(ContractDefinition const& _contractDef,
|
||||
DocumentationType _type);
|
||||
std::unique_ptr<std::string> getDocumentation(
|
||||
ContractDefinition const& _contractDef,
|
||||
DocumentationType _type
|
||||
);
|
||||
/// Get the ABI Interface of the contract
|
||||
/// @param _contractDef The contract definition
|
||||
/// @return A unique pointer contained string with the json
|
||||
@ -90,23 +92,33 @@ private:
|
||||
void resetUser();
|
||||
void resetDev();
|
||||
|
||||
std::string::const_iterator parseDocTagLine(std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end,
|
||||
std::string& _tagString,
|
||||
DocTagType _tagType,
|
||||
bool _appending);
|
||||
std::string::const_iterator parseDocTagParam(std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end);
|
||||
std::string::const_iterator appendDocTagParam(std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end);
|
||||
std::string::const_iterator parseDocTagLine(
|
||||
std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end,
|
||||
std::string& _tagString,
|
||||
DocTagType _tagType,
|
||||
bool _appending
|
||||
);
|
||||
std::string::const_iterator parseDocTagParam(
|
||||
std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end
|
||||
);
|
||||
std::string::const_iterator appendDocTagParam(
|
||||
std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end
|
||||
);
|
||||
void parseDocString(std::string const& _string, CommentOwner _owner);
|
||||
std::string::const_iterator appendDocTag(std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end,
|
||||
CommentOwner _owner);
|
||||
std::string::const_iterator parseDocTag(std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end,
|
||||
std::string const& _tag,
|
||||
CommentOwner _owner);
|
||||
std::string::const_iterator appendDocTag(
|
||||
std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end,
|
||||
CommentOwner _owner
|
||||
);
|
||||
std::string::const_iterator parseDocTag(
|
||||
std::string::const_iterator _pos,
|
||||
std::string::const_iterator _end,
|
||||
std::string const& _tag,
|
||||
CommentOwner _owner
|
||||
);
|
||||
|
||||
// internal state
|
||||
DocTagType m_lastTag;
|
||||
|
Loading…
Reference in New Issue
Block a user