SnippetRenderingExtension

dotty.tools.scaladoc.tasty.comments.markdown.SnippetRenderingExtension
object SnippetRenderingExtension extends HtmlRendererExtension

SnippetRenderingExtension is responsible for running an analysis for scala codeblocks in the static documentation/scaladoc comments. For each codeblock we run compiler to check whether snippet works in the newest scala version and to produce rich html codeblocks with compiler warnings/errors for IDE-like live experience.

Attributes

Graph
Supertypes
trait HtmlRendererExtension
trait Extension
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object ExtendedFencedCodeBlockHandler extends CustomNodeRenderer[ExtendedFencedCodeBlock]

Attributes

Supertypes
trait CustomNodeRenderer[ExtendedFencedCodeBlock]
trait AstAction[ExtendedFencedCodeBlock]
class Object
trait Matchable
class Any
Self type
object Factory extends NodeRendererFactory

Attributes

Supertypes
trait NodeRendererFactory
trait Function[DataHolder, NodeRenderer]
class Object
trait Matchable
class Any
Self type
Factory.type
object FencedCodeBlockHandler extends CustomNodeRenderer[FencedCodeBlock]

Attributes

Supertypes
trait CustomNodeRenderer[FencedCodeBlock]
trait AstAction[FencedCodeBlock]
class Object
trait Matchable
class Any
Self type
object Render extends NodeRenderer

Attributes

Supertypes
trait NodeRenderer
class Object
trait Matchable
class Any
Self type
Render.type

Value members

Concrete methods

def extend(htmlRendererBuilder: Builder, tpe: String): Unit
def rendererOptions(opt: MutableDataHolder): Unit