FunctinDigith and focusTarget scrolling
This commit is contained in:
parent
8e4dcb5de7
commit
b0280b9d74
10 changed files with 378 additions and 91 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { FunctionName } from "src/lang/expr"
|
||||
import { FunctionName } from "src/lang/expr";
|
||||
import { DigithId } from "./scrowlStore";
|
||||
|
||||
export type Digith =
|
||||
| Digith.Repl
|
||||
|
|
@ -7,10 +8,12 @@ export type Digith =
|
|||
|
||||
export namespace Digith {
|
||||
export type Repl = {
|
||||
id: DigithId,
|
||||
tag: "repl",
|
||||
}
|
||||
|
||||
export type NewFunctionDraft = {
|
||||
id: DigithId,
|
||||
tag: "new-fn-draft",
|
||||
raw_name: string,
|
||||
raw_parameters: string,
|
||||
|
|
@ -18,11 +21,11 @@ export namespace Digith {
|
|||
}
|
||||
|
||||
export type Function = {
|
||||
id: DigithId,
|
||||
tag: "fn",
|
||||
name: FunctionName,
|
||||
raw_parameters: string,
|
||||
raw_body: string,
|
||||
is_loaded: boolean
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue