(Lexer lexer, List<ASTree> res)
| 21 | protected Parser parser; |
| 22 | protected Tree(Parser p) { parser = p; } |
| 23 | protected void parse(Lexer lexer, List<ASTree> res) |
| 24 | throws ParseException |
| 25 | { |
| 26 | res.add(parser.parse(lexer)); |
| 27 | } |
| 28 | protected boolean match(Lexer lexer) throws ParseException { |
| 29 | return parser.match(lexer); |
| 30 | } |