kotlin2cpg
kotlin2cpg
API
io.joern.kotlin2cpg
ast
AstCreator
AnonymousObjectContext
BindingInfo
ClosureBindingDef
AstCreator
AstForDeclarationsCreator
AstForExpressionsCreator
AstForFunctionsCreator
AstForPrimitivesCreator
AstForStatementsCreator
BindingContextUtils
compiler
CompilerAPI
ErrorLoggingMessageCollector
datastructures
Scope
files
SourceFilesPicker
interop
JavaSrcInterop
jar4import
Service
UsesService
passes
AstCreationPass
ConfigPass
DependenciesFromMavenCoordinatesPass
KotlinTypeHintCallLinker
KotlinTypeRecoveryPassGenerator
psi
PsiUtils
types
CallKind
ContentSourcesPicker
NameRenderer
NameRenderer
TypeConstants
TypeInfoProvider
TypeInfoProvider
Config
Constants
DefaultContentRootJarPath
FileContentAtPath
Kotlin2Cpg
Kotlin2Cpg
KtFileWithMeta
Main
kotlin2cpg
/
io.joern.kotlin2cpg
/
io.joern.kotlin2cpg.ast
/
AstForExpressionsCreator
AstForExpressionsCreator
io.joern.kotlin2cpg.ast.AstForExpressionsCreator
trait
AstForExpressionsCreator
(
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
astForArrayAccess
(
expression
:
KtArrayAccessExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForBinaryExprWithTypeRHS
(
expr
:
KtBinaryExpressionWithTypeRHS
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForIsExpression
(
expr
:
KtIsExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForPostfixExpression
(
expr
:
KtPostfixExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForPrefixExpression
(
expr
:
KtPrefixExpression
,
argIdx
:
Option
[
Int
],
argName
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForQualifiedExpression
(
expr
:
KtQualifiedExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astsForBinaryExpr
(
expr
:
KtBinaryExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Seq
[
Ast
]
def
astsForCall
(
expr
:
KtCallExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Seq
[
Ast
]
In this article
Attributes
Members list
Value members
Concrete methods