forked from jasder/antlr
Use explicit groups so the ATN can collapse sets
This commit is contained in:
parent
0e5bcc2416
commit
62cbab4f86
|
@ -211,13 +211,14 @@ classOrInterfaceModifiers
|
|||
|
||||
classOrInterfaceModifier
|
||||
: annotation // class or interface
|
||||
| 'public' // class or interface
|
||||
| ( 'public' // class or interface
|
||||
| 'protected' // class or interface
|
||||
| 'private' // class or interface
|
||||
| 'abstract' // class or interface
|
||||
| 'static' // class or interface
|
||||
| 'final' // class only -- does not apply to interfaces
|
||||
| 'strictfp' // class or interface
|
||||
)
|
||||
;
|
||||
|
||||
modifiers
|
||||
|
@ -414,7 +415,7 @@ arrayInitializer
|
|||
|
||||
modifier
|
||||
: annotation
|
||||
| 'public'
|
||||
| ( 'public'
|
||||
| 'protected'
|
||||
| 'private'
|
||||
| 'static'
|
||||
|
@ -425,6 +426,7 @@ modifier
|
|||
| 'transient'
|
||||
| 'volatile'
|
||||
| 'strictfp'
|
||||
)
|
||||
;
|
||||
|
||||
packageOrTypeName
|
||||
|
|
|
@ -208,13 +208,14 @@ classOrInterfaceModifiers
|
|||
|
||||
classOrInterfaceModifier
|
||||
: annotation // class or interface
|
||||
| 'public' // class or interface
|
||||
| ( 'public' // class or interface
|
||||
| 'protected' // class or interface
|
||||
| 'private' // class or interface
|
||||
| 'abstract' // class or interface
|
||||
| 'static' // class or interface
|
||||
| 'final' // class only -- does not apply to interfaces
|
||||
| 'strictfp' // class or interface
|
||||
)
|
||||
;
|
||||
|
||||
modifiers
|
||||
|
@ -411,7 +412,7 @@ arrayInitializer
|
|||
|
||||
modifier
|
||||
: annotation
|
||||
| 'public'
|
||||
| ( 'public'
|
||||
| 'protected'
|
||||
| 'private'
|
||||
| 'static'
|
||||
|
@ -422,6 +423,7 @@ modifier
|
|||
| 'transient'
|
||||
| 'volatile'
|
||||
| 'strictfp'
|
||||
)
|
||||
;
|
||||
|
||||
packageOrTypeName
|
||||
|
|
Loading…
Reference in New Issue