Create base parser
Closed this issue · 0 comments
arthur-fontaine commented
Description
The base parser is an abstract class that can be extended by other parsers (such as the kaz parser, the figma parser...).
Acceptance Criteria
- export an abstract class
ParserBase
- should have a
load
method that will return all inputs (such as .kaz files, figma urls, etc.) - should have a
parse
method which will take all inputs returned by theload
method, and return valid TransformerInput
- should have a
Tasks
- rename
kaz-file-parser
tokaz-ast
- create the abstract class
ParserBase
Additional Information
Why rename kaz-file-parser
to kaz-ast
?
Because in Kazam there are also entities that are called "parsers", we need to make the name kaz-file-parser
(which is not a Kazam parser) more specific.