SyntaxHighlighting

replpp.SyntaxHighlighting

Based on https://github.com/lampepfl/dotty/blob/3.4.1/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala and adapted for our needs

This object provides functions for syntax highlighting in the REPL

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def highlight(in: String)(using Context): String

Concrete fields

val AnnotationColor: String
val CommentColor: String
val KeywordColor: String
val LiteralColor: String
val NoColor: String
val TypeColor: String
val ValDefColor: String