Changeset 65 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de
- Timestamp:
- 05/07/14 16:02:46 (11 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/AbstractEbnfRuntimeModule.java
r61 r65 35 35 } 36 36 37 // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment 38 public java.lang.ClassLoader bindClassLoaderToInstance() { 39 return getClass().getClassLoader(); 40 } 41 37 42 // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment 38 43 public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { … … 102 107 // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment 103 108 public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { 104 binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); 109 binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class); 110 } 111 112 // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment 113 public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { 114 return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class; 105 115 } 106 116 … … 110 120 } 111 121 112 // contributed by org.eclipse.xtext.generator.exporting. QualifiedNamesFragment122 // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment 113 123 public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { 114 return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; 115 } 116 117 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 118 public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() { 119 return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; 120 } 121 122 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 123 public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() { 124 return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; 125 } 126 127 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 128 public void configureIResourceDescriptions(com.google.inject.Binder binder) { 129 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); 130 } 131 132 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 133 public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { 134 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); 124 return org.eclipse.xtext.naming.SimpleNameProvider.class; 135 125 } 136 126 … … 145 135 } 146 136 147 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment148 public java.lang.ClassLoader bindClassLoaderToInstance() {149 return getClass().getClassLoader();150 }151 152 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment153 public org.eclipse.xtext.common.types.TypesFactory bindTypesFactoryToInstance() {154 return org.eclipse.xtext.common.types.TypesFactory.eINSTANCE;155 }156 157 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment158 public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory() {159 return org.eclipse.xtext.common.types.access.ClasspathTypeProviderFactory.class;160 }161 162 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment163 public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider() {164 return org.eclipse.xtext.common.types.xtext.ClasspathBasedTypeScopeProvider.class;165 }166 167 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment168 public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {169 return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class;170 }171 172 137 } -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer/EbnfSyntacticSequencer.java
r61 r65 77 77 * ( 78 78 '{' | 79 '+' | 79 80 '}' | 81 '*' | 82 ')' | 80 83 '|' | 81 '+' |82 '*' |83 84 '[' | 84 ']' |85 85 '(' | 86 ' )'86 ']' 87 87 )* 88 88 */ -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/services/EbnfGrammarAccess.java
r61 r65 379 379 private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4); 380 380 381 ////Import: 'import' importedNamespace=FqnWithWildCard; 382 ////FqnWithWildCard: Fqn('.*')? ';'; 383 ////Fqn:ID('.'ID)*; 381 384 //Rule: 382 385 // (rulenumber=INT rulevariant=ID? ".")? name=ID "::=" definitionList=DefinitionList? ";"?; … … 1150 1153 } 1151 1154 1155 ////Import: 'import' importedNamespace=FqnWithWildCard; 1156 ////FqnWithWildCard: Fqn('.*')? ';'; 1157 ////Fqn:ID('.'ID)*; 1152 1158 //Rule: 1153 1159 // (rulenumber=INT rulevariant=ID? ".")? name=ID "::=" definitionList=DefinitionList? ";"?; -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/validation/AbstractEbnfValidator.java
r61 r65 7 7 import java.util.List; 8 8 import org.eclipse.emf.ecore.EPackage; 9 import org.eclipse.xtext.validation.ComposedChecks; 9 10 11 @ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) 10 12 public class AbstractEbnfValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { 11 13
Note: See TracChangeset
for help on using the changeset viewer.