BindingContextUtils

io.joern.kotlin2cpg.ast.BindingContextUtils
class BindingContextUtils(val bindingContext: BindingContext)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getAmbiguousCalledFunctionDescs(expression: KtExpression): Seq[FunctionDescriptor]
def getAnnotationDesc(entry: KtAnnotationEntry): AnnotationDescriptor
def getCalledFunctionDesc(destructuringAst: KtDestructuringDeclarationEntry): Option[FunctionDescriptor]
def getCalledFunctionDesc(expressionAst: KtExpression): Option[FunctionDescriptor]
def getClassDesc(classAst: KtClassOrObject): ClassDescriptor
def getConstructorDesc(constructorAst: KtConstructor[_]): ConstructorDescriptor
def getDeclDesc(nameRefExpr: KtReferenceExpression): Option[DeclarationDescriptor]
def getExprType(expr: KtExpression): Option[KotlinType]
def getFunctionDesc(functionAst: KtNamedFunction): FunctionDescriptor
def getFunctionDesc(functionLiteralAst: KtFunctionLiteral): FunctionDescriptor
def getResolvedCallDesc(expr: KtExpression): Option[ResolvedCall[_]]
def getTypeAliasDesc(typeAlias: KtTypeAlias): TypeAliasDescriptor
def getTypeRefType(typeRef: KtTypeReference): Option[KotlinType]
def getVariableDesc(param: KtParameter): Option[VariableDescriptor]
def getVariableDesc(entry: KtDestructuringDeclarationEntry): Option[VariableDescriptor]
def getVariableDesc(property: KtProperty): Option[VariableDescriptor]

Concrete fields

val bindingContext: BindingContext