TypeInfoCalculator

class TypeInfoCalculator(global: Global, symbolResolver: SymbolResolver)
Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def fullName(typ: ResolvedType): Option[String]
def fullName(typ: ResolvedType, typeParamValues: ResolvedTypeParametersMap): Option[String]
def fullName(typ: Type): Option[String]
def fullName(decl: ResolvedDeclaration): Option[String]
def name(typ: ResolvedType): Option[String]
def name(typ: ResolvedType, typeParamValues: ResolvedTypeParametersMap): Option[String]
def name(typ: Type): Option[String]
def name(decl: ResolvedDeclaration): Option[String]
def registerType(typeName: String): String

Add typeName to a global map and return it. The map is later passed to a pass that creates TYPE nodes for each key in the map. Skip the ANY type, since this is created by default. TODO: I want the type registration not in here but for now it is the easiest.

Add typeName to a global map and return it. The map is later passed to a pass that creates TYPE nodes for each key in the map. Skip the ANY type, since this is created by default. TODO: I want the type registration not in here but for now it is the easiest.