Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factorize setting of source anchor and parents #19

Open
jecisc opened this issue Sep 21, 2024 · 2 comments
Open

Factorize setting of source anchor and parents #19

jecisc opened this issue Sep 21, 2024 · 2 comments

Comments

@jecisc
Copy link
Member

jecisc commented Sep 21, 2024

Currently when we create an entity we fill by hand the parent and source anchor but we should be able to simplify this by checking the type of the top context and the meta description of the entity to create to simplify the parser

@NicolasAnquetil
Copy link
Contributor

NicolasAnquetil commented Sep 24, 2024

That would require a unified way to implement parsers, all with the same way of handling context.

We could start to implement traits to ease development of parsers...
(see also #18)

@jecisc
Copy link
Member Author

jecisc commented Sep 24, 2024

For now I was just thinking about implementing one simple method to do that. That could go in Famix to help with future parser indeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants