v1/src/source_gen/common/url_resolver library

Functions

fileName(AssetId id) String
Returns the base file name for AssetId.
moduleUrl(Element element) String?
Finds the url of the library that declares the element.
toAssetUri(AssetId assetId) String
toTemplateExtension(String? uri) String?
Returns uri with its extension updated to _templateExtension.