Skip to content

Blocks.sdf3

pdmosses/java-front/lang.java/syntax/java/statements/Blocks.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 

// 14.2. Blocks

imports
  java/classes/ClassDeclarations
  java/statements/LocalVariableDeclarations
  java/statements/Statements

context-free sorts

  
  

context-free syntax

  .Block = <
  {
    <{BlockStatement "\n"}*>
  }>
   = LocalVariableDeclarationStatement
     = ClassDeclaration
      = Statement