Commit 27c1476
move walkUpAst and walkUpContains into companion object of CfgNodeMethods (#5589)
* move walkUpAst and walkUpContains into companion object of CfgNodeMethods
* these don't work on the node of the value class, so it's rather
confusing
* their code was copied without changes in codescience, this way we can
reuse it
* privatise
* fmt
* fmt
* Update semanticcpg/src/main/scala/io/shiftleft/semanticcpg/language/nodemethods/CfgNodeMethods.scala
Co-authored-by: maltek <1694194+maltek@users.noreply.github.com>
* fmt
---------
Co-authored-by: maltek <1694194+maltek@users.noreply.github.com>1 parent d995936 commit 27c1476
File tree
1 file changed
+13
-1
lines changed- semanticcpg/src/main/scala/io/shiftleft/semanticcpg/language/nodemethods
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
124 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
125 | 136 | | |
126 | 137 | | |
127 | 138 | | |
| |||
137 | 148 | | |
138 | 149 | | |
139 | 150 | | |
| 151 | + | |
140 | 152 | | |
141 | 153 | | |
0 commit comments