Package-level declarations

Types

Link copied to clipboard
typealias ConeKotlinTypeTreeNode = TreeNode<ConeNode>
Link copied to clipboard
sealed class ConeNode
Link copied to clipboard
typealias FirTreeNode = TreeNode<FirElement>

Properties

Link copied to clipboard
val FirBasedSymbol<*>.coneKotlinType: ConeKotlinType
Link copied to clipboard
val FirBasedSymbol<*>.coneKotlinTypeOrNull: ConeKotlinType?
Link copied to clipboard
val FirBasedSymbol<*>.contextReceivers: List<FirContextReceiver>
Link copied to clipboard
val FirBasedSymbol<*>.hasOwner: Boolean
Link copied to clipboard
val FirBasedSymbol<*>.isNested: Boolean
Link copied to clipboard
val FirBasedSymbol<*>.isTopLevel: Boolean
Link copied to clipboard
val ConeKotlinType.isTypeParameterType: Boolean
Link copied to clipboard
val FirMemberDeclaration.name: Name
val FirBasedSymbol<*>.name: Name
Link copied to clipboard
val FirSession.nothingFirFunctionCall: FirFunctionCall
Link copied to clipboard
val FirBasedSymbol<*>.packageFqName: FqName
Link copied to clipboard
val FirElement.treeNode: FirTreeNode
val ConeKotlinType.treeNode: ConeKotlinTypeTreeNode
Link copied to clipboard
val FirContextReceiver.typeRefName: Name?

Functions

Link copied to clipboard
inline fun <O : FirElement> FirElement.asFir(): O
Link copied to clipboard
inline fun <O : FirElement> FirElement.asFirOrNull(): O?
Link copied to clipboard
inline fun <O : FirBasedSymbol<*>> FirBasedSymbol<*>.asFirSymbol(): O
Link copied to clipboard
inline fun <O : FirBasedSymbol<*>> FirBasedSymbol<*>.asFirSymbolOrNull(): O?
Link copied to clipboard
inline fun <T> FirSession.coneKotlinType(vararg typeArguments: ConeTypeProjection): ConeKotlinType
@JvmName(name = "coneKotlinTypeWithTypeArgumentsArray")
inline fun <T> FirSession.coneKotlinType(typeArguments: Array<ConeTypeProjection> = emptyArray()): ConeKotlinType
Link copied to clipboard
inline fun FirFunctionSymbol<*>.contextReceiversToValueParameters(session: FirSession, key: GeneratedDeclarationKey, crossinline block: FirValueParameterBuilder.(FirContextReceiver) -> Unit = {}): List<FirValueParameter>
inline fun FirFunctionSymbol<*>.contextReceiversToValueParameters(session: FirSession, origin: FirDeclarationOrigin, crossinline block: FirValueParameterBuilder.(FirContextReceiver) -> Unit = {}): List<FirValueParameter>
Link copied to clipboard
inline fun createFirAnnotation(annotationTypeRef: FirTypeRef, argumentMapping: FirAnnotationArgumentMapping = FirEmptyAnnotationArgumentMapping, builder: FirAnnotationBuilder.() -> Unit = {}): FirAnnotation
Link copied to clipboard
inline fun FirSession.createFirAnonymousFunction(origin: FirDeclarationOrigin, returnTypeRef: FirTypeRef, symbol: FirAnonymousFunctionSymbol = FirAnonymousFunctionSymbol(), isLambda: Boolean = false, hasExplicitParameterList: Boolean = false, builder: FirAnonymousFunctionBuilder.() -> Unit = {}): FirAnonymousFunction
Link copied to clipboard
inline fun createFirAnonymousFunctionExpression(anonymousFunction: FirAnonymousFunction, builder: FirAnonymousFunctionExpressionBuilder.() -> Unit = {}): FirAnonymousFunctionExpression
inline fun <T : Enum<T>> createFirEnumEntryDeserializedAccessExpression(enum: T): FirEnumEntryDeserializedAccessExpression
inline fun createFirEnumEntryDeserializedAccessExpression(enumEntryName: Name, enumClassId: ClassId): FirEnumEntryDeserializedAccessExpression
Link copied to clipboard
inline fun <T> createFirLiteralExpression(kind: ConstantValueKind, value: T, source: KtSourceElement? = null, annotations: MutableList<FirAnnotation> = mutableListOf(), setType: Boolean = true): FirLiteralExpression
Link copied to clipboard
inline fun createFirResolvedTypeRef(type: ConeKotlinType, builder: FirResolvedTypeRefBuilder.() -> Unit = {}): FirResolvedTypeRef
Link copied to clipboard
inline fun FirBasedSymbol<*>.isFunction(): Boolean
Link copied to clipboard
inline fun FirBasedSymbol<*>.isProperty(): Boolean
Link copied to clipboard
inline fun FirSession.isSubtypeOf(subType: ConeKotlinType, superType: ConeKotlinType): Boolean
Link copied to clipboard
inline fun FirSession.nothingFirAnonymousFunctionExpression(key: GeneratedDeclarationKey): FirAnonymousFunctionExpression
inline fun FirSession.nothingFirAnonymousFunctionExpression(origin: FirDeclarationOrigin): FirAnonymousFunctionExpression
Link copied to clipboard
inline fun FirSession.nothingFirFunction(key: GeneratedDeclarationKey): FirFunction
inline fun FirSession.nothingFirFunction(origin: FirDeclarationOrigin): FirFunction
Link copied to clipboard
inline fun FirTreeNode.render(): String
inline fun List<FirElement?>.render(): String
Link copied to clipboard
Link copied to clipboard
inline fun FirTypeRef.toClassId(session: FirSession): ClassId
Link copied to clipboard
inline fun FirTypeRef.toClassIdOrNull(session: FirSession): ClassId?
Link copied to clipboard
inline fun ClassId.toConeType(vararg typeArguments: ConeTypeProjection): ConeClassLikeType
@JvmName(name = "toConeTypeWithTypeArgumentsArray")
inline fun ClassId.toConeType(typeArguments: Array<ConeTypeProjection>): ConeClassLikeType
Link copied to clipboard
inline fun FirTypeRef.toFirAnnotation(argumentMapping: FirAnnotationArgumentMapping = FirEmptyAnnotationArgumentMapping, builder: FirAnnotationBuilder.() -> Unit = {}): FirAnnotation
Link copied to clipboard
fun FirElement.toFirTreeNode(): FirTreeNode
Link copied to clipboard
inline fun ConeTypeProjection.toFirTypeParameter(session: FirSession, key: GeneratedDeclarationKey, containingDeclarationSymbol: FirBasedSymbol<*>, isReified: Boolean = false, variance: Variance = Variance.INVARIANT, name: Name = this.type?.toRegularClassSymbol(session)?.name ?: Name.special("<anonymous>")): FirTypeParameterRef
inline fun ConeTypeProjection.toFirTypeParameter(session: FirSession, origin: FirDeclarationOrigin, containingDeclarationSymbol: FirBasedSymbol<*>, isReified: Boolean = false, variance: Variance = Variance.INVARIANT, name: Name = this.type?.toRegularClassSymbol(session)?.name ?: Name.special("<anonymous>")): FirTypeParameterRef
Link copied to clipboard
inline fun FirClassLikeSymbol<*>.toFirTypeRef(): FirTypeRef
inline fun ClassId.toFirTypeRef(vararg typeArguments: ConeTypeProjection): FirTypeRef
Link copied to clipboard
inline fun FirClassSymbol<*>.toPrimaryConstructor(session: FirSession, key: GeneratedDeclarationKey, block: FirPrimaryConstructorBuilder.(FirClassSymbol<*>) -> Unit = {}): FirConstructor
inline fun FirClassSymbol<*>.toPrimaryConstructor(session: FirSession, origin: FirDeclarationOrigin, block: FirPrimaryConstructorBuilder.(FirClassSymbol<*>) -> Unit = {}): FirConstructor
Link copied to clipboard
fun ConeKotlinType.toTreeNode(): ConeKotlinTypeTreeNode
Link copied to clipboard
inline fun FirContextReceiver.toValueParameter(session: FirSession, key: GeneratedDeclarationKey, containingFunctionSymbol: FirFunctionSymbol<*>, crossinline block: FirValueParameterBuilder.(FirContextReceiver) -> Unit = {}): FirValueParameter
inline fun FirContextReceiver.toValueParameter(session: FirSession, origin: FirDeclarationOrigin, containingFunctionSymbol: FirFunctionSymbol<*>, crossinline block: FirValueParameterBuilder.(FirContextReceiver) -> Unit = {}): FirValueParameter
inline fun ConeKotlinType.toValueParameter(session: FirSession, key: GeneratedDeclarationKey, containingFunctionSymbol: FirFunctionSymbol<*>, block: FirValueParameterBuilder.(FirTypeRef) -> Unit = {}): FirValueParameter
inline fun ConeKotlinType.toValueParameter(session: FirSession, origin: FirDeclarationOrigin, containingFunctionSymbol: FirFunctionSymbol<*>, block: FirValueParameterBuilder.(FirTypeRef) -> Unit = {}): FirValueParameter
inline fun FirTypeRef.toValueParameter(session: FirSession, key: GeneratedDeclarationKey, containingFunctionSymbol: FirFunctionSymbol<*>, block: FirValueParameterBuilder.(FirTypeRef) -> Unit = {}): FirValueParameter
inline fun FirTypeRef.toValueParameter(session: FirSession, origin: FirDeclarationOrigin, containingFunctionSymbol: FirFunctionSymbol<*>, block: FirValueParameterBuilder.(FirTypeRef) -> Unit = {}): FirValueParameter
Link copied to clipboard
inline fun FirContextReceiver.toValueParameterOrNull(session: FirSession, key: GeneratedDeclarationKey, containingFunctionSymbol: FirFunctionSymbol<*>, crossinline block: FirValueParameterBuilder.(FirContextReceiver) -> Unit = {}): FirValueParameter?
inline fun FirContextReceiver.toValueParameterOrNull(session: FirSession, origin: FirDeclarationOrigin, containingFunctionSymbol: FirFunctionSymbol<*>, crossinline block: FirValueParameterBuilder.(FirContextReceiver) -> Unit = {}): FirValueParameter?
inline fun FirTypeRef.toValueParameterOrNull(session: FirSession, key: GeneratedDeclarationKey, containingFunctionSymbol: FirFunctionSymbol<*>, block: FirValueParameterBuilder.(FirTypeRef) -> Unit = {}): FirValueParameter?
inline fun FirTypeRef.toValueParameterOrNull(session: FirSession, origin: FirDeclarationOrigin, containingFunctionSymbol: FirFunctionSymbol<*>, block: FirValueParameterBuilder.(FirTypeRef) -> Unit = {}): FirValueParameter?
Link copied to clipboard
inline fun FirBasedSymbol<*>.valueParameters(session: FirSession): List<FirValueParameter>