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

Angular-related attributes pattern matching refactor #53

Closed
28 tasks done
ghaschel opened this issue Sep 13, 2022 · 0 comments
Closed
28 tasks done

Angular-related attributes pattern matching refactor #53

ghaschel opened this issue Sep 13, 2022 · 0 comments
Assignees
Labels
refactor feature refactor

Comments

@ghaschel
Copy link
Owner

ghaschel commented Sep 13, 2022

Complete rewrite of the Angular-related attributes Regex Patterns to match separately the following attributes in order to allow differentiation and customization:

  • Input Bindings (One Way Bindings)
    • [oneWay]=""
    • [attr.syntax]=""
    • [style.syntax.unit]=""
    • [@animmationTrigger]=""
    • [@animmationTrigger.done]=""
  • Double Way Bindings (Standard Syntax)
    • [(twoWay)]=""
  • Double Way Bindings (Non-Standard Syntax)
    • ([twoWay])=""
  • Event Handlers (e.g.: click, change)
    • (eventHandler)=""
  • Template Variables (with parameters)
    • #templateVariables=""
  • Template Variables (without parameters)
    • #templateVariables
  • Sugar Syntax (with parameters)
    • *ngFor="" and things alike
  • Sugar Syntax (without parameters)
    • *matHeaderCell and things alike
  • Prefixed syntax attributes (with parameters)
    • let-variable=""
    • ref-variable=""
  • Prefixed syntax attributes (without parameters)
    • let-variable
    • ref-variable
  • Annimation Trigger
    • @annimationTrigger
@ghaschel ghaschel added the refactor feature refactor label Sep 13, 2022
@ghaschel ghaschel self-assigned this Sep 13, 2022
ghaschel added a commit that referenced this issue Sep 13, 2022
there are a bunch of changes being made, and it will be listed as related issues with the current
milestone

BREAKING CHANGE: the whole grammar is changing

re #55, re #54, re #53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor feature refactor
Projects
None yet
Development

No branches or pull requests

1 participant