MCPcopy Create free account
hub / github.com/SerenityOS/jakt / MatchPattern

Method MatchPattern

bootstrap/stage0/formatter.cpp:2599–2605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2597return __jakt_uninit_enum;
2598}
2599[[nodiscard]] State State::MatchPattern(size_t open_parens, bool allow_multiple){
2600State __jakt_uninit_enum;
2601__jakt_uninit_enum.__jakt_variant_index = 12;
2602new (&__jakt_uninit_enum.as.MatchPattern.open_parens) (decltype(open_parens))(move(open_parens));
2603new (&__jakt_uninit_enum.as.MatchPattern.allow_multiple) (decltype(allow_multiple))(move(allow_multiple));
2604return __jakt_uninit_enum;
2605}
2606[[nodiscard]] State State::VariableDeclaration(size_t open_parens){
2607State __jakt_uninit_enum;
2608__jakt_uninit_enum.__jakt_variant_index = 13;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected