cpg
Toggle table of contents
main
jvm
Platform filter
jvm
Switch theme
Search in API
cpg
cpg-language-go
/
de.fraunhofer.aisec.cpg.passes
/
GoEvaluationOrderGraphPass
Go
Evaluation
Order
Graph
Pass
class
GoEvaluationOrderGraphPass
(
ctx
:
TranslationContext
)
:
EvaluationOrderGraphPass
This pass contains fine-grained improvements to the EOG for the
GoLanguage
.
Members
Constructors
Go
Evaluation
Order
Graph
Pass
Link copied to clipboard
constructor
(
ctx
:
TranslationContext
)
Properties
conditions
Link copied to clipboard
val
Node
.
conditions
:
List
<
Node
>
config
Link copied to clipboard
val
config
:
TranslationConfiguration
ctx
Link copied to clipboard
override
val
ctx
:
TranslationContext
name
Link copied to clipboard
var
name
:
String
nodes
To
Internal
Throws
Link copied to clipboard
val
nodesToInternalThrows
:
MutableMap
<
Node
,
MutableMap
<
Type
,
MutableList
<
Node
>
>
>
nodes
With
Continues
And
Breaks
Link copied to clipboard
val
nodesWithContinuesAndBreaks
:
MutableMap
<
Node
,
MutableList
<
Node
>
>
scope
Link copied to clipboard
open
override
val
scope
:
Scope
?
scope
Manager
Link copied to clipboard
val
scopeManager
:
ScopeManager
starts
Link copied to clipboard
val
LoopStatement
.
starts
:
List
<
Node
>
type
Manager
Link copied to clipboard
val
typeManager
:
TypeManager
Functions
accept
Link copied to clipboard
open
override
fun
accept
(
tu
:
TranslationUnitDeclaration
)
and
Then
Link copied to clipboard
open
fun
andThen
(
p0
:
Consumer
<
in
TranslationUnitDeclaration
>
)
:
Consumer
<
TranslationUnitDeclaration
>
attach
To
EOG
Link copied to clipboard
fun
attachToEOG
(
node
:
Node
)
cleanup
Link copied to clipboard
open
override
fun
cleanup
(
)
draw
EOGTo
Entries
Of
Link copied to clipboard
fun
drawEOGToEntriesOf
(
from
:
List
<
Node
>
,
toEntriesOf
:
Node
?
,
branchLabel
:
Boolean
?
)
get
Labeled
ASTNode
Link copied to clipboard
fun
getLabeledASTNode
(
node
:
Node
,
label
:
String
)
:
Node
?
is
Breakable
Link copied to clipboard
fun
Node
.
isBreakable
(
)
:
Boolean
is
Continuable
Link copied to clipboard
fun
Node
.
isContinuable
(
)
:
Boolean
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
set
Current
EOGs
Link copied to clipboard
fun
setCurrentEOGs
(
nodes
:
List
<
Node
>
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String