static properties
This commit is contained in:
15
lib/ast.js
15
lib/ast.js
@@ -473,7 +473,10 @@ var AST_Arrow = DEFNODE("Arrow", null, {
|
||||
$documentation: "An ES6 Arrow function ((a) => b)"
|
||||
}, AST_Lambda);
|
||||
|
||||
var AST_ConciseMethod = DEFNODE("ConciseMethod", null, {
|
||||
var AST_ConciseMethod = DEFNODE("ConciseMethod", "static", {
|
||||
$propdoc: {
|
||||
static: "[boolean] whether this method is static (classes only)",
|
||||
},
|
||||
$documentation: "An ES6 concise method inside an object or class"
|
||||
}, AST_Lambda);
|
||||
|
||||
@@ -947,11 +950,17 @@ var AST_ObjectSymbol = DEFNODE("ObjectSymbol", "symbol", {
|
||||
}
|
||||
}, AST_ObjectProperty);
|
||||
|
||||
var AST_ObjectSetter = DEFNODE("ObjectSetter", null, {
|
||||
var AST_ObjectSetter = DEFNODE("ObjectSetter", "static", {
|
||||
$propdoc: {
|
||||
static: "[boolean] whether this is a static setter (classes only)"
|
||||
},
|
||||
$documentation: "An object setter property",
|
||||
}, AST_ObjectProperty);
|
||||
|
||||
var AST_ObjectGetter = DEFNODE("ObjectGetter", null, {
|
||||
var AST_ObjectGetter = DEFNODE("ObjectGetter", "static", {
|
||||
$propdoc: {
|
||||
static: "[boolean] whether this is a static getter (classes only)"
|
||||
},
|
||||
$documentation: "An object getter property",
|
||||
}, AST_ObjectProperty);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user