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

项目:xtext-core    文件:ErrorMessagesTest.java   
@Override
public void setUp() throws Exception {
    super.setUp();
    with(new SimpleUnorderedGroupsTestLanguageStandaloneSetup() {
        @Override
        public Injector createInjector() {
            return Guice.createInjector(new SimpleUnorderedGroupsTestLanguageRuntimeModule() {
                @SuppressWarnings("unused")
                public ISyntaxErrorMessageProvider bindSyntaxErrorMessageProvider() {
                    return ErrorMessagesTest.this;
                }
            });
        }
    });
    delegate = get(SyntaxErrorMessageProvider.class);
    grammarAccess = get(SimpleUnorderedGroupsTestLanguageGrammarAccess.class);
}
项目:Gauge-Eclipse    文件:SpecRuntimeModule.java   
public Class<? extends ISyntaxErrorMessageProvider> bindISyntaxErrorMessageProvider() {
    return SpecSyntaxErrorMessageProvider.class;
}
项目:gama    文件:GamlUiModule.java   
public Class<? extends ISyntaxErrorMessageProvider> bindISyntaxErrorMessageProvider() {
    return GamlSyntaxErrorMessageProvider.class;
}
项目:gama    文件:GamlRuntimeModule.java   
public Class<? extends ISyntaxErrorMessageProvider> bindISyntaxErrorMessageProvider() {
    return GamlSyntaxErrorMessageProvider.class;
}