Remove old tree parser code

This commit is contained in:
Sam Harwell 2012-07-31 13:22:38 -05:00
parent 170a8347bb
commit 43da92e117
2 changed files with 0 additions and 8 deletions

View File

@ -74,9 +74,6 @@ public interface ATNFactory {
Handle charSetLiteral(GrammarAST charSetAST);
Handle tree(GrammarAST node, List<Handle> els);
Handle range(GrammarAST a, GrammarAST b);
/** For a non-lexer, just build a simple token reference atom.

View File

@ -193,11 +193,6 @@ public class ParserATNFactory implements ATNFactory {
return new Handle(left, right);
}
@Override
public Handle tree(GrammarAST node, List<Handle> els) {
throw new UnsupportedOperationException("^(...) not allowed in non-tree grammar");
}
/** Not valid for non-lexers */
@Override
public Handle range(GrammarAST a, GrammarAST b) {