This is the main file for scaffolding.
showCProg
:: CurryProg -> String
Pretty print an AbstractCurry program with name qualification on demand. |
getRelationships
:: ERD -> [Relationship]
|
getEntities
:: ERD -> [Entity]
|
createViews
:: String -> ERD -> String -> String -> IO ()
|
createControllers
:: String -> ERD -> String -> String -> IO ()
|
createAuthorizations
:: String -> ERD -> String -> String -> IO ()
|
createHtmlHelpers
:: String -> ERD -> String -> String -> IO ()
|
createModels
:: String -> ERD -> String -> String -> IO ()
|
createRoutes
:: String -> ERD -> String -> String -> IO ()
|
generateAuthorizations
:: String -> [Entity] -> CurryProg
|
Pretty print an AbstractCurry program with name qualification on demand. TODO: Currently, our naming scheme should ensure that there are no name conflicts. Therefore, we omit the list of Curry modules for the on-demand qualification. However, to be on the safe side, one should explicitly set this list to the current module and the list of its imports. |
|
|
|
|
|
|
|
|
|