Resolver Reference
A ResolverReference is a reference to a module or a module resource within a ModuleRoot produced by a ModuleRootResolver.
Author
Richard Arriaga
Parameters
The ModuleRoot the file referenced by ResolverReference belongs to.
The URI of the file this ResolverReference refers to.
The fully-qualified name of the module or resource.
The ResourceType that describes what this reference points to.
The file MIME type of the associated resource.
The time in millis since the unix epoch, preferably UTC, when this was last modified. This value will be zero for directories.
The size in bytes of the file or 0 if a directory.
Constructors
Construct a ResolverReference.
Types
Functions
Answer the List of child ResolverReferences owned by the ResolverReference.
Is this ResolverReference a direct child of the provided ResolverReference?
Is this ResolverReference a descendant of the provided ResolverReference?
Update the mutable state of this ResolverReference.
Walk the children of this ResolverReference. This reference must be either a root, package, or directory.
Write the ModuleNode to the supplied JSONWriter.
Properties
The exception that prevented the most recent attempt at accessing the source location of this ResolverReference.
true iff the ResolverReference represents a module, false otherwise.
true iff the ResolverReference represents a package, false otherwise.
true iff the ResolverReference represents a package representative module, false otherwise.
Indicates whether or not this ResolverReference is a resource, not a module nor package. true if it is either a ResourceType.RESOURCE or ResourceType.DIRECTORY; false otherwise.
true iff the ResolverReference represents a root, false otherwise.
The children of this ResolverReference.
The fully-qualified name of the module or resource.
The ModuleRoot the file referenced by ResolverReference belongs to.
The resources of the ResolverReference.
The ResourceType that describes what this ResolverReference refers to.