1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

JSSpecCompiler: Parse lists in xspec mode

This commit is contained in:
Dan Klishch 2024-01-20 22:48:05 -05:00 committed by Andrew Kaster
parent d14bb7e91e
commit e1a1f4ed1a
9 changed files with 102 additions and 0 deletions

View file

@ -62,3 +62,28 @@ TreeList
Func "WellKnownConstants"
Enumerator enumerator
Lists(a, b):
TreeList
BinaryOperation Assignment
Var a
List
BinaryOperation Assignment
Var a
List
Enumerator 1
BinaryOperation Assignment
Var a
List
Enumerator 1
Enumerator 2
BinaryOperation Assignment
Var a
List
Enumerator 1
Enumerator 2
BinaryOperation Plus
MathematicalConstant 3
MathematicalConstant 4
ReturnNode
Enumerator unused