| 817 | } |
| 818 | |
| 819 | bool VariableDeclaration::hasReferenceOrMappingType() const |
| 820 | { |
| 821 | solAssert(typeName().annotation().type, "Can only be called after reference resolution"); |
| 822 | Type const* type = typeName().annotation().type; |
| 823 | return type->category() == Type::Category::Mapping || dynamic_cast<ReferenceType const*>(type); |
| 824 | } |
| 825 | |
| 826 | bool VariableDeclaration::isStateVariable() const |
| 827 | { |
no test coverage detected