class

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




Statistics


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)
File class.str
Author unknown
Since unknown
 
Parameters
ATerm function Function Object

No information available.


type Class Object -> Class Object

 
ATerm get-ast
File class.str
Author unknown
Since unknown
 

Returns the AST of the function.


type Function Object -> AST

 
ATerm get-class-parent
File class.str
Author unknown
Since unknown
 

Returns the parent of a class object (if any)


type Class Object -> Class Object

 
ATerm get-extends(Strategy s)
File class.str
Author unknown
Since unknown
 

Returns the name of the classit extends (if any)


type Class Object -> String

 
ATerm get-function(ATerm name)
File class.str
Author unknown
Since unknown
 
Parameters
ATerm name Name of the function (String)

No information available.


type Class Object -> Class Object

 
ATerm get-functions
File class.str
Author unknown
Since unknown
 

Returns all functions.


type Class Object -> List(Function Object)

 
ATerm get-instance-variables(Strategy s)
File class.str
Author unknown
Since unknown
 

Returns the instance-variables of this class


type Class Object -> List(InstanceVariable)

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

Returns the name of the class


type Class Object -> String

 
ATerm instanceof-PHPClass
File class.str
Author unknown
Since unknown
 

Succeeds if the current term is an instance of PHP classSince this is an abstract class there are no instances