ladybird/Userland/Libraries/LibSQL/AST
Timothy Flynn 1524288127 LibSQL: Rewrite the SQL::Value type to be contained within one class
Currently, the Value class is essentially a "pImpl" wrapper around the
ValueImpl hierarchy of classes. This is a bit difficult to follow and
reason about, as methods jump between the Value class and its impl
classes.

This changes the Variant held by Value to instead store the specified
types (String, int, etc.) directly. In doing so, the ValueImpl classes
are removed, and all methods are now just concise Variant visitors.

As part of this rewrite, support for the "array" type is dropped (or
rather, just not re-implemented) as it was unused. If it's needed in the
future, support can be re-added.

This does retain the ability for non-NULL types to store NULL values
(i.e. an empty Optional). I tried dropping this support as well, but it
is depended upon by the on-disk storage classes in non-trivial ways.
2022-10-14 17:47:44 +03:30
..
AST.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CreateSchema.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
CreateTable.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
Describe.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
Expression.cpp LibSQL: Rewrite the SQL::Value type to be contained within one class 2022-10-14 17:47:44 +03:30
Insert.cpp LibSQL: Copy SQL::Value instances less frequently (which may be vectors) 2022-10-14 17:47:44 +03:30
Lexer.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Lexer.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
Parser.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Parser.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Select.cpp LibSQL: Rewrite the SQL::Value type to be contained within one class 2022-10-14 17:47:44 +03:30
Statement.cpp LibSQL: Remove the now-unused ExecutionContext::result object 2022-02-10 23:11:13 +01:00
SyntaxHighlighter.cpp Libraries: Use default constructors/destructors in LibSQL 2022-03-13 22:34:38 +01:00
SyntaxHighlighter.h Libraries: Use default constructors/destructors in LibSQL 2022-03-13 22:34:38 +01:00
Token.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Token.h LibSQL: Implement a DESCRIBE TABLE statement 2022-02-05 00:35:03 +01:00