NirCodeGen

scala.scalanative.nscplugin.NirCodeGen

Attributes

Graph
Supertypes
trait NirGenUtil
trait NirGenName
trait NirGenType
trait NirGenExpr
trait NirGenStat
class Object
trait Matchable
class Any
Show all

Members list

Type members

Classlikes

class CollectMethodInfo extends TreeTraverser

Attributes

Supertypes
class TreeTraverser
class TreeAccumulator[Unit]
class Object
trait Matchable
class Any
class MethodEnv(val fresh: Fresh)

Attributes

Supertypes
class Object
trait Matchable
class Any
class MethodLabelsEnv(val fresh: Fresh)

Attributes

Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

sealed case class ContTree(f: () => Val) extends Tree[Type]

Attributes

Inherited from:
NirGenExpr
Supertypes
trait Serializable
class Tree[Type]
trait Showable
trait Container
trait LinkSource
class Positioned
trait Cloneable
trait Product
trait Equals
trait SrcPos
class Object
trait Matchable
class Any
Show all
case class ExportedSymbol(symbol: Symbol, defn: Define)

Attributes

Inherited from:
GenNativeExports
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class ExprBuffer(using fresh: Fresh) extends FixupBuffer

Attributes

Inherited from:
NirGenExpr
Supertypes
class FixupBuffer
class Buffer
class Object
trait Matchable
class Any
sealed class FixupBuffer(using fresh: Fresh) extends Buffer

Attributes

Inherited from:
NirGenExpr
Supertypes
class Buffer
class Object
trait Matchable
class Any
Known subtypes
class ExprBuffer
protected object LinktimeProperty

Attributes

Inherited from:
NirGenStat
Supertypes
class Object
trait Matchable
class Any
protected case class MirrorClass(defn: Class, forwarders: Seq[Define])

Attributes

Inherited from:
NirGenStat
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed case class SimpleType(sym: Symbol, targs: Seq[SimpleType])

Attributes

Inherited from:
NirGenType
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed case class ValTree(value: Val) extends Tree[Type]

Attributes

Inherited from:
NirGenExpr
Supertypes
trait Serializable
class Tree[Type]
trait Showable
trait Container
trait LinkSource
class Positioned
trait Cloneable
trait Product
trait Equals
trait SrcPos
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

opaque type OwnerSymbol

Attributes

Inherited from:
GenNativeExports

Value members

Concrete methods

def run(): Unit

Inherited methods

protected def checkExplicitReturnTypeAnnotation(externDef: ValOrDefDef, methodKind: String): Unit

Attributes

Inherited from:
NirGenStat

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType
def genClass(td: TypeDef)(using Context): Unit

Attributes

Inherited from:
NirGenStat
def genExternMethod(attrs: Attrs, name: Global, origSig: Type, dd: DefDef): Option[Defn]

Attributes

Inherited from:
NirGenStat
def genExternMethodSig(sym: Symbol): Function

Attributes

Inherited from:
NirGenType
def genExternSig(sym: Symbol): Extern

Attributes

Inherited from:
NirGenName

Attributes

Inherited from:
NirGenType
def genFieldName(sym: Symbol): Global

Attributes

Inherited from:
NirGenName
protected def genLinktimeResolved(dd: DefDef, name: Global)(using Position): Option[Defn]

Attributes

Inherited from:
NirGenStat
def genMethodName(sym: Symbol): Global

Attributes

Inherited from:
NirGenName
def genMethodSig(sym: Symbol): Function

Attributes

Inherited from:
NirGenType
def genModuleName(sym: Symbol): Top

Attributes

Inherited from:
NirGenName
def genName(sym: Symbol): Global

Attributes

Inherited from:
NirGenName

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType
def genReflectiveInstantiation(td: TypeDef): Unit

Attributes

Inherited from:
GenReflectiveInstantisation
def genStaticMemberName(sym: Symbol, explicitOwner: Symbol): Global

Attributes

Inherited from:
NirGenName
def genTopLevelExports(td: TypeDef): Seq[Defn]

Attributes

Inherited from:
GenNativeExports
def genType(st: SimpleType): Type

Attributes

Inherited from:
NirGenType
def genTypeName(sym: Symbol): Top

Attributes

Inherited from:
NirGenName

Attributes

Inherited from:
NirGenType
def isExported(s: Symbol): Boolean

Attributes

Inherited from:
GenNativeExports
def validateExternCtor(rhs: Tree): Unit

Attributes

Inherited from:
NirGenStat

Concrete fields

Inherited fields

Attributes

Inherited from:
NirGenStat

Attributes

Inherited from:
NirGenStat
protected val generatedMirrorClasses: Map[Symbol, MirrorClass]

Attributes

Inherited from:
NirGenStat

Givens

Inherited givens

given fromSymbol: Conversion[Symbol, SimpleType]

Attributes

Inherited from:
NirGenType
given fromType: Conversion[Type, SimpleType]

Attributes

Inherited from:
NirGenType

Extensions

Inherited extensions

extension (sym: Symbol)

Tests if this type inherits from CFuncPtr

Tests if this type inherits from CFuncPtr

Attributes

Inherited from:
NirGenType

Tests if this type is implementations of CFuncPtr

Tests if this type is implementations of CFuncPtr

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType

Attributes

Inherited from:
NirGenType
extension (tpe: Type)

Attributes

Inherited from:
NirGenType