| File | options.str |
| Author | Eric Bouwers |
| Since | unknown |
Module containing the options for parsing PHP sources.The main strategy to use the options is 'parse-php-options'
Each options comes with strategies used to retrieve the configuration setting. Some of them have default values which are defined in thismodule.
| General | |
| Lines of code | 234 |
| Stratego | |
| Module number | 1 (100% documented) |
| Constructor number | 0 |
| Overlay number | 0 |
| Strategy number | 28 (25% documented) |
| Rule number | 0 |
| DynamicRule number | 0 |
Strategy summary |
||
| get-input-path | Get's the input path of the current tool | options.str |
| get-php-include-path | Returns the current include path | options.str |
| get-start-symbol | n/a | options.str |
| include-file-complex | n/a | options.str |
| include-file-complex-option | n/a | options.str |
| include-file-options | Strategy combining several include-file options | options.str |
| include-file-simple | n/a | options.str |
| include-file-simple-option | n/a | options.str |
| include-path-option | n/a | options.str |
| must-preserve-comments | n/a | options.str |
| must-preserve-positions | n/a | options.str |
| parse-php-options | Strategy combining the several parse-options | options.str |
| php-choose-version(Strategy s4, Strategy s5) | Choice between two strategies based on the current PHP version | options.str |
| preserve-comments-option | n/a | options.str |
| preserve-positions-option | n/a | options.str |
| print-included-files-option | n/a | options.str |
| process-parse-php-options | Processes the options for PHP | options.str |
| release-options | n/a | options.str |
| set-include-file-complex | n/a | options.str |
| set-include-file-simple | n/a | options.str |
| set-php-include-path | Sets the include path of the current process | options.str |
| set-preserve-comments | n/a | options.str |
| set-preserve-positions | n/a | options.str |
| set-print-included-files | n/a | options.str |
| set-release-option | n/a | options.str |
| set-start-symbol | n/a | options.str |
| should-print-included-files | n/a | options.str |
| symbol-option | n/a | options.str |
Strategy details |
|||||||||||
| ATerm | get-input-path | ||||||||||
Get's the input path of the current tool. This means that ittries to read a config-setting or uses standard-input.
|
|||||||||||
| ATerm | get-php-include-path | ||||||||||
Returns the current include path. The default include pathis '.'
|
|||||||||||
| ATerm | include-file-options | ||||||||||
Strategy combining several include-file options |
|||||||||||
| ATerm | parse-php-options | ||||||||||
Strategy combining the several parse-options |
|||||||||||
| ATerm | php-choose-version(Strategy s4, Strategy s5) | ||||||||||
Choice between two strategies based on the current PHP version |
|||||||||||
| ATerm | process-parse-php-options | ||||||||||
Processes the options for PHP. Separate strategy because the parsingcan be done on several sources.
|
|||||||||||
| ATerm | set-php-include-path | ||||||||||
Sets the include path of the current process.
|
|||||||||||