SpliceScope

scala.quoted.runtime.impl.SpliceScope
See theSpliceScope companion object
class SpliceScope(val pos: SourcePosition, val outer: Scope) extends Scope

Attributes

Companion:
object
Graph
Supertypes
trait Scope
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def atSameLocation(scope: Scope): Boolean

If the two scopes correspond to the same splice in source.

If the two scopes correspond to the same splice in source.

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def isOuterScopeOf(scope: Scope): Boolean

Is this is a outer scope of the given scope

Is this is a outer scope of the given scope

Attributes

Inherited from:
Scope
def root: Scope

Scope of the top level splice or staging run

Scope of the top level splice or staging run

Attributes

Inherited from:
Scope
def stack: List[String]

Stack of locations where scopes where evaluated

Stack of locations where scopes where evaluated

Attributes

Inherited from:
Scope

Concrete fields

override val outer: Scope

Outer scope that was used to create the quote containing this splice. NoScope otherwise.

Outer scope that was used to create the quote containing this splice. NoScope otherwise.

Attributes