private Expr parseStatement(WyalFile wf, HashSet<String> generics,
HashSet<String> environment, Indent indent) {
int start = index;
checkNotEof();
Token lookahead = tryAndMatch(false, If, Case, Exists, Forall);
if (lookahead != null && lookahead.kind == If) {
return parseIfThenStatement(wf, generics, environment, indent);
} else if (lookahead != null && lookahead.kind == Case) {
return parseCaseStatement(wf, generics, environment, indent);