Update value.ts
This commit is contained in:
parent
f3759c2259
commit
4a5618e900
16
src/value.ts
16
src/value.ts
|
|
@ -9,14 +9,14 @@ export type Value =
|
|||
| { type: 'dict'; value: Dict }
|
||||
| { type: 'regex'; value: RegExp }
|
||||
| {
|
||||
type: 'function'
|
||||
params: string[]
|
||||
defaults: Record<string, number> // indices into constants
|
||||
body: number
|
||||
parentScope: Scope
|
||||
variadic: boolean
|
||||
named: boolean
|
||||
value: '<function>'
|
||||
type: 'function'
|
||||
params: string[]
|
||||
defaults: Record<string, number> // indices into constants
|
||||
body: number
|
||||
parentScope: Scope
|
||||
variadic: boolean
|
||||
named: boolean
|
||||
value: '<function>'
|
||||
}
|
||||
|
||||
export type Dict = Map<string, Value>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user