Skip to content

Commit

Permalink
fix: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 9, 2022
1 parent 1a9e393 commit 2bdd161
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions chapi-ast-typescript/src/main/antlr/TypeScriptParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ propertyAssignment
| setAccessor # PropertySetter
| generatorMethod # MethodProperty
| identifierOrKeyWord # PropertyShorthand
| defaultKeyWord # PropertyShorthand
| restParameter # RestParameterInObject
;

Expand Down Expand Up @@ -908,11 +909,14 @@ identifierOrKeyWord
| TypeAlias
| Require
| Module
| Default
| Lodash Lodash?
| Any
;

defaultKeyWord
: Default
;

reservedWord
: keyword
| NullLiteral
Expand Down Expand Up @@ -943,7 +947,7 @@ keyword
| This
| Is
| With
| Default
// | Default
| If
| Throw
| Delete
Expand Down

0 comments on commit 2bdd161

Please # to comment.