| File | interface.str |
| Author | unknown |
| Since | unknown |
| General | |
| Lines of code | 87 |
| Stratego | |
| Module number | 1 (0% documented) |
| Constructor number | 1 (0% documented) |
| Overlay number | 0 |
| Strategy number | 9 (66% documented) |
| Rule number | 0 |
| DynamicRule number | 0 |
Constructor summary |
||
| PHP5Interface(ATerm ) | n/a | interface.str |
Strategy summary |
||
| get-ast | Returns the AST of the function | interface.str |
| get-function-names | Returns the names of the functions in the interface | interface.str |
| get-function-params(ATerm name) | Returns the parameters of the given function in this interface | interface.str |
| get-name | Returns the name of the interface | interface.str |
| get-reference-ast | n/a | interface.str |
| instanceof-PHP5Interface | n/a | interface.str |
| instanceof-PHPInterface | Succeeds if the current term is an instance of PHP function | interface.str |
| new-php5-interface(ATerm ast) | Constructs a new interface | interface.str |
| set-reference-ast(ATerm refast) | n/a | interface.str |
Strategy details |
|||||||||||
| ATerm | get-ast | ||||||||||
Returns the AST of the function.
|
|||||||||||
| ATerm | get-function-names | ||||||||||
Returns the names of the functions in the interface
|
|||||||||||
| ATerm | get-function-params(ATerm name) | ||||||||||
Returns the parameters of the given function in this interface.
|
|||||||||||
| ATerm | get-name | ||||||||||
Returns the name of the interface
|
|||||||||||
| ATerm | instanceof-PHPInterface | ||||||||||
Succeeds if the current term is an instance of PHP function |
|||||||||||
| ATerm | new-php5-interface(ATerm ast) | ||||||||||
Constructs a new interface.
|
|||||||||||