Comments (2)
遍历AST
path
AST的节点不尽相同,在访问节点时可能还需要节点的位置信息,path统一了访问AST节点的规范:
- 节点本身的数据;
- 节点的位置信息
- 操作节点的方法?
遍历子节点,
from note.
内因
Babel的执行过程?:
- 遍历源码文件,借助plugins和presets配置的语法插件生产AST
- 遍历plugins和presets配置的转化插件处理AST
- 把AST转成源码输出到目标文件里。
from note.
Related Issues (20)
- Objective-C: @property, @synthesize, @dynamic HOT 2
- Base64
- IOS App Extension HOT 1
- Monorepos: Lerna VS npm/yarn/pnpm workspace HOT 1
- UIImage vs. CIImage vs. CGImage
- NSArray, NSMutableArray HOT 1
- nil, Nil, NULL, NSNull
- IOS 开发 HOT 5
- UIViewController HOT 3
- Formik 引发的Out of Memory异常
- 浏览器禁用JS之后
- App Clips & Google Play Instant HOT 2
- RN布局 & 适配 HOT 2
- PWA HOT 1
- App内置浏览器
- 实现RN轮播(走马灯/Swiper/Carousel/Snap/Tab )组件 HOT 1
- Deferred Deep Link
- Lottie
- RN-SafeAreaView
- RN-Image & ImageBackground HOT 2
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 note.