Unit Declaration

Grammar§

UnitDeclaration ::= "unit" TypeIdentifier ";" Declaration*

Semantics§

A compilation unit always start with a chain allowing to identify the unit, for example in ImportDeclarations.

It is then followed by an arbitrary amount of Declaration.