From 9e1d9cab2ab3180fc3db8ff97a5ea2f67cd7e471 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Mon, 8 May 2017 04:24:49 +0800 Subject: [PATCH] reorder properties of `AST_Binary` Improve readability of JSON dump. --- lib/ast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",