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 {
180180 override CallExpr e ;
181181}
182182
183+ /** A control-flow node that wraps a key-path application. */
183184class KeyPathApplicationExprCfgNode extends ExprCfgNode {
184185 override KeyPathApplicationExpr e ;
185186
187+ /**
188+ * Gets the control-flow node that wraps the key-path of
189+ * this control-flow element.
190+ */
186191 CfgNode getKeyPath ( ) { result .getAst ( ) = e .getKeyPath ( ) }
187192
193+ /**
194+ * Gets the control-flow node that wraps the base of
195+ * this control-flow element.
196+ */
188197 CfgNode getBase ( ) { result .getAst ( ) = e .getBase ( ) }
189198}
190199
200+ /** A control-flow node that wraps a key-path expression. */
191201class KeyPathExprCfgNode extends ExprCfgNode {
192202 override KeyPathExpr e ;
193203}
You can’t perform that action at this time.
0 commit comments