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
/
AstForDeclarationsCreator
AstForDeclarationsCreator
io.joern.kotlin2cpg.ast.AstForDeclarationsCreator
trait
AstForDeclarationsCreator
(
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
astForMember
(
decl
:
KtDeclaration
)(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
protected
def
astForObjectLiteralExpr
(
expr
:
KtObjectLiteralExpression
,
argIdxMaybe
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Ast
def
astsForClassOrObject
(
ktClass
:
KtClassOrObject
,
ctx
:
Option
[
AnonymousObjectContext
],
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Seq
[
Ast
]
def
astsForDestructuringDeclaration
(
expr
:
KtDestructuringDeclaration
)(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Seq
[
Ast
]
def
astsForProperty
(
expr
:
KtProperty
,
annotations
:
Seq
[
KtAnnotationEntry
])(
implicit
typeInfoProvider
:
TypeInfoProvider
):
Seq
[
Ast
]
In this article
Attributes
Members list
Value members
Concrete methods