Java 类org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider 实例源码

项目:xtext-extras    文件:AntlrGeneratorFragment.java   
@Override
public Set<Binding> getGuiceBindingsUi(Grammar grammar) {
    return new BindFactory()
        .addTypeToType("org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper", "org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper")
        .addConfiguredBinding("HighlightingLexer",
                "binder.bind(" + Lexer.class.getName() + ".class)"+
                ".annotatedWith(com.google.inject.name.Names.named(" +
                "org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING" +
                ")).to(" + getFragmentHelper().getLexerClassName(grammar) +".class)")
        .addConfiguredBinding("HighlightingTokenDefProvider",
                "binder.bind(" + ITokenDefProvider.class.getName() + ".class)"+
                ".annotatedWith(com.google.inject.name.Names.named(" +
                "org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING" +
                ")).to(" + AntlrTokenDefProvider.class.getName() +".class)")
        .getBindings();
}
项目:xtext-extras    文件:XtextAntlrGeneratorFragment.java   
@Override
public Set<Binding> getGuiceBindingsUi(Grammar grammar) {
    BindFactory binder = new BindFactory();
        binder.addTypeToType("org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper", "org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper");
        if(getNaming().hasIde()){
            binder.addConfiguredBinding("HighlightingLexer",
                    "binder.bind(" + Lexer.class.getName() + ".class)"+
                    ".annotatedWith(com.google.inject.name.Names.named(" +
                    "org.eclipse.xtext.ide.LexerIdeBindings.HIGHLIGHTING" +
                    ")).to(" + getLexerClassName(grammar, getNaming()) +".class)")
                   .addConfiguredBinding("HighlightingTokenDefProvider",
                    "binder.bind(" + ITokenDefProvider.class.getName() + ".class)"+
                    ".annotatedWith(com.google.inject.name.Names.named(" +
                    "org.eclipse.xtext.ide.LexerIdeBindings.HIGHLIGHTING" +
                    ")).to(" + AntlrTokenDefProvider.class.getName() +".class)");
        } else {
            binder.addConfiguredBinding("HighlightingLexer",
                    "binder.bind(" + Lexer.class.getName() + ".class)"+
                    ".annotatedWith(com.google.inject.name.Names.named(" +
                    "org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING" +
                    ")).to(" + getLexerClassName(grammar, getNaming()) +".class)")
                   .addConfiguredBinding("HighlightingTokenDefProvider",
                    "binder.bind(" + ITokenDefProvider.class.getName() + ".class)"+
                    ".annotatedWith(com.google.inject.name.Names.named(" +
                    "org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING" +
                    ")).to(" + AntlrTokenDefProvider.class.getName() +".class)");
        }
        return binder.getBindings();
}
项目:pokemon-tcgo-deck-generator    文件:AbstractPkmntcgoRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:pokemon-tcgo-deck-generator    文件:AbstractPkmntcgoUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:n4js    文件:AbstractTypesRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:n4js    文件:AbstractRegularExpressionRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:n4js    文件:AbstractN4JSUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:n4js    文件:AbstractRegularExpressionUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:n4js    文件:AbstractN4JSRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:n4js    文件:AbstractN4MFUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:n4js    文件:AbstractN4MFRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:n4js    文件:AbstractTypesUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:Xtext_Xtend_HTML_Generator    文件:AbstractMyDslUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:Xtext_Xtend_HTML_Generator    文件:AbstractMyDslRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:bromium    文件:AbstractBromiumUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:bromium    文件:AbstractBromiumRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:gw4e.project    文件:AbstractDSLPoliciesUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:gw4e.project    文件:AbstractDSLPoliciesRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:lcdsl    文件:AbstractLcDslUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:lcdsl    文件:AbstractLcDslRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:gemoc-studio    文件:AbstractDslRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:gemoc-studio    文件:AbstractDslUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:org.xtext.dsl.restaurante    文件:AbstractRestauranteRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:org.xtext.dsl.restaurante    文件:AbstractRestauranteUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:OCCI-Studio    文件:AbstractOCCIRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:OCCI-Studio    文件:AbstractOCCIUiModule.java   
public void configureHighlightingTokenDefProvider(Binder binder) {
    binder.bind(ITokenDefProvider.class)
        .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING))
        .to(AntlrTokenDefProvider.class);
}
项目:xtext-extras    文件:AbstractPureXbaseRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:Sparrow    文件:AbstractModelEditorRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-core    文件:AbstractMultiRuleEnumTestLanguageRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractXtypeRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractRefactoringTestLanguageRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractRefactoringTestLanguage1RuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-core    文件:AbstractConcreteTestLanguageRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractRefactoringTestLanguage2RuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractBuilderTestLanguageRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-core    文件:AbstractBug287988TestLanguageRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-core    文件:AbstractImportUriTestLanguageRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractBug462047LangRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractXImportSectionTestLangRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}
项目:xtext-extras    文件:AbstractContentAssistFragmentTestLangRuntimeModule.java   
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
    return AntlrTokenDefProvider.class;
}