aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-05-08 06:23:01 +0800
committerGitHub <noreply@github.com>2017-05-08 06:23:01 +0800
commitda295de82bfa9e1df39f45ee54e8e11ecce5dfb2 (patch)
treee69d9df85be707b0138bfc3602f5edd7382bb26c /lib
parent4f8ca4626efb15dc986785c89c51cbb3061e5f32 (diff)
downloadtracifyjs-da295de82bfa9e1df39f45ee54e8e11ecce5dfb2.tar.gz
tracifyjs-da295de82bfa9e1df39f45ee54e8e11ecce5dfb2.zip
support dumping AST (#1879)
Re-order `AST_Binary` properties to make dump more readable. closes #769
Diffstat (limited to 'lib')
-rw-r--r--lib/ast.js2
1 files changed, 1 insertions, 1 deletions
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",