NativeInteropUtil

scala.scalanative.nscplugin.NativeInteropUtil

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
PluginPhase

Members list

Value members

Concrete methods

protected def defn(using Context): Definitions

Returns the definitions in the current context.

Returns the definitions in the current context.

Attributes

protected def defnNir(using Context): NirDefinitions

Returns the Native IR definitions in the current context.

Returns the Native IR definitions in the current context.

Attributes

def isTopLevelExtern(dd: ValOrDefDef)(using Context): Boolean

true iff dd is a toplevel declaration that is defined externally.

true iff dd is a toplevel declaration that is defined externally.

Attributes

Extensions

Extensions

extension (sym: Symbol)(sym: Symbol)
def isExported(using Context): Boolean

true iff sym is an exported definition.

true iff sym is an exported definition.

Attributes

def isExtern(using Context): Boolean

true iff sym is a C-bridged type or a declaration defined externally.

true iff sym is a C-bridged type or a declaration defined externally.

Attributes

def isExternType(using Context): Boolean

true iff sym is a C-bridged type (e.g., unsafe.CSize).

true iff sym is a C-bridged type (e.g., unsafe.CSize).

Attributes

def isScalaModule(using Context): Boolean

true iff sym is a scala module.

true iff sym is a scala module.

Attributes

def isTraitOrInterface(using Context): Boolean

true iff sym a trait or Java interface declaration.

true iff sym a trait or Java interface declaration.

Attributes

def usesVariadicArgs(using Context): Boolean

true iff sym uses variadic arguments.

true iff sym uses variadic arguments.

Attributes