public InvalidSyntaxElement parseInvalidElement(ParseRuleDescription expectedRule,
boolean inStatementList) {
LexElement badToken = consumeLookAhead();
ParseHelper parse = new ParseHelper();
parse.storeError(createSyntaxError(expectedRule));
return parse.conclude(new InvalidSyntaxElement(inStatementList, badToken));
}