| File | loader.str |
| Author | Karl Trygve Kalleberg <karltk@cs.uu.nl> |
| Since | unknown |
Utility strategies for navigating and loading classfiles fromdirectory hierarchies.
| General | |
| Lines of code | 65 |
| Stratego | |
| Module number | 1 (100% documented) |
| Constructor number | 0 |
| Overlay number | 0 |
| Strategy number | 5 (60% documented) |
| Rule number | 0 |
| DynamicRule number | 0 |
Strategy summary |
||
| dir-topdown(Strategy s) | Apply a strategy recursively to all files in a directory hierarchy | loader.str |
| load-all-class-files | Load all | loader.str |
| load-all-source-files | Load all | loader.str |
| load-all-x-files(ATerm ext) | n/a | loader.str |
| register-java-file(ATerm ext) | n/a | loader.str |
Strategy details |
|||||||||||
| ATerm | dir-topdown(Strategy s) | ||||||||||
Apply a strategy recursively to all files in a directory hierarchy. The initial input is the filename of the root directory to start traversing. The result is a collection of the result of s, in hierarchical lists,matching the directory hierarchy.
|
|||||||||||
| ATerm | load-all-class-files | ||||||||||
Load all .class files found in a directory hierarchy into the Dryadrepository. Input is the base directory to start from.
|
|||||||||||
| ATerm | load-all-source-files | ||||||||||
Load all .java files found in a directory hierarchy into the Dryadrepository. Input is the base directory to start from.
|
|||||||||||