KtPsiToAst

io.joern.kotlin2cpg.ast.KtPsiToAst
trait KtPsiToAst

Attributes

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

Members list

Value members

Concrete methods

def astForAnnotationEntry(entry: KtAnnotationEntry)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForAnonymousFunction(fn: KtNamedFunction, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForArrayAccess(expression: KtArrayAccessExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForBinaryExprWithTypeRHS(expr: KtBinaryExpressionWithTypeRHS, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForBreak(expr: KtBreakExpression): Ast
def astForClassLiteral(expr: KtClassLiteralExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForContinue(expr: KtContinueExpression): Ast
def astForDoWhile(expr: KtDoWhileExpression)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForFile(fileWithMeta: KtFileWithMeta)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForFor(expr: KtForExpression)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForIf(expr: KtIfExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForIfAsControlStructure(expr: KtIfExpression)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForIfAsExpression(expr: KtIfExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForImportDirective(directive: KtImportDirective): Ast
def astForIsExpression(expr: KtIsExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForLambda(expr: KtLambdaExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForLiteral(expr: KtConstantExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForMember(decl: KtDeclaration)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForNameReference(expr: KtNameReferenceExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
protected def astForObjectLiteralExpr(expr: KtObjectLiteralExpression, argIdxOpt: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForPackageDeclaration(packageName: String): Ast
def astForParameter(param: KtParameter, order: Int)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForPostfixExpression(expr: KtPostfixExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForPrefixExpression(expr: KtPrefixExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForQualifiedExpression(expr: KtQualifiedExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForReturnExpression(expr: KtReturnExpression)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForStringTemplate(expr: KtStringTemplateExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForSuperExpression(expr: KtSuperExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForThisExpression(expr: KtThisExpression, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForTry(expr: KtTryExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForTypeAlias(typeAlias: KtTypeAlias)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForTypeReference(expr: KtTypeReference, argIdx: Option[Int], argName: Option[String])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForUnknown(expr: KtExpression, argIdx: Option[Int]): Ast
def astForWhen(expr: KtWhenExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForWhenAsExpression(expr: KtWhenExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForWhenAsStatement(expr: KtWhenExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Ast
def astForWhile(expr: KtWhileExpression)(implicit typeInfoProvider: TypeInfoProvider): Ast
def astsForBinaryExpr(expr: KtBinaryExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForBlock(expr: KtBlockExpression, argIdx: Option[Int], pushToScope: Boolean, localsForCaptures: List[NewLocal], implicitReturnAroundLastStatement: Boolean, preStatements: Option[Seq[Ast]])(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForCall(expr: KtCallExpression, argIdx: Option[Int])(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForClassOrObject(ktClass: KtClassOrObject, ctx: Option[AnonymousObjectContext])(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForDeclaration(decl: KtDeclaration)(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForDestructuringDeclaration(expr: KtDestructuringDeclaration)(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForMethod(ktFn: KtNamedFunction, needsThisParameter: Boolean, withVirtualModifier: Boolean)(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def astsForProperty(expr: KtProperty)(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def componentNMethodAsts(typeDecl: NewTypeDecl, parameters: Seq[KtParameter])(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]
def memberSetCallAst(param: KtParameter, classFullName: String)(implicit typeInfoProvider: TypeInfoProvider): Ast
def secondaryCtorAsts(ctors: Seq[KtSecondaryConstructor], classFullName: String, primaryCtorCall: NewCall)(implicit typeInfoProvider: TypeInfoProvider): Seq[Ast]