padl_generator
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | padl_generator [2025/01/15 21:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== PADL Generator ====== | ||
| + | |||
| + | In general, a code-level model can be obtain for a system through reverse-engineering/ | ||
| + | |||
| + | < | ||
| + | final ICodeLevelModel codeLevelModel = | ||
| + | | ||
| + | codeLevelModel.create( | ||
| + | new < | ||
| + | < | ||
| + | new String[] { <Some files> }), <Recurse in directories> | ||
| + | </ | ||
| + | |||
| + | where: | ||
| + | * < | ||
| + | * < | ||
| + | * < | ||
| + | * <Some files> are any String pointing towards the files/ | ||
| + | * <Recurse in directories> | ||
| + | |||
| + | Because all PADL creators are builders (as in the Builder design pattern) and conform to the same interface '' | ||
| + | - Annotating the models with information about lines of code; | ||
| + | - Annotating the models with information about conditional statements; | ||
| + | - Adding appropriate listeners (if desired); | ||
| + | - Handling special files, such as Eclipse '' | ||
| + | - ... | ||
| + | |||
| + | So, the class '' | ||
