Next: , Previous: Type declaration, Up: Input file format


5.15 Type specification

A type specification is the description of a type. It can be used in a typedef construct or anywhere a typed value is expected.

 (65) type-spec             ::= simple-type-spec
                              | constructed-type-spec
 (66) simple-type-spec      ::= base-type-spec
                              | template-type-spec
                              | named-type
 (69) base-type-spec        ::= boolean-type
                              | integer-type
                              | floating-pt-type
                              | char-type
                              | octet-type
                              | any-type
 (70) template-type-spec    ::= sequence-type
                              | string-type
                              | fixed-type
 (67) constructed-type-spec ::= constructed-type
 (68) named-type            ::= scoped-name
(101) scoped-name           ::= [ [ scoped-name ] "::" ] identifier
 (61) declarator            ::= simple-declarator
                              | array-declarator
 (62) simple-declarator     ::= identifier