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

Adding a directive parser, and refactoring code a bit #1

Closed
wants to merge 1 commit into from

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented Dec 6, 2016

Hello,

I added a parser for the new directive.
I also refactored the code to change ts / html parsers to service/pipe parsers, because you can have pipes in .ts files as well (in templates).
The parser are type of file agnostic now, which means that we could just let people parse any type of file to extract those (maybe js files for example). Not sure if we'll need it though.

I cleaned up the regexps a bit as well so that we can search for `, " and ' in the same regexp

@biesbjerg
Copy link
Owner

Refactored and merged. Thanks!

@biesbjerg biesbjerg closed this Dec 7, 2016
@ocombe ocombe deleted the directive-parsing branch December 7, 2016 09:37
sod pushed a commit to sod/ngx-translate-extract that referenced this pull request Nov 24, 2023
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

Successfully merging this pull request may close these issues.

2 participants