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

Concise view

Type members

Classlikes

object ExtendedFencedCodeBlockHandler extends CustomNodeRenderer[ExtendedFencedCodeBlock]

Attributes

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

Attributes

Graph
Supertypes
trait NodeRendererFactory
class Object
trait Matchable
class Any
Self type
Factory.type
object FencedCodeBlockHandler extends CustomNodeRenderer[FencedCodeBlock]

Attributes

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

Attributes

Graph
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