DekGenius.com
[ Team LiB ] Previous Section Next Section

D.5 Type Specification

The following grammar describes a type specification used in the declaration of a parameter or variable and in a cast expression:

Type
        PrimitiveType
        Name

PrimitiveType:
        NumericType
        boolean

NumericType:
        IntegralType
        FloatingPointType

IntegralType:
        byte
        short
        int
        long
        char

FloatingPointType:
        float
        double
    [ Team LiB ] Previous Section Next Section