Search in sources :

Example 1 with DisabledAntlrLexer

use of org.eclipse.xtend.core.parser.antlr.internal.DisabledAntlrLexer in project xtext-xtend by eclipse.

the class XtendRuntimeModule method configureRuntimeLexer.

@Override
public void configureRuntimeLexer(final Binder binder) {
    binder.<Lexer>bind(Lexer.class).annotatedWith(Names.named(LexerBindings.RUNTIME)).to(DisabledAntlrLexer.class);
    final Provider<DisabledAntlrLexer> _function = () -> {
        return new DisabledAntlrLexer(null);
    };
    binder.<DisabledAntlrLexer>bind(DisabledAntlrLexer.class).toProvider(_function);
}
Also used : InternalXtendLexer(org.eclipse.xtend.core.parser.antlr.internal.InternalXtendLexer) Lexer(org.eclipse.xtext.parser.antlr.Lexer) DisabledAntlrLexer(org.eclipse.xtend.core.parser.antlr.internal.DisabledAntlrLexer) DisabledAntlrLexer(org.eclipse.xtend.core.parser.antlr.internal.DisabledAntlrLexer)

Aggregations

DisabledAntlrLexer (org.eclipse.xtend.core.parser.antlr.internal.DisabledAntlrLexer)1 InternalXtendLexer (org.eclipse.xtend.core.parser.antlr.internal.InternalXtendLexer)1 Lexer (org.eclipse.xtext.parser.antlr.Lexer)1