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();
|
m_params.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline string::const_iterator skipLineOrEOS(string::const_iterator _nlPos,
|
static inline string::const_iterator skipLineOrEOS(
|
||||||
string::const_iterator _end)
|
string::const_iterator _nlPos,
|
||||||
|
string::const_iterator _end
|
||||||
|
)
|
||||||
{
|
{
|
||||||
return (_nlPos == _end) ? _end : ++_nlPos;
|
return (_nlPos == _end) ? _end : ++_nlPos;
|
||||||
}
|
}
|
||||||
|
@ -67,8 +67,10 @@ public:
|
|||||||
/// types provided by @c DocumentationType
|
/// types provided by @c DocumentationType
|
||||||
/// @return A unique pointer contained string with the json
|
/// @return A unique pointer contained string with the json
|
||||||
/// representation of provided type
|
/// representation of provided type
|
||||||
std::unique_ptr<std::string> getDocumentation(ContractDefinition const& _contractDef,
|
std::unique_ptr<std::string> getDocumentation(
|
||||||
DocumentationType _type);
|
ContractDefinition const& _contractDef,
|
||||||
|
DocumentationType _type
|
||||||
|
);
|
||||||
/// Get the ABI Interface of the contract
|
/// Get the ABI Interface of the contract
|
||||||
/// @param _contractDef The contract definition
|
/// @param _contractDef The contract definition
|
||||||
/// @return A unique pointer contained string with the json
|
/// @return A unique pointer contained string with the json
|
||||||
@ -90,23 +92,33 @@ private:
|
|||||||
void resetUser();
|
void resetUser();
|
||||||
void resetDev();
|
void resetDev();
|
||||||
|
|
||||||
std::string::const_iterator parseDocTagLine(std::string::const_iterator _pos,
|
std::string::const_iterator parseDocTagLine(
|
||||||
std::string::const_iterator _end,
|
std::string::const_iterator _pos,
|
||||||
std::string& _tagString,
|
std::string::const_iterator _end,
|
||||||
DocTagType _tagType,
|
std::string& _tagString,
|
||||||
bool _appending);
|
DocTagType _tagType,
|
||||||
std::string::const_iterator parseDocTagParam(std::string::const_iterator _pos,
|
bool _appending
|
||||||
std::string::const_iterator _end);
|
);
|
||||||
std::string::const_iterator appendDocTagParam(std::string::const_iterator _pos,
|
std::string::const_iterator parseDocTagParam(
|
||||||
std::string::const_iterator _end);
|
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);
|
void parseDocString(std::string const& _string, CommentOwner _owner);
|
||||||
std::string::const_iterator appendDocTag(std::string::const_iterator _pos,
|
std::string::const_iterator appendDocTag(
|
||||||
std::string::const_iterator _end,
|
std::string::const_iterator _pos,
|
||||||
CommentOwner _owner);
|
std::string::const_iterator _end,
|
||||||
std::string::const_iterator parseDocTag(std::string::const_iterator _pos,
|
CommentOwner _owner
|
||||||
std::string::const_iterator _end,
|
);
|
||||||
std::string const& _tag,
|
std::string::const_iterator parseDocTag(
|
||||||
CommentOwner _owner);
|
std::string::const_iterator _pos,
|
||||||
|
std::string::const_iterator _end,
|
||||||
|
std::string const& _tag,
|
||||||
|
CommentOwner _owner
|
||||||
|
);
|
||||||
|
|
||||||
// internal state
|
// internal state
|
||||||
DocTagType m_lastTag;
|
DocTagType m_lastTag;
|
||||||
|
Loading…
Reference in New Issue
Block a user