FileWriters

dotty.tools.io.FileWriters
object FileWriters

!!!Copied from dotty.tools.backend.jvm.ClassfileWriters but no PostProcessorFrontendAccess needed. this should probably be changed to wrap that class instead.

Until then, any changes to this file should be copied to dotty.tools.backend.jvm.ClassfileWriters as well.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
final class BufferingReporter extends DelayedReporter

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait DelayedReporter

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final class EagerReporter(using captured: Context) extends DelayedReporter

Attributes

Supertypes
class Object
trait Matchable
class Any
class FileConflictException(msg: String, cause: Throwable) extends IOException

Can't output a file due to the state of the file system.

Can't output a file due to the state of the file system.

Attributes

Supertypes
class IOException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object FileWriter

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
FileWriter.type
sealed trait FileWriter

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ReadOnlyRun

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
object TastyWriter

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait TastyWriter

The interface to writing classfiles. GeneratedClassHandler calls these methods to generate the directory and files that are created, and eventually calls close when the writing is complete.

The interface to writing classfiles. GeneratedClassHandler calls these methods to generate the directory and files that are created, and eventually calls close when the writing is complete.

The companion object is responsible for constructing a appropriate and optimal implementation for the supplied settings.

Operations are threadsafe.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Types

type NullableFile = AbstractFile | Null

Value members

Concrete methods

inline def ctx(using ReadOnlyContext): ReadOnlyContext