From 7bab184b104c37825b5f0782595d7e8179687f57 Mon Sep 17 00:00:00 2001 From: Alexander McCord Date: Mon, 3 Jun 2024 20:50:12 -0700 Subject: [PATCH] Clip comments from Language. It was here for me to prototype it. --- EqSat/include/Luau/Language.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/EqSat/include/Luau/Language.h b/EqSat/include/Luau/Language.h index c3a9fde1..82e1b945 100644 --- a/EqSat/include/Luau/Language.h +++ b/EqSat/include/Luau/Language.h @@ -234,17 +234,6 @@ public: }; }; -// `Language` is very similar to `Luau::Variant` with enough differences warranting a different type altogether. -// -// Firstly, where `Luau::Variant` uses an `int` to decide which type the variant currently holds, we use -// a `const char*` instead. We use the pointer address for tag checking, and the string buffer for stringification. -// -// Secondly, we need `Language` to have additional methods such as: -// - `children()` to get child operands, -// - `operator==` to decide equality, and -// - `hash()` function. -// -// And finally, each `T` in `Ts` have additional requirements which `Luau::Variant` doesn't need. template class Language final {