| 569 | } |
| 570 | |
| 571 | void ContractCompiler::registerStateVariables(ContractDefinition const& _contract) |
| 572 | { |
| 573 | for (auto const location: {DataLocation::Storage, DataLocation::Transient}) |
| 574 | for (auto const& var: ContractType(_contract).linearizedStateVariables(location)) |
| 575 | m_context.addStateVariable(*std::get<0>(var), std::get<1>(var), std::get<2>(var)); |
| 576 | } |
| 577 | |
| 578 | void ContractCompiler::registerImmutableVariables(ContractDefinition const& _contract) |
| 579 | { |
nothing calls this directly
no test coverage detected