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
|
||||
: fieldModifier* unannType variableDeclaratorList ';'
|
||||
: fieldModifier* unannType? variableDeclaratorList ';'
|
||||
;
|
||||
|
||||
fieldModifier
|
||||
@ -442,7 +442,7 @@ methodModifier
|
||||
;
|
||||
|
||||
methodHeader
|
||||
: result methodDeclarator throws_?
|
||||
: result? methodDeclarator throws_?
|
||||
| typeParameters annotation* result methodDeclarator throws_?
|
||||
;
|
||||
|
||||
@ -466,7 +466,7 @@ formalParameters
|
||||
;
|
||||
|
||||
formalParameter
|
||||
: variableModifier* unannType variableDeclaratorId
|
||||
: variableModifier* unannType? variableDeclaratorId
|
||||
;
|
||||
|
||||
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