Add regex to reef #1
14
src/value.ts
14
src/value.ts
|
|
@ -1,13 +1,13 @@
|
|||
import { Scope } from "./scope"
|
||||
|
||||
export type Value =
|
||||
| { type: 'null'; value: null }
|
||||
| { type: 'boolean'; value: boolean }
|
||||
| { type: 'number'; value: number }
|
||||
| { type: 'string'; value: string }
|
||||
| { type: 'array'; value: Value[] }
|
||||
| { type: 'dict'; value: Dict }
|
||||
| { type: 'regex'; value: RegExp }
|
||||
| { type: 'null', value: null }
|
||||
| { type: 'boolean', value: boolean }
|
||||
| { type: 'number', value: number }
|
||||
| { type: 'string', value: string }
|
||||
| { type: 'array', value: Value[] }
|
||||
| { type: 'dict', value: Dict }
|
||||
| { type: 'regex', value: RegExp }
|
||||
| {
|
||||
type: 'function',
|
||||
params: string[],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user