File tree Expand file tree Collapse file tree 4 files changed +1
-1398
lines changed
Expand file tree Collapse file tree 4 files changed +1
-1398
lines changed Original file line number Diff line number Diff line change 11import type { Program } from 'estree'
22
33import type { Context } from '..'
4- import { Chapter , Variant } from '../types'
4+ import { Chapter } from '../types'
55import { FullJSParser } from './fullJS'
66import { SourceParser } from './source'
7- import { SourceTypedParser } from './source/typed'
87import type { AcornOptions , Parser } from './types'
98
109export function parse < TOptions extends AcornOptions > (
@@ -20,9 +19,6 @@ export function parse<TOptions extends AcornOptions>(
2019 break
2120 default :
2221 switch ( context . variant ) {
23- case Variant . TYPED :
24- parser = new SourceTypedParser ( context . chapter , context . variant )
25- break
2622 default :
2723 parser = new SourceParser ( context . chapter , context . variant )
2824 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments