type

ModuleSystem

src abstract const class ModuleSystem : Obj

ModuleSystem

constructors

fields

methods

Slot Details

doWriteInclude

src protected abstract OutStream doWriteInclude(OutStream out, Str module, Str path)

ext

src abstract Str ext()

file

src virtual File file(Str basename)

make

src new make(File nodeDir)

moduleDir

src abstract File moduleDir()

moduleType

src abstract Str moduleType()

nodeDir

src const File nodeDir

writeBeginModule

src virtual This writeBeginModule(OutStream out)

writeEndModule

src virtual OutStream writeEndModule(OutStream out)

writeExports

src abstract OutStream writeExports(OutStream out, Str[] exports)

writeInclude

src OutStream writeInclude(OutStream out, Str module, Str baseDir := "")

writePackageJson

src virtual Void writePackageJson(Str:Obj? json)