Skip to content

Commit

Permalink
Document TypeExpression EOG
Browse files Browse the repository at this point in the history
  • Loading branch information
KuechA committed Nov 5, 2024
1 parent 02a0961 commit 1090c53
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ open class EvaluationOrderGraphPass(ctx: TranslationContext) : TranslationUnitPa
attachToEOG(node)
}

// TODO: Documentation missing
/** See [Specification](https://fraunhofer-aisec.github.io/cpg/CPG/specs/eog/#typeexpression) */
protected fun handleTypeExpression(node: TypeExpression) {
attachToEOG(node)
}
Expand Down
13 changes: 13 additions & 0 deletions docs/docs/CPG/specs/eog.md
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,19 @@ flowchart LR
```

## TypeExpression
The expression itself is connected to the outer EOG.

Interesting fields: /

Scheme:
```mermaid
flowchart LR
classDef outer fill:#fff,stroke:#ddd,stroke-dasharray:5 5;
prev:::outer --EOG--> parent["TypeExpression"]
parent --EOG--> next:::outer
```




Expand Down

0 comments on commit 1090c53

Please sign in to comment.