Skip to content
Snippets Groups Projects
Commit 01ad3bfa authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add module importer structure

- add ASTModulesImporter, which imports all required modules. Yet, just an empty
  shell that lists the required modules
- change ASTNodeDeclarationCleaner to ASTNodeTypeCleaner<T>
  this allows to clean various kind of AST nodes which become useless for
  execution. Now one calls
  ``
    ASTNodeTypeCleaner<language::declaration>{*root_node};
    ASTNodeTypeCleaner<language::let_declaration>{*root_node};
  ``
  instead of
  ``
    ASTNodeDeclarationCleaner{*root_node};
  ``
  Also one remove `import` instructions by
  ``
    ASTNodeTypeCleaner<language::import_instruction>{*root_node};
  ``
parent 3720149e
No related branches found
No related tags found
1 merge request!37Feature/language
Showing
with 159 additions and 90 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment