Merge branch 'antlr' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into antlr

This commit is contained in:
JanUlrich 2016-12-07 14:06:19 +01:00
commit 4e43de987d
3 changed files with 2559 additions and 2529 deletions

View File

@ -333,7 +333,7 @@ classMemberDeclaration
; ;
fieldDeclaration fieldDeclaration
: fieldModifier* unannType variableDeclaratorList ';' : fieldModifier* unannType? variableDeclaratorList ';'
; ;
fieldModifier fieldModifier
@ -442,7 +442,7 @@ methodModifier
; ;
methodHeader methodHeader
: result methodDeclarator throws_? : result? methodDeclarator throws_?
| typeParameters annotation* result methodDeclarator throws_? | typeParameters annotation* result methodDeclarator throws_?
; ;
@ -466,7 +466,7 @@ formalParameters
; ;
formalParameter formalParameter
: variableModifier* unannType variableDeclaratorId : variableModifier* unannType? variableDeclaratorId
; ;
variableModifier variableModifier

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
= Grammatik =
* Core-Problem: Typinferenz vs. Konstruktoren
* möglicherweise Problem: falsche Return-Expressions