pub fn define_datatype(
    namedtype: &NamedType,
    error: Option<&ErrorType>
) -> TokenStream