/** Return List<String> of the rules in your parser instance * leading up to a call to this method. You could override if * you want more details such as the file/line info of where * in the parser java code a rule is invoked. * * This is very useful for error messages and for context-sensitive * error recovery. */ public List<String> getRuleInvocationStack() { String parserClassName = getClass().getName(); return getRuleInvocationStack(new Throwable(), parserClassName); }
/** Return List<String> of the rules in your parser instance * leading up to a call to this method. You could override if * you want more details such as the file/line info of where * in the parser java code a rule is invoked. * * This is very useful for error messages and for context-sensitive * error recovery. */ public List<String> getRuleInvocationStack() { String parserClassName = getClass().getName(); return getRuleInvocationStack(new Throwable(), parserClassName); }
/** Return List<String> of the rules in your parser instance * leading up to a call to this method. You could override if * you want more details such as the file/line info of where * in the parser java code a rule is invoked. * * This is very useful for error messages and for context-sensitive * error recovery. */ public List<String> getRuleInvocationStack() { String parserClassName = getClass().getName(); return getRuleInvocationStack(new Throwable(), parserClassName); }
/** Return List<String> of the rules in your parser instance * leading up to a call to this method. You could override if * you want more details such as the file/line info of where * in the parser java code a rule is invoked. * * This is very useful for error messages and for context-sensitive * error recovery. */ public List getRuleInvocationStack() { String parserClassName = getClass().getName(); return getRuleInvocationStack(new Throwable(), parserClassName); }
/** Return List<String> of the rules in your parser instance * leading up to a call to this method. You could override if * you want more details such as the file/line info of where * in the parser java code a rule is invoked. * * This is very useful for error messages and for context-sensitive * error recovery. */ public List<String> getRuleInvocationStack() { String parserClassName = getClass().getName(); return getRuleInvocationStack(new Throwable(), parserClassName); }
/** Return List<String> of the rules in your parser instance * leading up to a call to this method. You could override if * you want more details such as the file/line info of where * in the parser java code a rule is invoked. * * This is very useful for error messages and for context-sensitive * error recovery. */ public List<String> getRuleInvocationStack() { String parserClassName = getClass().getName(); return getRuleInvocationStack(new Throwable(), parserClassName); }