files

File files.str
Author Eric Bouwers
Since unknown

Common file strategies for PHP




Statistics


General
Lines of code 56
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


fill-and-include n/a files.str
include-files-complex Complex inclusion of files files.str
include-files-simple Simple inclusion of files files.str
print-included-file(Strategy s, ATerm env, ATerm post-fix) n/a files.str
print-included-files(Strategy s, ATerm post-fix) Printing of included files files.str



Strategy details


ATerm include-files-complex
File files.str
Author unknown
Since unknown
 

Complex inclusion of files. Uses the simple evaluation strategyto get as many files as possible. Does not fail when a file-name cannotbe found. Fills a newly created environment with the newly included files.



 
ATerm include-files-simple
File files.str
Author unknown
Since unknown
 

Simple inclusion of files. Only matches the direct stringsand includes the files it finds. Fills a newly createdenvironment with the newly included files.



 
ATerm print-included-files(Strategy s, ATerm post-fix)
File files.str
Author unknown
Since unknown
 
Parameters
Strategy s post-fix The string that is to be added after every filename

Printing of included files. This will print all included files in thesame directory with a certain post-fix. This post-fix must be given.