From 1e747835db51ce145b90f69b27220b64cbbbbe2f Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Thu, 23 Feb 2017 18:12:30 -0500 Subject: [PATCH] add estree to docs [skip ci] (#372) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cbe528885b..6836b8f84e 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ mind. When in doubt, use `.parse()`. Babylon generates AST according to [Babel AST format][]. It is based on [ESTree spec][] with the following deviations: +> There is now an `estree` plugin which reverts these deviations + - [Literal][] token is replaced with [StringLiteral][], [NumericLiteral][], [BooleanLiteral][], [NullLiteral][], [RegExpLiteral][] - [Property][] token is replaced with [ObjectProperty][] and [ObjectMethod][] - [MethodDefinition][] is replaced with [ClassMethod][] @@ -117,6 +119,7 @@ require("babylon").parse("code", { ### Plugins + - `estree` - `jsx` - `flow` - `doExpressions`