Scala Compiler 2.13.16 - scala.reflect.macros.contexts.Enclosures
Keywords: Scala Compiler 2.13.16 scala.reflect.macros.contexts.Enclosures

Scala Compiler2.13.16 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package reflect
  Definition Classes
    scala
-  package macros
  Definition Classes
    reflect
-  package contexts
  Definition Classes
    macros
- Aliases
- Context
- Enclosures
- Evals
- ExprUtils
- FrontEnds
- Infrastructure
- Internals
- Names
- Parsers
- Reifiers
- Traces
- Typers

t

scala.reflect.macros.contexts

# Enclosures

###

#### trait Enclosures extends AnyRef

Self Type
  Context
Source
  Enclosures.scala

Linear Supertypes
AnyRef, Any
Known Subclasses
Context
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Enclosures
2. AnyRef
3. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from Enclosures toany2stringadd[Enclosures] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (Enclosures, B)
   Implicit
     This member is added by an implicit conversion from Enclosures toArrowAssoc[Enclosures] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
8.  lazy val enclosingClass: Context.Tree
9.  lazy val enclosingImplicits: List[Context.ImplicitCandidate]
10.  val enclosingMacros: List[Context]
11.  lazy val enclosingMethod: Context.Tree
12.  def enclosingPackage: tools.nsc.Global.PackageDef
13.  lazy val enclosingPosition: Context.Position
14.  def ensuring(cond: (Enclosures) => Boolean, msg: => Any): Enclosures
    Implicit
      This member is added by an implicit conversion from Enclosures toEnsuring[Enclosures] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: (Enclosures) => Boolean): Enclosures
    Implicit
      This member is added by an implicit conversion from Enclosures toEnsuring[Enclosures] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: Boolean, msg: => Any): Enclosures
    Implicit
      This member is added by an implicit conversion from Enclosures toEnsuring[Enclosures] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean): Enclosures
    Implicit
      This member is added by an implicit conversion from Enclosures toEnsuring[Enclosures] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
19.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
20.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
21.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
22.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
23.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
24.  val macroApplication: Context.Tree
25.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
26.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
27.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
28.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
29.  def toString(): String
    Definition Classes
      AnyRef → Any
30.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
31.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
32.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Deprecated Value Members

1.  def enclosingDef: tools.nsc.Global.DefDef
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.4) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information

2.  def enclosingImpl: tools.nsc.Global.ImplDef
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.4) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information

3.  val enclosingRun: Context.Run
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.4) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information

4.  def enclosingTemplate: tools.nsc.Global.Template
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.4) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information

5.  val enclosingUnit: Context.CompilationUnit
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.4) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information

6.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from Enclosures toStringFormat[Enclosures] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

7.  def →[B](y: B): (Enclosures, B)
   Implicit
     This member is added by an implicit conversion from Enclosures toArrowAssoc[Enclosures] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromEnclosures to any2stringadd[Enclosures]

### Inherited by implicit conversion StringFormat fromEnclosures to StringFormat[Enclosures]

### Inherited by implicit conversion Ensuring fromEnclosures to Ensuring[Enclosures]

### Inherited by implicit conversion ArrowAssoc fromEnclosures to ArrowAssoc[Enclosures]

### Ungrouped