mirror of
https://github.com/github/codeql.git
synced 2026-02-23 18:33:42 +01:00
Improvements from feedback on case/when classes.
This commit is contained in:
@@ -126,10 +126,6 @@ module CaseExpr {
|
||||
final Expr getValue() { result = generated.getValue() }
|
||||
|
||||
final Expr getBranch(int n) { result = generated.getChild(n) }
|
||||
|
||||
final WhenExpr getAWhenBranch() { result = this.getBranch(_) }
|
||||
|
||||
final ExprSequence getElseBranch() { result = this.getBranch(_) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user