Skip to content

PrimitiveTypes.sdf3

pdmosses/java-front/lang.java/syntax/java/types/PrimitiveTypes.sdf3

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

// 4.2. Primitive Types and Values

imports
  java/interfaces/Annotations

context-free sorts

  
  

context-free syntax

  .NumericType = <<{Annotation " "}*> <NumericType>>
  .BooleanType = <<{Annotation " "}*> boolean>
  .Byte   = <byte>
  .Short  = <short>
  .Int    = <int>
  .Long   = <long>
  .Char   = <char>
  .Float  = <float>
  .Double = <double>