reorder properties of AST_Binary

Improve readability of JSON dump.
This commit is contained in:
alexlamsl 2017-05-08 04:24:49 +08:00
parent 4116731b5a
commit 9e1d9cab2a

View File

@ -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",