trait Scopes extends api.Scopes
- Alphabetic
- By Inheritance
- Scopes
- Scopes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
MemberScopeApi extends Universe.ScopeApi
The API that all member scopes support
The API that all member scopes support
- Definition Classes
- Scopes
-
trait
ScopeApi extends Iterable[Universe.Symbol]
The API that all scopes support
The API that all scopes support
- Definition Classes
- Scopes
-
class
ErrorScope extends SymbolTable.Scope
The error scope.
- case class LookupAmbiguous(msg: String) extends SymbolTable.NameLookup with Product with Serializable
- case class LookupInaccessible(symbol: SymbolTable.Symbol, msg: String) extends SymbolTable.NameLookup with Product with Serializable
- case class LookupSucceeded(qualifier: SymbolTable.Tree, symbol: SymbolTable.Symbol) extends SymbolTable.NameLookup with Product with Serializable
-
type
MemberScope = SymbolTable.Scope
The type of member scopes, as in class definitions, for example.
-
sealed
trait
NameLookup extends AnyRef
An ADT to represent the results of symbol name lookups.
-
class
Scope extends SymbolTable.ScopeApi with SymbolTable.MemberScopeApi
Note: constructor is protected to force everyone to use the factory methods newScope or newNestedScope instead.
Note: constructor is protected to force everyone to use the factory methods newScope or newNestedScope instead. This is necessary because when run from reflection every scope needs to have a SynchronizedScope as mixin.
- class ScopeEntry extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val MemberScopeTag: ClassTag[SymbolTable.MemberScope]
- implicit val ScopeTag: ClassTag[SymbolTable.Scope]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
newNestedScope(outer: SymbolTable.Scope): SymbolTable.Scope
Create a new scope nested in another one with which it shares its elements
-
def
newPackageScope(pkgClass: SymbolTable.Symbol): SymbolTable.Scope
Create new scope for the members of package
pkg
-
def
newScope: SymbolTable.Scope
Create a new scope
-
def
newScopeWith(elems: SymbolTable.Symbol*): SymbolTable.Scope
Create a new scope with given initial elements
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
scopeTransform(owner: SymbolTable.Symbol)(op: ⇒ SymbolTable.Scope): SymbolTable.Scope
Transform scope of members of
owner
using operationop
This is overridden by the reflective compiler to avoid creating new scopes for packages -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
EmptyScope extends SymbolTable.Scope
The empty scope (immutable).
- object LookupNotFound extends SymbolTable.NameLookup with Product with Serializable
- object Scope