forked from JavaTX/JavaCompilerCore
Merge branch 'antlr' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into antlr
This commit is contained in:
commit
4e43de987d
@ -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
4
src/de/dhbwstuttgart/parser/TODO
Normal file
4
src/de/dhbwstuttgart/parser/TODO
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
= Grammatik =
|
||||||
|
|
||||||
|
* Core-Problem: Typinferenz vs. Konstruktoren
|
||||||
|
* möglicherweise Problem: falsche Return-Expressions
|
Loading…
Reference in New Issue
Block a user