Commit 9f53320
authored
Type checker updates and bug fixes (#57)
* Add new ast extractor for type checker
* Remove old ast extractor and add new types
* Remove old ast types
* Rename astExtractor.ts to extractor.ts
* Rename javaSpecTypes.ts to specificationTypes.ts
* Fix import bug
* Add types for compilation unit to type checker ast extractor
* Rename type checker ast extractor specification imports
* Add typing into type checker ast extractor
* Change typechecker to use new AST
* Rename type checker errors label
* Add type interface
* Fix binary, unary and postfix type checking
* Add support for swtich statements
* Add support for do statements
* Add support for try catch statements
* Add support for throw statements
* Add location to type check error in return statement
* Add location to 2 typechecker errors that is missing location
* Refactor types system in type checker
* Sort imports in prechecks.ts1 parent 32fa487 commit 9f53320
File tree
62 files changed
+5875
-2669
lines changed- src/types
- ast
- astExtractor
- types
- checker
- __tests__
- inputs
- typeFactories
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+5875
-2669
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments