summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/Parser.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-04-21 14:13:05 -0400
committerAndreas Kling <kling@serenityos.org>2021-04-21 21:37:55 +0200
commit733806b6a10eb2c80056c39b9656143afa963165 (patch)
tree3685b8951a6a0936a8631a8b2b74eb8d37c6133b /Userland/Libraries/LibSQL/Parser.h
parentce6c7ae18ac905e1ac5017f05e4c27345d323d68 (diff)
downloadserenity-733806b6a10eb2c80056c39b9656143afa963165.zip
LibSQL: Parse DELETE statement
Diffstat (limited to 'Userland/Libraries/LibSQL/Parser.h')
-rw-r--r--Userland/Libraries/LibSQL/Parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibSQL/Parser.h b/Userland/Libraries/LibSQL/Parser.h
index 9b0ea5d2ab..41c526a4d3 100644
--- a/Userland/Libraries/LibSQL/Parser.h
+++ b/Userland/Libraries/LibSQL/Parser.h
@@ -72,6 +72,7 @@ private:
NonnullRefPtr<CreateTable> parse_create_table_statement();
NonnullRefPtr<DropTable> parse_drop_table_statement();
+ NonnullRefPtr<Delete> parse_delete_statement();
NonnullRefPtr<Expression> parse_primary_expression();
NonnullRefPtr<Expression> parse_secondary_expression(NonnullRefPtr<Expression> primary);
@@ -93,6 +94,9 @@ private:
NonnullRefPtr<ColumnDefinition> parse_column_definition();
NonnullRefPtr<TypeName> parse_type_name();
NonnullRefPtr<SignedNumber> parse_signed_number();
+ NonnullRefPtr<CommonTableExpression> parse_common_table_expression();
+ NonnullRefPtr<QualifiedTableName> parse_qualified_table_name();
+ NonnullRefPtr<ReturningClause> parse_returning_clause();
Token consume();
Token consume(TokenType type);