File | classpath.str |
Author | unknown |
Since | unknown |
Serialized Dryad repositories.
This module defines the structure of a serialized Dryad repositoryand provides strategies to (de)serialize such a serialized repository.
General | |
Lines of code | 270 |
Stratego | |
Module number | 1 (100% documented) |
Constructor number | 5 (100% documented) |
Overlay number | 0 |
Strategy number | 15 (60% documented) |
Rule number | 0 |
DynamicRule number | 0 |
Constructor summary |
||
Class(ATerm , ATerm , ATerm ) | Constructor for exported classes | classpath.str |
ClassFile(ATerm ) | Constructor for the location of a bytecode | classpath.str |
Jar(ATerm , ATerm ) | Constructor for the location of a class file in a jar | classpath.str |
Package(ATerm , ATerm , ATerm ) | Constructor for exported packages | classpath.str |
Source(ATerm ) | Constructor for the location of source files | classpath.str |
Strategy summary |
||
define-bytecode-class(ATerm location) | Defines the | classpath.str |
define-bytecode-class-file | n/a | classpath.str |
define-jar-entries | Defines the classes in the specified jar file in the Dryad repository | classpath.str |
export-repository | Exports the current Dryad repository by constructing an ATerm that represents its content | classpath.str |
fgetchars-line | n/a | classpath.str |
fgetchars-lines(Strategy postlinehook, Strategy at-last) | n/a | classpath.str |
fgetchars-until(Strategy pred) | fails if there is an immediate EOF | classpath.str |
import-repository | Imports a serialized Dryad repository by registering a package, its subpackages and all classes in the Dryad repository | classpath.str |
parse-class-pathname | n/a | classpath.str |
private-classpath-get-or-add-member-type(ATerm name, ATerm declaring-class) | n/a | classpath.str |
private-classpath-get-or-add-toplevel-class(ATerm name, ATerm pkg) | n/a | classpath.str |
private-classpath-handle-member-type(ATerm declaring-class) | n/a | classpath.str |
private-classpath-handle-toplevel-class(ATerm pkg) | n/a | classpath.str |
private-define-jar-entry(ATerm jar) | Private util for define-jar-entries | classpath.str |
split-last2 | n/a | classpath.str |
Constructor details |
|||||||||||||||||
Class(ATerm , ATerm , ATerm ) | |||||||||||||||||
Constructor for exported classes. |
|||||||||||||||||
ClassFile(ATerm ) | |||||||||||||||||
Constructor for the location of a bytecode .class file. |
|||||||||||||||||
Jar(ATerm , ATerm ) | |||||||||||||||||
Constructor for the location of a class file in a jar. |
|||||||||||||||||
Package(ATerm , ATerm , ATerm ) | |||||||||||||||||
Constructor for exported packages. |
|||||||||||||||||
Source(ATerm ) | |||||||||||||||||
Constructor for the location of source files. |
|||||||||||||||||
Strategy details |
|||||||||||||||
ATerm | define-bytecode-class(ATerm location) | ||||||||||||||
Defines the .class file of the specified name and location in the Dryad repository. Example names:org/foo/Bar.classorg/foo/Bar$Fred.class
|
|||||||||||||||
ATerm | define-bytecode-class-file | ||||||||||||||
No information available.
|
|||||||||||||||
ATerm | define-jar-entries | ||||||||||||||
Defines the classes in the specified jar file in the Dryad repository.
|
|||||||||||||||
ATerm | export-repository | ||||||||||||||
Exports the current Dryad repository by constructing an ATerm that represents its content.The structure of the ExportedPackage result is specified in dryad/model/classpath.
|
|||||||||||||||
ATerm | fgetchars-lines(Strategy postlinehook, Strategy at-last) | ||||||||||||||
No information available. |
|||||||||||||||
ATerm | fgetchars-until(Strategy pred) | ||||||||||||||
fails if there is an immediate EOF. |
|||||||||||||||
ATerm | import-repository | ||||||||||||||
Imports a serialized Dryad repository by registering a package, its subpackages and all classes in the Dryad repository. The structure of the ExportedPackage input is specified in dryad/model/classpath.
|
|||||||||||||||
ATerm | parse-class-pathname | ||||||||||||||
No information available.
|
|||||||||||||||
ATerm | private-define-jar-entry(ATerm jar) | ||||||||||||||
Private util for define-jar-entries. Do not invoke directly. This strategy does not fail if the specified file does not havethe .class extension.
|
|||||||||||||||