File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
swift/ql/lib/codeql/swift/controlflow Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -180,14 +180,24 @@ class CallExprCfgNode extends ApplyExprCfgNode {
180
180
override CallExpr e ;
181
181
}
182
182
183
+ /** A control-flow node that wraps a key-path application. */
183
184
class KeyPathApplicationExprCfgNode extends ExprCfgNode {
184
185
override KeyPathApplicationExpr e ;
185
186
187
+ /**
188
+ * Gets the control-flow node that wraps the key-path of
189
+ * this control-flow element.
190
+ */
186
191
CfgNode getKeyPath ( ) { result .getAst ( ) = e .getKeyPath ( ) }
187
192
193
+ /**
194
+ * Gets the control-flow node that wraps the base of
195
+ * this control-flow element.
196
+ */
188
197
CfgNode getBase ( ) { result .getAst ( ) = e .getBase ( ) }
189
198
}
190
199
200
+ /** A control-flow node that wraps a key-path expression. */
191
201
class KeyPathExprCfgNode extends ExprCfgNode {
192
202
override KeyPathExpr e ;
193
203
}
You can’t perform that action at this time.
0 commit comments