"typedef" replaced with "typeAlias" in the grammar

This commit is contained in:
Andrey Breslav
2014-10-16 06:14:53 +04:00
parent 4cb276c47f
commit 9feebb1dc6
5 changed files with 8 additions and 9 deletions
@@ -1279,7 +1279,7 @@ public class JetExpressionParsing extends AbstractJetParsing {
* : property
* : extension
* : class
* : typedef
* : typeAlias
* : object
* ;
*/
@@ -342,7 +342,7 @@ public class JetParsing extends AbstractJetParsing {
* : extension
* : function
* : property
* : typedef
* : typeAlias
* : object
* ;
*/
@@ -752,7 +752,7 @@ public class JetParsing extends AbstractJetParsing {
* : property
* : class
* : extension
* : typedef
* : typeAlias
* : anonymousInitializer
* : object
* ;
@@ -874,7 +874,7 @@ public class JetParsing extends AbstractJetParsing {
}
/*
* typedef
* typeAlias
* : modifiers "typealias" SimpleName (typeParameters typeConstraints)? "=" type
* ;
*/
+1 -1
View File
@@ -32,7 +32,7 @@ memberDeclaration
: function
: property
: class
: typedef
: typeAlias
: anonymousInitializer
;
+1 -1
View File
@@ -165,7 +165,7 @@ declaration
: function
: property
: class
: typedef
: typeAlias
: object
;
+2 -3
View File
@@ -45,7 +45,7 @@ toplevelObject
: object
: function
: property
: typedef
: typeAlias
;
package
@@ -59,7 +59,6 @@ package
See [Packages](packages.html)
*/
[undocumented]
typedef
typeAlias
: modifiers "typealias" SimpleName (typeParameters typeConstraints)? "=" type
;