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



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

Returns the AST of the function.


type Function Object -> AST

 
ATerm get-body(Strategy s)
File function.str
Author unknown
Since unknown
 

Returns the body of the function


type Function Object -> AST

 
ATerm get-name(Strategy s)
File function.str
Author unknown
Since unknown
 

Returns the name of the function


type Function Object -> String

 
ATerm get-param-count(Strategy s)
File function.str
Author unknown
Since unknown
 

Returns the number of parameters of the function


type Function object -> Int

 
ATerm get-params(Strategy s)
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 functionSince this is an abstract class there are no instances