start concise methods

This commit is contained in:
Fábio Santos
2015-10-11 18:22:07 +01:00
committed by Richard van Velzen
parent 2babe737e0
commit 0d8dea9538
4 changed files with 33 additions and 0 deletions

View File

@@ -473,6 +473,10 @@ var AST_Arrow = DEFNODE("Arrow", null, {
$documentation: "An ES6 Arrow function ((a) => b)"
}, AST_Lambda);
var AST_ConciseMethod = DEFNODE("ConciseMethod", null, {
$documentation: "An ES6 concise method inside an object or class"
}, AST_Lambda);
var AST_Defun = DEFNODE("Defun", null, {
$documentation: "A function definition"
}, AST_Lambda);