Highlight

dotty.tools.dotc.printing.Highlighting.Highlight
abstract class Highlight(highlight: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Black
class BlackB
class Blue
class BlueB
class Cyan
class CyanB
class Green
class GreenB
class Magenta
class MagentaB
class Modifier
class Bold
class Underlined
class NoColor
class Red
class RedB
class White
class WhiteB
class Yellow
class YellowB
Show all

Members list

Value members

Abstract methods

def text: String

Concrete methods

def +(other: Highlight)(using Context): HighlightBuffer
def +(other: String)(using Context): HighlightBuffer
def show(using Context): String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any