}
public static DRLExpressions getDRLExpressions(TokenStream input, RecognizerSharedState state, ParserHelper helper, LanguageLevelOption languageLevel ) {
switch (languageLevel) {
case DRL5:
return new DRL5Expressions(input, state, helper);
case DRL6:
case DRL6_STRICT:
return new DRL6Expressions(input, state, helper);
}
throw new RuntimeException("Unknown language level");