add File and Program to builder keys

This commit is contained in:
Sebastian McKenzie
2014-11-09 16:25:55 +11:00
parent 677f9805c6
commit fa8c570e77

View File

@@ -6,6 +6,7 @@
"CallExpression": ["callee", "arguments"],
"ConditionalExpression": ["test", "consequent", "alternate"],
"ExpressionStatement": ["expression"],
"File": ["program", "comments", "tokens"],
"FunctionExpression": ["id", "params", "body"],
"Identifier": ["name"],
"IfStatement": ["test", "consequent", "alternate"],
@@ -13,6 +14,7 @@
"MemberExpression": ["object", "property", "computed"],
"ObjectExpression": ["properties"],
"ParenthesizedExpression": ["expression"],
"Program": ["body"],
"Property": ["kind", "key", "value", "computed"],
"ReturnStatement": ["argument"],
"SequenceExpression": ["expressions"],