Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeReferenceResolver ¶
type TypeReferenceResolver struct {
// contains filtered or unexported fields
}
TypeReferenceResolver defines a helper type for resolving SRG type references into type system type references.
func NewResolver ¶
func NewResolver(srg *srg.SRG) *TypeReferenceResolver
NewResolver returns a new type reference resolver for the given SRG.
func (*TypeReferenceResolver) FreezeCache ¶
func (trr *TypeReferenceResolver) FreezeCache()
FreezeCache freezes the resolver's cache, no longer allowing any new references to be added to the cache.
func (*TypeReferenceResolver) ResolveTypeRef ¶
func (trr *TypeReferenceResolver) ResolveTypeRef(typeref srg.SRGTypeRef, tdg *typegraph.TypeGraph) (typegraph.TypeReference, error)
ResolveTypeRef builds a type graph type reference from the SRG type reference, fully resolving it.
Click to show internal directories.
Click to hide internal directories.