implement Parser::acceptEntry()
implement Parser::testExpectEntryListOrEnd()