| 485 | } |
| 486 | |
| 487 | std::string ParseContext::parse_exportabbr() { |
| 488 | tok_.expect(TokenType::LParen); |
| 489 | tok_.expect_keyword("export"); |
| 490 | std::string name = parse_string_to_bytes(tok_.expect(TokenType::String).text); |
| 491 | tok_.expect(TokenType::RParen); |
| 492 | return name; |
| 493 | } |
| 494 | |
| 495 | std::pair<WasmExport::DescType, index_t> ParseContext::parse_exportdesc() { |
| 496 | tok_.expect(TokenType::LParen); |
nothing calls this directly
no test coverage detected