simple babel。旨在深入理解babel的词法分析,替换等核心功能。
目前支持支持语法解析,语法转换以及代码生成
- VariableDeclaration
- ClassDeclaration
- FunctionDeclaration
- ExpressionStatement
- BlockStatement
- LabeledStatement
- SwitchStatement
- BreakStatement
- ContinueStatement
- EmptyStatement
- ThrowStatement
- ReturnStatement
- IfStatement
- ForStatement
- ForInStatement
- WhileStatement
- DoWhileStatement
- TryStatement
- DebuggerStatement
- thisExpression
- SequenceExpression
- AssignmentExpression
- UpdateExpression
- UnaryExpression
- MemberExpression
- LogicalExpression
- BinaryExpression
- CallExpression
- FunctionExpression
- VariableDeclarator
- ObjectExpression
- ArrayExpression
- ConditionalExpression
- NewExpression
- ArrowFunctionExpression
- Property
- Literal
- Identifier
- AssignmentPattern
- arrowFunctionExpression
- block-bind
npm install
npm run test