cpg
Toggle table of contents
main
jvm
Platform filter
jvm
Switch theme
Search in API
cpg
cpg-language-python
/
de.fraunhofer.aisec.cpg.passes
/
PythonAddDeclarationsPass
Python
Add
Declarations
Pass
class
PythonAddDeclarationsPass
(
ctx
:
TranslationContext
)
:
ComponentPass
,
LanguageProvider
Members
Constructors
Python
Add
Declarations
Pass
Link copied to clipboard
constructor
(
ctx
:
TranslationContext
)
Properties
config
Link copied to clipboard
val
config
:
TranslationConfiguration
ctx
Link copied to clipboard
override
val
ctx
:
TranslationContext
language
Link copied to clipboard
open
override
val
language
:
Language
<
*
>
?
name
Link copied to clipboard
var
name
:
String
scope
Link copied to clipboard
open
override
val
scope
:
Scope
?
scope
Manager
Link copied to clipboard
val
scopeManager
:
ScopeManager
type
Manager
Link copied to clipboard
val
typeManager
:
TypeManager
walker
Link copied to clipboard
lateinit
var
walker
:
SubgraphWalker.ScopedWalker
Functions
accept
Link copied to clipboard
open
override
fun
accept
(
p0
:
Component
)
and
Then
Link copied to clipboard
open
fun
andThen
(
p0
:
Consumer
<
in
Component
>
)
:
Consumer
<
Component
>
cleanup
Link copied to clipboard
open
override
fun
cleanup
(
)
pass
Config
Link copied to clipboard
fun
<
T
:
PassConfiguration
>
passConfig
(
)
:
T
?
runs
With
Current
Frontend
Link copied to clipboard
fun
runsWithCurrentFrontend
(
usedFrontends
:
Collection
<
LanguageFrontend
<
*
,
*
>
>
)
:
Boolean
runs
With
Language
Trait
Link copied to clipboard
fun
runsWithLanguageTrait
(
language
:
Language
<
*
>
?
)
:
Boolean
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String