File | class.str |
Author | unknown |
Since | unknown |
General | |
Lines of code | 150 |
Stratego | |
Module number | 1 (0% documented) |
Constructor number | 1 (0% documented) |
Overlay number | 0 |
Strategy number | 16 (62% documented) |
Rule number | 0 |
DynamicRule number | 0 |
Strategy summary |
||
add-function(ATerm function) | n/a | class.str |
get-ast | Returns the AST of the function | class.str |
get-class-name | n/a | class.str |
get-class-parent | Returns the parent of a class object (if any) | class.str |
get-extends(Strategy s) | Returns the name of the class it extends (if any) | class.str |
get-extends-name | n/a | class.str |
get-function(ATerm name) | n/a | class.str |
get-functions | Returns all functions | class.str |
get-instance-variables(Strategy s) | Returns the instance-variables of this class | class.str |
get-name(Strategy s) | Returns the name of the class | class.str |
get-reference-ast | n/a | class.str |
instanceof-PHPClass | Succeeds if the current term is an instance of PHP class Since this is an abstract class there are no instances | class.str |
match-instance-variable | n/a | class.str |
set-reference-ast(ATerm refast) | n/a | class.str |
Strategy details |
|||||||||||||||
ATerm | add-function(ATerm function) | ||||||||||||||
No information available.
|
|||||||||||||||
ATerm | get-ast | ||||||||||||||
Returns the AST of the function.
|
|||||||||||||||
ATerm | get-class-parent | ||||||||||||||
Returns the parent of a class object (if any)
|
|||||||||||||||
ATerm | get-extends(Strategy s) | ||||||||||||||
Returns the name of the classit extends (if any)
|
|||||||||||||||
ATerm | get-function(ATerm name) | ||||||||||||||
No information available.
|
|||||||||||||||
ATerm | get-functions | ||||||||||||||
Returns all functions.
|
|||||||||||||||
ATerm | get-instance-variables(Strategy s) | ||||||||||||||
Returns the instance-variables of this class
|
|||||||||||||||
ATerm | get-name(Strategy s) | ||||||||||||||
Returns the name of the class
|
|||||||||||||||
ATerm | instanceof-PHPClass | ||||||||||||||
Succeeds if the current term is an instance of PHP classSince this is an abstract class there are no instances |
|||||||||||||||