| File | function.str |
| Author | unknown |
| Since | unknown |
| General | |
| Lines of code | 96 |
| Stratego | |
| Module number | 1 (0% documented) |
| Constructor number | 1 (0% documented) |
| Overlay number | 0 |
| Strategy number | 11 (63% documented) |
| Rule number | 0 |
| DynamicRule number | 0 |
Constructor summary |
||
| PHP5Function(ATerm ) | n/a | function.str |
Strategy summary |
||
| get-acces-level | Returns the acces level of the function Only usefull if the function is within a class because otherwise the strategy will always return Public | function.str |
| get-body | Returns the body of the function | function.str |
| get-name | Returns the name of the function | function.str |
| get-param-count | Returns the number of parameters of the function | function.str |
| get-params | Returns the parameters of the function | function.str |
| get-php5-function-body | n/a | function.str |
| get-php5-function-name | n/a | function.str |
| instanceof-PHP5Function | n/a | function.str |
| instanceof-PHPFunction | Succeeds if the current term is an instance of PHP function | function.str |
| new-php5-function(ATerm ast) | Constructs a new function | function.str |
| php5-param-match | n/a | function.str |
Strategy details |
|||||||||||
| ATerm | get-acces-level | ||||||||||
Returns the acces level of the functionOnly usefull if the function is within a class becauseotherwise the strategy will always return Public.
|
|||||||||||
| ATerm | get-body | ||||||||||
Returns the body of the function
|
|||||||||||
| ATerm | get-name | ||||||||||
Returns the name of the function
|
|||||||||||
| ATerm | get-param-count | ||||||||||
Returns the number of parameters of the function
|
|||||||||||
| ATerm | get-params | ||||||||||
Returns the parameters of the function
|
|||||||||||
| ATerm | instanceof-PHPFunction | ||||||||||
Succeeds if the current term is an instance of PHP function |
|||||||||||
| ATerm | new-php5-function(ATerm ast) | ||||||||||
Constructs a new function.
|
|||||||||||