@Test public void parse_tokens_unsupported() { thrown.expect(UnsupportedOperationException.class); List<Token> tokens = ImmutableList.of(); parser.parse(tokens); }
@Override public AstNode parse(String source) { LocatedText text = new LocatedText(null, source.toCharArray()); return parse(text); }
ParserAdapter extends Parser<G> { @Override public AstNode parse(String source) { LocatedText text = new LocatedText(null, source.toCharArray()); return parse(text); } }
ParserAdapter extends Parser<G> { @Override public AstNode parse(String source) { LocatedText text = new LocatedText(null, source.toCharArray()); return parse(text); } ParserAdapter(Charset charset, G grammar); }
ParserAdapter extends Parser<G> { @Override public AstNode parse(String source) { LocatedText text = new LocatedText(null, source.toCharArray()); return parse(text); } ParserAdapter(Charset charset, G grammar); @Override AstNode parse(String source); @Override AstNode parse(File file); @Override AstNode parse(List<Token> tokens); @Override RuleDefinition getRootRule(); }
ParserAdapter extends Parser<G> { @Override public AstNode parse(String source) { LocatedText text = new LocatedText(null, source.toCharArray()); return parse(text); } ParserAdapter(Charset charset, G grammar); @Override AstNode parse(String source); @Override AstNode parse(File file); @Override AstNode parse(List<Token> tokens); @Override RuleDefinition getRootRule();  }