feat(codemode): support labeled control flow (#38035)
This commit is contained in:
parent
63e2054f50
commit
a81c04fd31
4 changed files with 312 additions and 18 deletions
|
|
@ -31,8 +31,8 @@ export type Binding = {
|
|||
export type StatementResult =
|
||||
| { kind: "none" }
|
||||
| { kind: "return"; value: unknown }
|
||||
| { kind: "break" }
|
||||
| { kind: "continue" }
|
||||
| { kind: "break"; label?: string }
|
||||
| { kind: "continue"; label?: string }
|
||||
|
||||
export type MemberReference = {
|
||||
target: SafeObject | Array<unknown> | CodeModeRegExp | CodeModeURL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue