transform_dsl

Function transform_dsl 

Source
pub fn transform_dsl(input: TokenStream, driver_name: &str) -> String
Expand description

Transform the tokens of the DSL lang to the generated device driver (or a compile error).

The driver_name arg is used to name the root block of the driver. It should be given in PascalCase form.