mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
JSSpecCompiler: Parse lists in xspec mode
This commit is contained in:
parent
d14bb7e91e
commit
e1a1f4ed1a
9 changed files with 102 additions and 0 deletions
|
@ -37,6 +37,8 @@ constexpr i32 closing_bracket_precedence = 18;
|
|||
F(Identifier, -1, Invalid, Invalid, Invalid, "identifier") \
|
||||
F(Is, -1, Invalid, Invalid, Invalid, "operator is") \
|
||||
F(Less, 9, Invalid, CompareLess, Invalid, "less than") \
|
||||
F(ListEnd, -1, Invalid, Invalid, Invalid, "»") \
|
||||
F(ListStart, -1, Invalid, Invalid, Invalid, "«") \
|
||||
F(MemberAccess, 2, Invalid, MemberAccess, Invalid, "member access operator '.'") \
|
||||
F(Multiplication, 5, Invalid, Multiplication, Invalid, "multiplication") \
|
||||
F(NotEquals, 10, Invalid, CompareNotEqual, Invalid, "not equals") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue