Fan

 

class

docCompiler::UriMapper

sys::Obj
  docCompiler::DocCompilerSupport
    docCompiler::UriMapper

UriMapper is used to normalize fandoc URIs into hrefs to their HTML file representation using relative URLs.

Slots

cacheSource

Str:CachedUri cache := [Str:CachedUri][:]

fandocFragsSource

Str:FandocFrags fandocFrags := [Str:FandocFrags][:]

fandocUriSource

Str fandocUri

fragSource

Str? frag

locSource

Location loc

makeSource

new make(DocCompiler compiler)

mapSource

Uri map(Str fandocUri, Location loc)

Given a fandoc uri string, map it to a relative URL to the resource's HTML.

targetIsCodeSource

Bool targetIsCode

targetIsSlotSource

Bool targetIsSlot

targetUriSource

Uri? targetUri