special

File special.str
Author unknown
Since unknown

Module with rules to handle the special construct for theconstant propogation.




Statistics


General
Lines of code 96
Stratego
Module number 1 (100% documented)
Constructor number 0
Overlay number 0
Strategy number 7 (71% documented)
Rule number 0
DynamicRule number 0



Strategy summary


php-get-function-name Retrieves the functionname special.str
php-get-param-value Retrieves the actual value of a parameter special.str
php-handle-function-call Handles a function call within PHP special.str
php-handle-library-function Handles the library function chdir special.str
php-handle-library-function n/a special.str
php-handle-library-function n/a special.str
special-const-prop(Strategy main) FunctionCall-construct special.str



Strategy details


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

Retrieves the functionname. It first tries to get the simple-string value.If this fails it will match a FunctionName-node


type FunctionName(name) OR Expr -> String

 
ATerm php-get-param-value
File special.str
Author unknown
Since unknown
 

Retrieves the actual value of a parameter. This means that it matches aParam(expr) and retrieves the simple value of this expression.


type Param(Expr) -> PHPValue

 
ATerm php-handle-function-call
File special.str
Author unknown
Since unknown
 

Handles a function call within PHP. It currently has support for the following internal functions:- ini_set (some parameters)- chdir



 
ATerm php-handle-library-function
File special.str
Author unknown
Since unknown
 

Handles the library function chdir



 
ATerm special-const-prop(Strategy main)
File special.str
Author unknown
Since unknown
 

FunctionCall-construct