|
|
|
|
@ -319,10 +319,10 @@ TypeDeclaration =
@@ -319,10 +319,10 @@ TypeDeclaration =
|
|
|
|
|
|
|
|
|
|
ClassOrModuleOrStructureTypeDeclaration = |
|
|
|
|
(. PushContext(Context.TypeDeclaration, la, t); .) |
|
|
|
|
( "Module" | "Class" | "Structure" ) (. PushContext(Context.Identifier, la, t); .) (.OnEachPossiblePath: SetIdentifierExpected(la); .) ANY (. PopContext(); .) |
|
|
|
|
( "Module" | "Class" | "Structure" ) (. PushContext(Context.Identifier, la, t); .) (.OnEachPossiblePath: SetIdentifierExpected(la); .) Identifier (. PopContext(); .) |
|
|
|
|
[ "(" "Of" GenericTypeParameterDeclaration ")" ] StatementTerminator |
|
|
|
|
[ (. isMissingModifier = false; .) "Inherits" { ANY } StatementTerminator ] |
|
|
|
|
[ (. isMissingModifier = false; .) "Implements" { ANY } StatementTerminator ] |
|
|
|
|
[ (. isMissingModifier = false; .) (. PushContext(Context.Type, la, t); .) "Inherits" TypeName (. PopContext(); .) StatementTerminator ] |
|
|
|
|
[ (. isMissingModifier = false; .) (. PushContext(Context.Type, la, t); .) "Implements" TypeName (. PopContext(); .) { "," (. PushContext(Context.Type, la, t); .) TypeName (. PopContext(); .) } StatementTerminator ] |
|
|
|
|
{ |
|
|
|
|
{ AttributeBlock } (.OnEachPossiblePath: isMissingModifier = true; .) |
|
|
|
|
{ TypeOrMemberModifier (. isMissingModifier = false; .) } (. isMissingModifier = false; .) |
|
|
|
|
@ -342,7 +342,7 @@ EnumTypeDeclaration =
@@ -342,7 +342,7 @@ EnumTypeDeclaration =
|
|
|
|
|
|
|
|
|
|
InterfaceDeclaration = |
|
|
|
|
"Interface" Identifier [ "(" "Of" GenericTypeParameterDeclaration ")" ] StatementTerminator |
|
|
|
|
[ "Inherits" TypeName { "," TypeName } StatementTerminator ] |
|
|
|
|
[ (. PushContext(Context.Type, la, t); .) "Inherits" TypeName (. PopContext(); .) { "," (. PushContext(Context.Type, la, t); .) TypeName (. PopContext(); .) } StatementTerminator ] |
|
|
|
|
{ |
|
|
|
|
{ AttributeBlock } (.OnEachPossiblePath: isMissingModifier = true; .) |
|
|
|
|
{ TypeOrMemberModifier (. isMissingModifier = false; .) } (. isMissingModifier = false; .) |
|
|
|
|
|