JET-177 Drop extensions

This commit is contained in:
Andrey Breslav
2011-07-08 22:05:14 +04:00
parent c9b2242c2b
commit addfc6a421
27 changed files with 1140 additions and 1372 deletions
-1
View File
@@ -41,7 +41,6 @@ memberDeclaration
: function
: property
: class
: extension
: typedef
: anonymousInitializer
;
+1 -2
View File
@@ -149,7 +149,6 @@ isRHS
declaration
: function
: property
: extension
: class
: typedef
: object
@@ -259,7 +258,7 @@ arrayAccess
;
objectLiteral
: "object" ":" delegationSpecifier{","}? classBody // Cannot make class body optional: foo(object F, a)
: "object" ":" delegationSpecifier{","}? classBody // Cannot make class body optional: foo(object : F, A)
;
/* Factory methods:
+1 -7
View File
@@ -38,7 +38,6 @@ toplevelObject
: function
: property
: typedef
: extension
;
namespace
@@ -55,9 +54,4 @@ bq. See [Namespaces]
[undocumented]
typedef
: modifiers "type" SimpleName typeParameters? "=" type
;
[undocumented]
extension
: modifiers "extension" SimpleName? typeParameters? "for" type classBody? // properties cannot be lazy, cannot have backing fields
;
;