ExperimentalAnnotation

dotty.tools.dotc.core.Annotations.ExperimentalAnnotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(msg: String, span: Span)(using Context): Annotation

Create an instance of @experimental(<msg>)

Create an instance of @experimental(<msg>)

Attributes

def copy(sym: Symbol)(using Context): Option[Annotation]

Makes a copy of the @experimental(msg) annotation on sym None is returned if the symbol does not have an @experimental annotation.

Makes a copy of the @experimental(msg) annotation on sym None is returned if the symbol does not have an @experimental annotation.

Attributes

Matches and extracts the message from an instance of @experimental(msg) Returns Some("") for @experimental with no message.

Matches and extracts the message from an instance of @experimental(msg) Returns Some("") for @experimental with no message.

Attributes