kotlin2cpg
kotlin2cpg
API
io.joern.kotlin2cpg
ast
AstCreator
AstForDeclarationsCreator
AstForExpressionsCreator
AstForFunctionsCreator
AstForPrimitivesCreator
AstForStatementsCreator
BindingInfo
ClosureBindingDef
Nodes
compiler
CompilerAPI
CompilerAPI
ErrorLoggingMessageCollector
datastructures
Scope
files
SourceFilesPicker
SourceFilesPicker
interop
JavasrcInterop
jar4import
Service
UsesService
passes
AstCreationPass
ConfigPass
DependenciesFromMavenCoordinatesPass
KotlinTypeHintCallLinker
KotlinTypeRecoveryPass
psi
PsiUtils
PsiUtils
types
AnonymousObjectContext
CallKinds
CallKinds
ContentSourcesPicker
DefaultTypeInfoProvider
DefaultTypeInfoProvider
NameReferenceKinds
TypeConstants
TypeInfoProvider
TypeRenderer
utils
PathUtils
Config
Constants
DefaultContentRootJarPath
FileContentAtPath
Kotlin2Cpg
InputPair
Kotlin2Cpg
KtFileWithMeta
Main
kotlin2cpg
/
io.joern.kotlin2cpg
/
io.joern.kotlin2cpg.ast
/
AstForPrimitivesCreator
AstForPrimitivesCreator
io.joern.kotlin2cpg.ast.AstForPrimitivesCreator
trait
AstForPrimitivesCreator
(
implicit
withSchemaValidation
:
ValidationMode
)
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
class
AstCreator
Self type
AstCreator
Members list
Clear all
Value members
Concrete methods
def
astForAnnotationEntry
(
entry
:
KtAnnotationEntry
)(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astForClassLiteral
(
expr
:
KtClassLiteralExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astForImportDirective
(
directive
:
KtImportDirective
):
Ast
def
astForLiteral
(
expr
:
KtConstantExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astForNameReference
(
expr
:
KtNameReferenceExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astForPackageDeclaration
(
packageName
:
String
):
Ast
def
astForStringTemplate
(
expr
:
KtStringTemplateExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astForSuperExpression
(
expr
:
KtSuperExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astForThisExpression
(
expr
:
KtThisExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
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
In this article
Attributes
Members list
Value members
Concrete methods