| 2010 | } |
| 2011 | |
| 2012 | Type const* ArrayType::finalBaseType(bool _breakIfDynamicArrayType) const |
| 2013 | { |
| 2014 | Type const* finalBaseType = this; |
| 2015 | |
| 2016 | while (auto arrayType = dynamic_cast<ArrayType const*>(finalBaseType)) |
| 2017 | { |
| 2018 | if (_breakIfDynamicArrayType && arrayType->isDynamicallySized()) |
| 2019 | break; |
| 2020 | finalBaseType = arrayType->baseType(); |
| 2021 | } |
| 2022 | |
| 2023 | return finalBaseType; |
| 2024 | } |
| 2025 | |
| 2026 | u256 ArrayType::memoryDataSize() const |
| 2027 | { |
no test coverage detected