Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork11
A parser that converts Angular source code into an ESTree-compatible form
License
NotificationsYou must be signed in to change notification settings
prettier/angular-estree-parser
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A parser that converts Angular source code into an ESTree-compatible form
# using npmnpm install --save angular-estree-parser @angular/compiler# using yarnyarn add angular-estree-parser @angular/compiler
import*asngEstreeParserfrom'angular-estree-parser';constast=ngEstreeParser.parseBinding('a | b:c');//=> { type: "NGPipeExpression", ... }
parseAction(input: string): ASTfor(target)="input"parseBinding(input: string): ASTfor[target]="input"parseInterpolationExpression(input: string): ASTfor{{input}}parseTemplateBindings(input: string): ASTfor*directive="input"
# lintyarn run lint# buildyarn run build# testyarn runtest
MIT ©Ika
About
A parser that converts Angular source code into an ESTree-compatible form
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Contributors8
Uh oh!
There was an error while loading.Please reload this page.