mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
JSSpecCompiler: Parse optional arguments groups
This commit is contained in:
parent
3e6a07154b
commit
a35a751f9e
8 changed files with 72 additions and 11 deletions
|
@ -74,6 +74,8 @@ void tokenize_string(SpecificationParsingContext& ctx, XML::Node const* node, St
|
|||
{ "("sv, TokenType::ParenOpen },
|
||||
{ "+"sv, TokenType::Plus },
|
||||
{ "?"sv, TokenType::QuestionMark },
|
||||
{ "]"sv, TokenType::SquareBracketClose },
|
||||
{ "["sv, TokenType::SquareBracketOpen },
|
||||
};
|
||||
|
||||
LineTrackingLexer lexer(view, node->offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue