1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00
serenity/Userland/Libraries/LibSQL
Ali Mohammad Pur 71b4433b0d LibWeb+LibSyntax: Implement nested syntax highlighters
And use them to highlight javascript in HTML source.
This commit also changes how TextDocumentSpan::data is interpreted,
as it used to be an opaque pointer, but everyone stuffed an enum value
inside it, which made the values not unique to each highlighter;
that field is now a u64 serial id.
The syntax highlighters don't need to change their ways of stuffing
token types into that field, but a highlighter that calls another
nested highlighter needs to register the nested types for use with
token pairs.
2021-06-07 14:45:49 +04:30
..
AST.h LibSQL: Parse ALTER TABLE statement 2021-04-24 14:22:08 +02:00
CMakeLists.txt LibSQL: Add a syntax highlighter 2021-05-09 09:39:05 +02:00
Forward.h LibSQL: Parse ALTER TABLE statement 2021-04-24 14:22:08 +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: Limit the allowed depth of an expression tree 2021-06-05 23:48:18 +04:30
Parser.h LibSQL: Limit the allowed depth of an expression tree 2021-06-05 23:48:18 +04:30
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
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