class IndexScript extends Page
- Source
- IndexScript.scala
- Alphabetic
- By Inheritance
- IndexScript
- Page
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
def
absoluteLinkTo(path: List[String]): String
- Definition Classes
- Page
- def allPackages: List[Package]
- def allPackagesWithTemplates: Map[Package, List[DocTemplateEntity]]
-
def
createFileOutputStream(site: HtmlFactory, suffix: String = ""): FileOutputStream
- Definition Classes
- Page
-
def
hasCompanion(mbr: TemplateEntity): Boolean
- Definition Classes
- Page
-
def
kindToString(mbr: MemberEntity): String
- Definition Classes
- Page
- def memberToUrl(mbr: MemberEntity): String
-
def
membersToJSON(entities: Vector[MemberEntity], parent: DocTemplateEntity): JSONArray
Returns the json representation of the supplied members
- val packages: JSONObject
-
def
path: collection.immutable.List[String]
The path of this page, relative to the API site.
The path of this page, relative to the API site.
path.tail
is a list of folder names leading to this page (from closest package to one-above-root package),path.head
is the file name of this page. Note thatpath
has a length of at least one.- Definition Classes
- IndexScript → Page
-
def
relativeLinkTo(destPath: List[String]): String
A relative link from a page's path to some destination path.
A relative link from a page's path to some destination path.
- destPath
The path that the link will point to.
- Definition Classes
- Page
-
def
relativeLinkTo(destClass: TemplateEntity): String
A relative link from this page to some destination class entity.
A relative link from this page to some destination class entity.
- destClass
The class or object entity that the link will point to.
- Definition Classes
- Page
-
def
shortDesc(mbr: MemberEntity): String
Gets the short description i.e.
Gets the short description i.e. the first sentence of the docstring
-
def
templateToPath(tpl: TemplateEntity): List[String]
- Definition Classes
- Page
-
def
writeFile(site: HtmlFactory, suffix: String = "")(fn: (Writer) ⇒ Unit): Unit
- Definition Classes
- Page
-
def
writeFor(site: HtmlFactory): Unit
Writes this page as a file.
Writes this page as a file. The file's location is relative to the generator's site root, and the encoding is also defined by the generator.
- site
The generator that is writing this page.
- Definition Classes
- IndexScript → Page
The Scala compiler and reflection APIs.