Clip comments from Language. It was here for me to prototype it.

This commit is contained in:
Alexander McCord 2024-06-03 20:50:12 -07:00
parent a48adacea7
commit 7bab184b10

View file

@ -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<typename... Ts>
class Language final
{