1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:05:06 +00:00
serenity/Userland/Libraries/LibSQL
Timothy Flynn 27685bc799 LibSQL: Add Parser::parse_schema_and_table_name helper
Another common semantic is parsing an identifier of the form
"schema_name.table_name" / "table_name". Add a helper to do this work.

This helper does not parse any optional alias after the table name.
some syntaxes specify an alias using the AS keyword, some let the AS
keyword be optional, and others just parse it as an identifier. So
callers to this helper will just continue parsing the alias however
they require.
2021-04-23 22:36:07 +02:00
..
Tests LibSQL: Fix handling of optional AS keywords 2021-04-23 22:36:07 +02:00
AST.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
CMakeLists.txt LibSQL: Add unit testing of the SQL parser 2021-04-20 18:28:34 +02:00
Forward.h LibSQL: Parse (most of) SELECT statement 2021-04-22 18:08:15 +02:00
Lexer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Lexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibSQL: Add Parser::parse_schema_and_table_name helper 2021-04-23 22:36:07 +02:00
Parser.h LibSQL: Add Parser::parse_schema_and_table_name helper 2021-04-23 22:36:07 +02:00
Token.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Token.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00