Skip to content

ConstantDeclarations.sdf3

pdmosses/java-front/lang.java/syntax/java/interfaces/ConstantDeclarations.sdf3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module 

// 9.3. Field (Constant) Declarations

imports
  java/lexical/Modifiers
  java/classes/FieldDeclarations
  java/interfaces/Annotations

context-free sorts

  
  ConstantModifier

context-free syntax

  .ConstantDecl = <
  <{ConstantModifier " "}*> <UnannType> <{VarDecl ", "}+>>

  ConstantModifier = Annotation
  ConstantModifier = Public
  ConstantModifier = Static
  ConstantModifier = Final