implement Parser::acceptKeyList()