| 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 |
Strategy summary |
||
| get-ast | Returns the AST of the function | function.str |
| get-body(Strategy s) | Returns the body of the function | function.str |
| get-function-body | n/a | function.str |
| get-function-name | n/a | function.str |
| get-name(Strategy s) | Returns the name of the function | function.str |
| get-param-count(Strategy s) | Returns the number of parameters of the function | function.str |
| get-params(Strategy s) | Returns the parameters of the function | function.str |
| get-reference-ast | n/a | function.str |
| instanceof-PHPFunction | Succeeds if the current term is an instance of PHP function Since this is an abstract class there are no instances | function.str |
| param-match | n/a | function.str |
| set-reference-ast(ATerm refast) | n/a | function.str |
Strategy details |
|||||||||||
| ATerm | get-ast | ||||||||||
Returns the AST of the function.
|
|||||||||||
| ATerm | get-body(Strategy s) | ||||||||||
Returns the body of the function
|
|||||||||||
| ATerm | get-name(Strategy s) | ||||||||||
Returns the name of the function
|
|||||||||||
| ATerm | get-param-count(Strategy s) | ||||||||||
Returns the number of parameters of the function
|
|||||||||||
| ATerm | get-params(Strategy s) | ||||||||||
Returns the parameters of the function
|
|||||||||||
| ATerm | instanceof-PHPFunction | ||||||||||
Succeeds if the current term is an instance of PHP functionSince this is an abstract class there are no instances |
|||||||||||