Skip to content

Commit 9f53320

Browse files
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.ts
1 parent 32fa487 commit 9f53320

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 changed

src/types/ast/astExtractor/ast-extractor.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/types/ast/astExtractor/block-statement-extractor.ts

Lines changed: 0 additions & 82 deletions
This file was deleted.

src/types/ast/astExtractor/class-extractor.ts

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/types/ast/astExtractor/constructor-extractor.ts

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)