From da295de82bfa9e1df39f45ee54e8e11ecce5dfb2 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 8 May 2017 06:23:01 +0800 Subject: support dumping AST (#1879) Re-order `AST_Binary` properties to make dump more readable. closes #769 --- lib/ast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ast.js') diff --git a/lib/ast.js b/lib/ast.js index e61a31e5..962c8f7b 100644 --- a/lib/ast.js +++ b/lib/ast.js @@ -619,7 +619,7 @@ var AST_UnaryPostfix = DEFNODE("UnaryPostfix", null, { $documentation: "Unary postfix expression, i.e. `i++`" }, AST_Unary); -var AST_Binary = DEFNODE("Binary", "left operator right", { +var AST_Binary = DEFNODE("Binary", "operator left right", { $documentation: "Binary expression, i.e. `a + b`", $propdoc: { left: "[AST_Node] left-hand side expression", -- cgit v1.2.3