Comments (4)
Just an idea. If this change has strong disadvantages, also an Expando can be used to attach data to const instances.
from angular_ast.
I'm OK with both of these changes. If we want to ever have a "mode" of the Lexer / Parser that was fail fast and const, I can always add it back in with an interface of some sort. SGTM @mk13
from angular_ast.
Thanks for the response! I'll do some experimentation to see what would be the best steps moving forward, but good to know it's okay to change this.
from angular_ast.
In general if you or @MichaelRFairhurst need something changed, feel free to propose it. My only main concern will likely be if it makes the public API much more confusing for the common case or if it will cause performance regressions for the compiler (i.e. non-interactive clients).
from angular_ast.
Related Issues (20)
- Add a formal parser for * micro expressions HOT 1
- Figure out how to extend the AST to support Pipes better
- Meta: Requirements use by pkg/angular_analyzer
- Dangling quote should not trail beyond new line if possible
- Allow % in style binding.
- Duplicate definition of `operator` - dart2js error
- Legacy method type annotations for `TemplateAst.accept` HOT 4
- More explicit and better pipe-support HOT 2
- Catch empty values for star-AST
- Catch improper use of 'let-' binding in non <template> locations. HOT 1
- Allow non-quoted value parsing for purposes of reporting error HOT 1
- Change statement/event bound expression to be a list of statement/expressionstatements
- Multi line attribute values not supported HOT 4
- Implement expressions more explicitly for pipes
- Clean up and refactor code
- support for void svg tags HOT 1
- support namespaced svg attributes HOT 1
- reject namespaced regular inputs?
- Improve error message for * on <template> element HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular_ast.