mirror of
https://github.com/github/codeql.git
synced 2026-06-20 04:11:07 +02:00
Merge pull request #21999 from aschackmull/cfg/parameter-pattern
Cfg: Distinguish parameters from their patterns.
This commit is contained in:
@@ -61,6 +61,8 @@ private module Ast implements AstSig<Location> {
|
||||
class Parameter extends AstNode {
|
||||
Parameter() { none() }
|
||||
|
||||
AstNode getPattern() { none() }
|
||||
|
||||
Expr getDefaultValue() { none() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user