File | repository.str |
Author | Martin Bravenboer <martin@cs.uu.nl> |
Since | unknown |
Looking up package and class objects in the repository.
Use the strategies in this module to get references to packages, classes, methods, fields, and all other code.
General | |
Lines of code | 259 |
Stratego | |
Module number | 1 (100% documented) |
Constructor number | 1 (0% documented) |
Overlay number | 0 |
Strategy number | 21 (90% documented) |
Rule number | 0 |
DynamicRule number | 0 |
Constructor summary |
||
RootPackage(ATerm ) | n/a | repository.str |
Strategy summary |
||
define-compilation-unit | Registers all classes of a source compilation unit in the Dryad repository | repository.str |
define-source-files | Register the classes defined in a list of source files in the Dryad repository | repository.str |
destroy-repository | n/a | repository.str |
get-root-package | Returns the root package | repository.str |
init-root-package | Initializes the root package object | repository.str |
is-package-observable | Checks if the specified PackageName exists as a package in the repository | repository.str |
log-lookup-class | Looks up the class object for the given TypeName or Type and logs an error if is not available | repository.str |
log-lookup-package | Looks up the package object and logs an error if is not available | repository.str |
lookup-class | Looks up the class object for the given TypeName | repository.str |
lookup-class | Looks up the class object for the given TypeName | repository.str |
lookup-class | Looks up the class object for the given class type | repository.str |
lookup-class | Looks up the class object for the given interface type | repository.str |
lookup-class | Looks up the class object for the given array type | repository.str |
lookup-constructor | Lookup a constructor by its canonical name | repository.str |
lookup-method | Lookup a method by its canonical name | repository.str |
lookup-or-add-package | Looks up or adds the package object for a given PackageName | repository.str |
lookup-or-add-package | Looks up or adds the package object for a given list of strings | repository.str |
lookup-package | Looks up the package object for a given PackageName | repository.str |
lookup-package | Looks up the package object for a given list of strings | repository.str |
lookup-type-parameter | n/a | repository.str |
lookup-type-parameter | n/a | repository.str |
Strategy details |
|||||||||||||
ATerm | define-compilation-unit | ||||||||||||
Registers all classes of a source compilation unit in the Dryad repository.
|
|||||||||||||
ATerm | define-source-files | ||||||||||||
Register the classes defined in a list of source files in the Dryad repository.
|
|||||||||||||
ATerm | get-root-package | ||||||||||||
Returns the root package.
|
|||||||||||||
ATerm | init-root-package | ||||||||||||
Initializes the root package object.
|
|||||||||||||
ATerm | is-package-observable | ||||||||||||
Checks if the specified PackageName exists as a package in the repository.
|
|||||||||||||
ATerm | log-lookup-class | ||||||||||||
Looks up the class object for the given TypeName or Type and logs an error if is not available. |
|||||||||||||
ATerm | log-lookup-package | ||||||||||||
Looks up the package object and logs an error if is not available. |
|||||||||||||
ATerm | lookup-class | ||||||||||||
Looks up the class object for the given TypeName.This alternative implements toplevel classes.
|
|||||||||||||
ATerm | lookup-class | ||||||||||||
Looks up the class object for the given TypeName.This alternative implements member classes.
|
|||||||||||||
ATerm | lookup-class | ||||||||||||
Looks up the class object for the given class type.
|
|||||||||||||
ATerm | lookup-class | ||||||||||||
Looks up the class object for the given interface type.
|
|||||||||||||
ATerm | lookup-class | ||||||||||||
Looks up the class object for the given array type.
|
|||||||||||||
ATerm | lookup-constructor | ||||||||||||
Lookup a constructor by its canonical name.
|
|||||||||||||
ATerm | lookup-method | ||||||||||||
Lookup a method by its canonical name.
|
|||||||||||||
ATerm | lookup-or-add-package | ||||||||||||
Looks up or adds the package object for a given PackageName.The package is added if it does not exist.
|
|||||||||||||
ATerm | lookup-or-add-package | ||||||||||||
Looks up or adds the package object for a given list of strings.The package is added if it does not exist.
|
|||||||||||||
ATerm | lookup-package | ||||||||||||
Looks up the package object for a given PackageName.The package is not created if it does not exist.
|
|||||||||||||
ATerm | lookup-package | ||||||||||||
Looks up the package object for a given list of strings.The package is not created if it does not exist.
|
|||||||||||||
ATerm | lookup-type-parameter | ||||||||||||
No information available.
|
|||||||||||||