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


PHP5Class(ATerm ) n/a class.str

Strategy summary


add-php5-function-objects(ATerm this) n/a class.str
get-abstract-functions Returns the list of abstract functions in this class class.str
get-class-constants Returns the class constants of this class 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-implemented-interfaces Returns the list of names of the interfaces this class implements 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-php5-class-name n/a class.str
get-php5-extends-name n/a class.str
implements-interfaces Checks whether this class implements interfaces class.str
instanceof-PHP5Class n/a class.str
instanceof-PHPClass Succeeds if the current term is an instance of PHP Class class.str
match-abstract-function-decls n/a class.str
match-php5-instance-variable n/a class.str
new-php5-class(ATerm ast) Constructs a new Class class.str



Strategy details


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

Returns the list of abstract functions in this class


type PHP5Class Object -> List(AST)

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

Returns the class constants of this class


type Class Object -> List(ClassConstant)

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

Returns the function object of the constructor of this class.


type PHP5Class 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-implemented-interfaces
File class.str
Author unknown
Since unknown
 

Returns the list of names of the interfaces this class implements



 
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 implements-interfaces
File class.str
Author unknown
Since unknown
 

Checks whether this class implements interfaces



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

Succeeds if the current term is an instance of PHP Class



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

Constructs a new Class.


type _ -> Class Object