Fantom

 

class

docCompiler::UriMapper

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

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

Slots

compilerSource

override DocCompiler compiler

fandocUriSource

Str? fandocUri

fragSource

Str? frag

locSource

Loc? loc

makeSource

new make(DocCompiler compiler)

mapSource

Uri map(Str fandocUri, Loc 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