mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Styling in Natspec Enums
This commit is contained in:
		
							parent
							
								
									08e38cfa49
								
							
						
					
					
						commit
						190be6c5f5
					
				| @ -48,7 +48,7 @@ public: | ||||
| 			auto msg = std::string("Parsing contract failed with: ") + boost::diagnostic_information(_e); | ||||
| 			BOOST_FAIL(msg); | ||||
| 		} | ||||
| 		std::string generatedInterfaceString = m_compilerStack.getMetadata("", DocumentationType::ABI_INTERFACE); | ||||
| 		std::string generatedInterfaceString = m_compilerStack.getMetadata("", DocumentationType::ABIInterface); | ||||
| 		Json::Value generatedInterface; | ||||
| 		m_reader.parse(generatedInterfaceString, generatedInterface); | ||||
| 		Json::Value expectedInterface; | ||||
|  | ||||
| @ -43,7 +43,7 @@ public: | ||||
| 	{ | ||||
| 		m_code = _code; | ||||
| 		BOOST_REQUIRE_NO_THROW(m_compilerStack.parse(_code)); | ||||
| 		m_interface = m_compilerStack.getMetadata("", DocumentationType::ABI_SOLIDITY_INTERFACE); | ||||
| 		m_interface = m_compilerStack.getMetadata("", DocumentationType::ABISolidityInterface); | ||||
| 		BOOST_REQUIRE_NO_THROW(m_reCompiler.parse(m_interface)); | ||||
| 		return m_reCompiler.getContractDefinition(_contractName); | ||||
| 	} | ||||
|  | ||||
| @ -54,9 +54,9 @@ public: | ||||
| 		} | ||||
| 
 | ||||
| 		if (_userDocumentation) | ||||
| 			generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_USER); | ||||
| 			generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NatspecUser); | ||||
| 		else | ||||
| 			generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_DEV); | ||||
| 			generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NatspecDev); | ||||
| 		Json::Value generatedDocumentation; | ||||
| 		m_reader.parse(generatedDocumentationString, generatedDocumentation); | ||||
| 		Json::Value expectedDocumentation; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user