Comments (2)
It might be better to use a different name than "attributes", since that name also refers to a PHP language feature. The nikic/php-parser usage of "attributes" likely predates PHP attributes. "Properties" would be similarly confusing.
Other ideas: (I don't love any of these)
- Context
- Data
- Detail
- Extra
from parser.
Yeah, I'm open to naming suggestions.
from parser.
Related Issues (20)
- keep comments
- Allow to choose language level HOT 2
- update the list of forbidden methods on enums.
- json serliazation HOT 2
- allow grouping `function` and `const` use statements
- type body ast
- add `CommaSeparated<T>` and `CommaSeparatedMaybeTrailing<T>` nodes.
- attribute allow arbitrary expressions
- rename `span`, `start`, and `end` properties on nodes to their token name
- better error recovery
- fatal runtime error: stack overflow HOT 9
- remove utility nodes HOT 2
- missing `__COMPILER_HALT_OFFSET__` constant HOT 1
- Project communication channel HOT 3
- empty is not a function HOT 6
- soft reserved keywords in namespace HOT 1
- `||` is tokenized as `|`
- Convert `Expression` members to tuple variants with a single `struct` inside
- Stackoverflow issue. HOT 2
- Visitor example HOT 3
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 parser.