|
|
|
@ -323,7 +323,13 @@ ClassOrModuleOrStructureTypeDeclaration = |
|
|
|
[ "(" "Of" GenericTypeParameterDeclaration ")" ] StatementTerminator |
|
|
|
[ "(" "Of" GenericTypeParameterDeclaration ")" ] StatementTerminator |
|
|
|
[ (. isMissingModifier = false; .) "Inherits" { ANY } StatementTerminator ] |
|
|
|
[ (. isMissingModifier = false; .) "Inherits" { ANY } StatementTerminator ] |
|
|
|
[ (. isMissingModifier = false; .) "Implements" { ANY } StatementTerminator ] |
|
|
|
[ (. isMissingModifier = false; .) "Implements" { ANY } StatementTerminator ] |
|
|
|
{ MemberDeclaration } (. isMissingModifier = false; .) |
|
|
|
{ |
|
|
|
|
|
|
|
{ AttributeBlock } (.OnEachPossiblePath: isMissingModifier = true; .) |
|
|
|
|
|
|
|
{ TypeOrMemberModifier (. isMissingModifier = false; .) } (. isMissingModifier = false; .) |
|
|
|
|
|
|
|
( ClassOrModuleOrStructureTypeDeclaration | DelegateTypeDeclaration | EnumTypeDeclaration |
|
|
|
|
|
|
|
| InterfaceDeclaration | MemberDeclaration ) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
(. isMissingModifier = false; .) |
|
|
|
"End" ( "Module" | "Class" | "Structure" ) StatementTerminator |
|
|
|
"End" ( "Module" | "Class" | "Structure" ) StatementTerminator |
|
|
|
(. PopContext(); .) |
|
|
|
(. PopContext(); .) |
|
|
|
. |
|
|
|
. |
|
|
|
@ -339,7 +345,7 @@ InterfaceDeclaration = |
|
|
|
[ "Inherits" TypeName { "," TypeName } StatementTerminator ] |
|
|
|
[ "Inherits" TypeName { "," TypeName } StatementTerminator ] |
|
|
|
{ |
|
|
|
{ |
|
|
|
{ AttributeBlock } (.OnEachPossiblePath: isMissingModifier = true; .) |
|
|
|
{ AttributeBlock } (.OnEachPossiblePath: isMissingModifier = true; .) |
|
|
|
{ TypeAndMemberModifier (. isMissingModifier = false; .) } (. isMissingModifier = false; .) |
|
|
|
{ TypeOrMemberModifier (. isMissingModifier = false; .) } (. isMissingModifier = false; .) |
|
|
|
( ClassOrModuleOrStructureTypeDeclaration | DelegateTypeDeclaration | EnumTypeDeclaration |
|
|
|
( ClassOrModuleOrStructureTypeDeclaration | DelegateTypeDeclaration | EnumTypeDeclaration |
|
|
|
| InterfaceDeclaration | InterfaceMemberDeclaration ) |
|
|
|
| InterfaceDeclaration | InterfaceMemberDeclaration ) |
|
|
|
} |
|
|
|
} |
|
|
|
@ -351,7 +357,7 @@ InterfaceMemberDeclaration = |
|
|
|
InterfaceEvent | InterfaceProperty | InterfaceSubOrFunction |
|
|
|
InterfaceEvent | InterfaceProperty | InterfaceSubOrFunction |
|
|
|
. |
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
TypeAndMemberModifier = |
|
|
|
TypeOrMemberModifier = |
|
|
|
MemberModifier /* contains all modifiers for types */ |
|
|
|
MemberModifier /* contains all modifiers for types */ |
|
|
|
. |
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
@ -391,9 +397,7 @@ DelegateTypeDeclaration = |
|
|
|
. |
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
MemberDeclaration = |
|
|
|
MemberDeclaration = |
|
|
|
(.OnEachPossiblePath: isMissingModifier = true; .) |
|
|
|
|
|
|
|
(. PushContext(Context.Member, la, t); .) |
|
|
|
(. PushContext(Context.Member, la, t); .) |
|
|
|
{ AttributeBlock } { MemberModifier (. isMissingModifier = false; .) } (. isMissingModifier = false; .) |
|
|
|
|
|
|
|
( |
|
|
|
( |
|
|
|
MemberVariableOrConstantDeclaration | |
|
|
|
MemberVariableOrConstantDeclaration | |
|
|
|
SubOrFunctionDeclaration | |
|
|
|
SubOrFunctionDeclaration | |
|
|
|
|