forked from jasder/antlr
Remove reference to tree parsers
This commit is contained in:
parent
356b8e4b27
commit
38b5a8321b
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue