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
/
AstForStatementsCreator
AstForStatementsCreator
io.joern.kotlin2cpg.ast.AstForStatementsCreator
trait
AstForStatementsCreator
(
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
astForBreak
(
expr
:
KtBreakExpression
):
Ast
def
astForContinue
(
expr
:
KtContinueExpression
):
Ast
def
astForDoWhile
(
expr
:
KtDoWhileExpression
,
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForFor
(
expr
:
KtForExpression
,
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForIf
(
expr
:
KtIfExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForIfAsExpression
(
expr
:
KtIfExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForTry
(
expr
:
KtTryExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForWhen
(
expr
:
KtWhenExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astForWhenAsExpression
(
expr
:
KtWhenExpression
,
argIdx
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
]):
Ast
def
astForWhile
(
expr
:
KtWhileExpression
,
annotations
:
Seq
[
KtAnnotationEntry
]):
Ast
def
astsForBlock
(
expr
:
KtBlockExpression
,
argIdxMaybe
:
Option
[
Int
],
argNameMaybe
:
Option
[
String
],
pushToScope
:
Boolean
,
localsForCaptures
:
List
[
NewLocal
],
implicitReturnAroundLastStatement
:
Boolean
,
preStatements
:
Option
[
Seq
[
Ast
]]):
Seq
[
Ast
]
In this article
Attributes
Members list
Value members
Concrete methods