diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-04-23 22:18:35 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-24 14:22:08 +0200 |
commit | 1500479a1dd1336782ef609f8e950f8ed49138d1 (patch) | |
tree | 33873f59ea5989a23362a5c8df4a0efccb46d08d /Userland/Libraries/LibSQL/Parser.h | |
parent | 0764a686160e8db4473d52051e0b5324593eddf1 (diff) | |
download | serenity-1500479a1dd1336782ef609f8e950f8ed49138d1.zip |
LibSQL: Parse ALTER TABLE statement
There are 4 forms an ALTER TABLE statement can take, and each are very
distinct, so they each get their own AST node class.
Diffstat (limited to 'Userland/Libraries/LibSQL/Parser.h')
-rw-r--r-- | Userland/Libraries/LibSQL/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibSQL/Parser.h b/Userland/Libraries/LibSQL/Parser.h index 43463508ad..e3a832986c 100644 --- a/Userland/Libraries/LibSQL/Parser.h +++ b/Userland/Libraries/LibSQL/Parser.h @@ -53,6 +53,7 @@ private: NonnullRefPtr<Statement> parse_statement(); NonnullRefPtr<Statement> parse_statement_with_expression_list(RefPtr<CommonTableExpressionList>); NonnullRefPtr<CreateTable> parse_create_table_statement(); + NonnullRefPtr<CreateTable> parse_alter_table_statement(); NonnullRefPtr<DropTable> parse_drop_table_statement(); NonnullRefPtr<Delete> parse_insert_statement(RefPtr<CommonTableExpressionList>); NonnullRefPtr<Delete> parse_update_statement(RefPtr<CommonTableExpressionList>); |