CCState

dotty.tools.dotc.cc.CCState
See theCCState companion class
object CCState

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CCState.type

Members list

Type members

Types

opaque type Level

Value members

Concrete methods

def currentLevel(using Context): Level

The level of the current environment. Levels start at 0 and increase for each nested function or class. -1 means the level is undefined.

The level of the current environment. Levels start at 0 and increase for each nested function or class. -1 means the level is undefined.

Attributes

inline def inNestedLevel[T](inline op: T)(using Context): T
inline def inNestedLevelUnless[T](inline p: Boolean)(inline op: T)(using Context): T

Concrete fields

Extensions

Extensions

extension (sym: Symbol)(using Context)
def ccLevel: Level
def recordLevel(): Unit
extension (x: Level)
def <=(y: Level): Boolean