Look up superclass methods when extracting EBNF