Files
ladybird/Tests/LibJS/AST/expected/labeled-function-declaration.txt
Andreas Kling fdd7809bd1 Tests/LibJS: Add a big pile of AST, bytecode, and runtime tests
Created these while experimenting with LibJS. Might as well bring them
into the tree and increase our coverage.
2026-02-17 20:44:57 +01:00

11 lines
341 B
Plaintext

Program (script) @1:1
├─ LabelledStatement "label" @1:1
│ └─ FunctionDeclaration "g" @1:8
│ └─ body
│ └─ FunctionBody @1:22
└─ LabelledStatement "label1" @2:1
└─ LabelledStatement "label2" @2:9
└─ FunctionDeclaration "f" @2:17
└─ body
└─ FunctionBody @2:31