forked from jasder/antlr
Remove old tree parser code
This commit is contained in:
parent
170a8347bb
commit
43da92e117
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue