mirror of
https://github.com/bendtherules/completion-viz.git
synced 2026-08-18 21:52:36 +00:00
Add basic CompletionMapping and runEngine code
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export enum CompletionTypes {
|
||||
Normal = "normal",
|
||||
Return = "return",
|
||||
Break = "break",
|
||||
Continue = "continue",
|
||||
Throw = "throw",
|
||||
}
|
||||
|
||||
export interface CompletionRecord {
|
||||
Type: CompletionTypes;
|
||||
Value: any;
|
||||
// Target: Actually undefined or StringValue
|
||||
Target: any;
|
||||
}
|
||||
Reference in New Issue
Block a user