Serializer

dotty.tools.dotc.coverage.Serializer
object Serializer

Serializes scoverage data.

Attributes

See also
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Serializer.type

Members list

Value members

Concrete methods

def serialize(coverage: Coverage, dataDir: String, sourceRoot: String): Unit

Write out coverage data to the given data directory, using the default coverage filename

Write out coverage data to the given data directory, using the default coverage filename

Attributes

def serialize(coverage: Coverage, file: Path, sourceRoot: Path): Unit

Write out coverage data to a file.

Write out coverage data to a file.

Attributes

def serialize(coverage: Coverage, writer: Writer, sourceRoot: Path): Unit

Write out coverage data (info about each statement that can be covered) to a writer.

Write out coverage data (info about each statement that can be covered) to a writer.

Attributes

Extensions

Extensions

extension (str: String)

Makes a String suitable for output in the coverage statement data as a single line. Escaped characters: '\' (backslash), '\n', '\r', '\f'

Makes a String suitable for output in the coverage statement data as a single line. Escaped characters: '\' (backslash), '\n', '\r', '\f'

Attributes