| 1073 | } |
| 1074 | |
| 1075 | std::string ASTJsonExporter::location(VariableDeclaration::Location _location) |
| 1076 | { |
| 1077 | switch (_location) |
| 1078 | { |
| 1079 | case VariableDeclaration::Location::Unspecified: |
| 1080 | return "default"; |
| 1081 | case VariableDeclaration::Location::Storage: |
| 1082 | return "storage"; |
| 1083 | case VariableDeclaration::Location::Memory: |
| 1084 | return "memory"; |
| 1085 | case VariableDeclaration::Location::CallData: |
| 1086 | return "calldata"; |
| 1087 | case VariableDeclaration::Location::Transient: |
| 1088 | return "transient"; |
| 1089 | } |
| 1090 | // To make the compiler happy |
| 1091 | return {}; |
| 1092 | } |
| 1093 | |
| 1094 | std::string ASTJsonExporter::contractKind(ContractKind _kind) |
| 1095 | { |
no outgoing calls
no test coverage detected