abstract const class compilerDoc::DocSpace
sys::Obj compilerDoc::DocSpace
DocSpace manages a namespace of documents. All documentation is organized into a two level namespace of "spaceName/docName".
-
virtual Str breadcrumb()String to use for this space in the breadcrumb. By default this is the
spaceName. - doc
-
abstract Doc? doc(Str docName, Bool checked := true)Lookup the document in this space. If not found raise
UnknownDocError return null based on checked flag. - eachDoc
-
abstract Void eachDoc(|Doc| f)Iterate all the documents in this space.
- spaceName
-
abstract Str spaceName()Get the name of this space which is unique with the environment.
- toStr
-
virtual override Str toStr()Return spaceName by default