extract EBNF dump class