Skip to content

Commit

Permalink
ran generator for JvmGenericTypeValidatorTestLang
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Feb 5, 2024
1 parent 5081b77 commit d7e50c9
Show file tree
Hide file tree
Showing 55 changed files with 127,917 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
org.eclipse.xtext.xbase.testlanguages.ide.XImportSectionTestLangIdeSetup
org.eclipse.xtext.xbase.testlanguages.ide.ContentAssistFragmentTestLangIdeSetup
org.eclipse.xtext.xbase.testlanguages.bug462047.ide.Bug462047LangIdeSetup
org.eclipse.xtext.xbase.testlanguages.ide.JvmGenericTypeValidatorTestLangIdeSetup
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*******************************************************************************
* Copyright (c) 2011, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.xtext.xbase.testlanguages.ide;

import com.google.inject.Binder;
import com.google.inject.name.Names;
import org.eclipse.xtext.ide.LexerIdeBindings;
import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
import org.eclipse.xtext.xbase.ide.DefaultXbaseIdeModule;
import org.eclipse.xtext.xbase.testlanguages.ide.contentassist.antlr.JvmGenericTypeValidatorTestLangParser;
import org.eclipse.xtext.xbase.testlanguages.ide.contentassist.antlr.internal.InternalJvmGenericTypeValidatorTestLangLexer;

/**
* Manual modifications go to {@link JvmGenericTypeValidatorTestLangIdeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractJvmGenericTypeValidatorTestLangIdeModule extends DefaultXbaseIdeModule {

// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureContentAssistLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
.to(InternalJvmGenericTypeValidatorTestLangLexer.class);
}

// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
return JvmGenericTypeValidatorTestLangParser.class;
}

// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() {
return AntlrProposalConflictHelper.class;
}

// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
public Class<? extends IPrefixMatcher> bindIPrefixMatcher() {
return FQNPrefixMatcher.class;
}

}

Large diffs are not rendered by default.

0 comments on commit d7e50c9

Please sign in to comment.