Remove reference to tree parsers

This commit is contained in:
Sam Harwell 2012-12-07 08:50:54 -06:00
parent 356b8e4b27
commit 38b5a8321b
2 changed files with 0 additions and 11 deletions

View File

@ -212,11 +212,6 @@ public interface ATNFactory {
/** Build an atom with all possible values in its label */
Handle wildcard(GrammarAST associatedAST);
/** Build a subrule matching ^(. .*) (any tree or node). Let's use
* (^(. .+) | .) to be safe.
*/
Handle wildcardTree(GrammarAST associatedAST);
Handle lexerAltCommands(ATNFactory.Handle alt, ATNFactory.Handle cmds);
String lexerCallCommand(GrammarAST ID, GrammarAST arg);

View File

@ -540,12 +540,6 @@ public class ParserATNFactory implements ATNFactory {
return new Handle(left, right);
}
/** Build a subrule matching ^(. .*) (any tree or node). Let's use
* (^(. .+) | .) to be safe.
*/
@Override
public Handle wildcardTree(GrammarAST associatedAST) { throw new UnsupportedOperationException(); }
void epsilon(ATNState a, @NotNull ATNState b) {
if ( a!=null ) a.addTransition(new EpsilonTransition(b));
}