Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
42 lines (35 loc) · 1.38 KB

TODO.md

File metadata and controls

42 lines (35 loc) · 1.38 KB

Priority issues

These are blocking the package from replacing the current parser

  • Parse structural directives
  • Lex interpolation
  • Parse interpolation
  • Parse embedded templates
  • Parse embedded content
  • Support implicitly void elements (<input>)
  • Support banana syntax (event and property setter)
  • Lex expressions
  • Parse expressions
  • Support the *ngFor style multiple-expressions/properties
  • Add AST visitor, and accept methods to AST classes
  • Support explicitly void elements (<foo />)

Potentially not support

  • Support interpolated property setters
  • Lex expressions
  • Parse expressions
  • Add AST visitor, and accept methods to AST classes

Secondary issues

These are needed to add useful features on top of current support

  • Support explicitly void elements (<foo />)
  • Add AST rewrite support (for refactoring tools)
    • Be able to remove an element
    • Be able to remove a decorator
    • Be able to add an element
    • Be able to add a decorator
    • Be able to rename an element tag
    • Be able to rename a decorator name
    • Be able to change an expression
  • Add resolver and schema support
  • Add friendly error class with auto-fix support
  • Add "sugared" version of the AST tree (for tooling)
    • BananaSugarAst
    • StructuralSugarAst