Improvements from feedback on case/when classes.

This commit is contained in:
Nick Rolfe
2021-01-07 17:48:51 +00:00
parent 36c7d3fe5b
commit 9a71bdc993
2 changed files with 12 additions and 8 deletions

View File

@@ -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(_) }
}
}