Skip to content

[New feature] Add an error management #36

@jecisc

Description

@jecisc

I tried to import a TypeScript project to do some benchmarks but it was failing because of a missing property on a node.

Parsing and importing models is something complex and it is easy to have errors but that should not prevent to have a model.

I propose to add an error management is #visitNode: so that we catch potential errors and if we have some, we display them in an error report.

I already have this mechanism in other importers projects but it is in my SymbolResolver project.
I'll fix this issue either by duplicating the code in Pharo-Tree-Sitter, or better, extract this error management in another project that could be used by both Famix-TreeSitter-Integration and Pharo-Tree-Sitter.

Opening an issue to not forget about that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions