Lines 3196-3201
Link Here
|
3196 |
anonymousType.modifiers = 0; |
3196 |
anonymousType.modifiers = 0; |
3197 |
anonymousType.bodyStart = this.scanner.currentPosition; |
3197 |
anonymousType.bodyStart = this.scanner.currentPosition; |
3198 |
markEnclosingMemberWithLocalType(); |
3198 |
markEnclosingMemberWithLocalType(); |
|
|
3199 |
consumeNestedType(); |
3200 |
this.variablesCounter[this.nestedType]++; |
3199 |
pushOnAstStack(anonymousType); |
3201 |
pushOnAstStack(anonymousType); |
3200 |
QualifiedAllocationExpression allocationExpression = new QualifiedAllocationExpression(anonymousType); |
3202 |
QualifiedAllocationExpression allocationExpression = new QualifiedAllocationExpression(anonymousType); |
3201 |
allocationExpression.enumConstant = enumConstant; |
3203 |
allocationExpression.enumConstant = enumConstant; |
Lines 3316-3321
Link Here
|
3316 |
fieldDeclaration.declarationEnd = this.endStatementPosition; |
3318 |
fieldDeclaration.declarationEnd = this.endStatementPosition; |
3317 |
fieldDeclaration.declarationSourceEnd = anonymousType.declarationSourceEnd; |
3319 |
fieldDeclaration.declarationSourceEnd = anonymousType.declarationSourceEnd; |
3318 |
this.intPtr --; // remove end position of the arguments |
3320 |
this.intPtr --; // remove end position of the arguments |
|
|
3321 |
this.variablesCounter[this.nestedType] = 0; |
3322 |
this.nestedType--; |
3319 |
} |
3323 |
} |
3320 |
protected void consumeEnumDeclaration() { |
3324 |
protected void consumeEnumDeclaration() { |
3321 |
// EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt EnumBody |
3325 |
// EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt EnumBody |