@Test public void lbcore193() throws Exception { try { Parser<Object> p = new Parser("hello%(abc"); p.setContext(context); p.parse(); fail("where the is exception?"); } catch (ScanException ise) { assertEquals("Expecting RIGHT_PARENTHESIS token but got null", ise.getMessage()); } StatusChecker sc = new StatusChecker(context); sc.assertContainsMatch("Expecting RIGHT_PARENTHESIS"); sc.assertContainsMatch("See also " + Parser.MISSING_RIGHT_PARENTHESIS); }
public Node parse() throws ScanException { return E(); }
Parser extends ContextAwareBase { public Node parse() throws ScanException { return E(); } }
Parser extends ContextAwareBase { public Node parse() throws ScanException { return E(); } Parser(TokenStream ts);  Parser(String pattern);  Parser(String pattern, IEscapeUtil escapeUtil); }
Parser extends ContextAwareBase { public Node parse() throws ScanException { return E(); } Parser(TokenStream ts);  Parser(String pattern);  Parser(String pattern, IEscapeUtil escapeUtil); Converter<E> compile(final Node top, Map<String, String> converterMap); Node parse(); }
Parser extends ContextAwareBase { public Node parse() throws ScanException { return E(); } Parser(TokenStream ts);  Parser(String pattern);  Parser(String pattern, IEscapeUtil escapeUtil); Converter<E> compile(final Node top, Map<String, String> converterMap); Node parse(); final static String MISSING_RIGHT_PARENTHESIS; final static Map<String, String> DEFAULT_COMPOSITE_CONVERTER_MAP; final static String REPLACE_CONVERTER_WORD; }