|
|
@ -957,7 +957,8 @@ StructureMemberDecl<Modifiers m, List<AttributeSection> attributes> |
|
|
|
Statement stmt = null; |
|
|
|
Statement stmt = null; |
|
|
|
List<VariableDeclaration> variableDeclarators = new List<VariableDeclaration>(); |
|
|
|
List<VariableDeclaration> variableDeclarators = new List<VariableDeclaration>(); |
|
|
|
List<TemplateDefinition> templates = new List<TemplateDefinition>(); |
|
|
|
List<TemplateDefinition> templates = new List<TemplateDefinition>(); |
|
|
|
.)= |
|
|
|
.) |
|
|
|
|
|
|
|
= |
|
|
|
NonModuleDeclaration<m, attributes> |
|
|
|
NonModuleDeclaration<m, attributes> |
|
|
|
| /* 9.2.1 */ |
|
|
|
| /* 9.2.1 */ |
|
|
|
"Sub" |
|
|
|
"Sub" |
|
|
@ -1183,7 +1184,8 @@ StructureMemberDecl<Modifiers m, List<AttributeSection> attributes> |
|
|
|
FieldDeclaration fd = new FieldDeclaration(attributes, type, m.Modifier); |
|
|
|
FieldDeclaration fd = new FieldDeclaration(attributes, type, m.Modifier); |
|
|
|
fd.StartLocation = m.GetDeclarationLocation(startPos); |
|
|
|
fd.StartLocation = m.GetDeclarationLocation(startPos); |
|
|
|
.) |
|
|
|
.) |
|
|
|
VariableDeclarator<variableDeclarators> |
|
|
|
IdentifierForFieldDeclaration (. string name = t.val; .) |
|
|
|
|
|
|
|
VariableDeclaratorPartAfterIdentifier<variableDeclarators, name> |
|
|
|
{ "," VariableDeclarator<variableDeclarators> } |
|
|
|
{ "," VariableDeclarator<variableDeclarators> } |
|
|
|
EOL |
|
|
|
EOL |
|
|
|
(. |
|
|
|
(. |
|
|
@ -1536,13 +1538,18 @@ ConstantDeclarator<List<VariableDeclaration> constantDeclaration> |
|
|
|
|
|
|
|
|
|
|
|
/* 9.6 */ |
|
|
|
/* 9.6 */ |
|
|
|
VariableDeclarator<List<VariableDeclaration> fieldDeclaration> |
|
|
|
VariableDeclarator<List<VariableDeclaration> fieldDeclaration> |
|
|
|
|
|
|
|
= |
|
|
|
|
|
|
|
Identifier (. string name = t.val; .) |
|
|
|
|
|
|
|
VariableDeclaratorPartAfterIdentifier<fieldDeclaration, name> |
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VariableDeclaratorPartAfterIdentifier<List<VariableDeclaration> fieldDeclaration, string name> |
|
|
|
(. |
|
|
|
(. |
|
|
|
Expression expr = null; |
|
|
|
Expression expr = null; |
|
|
|
TypeReference type = null; |
|
|
|
TypeReference type = null; |
|
|
|
ArrayList rank = null; |
|
|
|
ArrayList rank = null; |
|
|
|
List<Expression> dimension = null; |
|
|
|
List<Expression> dimension = null; |
|
|
|
.) = |
|
|
|
.) = |
|
|
|
Identifier (. string name = t.val; .) |
|
|
|
|
|
|
|
[ IF(IsSize() && !IsDims()) ArrayInitializationModifier<out dimension> ] |
|
|
|
[ IF(IsSize() && !IsDims()) ArrayInitializationModifier<out dimension> ] |
|
|
|
[ IF(IsDims()) ArrayNameModifier<out rank> ] |
|
|
|
[ IF(IsDims()) ArrayNameModifier<out rank> ] |
|
|
|
( |
|
|
|
( |
|
|
@ -2911,6 +2918,21 @@ Identifier = |
|
|
|
| "Text" |
|
|
|
| "Text" |
|
|
|
| "Binary" |
|
|
|
| "Binary" |
|
|
|
| "Compare" |
|
|
|
| "Compare" |
|
|
|
|
|
|
|
| "Custom" |
|
|
|
|
|
|
|
| "Assembly" |
|
|
|
|
|
|
|
| "Ansi" |
|
|
|
|
|
|
|
| "Auto" |
|
|
|
|
|
|
|
| "Preserve" |
|
|
|
|
|
|
|
| "Unicode" |
|
|
|
|
|
|
|
| "Until" |
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IdentifierForFieldDeclaration = |
|
|
|
|
|
|
|
ident |
|
|
|
|
|
|
|
| "Text" |
|
|
|
|
|
|
|
| "Binary" |
|
|
|
|
|
|
|
| "Compare" |
|
|
|
|
|
|
|
/*| "Custom" Custom is not valid for field declaration */ |
|
|
|
| "Assembly" |
|
|
|
| "Assembly" |
|
|
|
| "Ansi" |
|
|
|
| "Ansi" |
|
|
|
| "Auto" |
|
|
|
| "Auto" |
|
|
|