public String [ ] [ ] getRequiredRuleNames ( Param param ) { if ( isFiltered ( param ) ) { return EMPTY_ARRAY ; } AbstractElement elementToParse = param . elementToParse ; String ruleName = param . ruleName ; if ( ruleName == null ) { return getRequiredRuleNames ( param , elementToParse ) ; } return getAdjustedRequiredRuleNames ( param , elementToParse , ruleName ) ; }
Returns the names of parser rules that should be called in order to obtain the follow elements for the parser call stack described by the given param .