function

File function.str
Author unknown
Since unknown
No information available.




Statistics


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
File function.str
Author unknown
Since unknown
 

Returns the acces level of the functionOnly usefull if the function is within a class becauseotherwise the strategy will always return Public.


type Function5 Objects -> List(Type)

 
ATerm get-body
File function.str
Author unknown
Since unknown
 

Returns the body of the function


type Function Object -> AST

 
ATerm get-name
File function.str
Author unknown
Since unknown
 

Returns the name of the function


type Function Object -> String

 
ATerm get-param-count
File function.str
Author unknown
Since unknown
 

Returns the number of parameters of the function


type Function object -> Int

 
ATerm get-params
File function.str
Author unknown
Since unknown
 

Returns the parameters of the function


type Function object -> List(Param)

 
ATerm instanceof-PHPFunction
File function.str
Author unknown
Since unknown
 

Succeeds if the current term is an instance of PHP function



 
ATerm new-php5-function(ATerm ast)
File function.str
Author unknown
Since unknown
 

Constructs a new function.


type _ -> Function Object