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



Constructor summary


PHP4Class(ATerm ) n/a class.str

Strategy summary


add-php4-function-objects(ATerm this) n/a class.str
get-class-constructor Returns the function object of the constructor of this class class.str
get-extends Returns the name of the class it extends (if any) class.str
get-instance-variables Returns the instance-variables of this class class.str
get-name Returns the name of the class class.str
get-php4-class-name n/a class.str
get-php4-extends-name n/a class.str
instanceof-PHP4Class n/a class.str
instanceof-PHPClass Succeeds if the current term is an instance of PHP Class class.str
match-php4-instance-variable n/a class.str
new-php4-class(ATerm ast) Constructs a new Class class.str



Strategy details


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

Returns the function object of the constructor ofthis class.


type PHP4Class Object -> Function Object

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

Returns the name of the classit extends (if any)


type Class Object -> String

 
ATerm get-instance-variables
File class.str
Author unknown
Since unknown
 

Returns the instance-variables of this class


type Class Object -> List(InstanceVariable)

 
ATerm get-name
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 Class



 
ATerm new-php4-class(ATerm ast)
File class.str
Author unknown
Since unknown
 

Constructs a new Class.


type _ -> Class Object