Generated ReconstrTestLanguages

This commit is contained in:
Miro Spönemann 2016-07-12 13:39:58 +02:00
parent c385e0e63b
commit 4fbacd1b51
325 changed files with 14516 additions and 26054 deletions

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug299395TestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug299395TestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug299395TestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.Bug299395TestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.Bug299395TestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.Bug299395TestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.Bug299395TestLanguageRuntimeModule}
* Manual modifications go to {@link Bug299395TestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractBug299395TestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractBug299395TestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractBug299395TestLanguageRuntimeModule extends org.ecl
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("bug299395testlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug299395TestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return Bug299395TestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug299395TestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return Bug299395TestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug299395TestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalBug299395TestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug299395TestLanguageLexer> provideInternalBug299395TestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug299395TestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug299395TestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalBug299395TestLanguageLexer> provideInternalBug299395TestLanguageLexer() {
return LexerProvider.create(InternalBug299395TestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalBug299395TestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.Bug299395TestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return Bug299395TestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.Bug299395TestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return Bug299395TestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return Bug299395TestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug302128TestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug302128TestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug302128TestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.Bug302128TestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.Bug302128TestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.Bug302128TestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.Bug302128TestLanguageRuntimeModule}
* Manual modifications go to {@link Bug302128TestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractBug302128TestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractBug302128TestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractBug302128TestLanguageRuntimeModule extends org.ecl
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("bug302128testlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug302128TestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return Bug302128TestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.Bug302128TestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return Bug302128TestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug302128TestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalBug302128TestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug302128TestLanguageLexer> provideInternalBug302128TestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug302128TestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalBug302128TestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalBug302128TestLanguageLexer> provideInternalBug302128TestLanguageLexer() {
return LexerProvider.create(InternalBug302128TestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalBug302128TestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.Bug302128TestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return Bug302128TestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.Bug302128TestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return Bug302128TestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return Bug302128TestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.ComplexReconstrTestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.ComplexReconstrTestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalComplexReconstrTestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.ComplexReconstrTestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.ComplexReconstrTestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.ComplexReconstrTestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.ComplexReconstrTestLanguageRuntimeModule}
* Manual modifications go to {@link ComplexReconstrTestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractComplexReconstrTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractComplexReconstrTestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractComplexReconstrTestLanguageRuntimeModule extends o
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("complexreconstrtestlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.ComplexReconstrTestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return ComplexReconstrTestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.ComplexReconstrTestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return ComplexReconstrTestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalComplexReconstrTestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalComplexReconstrTestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalComplexReconstrTestLanguageLexer> provideInternalComplexReconstrTestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalComplexReconstrTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalComplexReconstrTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalComplexReconstrTestLanguageLexer> provideInternalComplexReconstrTestLanguageLexer() {
return LexerProvider.create(InternalComplexReconstrTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalComplexReconstrTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.ComplexReconstrTestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return ComplexReconstrTestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.ComplexReconstrTestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return ComplexReconstrTestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return ComplexReconstrTestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.HiddenTokensMergerTestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.HiddenTokensMergerTestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalHiddenTokensMergerTestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.HiddenTokensMergerTestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.HiddenTokensMergerTestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.HiddenTokensMergerTestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.HiddenTokensMergerTestLanguageRuntimeModule}
* Manual modifications go to {@link HiddenTokensMergerTestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractHiddenTokensMergerTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractHiddenTokensMergerTestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractHiddenTokensMergerTestLanguageRuntimeModule extend
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("hiddentokensmergertestlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.HiddenTokensMergerTestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return HiddenTokensMergerTestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.HiddenTokensMergerTestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return HiddenTokensMergerTestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalHiddenTokensMergerTestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalHiddenTokensMergerTestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalHiddenTokensMergerTestLanguageLexer> provideInternalHiddenTokensMergerTestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalHiddenTokensMergerTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalHiddenTokensMergerTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalHiddenTokensMergerTestLanguageLexer> provideInternalHiddenTokensMergerTestLanguageLexer() {
return LexerProvider.create(InternalHiddenTokensMergerTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalHiddenTokensMergerTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.HiddenTokensMergerTestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return HiddenTokensMergerTestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.HiddenTokensMergerTestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return HiddenTokensMergerTestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return HiddenTokensMergerTestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.PartialSerializationTestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.PartialSerializationTestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalPartialSerializationTestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.PartialSerializationTestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.PartialSerializationTestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.PartialSerializationTestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.PartialSerializationTestLanguageRuntimeModule}
* Manual modifications go to {@link PartialSerializationTestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractPartialSerializationTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractPartialSerializationTestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractPartialSerializationTestLanguageRuntimeModule exte
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("partialserializationtestlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.PartialSerializationTestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return PartialSerializationTestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.PartialSerializationTestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return PartialSerializationTestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalPartialSerializationTestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalPartialSerializationTestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalPartialSerializationTestLanguageLexer> provideInternalPartialSerializationTestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalPartialSerializationTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalPartialSerializationTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalPartialSerializationTestLanguageLexer> provideInternalPartialSerializationTestLanguageLexer() {
return LexerProvider.create(InternalPartialSerializationTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalPartialSerializationTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.PartialSerializationTestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return PartialSerializationTestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.PartialSerializationTestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return PartialSerializationTestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return PartialSerializationTestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationBug269362TestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationBug269362TestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationBug269362TestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.SerializationBug269362TestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.SerializationBug269362TestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.SerializationBug269362TestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.SerializationBug269362TestLanguageRuntimeModule}
* Manual modifications go to {@link SerializationBug269362TestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractSerializationBug269362TestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractSerializationBug269362TestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractSerializationBug269362TestLanguageRuntimeModule ex
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("serializationbug269362testlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationBug269362TestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return SerializationBug269362TestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationBug269362TestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return SerializationBug269362TestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationBug269362TestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalSerializationBug269362TestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationBug269362TestLanguageLexer> provideInternalSerializationBug269362TestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationBug269362TestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationBug269362TestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalSerializationBug269362TestLanguageLexer> provideInternalSerializationBug269362TestLanguageLexer() {
return LexerProvider.create(InternalSerializationBug269362TestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalSerializationBug269362TestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.SerializationBug269362TestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return SerializationBug269362TestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.SerializationBug269362TestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return SerializationBug269362TestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return SerializationBug269362TestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationErrorTestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationErrorTestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationErrorTestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.SerializationErrorTestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.SerializationErrorTestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.SerializationErrorTestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.SerializationErrorTestLanguageRuntimeModule}
* Manual modifications go to {@link SerializationErrorTestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractSerializationErrorTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractSerializationErrorTestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractSerializationErrorTestLanguageRuntimeModule extend
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("serializationerrortestlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationErrorTestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return SerializationErrorTestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.SerializationErrorTestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return SerializationErrorTestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationErrorTestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalSerializationErrorTestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationErrorTestLanguageLexer> provideInternalSerializationErrorTestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationErrorTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSerializationErrorTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalSerializationErrorTestLanguageLexer> provideInternalSerializationErrorTestLanguageLexer() {
return LexerProvider.create(InternalSerializationErrorTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalSerializationErrorTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.SerializationErrorTestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return SerializationErrorTestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.SerializationErrorTestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return SerializationErrorTestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return SerializationErrorTestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -3,18 +3,38 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import com.google.inject.Binder;
import com.google.inject.Provider;
import com.google.inject.name.Names;
import java.util.Properties;
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.parser.IParser;
import org.eclipse.xtext.parser.ITokenToStringConverter;
import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter;
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
import org.eclipse.xtext.parser.antlr.Lexer;
import org.eclipse.xtext.parser.antlr.LexerBindings;
import org.eclipse.xtext.parser.antlr.LexerProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.SimpleReconstrTestLanguageAntlrTokenFileProvider;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.SimpleReconstrTestLanguageParser;
import org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSimpleReconstrTestLanguageLexer;
import org.eclipse.xtext.parsetree.reconstr.serializer.SimpleReconstrTestLanguageSemanticSequencer;
import org.eclipse.xtext.parsetree.reconstr.serializer.SimpleReconstrTestLanguageSyntacticSequencer;
import org.eclipse.xtext.parsetree.reconstr.services.SimpleReconstrTestLanguageGrammarAccess;
import org.eclipse.xtext.serializer.ISerializer;
import org.eclipse.xtext.serializer.impl.Serializer;
import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer;
import org.eclipse.xtext.service.DefaultRuntimeModule;
/**
* Manual modifications go to {org.eclipse.xtext.parsetree.reconstr.SimpleReconstrTestLanguageRuntimeModule}
* Manual modifications go to {@link SimpleReconstrTestLanguageRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractSimpleReconstrTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
public abstract class AbstractSimpleReconstrTestLanguageRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@ -33,54 +53,66 @@ public abstract class AbstractSimpleReconstrTestLanguageRuntimeModule extends or
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("simplereconstrtestlanguage");
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.SimpleReconstrTestLanguageParser.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IParser> bindIParser() {
return SimpleReconstrTestLanguageParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() {
return AntlrTokenToStringConverter.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.SimpleReconstrTestLanguageAntlrTokenFileProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
return SimpleReconstrTestLanguageAntlrTokenFileProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
return org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSimpleReconstrTestLanguageLexer.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends Lexer> bindLexer() {
return InternalSimpleReconstrTestLanguageLexer.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSimpleReconstrTestLanguageLexer> provideInternalSimpleReconstrTestLanguageLexer() {
return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSimpleReconstrTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends ITokenDefProvider> bindITokenDefProvider() {
return AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal.InternalSimpleReconstrTestLanguageLexer.class);
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Provider<InternalSimpleReconstrTestLanguageLexer> provideInternalSimpleReconstrTestLanguageLexer() {
return LexerProvider.create(InternalSimpleReconstrTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public void configureRuntimeLexer(Binder binder) {
binder.bind(Lexer.class)
.annotatedWith(Names.named(LexerBindings.RUNTIME))
.to(InternalSimpleReconstrTestLanguageLexer.class);
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.xtext.parsetree.reconstr.services.SimpleReconstrTestLanguageGrammarAccess.class;
// contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
return SimpleReconstrTestLanguageGrammarAccess.class;
}
// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
return org.eclipse.xtext.parsetree.reconstr.parseTreeConstruction.SimpleReconstrTestLanguageParsetreeConstructor.class;
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISemanticSequencer> bindISemanticSequencer() {
return SimpleReconstrTestLanguageSemanticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() {
return SimpleReconstrTestLanguageSyntacticSequencer.class;
}
// contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
public Class<? extends ISerializer> bindISerializer() {
return Serializer.class;
}
}

View file

@ -4,16 +4,16 @@
nsPrefix="bug299395">
<eClassifiers xsi:type="ecore:EClass" name="Model">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="strings" unique="false"
upperBound="-1" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="keys" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="values" unique="false"
upperBound="-1" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="subModel" eType="#//SubModel"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SubModel">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="strings" unique="false"
upperBound="-1" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>

View file

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="Bug299395TestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="Bug299395TestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Bug299395" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="Bug299395TestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="bug299395testlanguage" ecorePackage="Bug299395TestLanguage.ecore#/">
<genClasses ecoreClass="Bug299395TestLanguage.ecore#//Model">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Bug299395TestLanguage.ecore#//Model/strings"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Bug299395TestLanguage.ecore#//Model/keys"/>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.bug299395.Bug299395Package;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class Bug299395TestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class Bug299395TestLanguageStandaloneSetupGenerated implements ISetup {
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.Bug299395TestLanguageRuntimeModule());
return Guice.createInjector(new Bug299395TestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("bug299395testlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("bug299395testlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2010/tmf/xtext/Bug299395")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2010/tmf/xtext/Bug299395", org.eclipse.xtext.parsetree.reconstr.bug299395.Bug299395Package.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("bug299395testlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("bug299395testlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2010/tmf/xtext/Bug299395")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2010/tmf/xtext/Bug299395", Bug299395Package.eINSTANCE);
}
}
}

View file

@ -7,7 +7,7 @@
eType="#//Element" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Element">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>

View file

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="Bug302128TestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="Bug302128TestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Bug302128" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="Bug302128TestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="bug302128testlanguage" ecorePackage="Bug302128TestLanguage.ecore#/">
<genClasses ecoreClass="Bug302128TestLanguage.ecore#//Model">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Bug302128TestLanguage.ecore#//Model/elements"/>
</genClasses>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.bug302128.Bug302128Package;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class Bug302128TestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class Bug302128TestLanguageStandaloneSetupGenerated implements ISetup {
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.Bug302128TestLanguageRuntimeModule());
return Guice.createInjector(new Bug302128TestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("bug302128testlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("bug302128testlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/tests/bug302123")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/tests/bug302123", org.eclipse.xtext.parsetree.reconstr.bug302128.Bug302128Package.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("bug302128testlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("bug302128testlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/tests/bug302123")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/tests/bug302123", Bug302128Package.eINSTANCE);
}
}
}

View file

@ -4,39 +4,39 @@
nsPrefix="complexrewritetest">
<eClassifiers xsi:type="ecore:EClass" name="Root"/>
<eClassifiers xsi:type="ecore:EClass" name="Expression" eSuperTypes="#//Root">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="em" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="em" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Atom" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyB">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyC">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyD">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="foo" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="foo" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyE">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="foo" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyF">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyG" eSuperTypes="#//Root">
<eStructuralFeatures xsi:type="ecore:EReference" name="tree" eType="#//TrickyG1"
@ -47,7 +47,7 @@
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrickyG2">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="val" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="val" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Add" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="addOperands" upperBound="-1"

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="ComplexReconstrTestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="ComplexReconstrTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Complexrewritetest" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="ComplexReconstrTestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="complexreconstrtestlanguage"
ecorePackage="ComplexReconstrTestLanguage.ecore#/">
<genClasses ecoreClass="ComplexReconstrTestLanguage.ecore#//Root"/>
<genClasses ecoreClass="ComplexReconstrTestLanguage.ecore#//Expression">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute ComplexReconstrTestLanguage.ecore#//Expression/em"/>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.complexrewritetest.ComplexrewritetestPackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class ComplexReconstrTestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class ComplexReconstrTestLanguageStandaloneSetupGenerated implements ISet
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.ComplexReconstrTestLanguageRuntimeModule());
return Guice.createInjector(new ComplexReconstrTestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("complexreconstrtestlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("complexreconstrtestlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/complexrewritetest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/complexrewritetest", org.eclipse.xtext.parsetree.reconstr.complexrewritetest.ComplexrewritetestPackage.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("complexreconstrtestlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("complexreconstrtestlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/complexrewritetest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/complexrewritetest", ComplexrewritetestPackage.eINSTANCE);
}
}
}

View file

@ -4,12 +4,12 @@
nsPrefix="hiddentokenmergertest">
<eClassifiers xsi:type="ecore:EClass" name="Model"/>
<eClassifiers xsi:type="ecore:EClass" name="DatatypeBug286557" eSuperTypes="#//Model">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ref" eType="#//DatatypeBug286557"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EnumBug" eSuperTypes="#//Model">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="return" eType="#//EnumBugEnum"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="EnumBugEnum">
<eLiterals name="array" literal="array"/>
@ -22,11 +22,11 @@
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CommentableItem">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ValueList" eSuperTypes="#//Model">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ids" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RefList" eSuperTypes="#//Model">
<eStructuralFeatures xsi:type="ecore:EReference" name="objs" upperBound="-1" eType="#//RefObj"
@ -35,7 +35,7 @@
eType="#//RefObj"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RefObj">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SingleRef" eSuperTypes="#//Model">
<eStructuralFeatures xsi:type="ecore:EReference" name="obj" eType="#//RefObj"
@ -47,13 +47,12 @@
eType="#//AppendToFileEndItem" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AppendToFileEndItem">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Action1" eSuperTypes="#//Model">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="actions2" upperBound="-1"
eType="ecore:EClass platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"
containment="true"/>
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Action1Sub1"/>
<eClassifiers xsi:type="ecore:EClass" name="Action1Sub2"/>

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="HiddenTokensMergerTestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="HiddenTokensMergerTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Hiddentokenmergertest" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="HiddenTokensMergerTestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="hiddentokensmergertestlanguage"
ecorePackage="HiddenTokensMergerTestLanguage.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="HiddenTokensMergerTestLanguage.ecore#//EnumBugEnum">
<genEnumLiterals ecoreEnumLiteral="HiddenTokensMergerTestLanguage.ecore#//EnumBugEnum/array"/>
<genEnumLiterals ecoreEnumLiteral="HiddenTokensMergerTestLanguage.ecore#//EnumBugEnum/object"/>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest.HiddentokenmergertestPackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class HiddenTokensMergerTestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class HiddenTokensMergerTestLanguageStandaloneSetupGenerated implements I
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.HiddenTokensMergerTestLanguageRuntimeModule());
return Guice.createInjector(new HiddenTokensMergerTestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensmergertestlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensmergertestlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/hiddentokensmerger")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/hiddentokensmerger", org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest.HiddentokenmergertestPackage.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensmergertestlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensmergertestlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/hiddentokensmerger")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/hiddentokensmerger", HiddentokenmergertestPackage.eINSTANCE);
}
}
}

View file

@ -7,7 +7,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="node" eType="#//Node" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Node">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
eType="#//Node" containment="true"/>
</eClassifiers>

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="PartialSerializationTestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="PartialSerializationTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Partialserializationtest" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="PartialSerializationTestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="partialserializationtestlanguage"
ecorePackage="PartialSerializationTestLanguage.ecore#/">
<genClasses ecoreClass="PartialSerializationTestLanguage.ecore#//Model"/>
<genClasses ecoreClass="PartialSerializationTestLanguage.ecore#//NodeRoot">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference PartialSerializationTestLanguage.ecore#//NodeRoot/node"/>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.partialserializationtest.PartialserializationtestPackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class PartialSerializationTestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class PartialSerializationTestLanguageStandaloneSetupGenerated implements
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.PartialSerializationTestLanguageRuntimeModule());
return Guice.createInjector(new PartialSerializationTestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("partialserializationtestlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("partialserializationtestlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/partialserializationtest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/partialserializationtest", org.eclipse.xtext.parsetree.reconstr.partialserializationtest.PartialserializationtestPackage.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("partialserializationtestlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("partialserializationtestlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/partialserializationtest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/partialserializationtest", PartialserializationtestPackage.eINSTANCE);
}
}
}

View file

@ -3,7 +3,7 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="serializationBug269362TestLanguage" nsURI="http://www.eclipse.org/2009/tmf/xtext/SerializationBugTest/269362"
nsPrefix="serializationBug269362TestLanguage">
<eClassifiers xsi:type="ecore:EClass" name="Model">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="foo" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bar" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="foo" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="SerializationBug269362TestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="SerializationBug269362TestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="SerializationBug269362TestLanguage" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="SerializationBug269362TestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="serializationbug269362testlanguage"
ecorePackage="SerializationBug269362TestLanguage.ecore#/">
<genClasses ecoreClass="SerializationBug269362TestLanguage.ecore#//Model">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SerializationBug269362TestLanguage.ecore#//Model/foo"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SerializationBug269362TestLanguage.ecore#//Model/bar"/>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage.SerializationBug269362TestLanguagePackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class SerializationBug269362TestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class SerializationBug269362TestLanguageStandaloneSetupGenerated implemen
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.SerializationBug269362TestLanguageRuntimeModule());
return Guice.createInjector(new SerializationBug269362TestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationbug269362testlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationbug269362testlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/SerializationBugTest/269362")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/SerializationBugTest/269362", org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage.SerializationBug269362TestLanguagePackage.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationbug269362testlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationbug269362testlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/SerializationBugTest/269362")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/SerializationBugTest/269362", SerializationBug269362TestLanguagePackage.eINSTANCE);
}
}
}

View file

@ -7,12 +7,12 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Test"/>
<eClassifiers xsi:type="ecore:EClass" name="TwoRequired" eSuperTypes="#//Test">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="one" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="two" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="one" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="two" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TwoOptions" eSuperTypes="#//Test">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="one" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="two" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="one" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="two" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Indent" eSuperTypes="#//Test">
<eStructuralFeatures xsi:type="ecore:EReference" name="req" eType="#//TwoRequired"

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="SerializationErrorTestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="SerializationErrorTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Serializationerror" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="SerializationErrorTestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="serializationerrortestlanguage"
ecorePackage="SerializationErrorTestLanguage.ecore#/">
<genClasses ecoreClass="SerializationErrorTestLanguage.ecore#//Model">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SerializationErrorTestLanguage.ecore#//Model/test"/>
</genClasses>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.serializationerror.SerializationerrorPackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class SerializationErrorTestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class SerializationErrorTestLanguageStandaloneSetupGenerated implements I
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.SerializationErrorTestLanguageRuntimeModule());
return Guice.createInjector(new SerializationErrorTestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationerrortestlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationerrortestlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/serializationerror")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/serializationerror", org.eclipse.xtext.parsetree.reconstr.serializationerror.SerializationerrorPackage.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationerrortestlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("serializationerrortestlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/serializationerror")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/serializationerror", SerializationerrorPackage.eINSTANCE);
}
}
}

View file

@ -3,49 +3,49 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="simplerewritetest" nsURI="http://www.eclipse.org/2009/tmf/xtext/simplerewritetest"
nsPrefix="simplerewritetest">
<eClassifiers xsi:type="ecore:EClass" name="Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="em" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="em" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Atom" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TwoNumbers" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="num1" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="num2" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="num1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="num2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="num3" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ManyStrings" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="str1" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="str2" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Type" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="extends" eType="#//Type"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Ref2" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ref2" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ref2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Spare" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Boolean" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bool" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bool" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Transient1" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="precStar" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="prec" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="scaleStar" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="scale" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="precStar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="prec" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="scaleStar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="scale" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Consumed1" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="v1" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="v2" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Consumed2" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="child" eType="#//Consumed1"
@ -53,28 +53,28 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Loop1" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Loop2" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Loop3" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Loop4" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LoopBug285452" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DuplicateBug284491" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EmptyObjectBug284850" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="items" eType="#//EmptyObjectItems"
@ -85,45 +85,45 @@
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EmptyObjectItem">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiInheritanceBug280439" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="val" eType="#//ConcreteMulti"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractMulti1">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="m1" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="m1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AbstractMulti2">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="m2" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="m2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConcreteMulti" eSuperTypes="#//AbstractMulti1 #//AbstractMulti2"/>
<eClassifiers xsi:type="ecore:EClass" name="EObjectRef" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="obj" eType="#//EObjectElement"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ref" eType="ecore:EClass platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ref" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EObjectElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TypeBug305577_1" eSuperTypes="#//Expression"/>
<eClassifiers xsi:type="ecore:EClass" name="TypeBug305577_2" eSuperTypes="#//Expression"/>
<eClassifiers xsi:type="ecore:EClass" name="TypeBug1A" eSuperTypes="#//TypeBug305577_1">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TypeBug1B" eSuperTypes="#//TypeBug305577_1 #//TypeBug1A"/>
<eClassifiers xsi:type="ecore:EClass" name="TypeBug2A" eSuperTypes="#//TypeBug305577_2">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TypeBug2B" eSuperTypes="#//TypeBug305577_2 #//TypeBug2A"/>
<eClassifiers xsi:type="ecore:EClass" name="Bug305171" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="x" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="y" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="z" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Bug310435Enum" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lits" unique="false" upperBound="-1"
@ -131,7 +131,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Bug310435Val" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lits" unique="false" upperBound="-1"
eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="EnumBug310435Enum">
<eLiterals name="lit1" literal="lit1"/>
@ -144,7 +144,7 @@
eType="#//CrossRefNamed"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CrossRefNamed">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Op" eSuperTypes="#//Expression">
<eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.xtext.tests/src-gen" editDirectory="/org.eclipse.xtext.tests.edit/src"
editorDirectory="/org.eclipse.xtext.tests.editor/src" modelPluginID="org.eclipse.xtext.tests"
forceOverwrite="true" modelName="SimpleReconstrTestLanguage" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.xtext.tests.edit" editorPluginID="org.eclipse.xtext.tests.editor"
runtimeVersion="2.9" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen"
modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="SimpleReconstrTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9">
<genPackages prefix="Simplerewritetest" basePackage="org.eclipse.xtext.parsetree.reconstr"
disposableProviderFactory="true" ecorePackage="SimpleReconstrTestLanguage.ecore#/">
disposableProviderFactory="true" fileExtensions="simplereconstrtestlanguage"
ecorePackage="SimpleReconstrTestLanguage.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="SimpleReconstrTestLanguage.ecore#//EnumBug310435Enum">
<genEnumLiterals ecoreEnumLiteral="SimpleReconstrTestLanguage.ecore#//EnumBug310435Enum/lit1"/>
<genEnumLiterals ecoreEnumLiteral="SimpleReconstrTestLanguage.ecore#//EnumBug310435Enum/lit2"/>

View file

@ -3,22 +3,22 @@
*/
package org.eclipse.xtext.parsetree.reconstr;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
import org.eclipse.xtext.parsetree.reconstr.simplerewritetest.SimplerewritetestPackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* Generated from StandaloneSetup.xpt!
*/
@SuppressWarnings("all")
public class SimpleReconstrTestLanguageStandaloneSetupGenerated implements ISetup {
@Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
TerminalsStandaloneSetup.doSetup();
Injector injector = createInjector();
register(injector);
@ -26,19 +26,17 @@ public class SimpleReconstrTestLanguageStandaloneSetupGenerated implements ISetu
}
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.parsetree.reconstr.SimpleReconstrTestLanguageRuntimeModule());
return Guice.createInjector(new SimpleReconstrTestLanguageRuntimeModule());
}
public void register(Injector injector) {
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("simplereconstrtestlanguage", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("simplereconstrtestlanguage", serviceProvider);
IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class);
IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/simplerewritetest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/simplerewritetest", org.eclipse.xtext.parsetree.reconstr.simplerewritetest.SimplerewritetestPackage.eINSTANCE);
}
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("simplereconstrtestlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("simplereconstrtestlanguage", serviceProvider);
if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/simplerewritetest")) {
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/simplerewritetest", SimplerewritetestPackage.eINSTANCE);
}
}
}

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395.impl;
@ -6,7 +7,6 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
@ -85,9 +85,6 @@ public class Bug299395PackageImpl extends EPackageImpl implements Bug299395Packa
isInited = true;
// Initialize simple dependencies
EcorePackage.eINSTANCE.eClass();
// Create package meta-data objects
theBug299395Package.createPackageContents();
@ -237,9 +234,6 @@ public class Bug299395PackageImpl extends EPackageImpl implements Bug299395Packa
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
@ -248,13 +242,13 @@ public class Bug299395PackageImpl extends EPackageImpl implements Bug299395Packa
// Initialize classes and features; add operations and parameters
initEClass(modelEClass, Model.class, "Model", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getModel_Strings(), theEcorePackage.getEString(), "strings", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getModel_Keys(), theEcorePackage.getEString(), "keys", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getModel_Values(), theEcorePackage.getEString(), "values", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getModel_Strings(), ecorePackage.getEString(), "strings", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getModel_Keys(), ecorePackage.getEString(), "keys", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getModel_Values(), ecorePackage.getEString(), "values", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getModel_SubModel(), this.getSubModel(), null, "subModel", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(subModelEClass, SubModel.class, "SubModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getSubModel_Strings(), theEcorePackage.getEString(), "strings", null, 0, -1, SubModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSubModel_Strings(), ecorePackage.getEString(), "strings", null, 0, -1, SubModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395.util;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug299395.util;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128.impl;
@ -6,7 +7,6 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
@ -85,9 +85,6 @@ public class Bug302128PackageImpl extends EPackageImpl implements Bug302128Packa
isInited = true;
// Initialize simple dependencies
EcorePackage.eINSTANCE.eClass();
// Create package meta-data objects
theBug302128Package.createPackageContents();
@ -215,9 +212,6 @@ public class Bug302128PackageImpl extends EPackageImpl implements Bug302128Packa
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
@ -229,8 +223,8 @@ public class Bug302128PackageImpl extends EPackageImpl implements Bug302128Packa
initEReference(getModel_Elements(), this.getElement(), null, "elements", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elementEClass, Element.class, "Element", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getElement_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getElement_Value(), theEcorePackage.getEString(), "value", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getElement_Value(), ecorePackage.getEString(), "value", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128.util;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.bug302128.util;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;
@ -6,7 +7,6 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
@ -194,9 +194,6 @@ public class ComplexrewritetestPackageImpl extends EPackageImpl implements Compl
isInited = true;
// Initialize simple dependencies
EcorePackage.eINSTANCE.eClass();
// Create package meta-data objects
theComplexrewritetestPackage.createPackageContents();
@ -690,9 +687,6 @@ public class ComplexrewritetestPackageImpl extends EPackageImpl implements Compl
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
@ -712,31 +706,31 @@ public class ComplexrewritetestPackageImpl extends EPackageImpl implements Compl
initEClass(rootEClass, Root.class, "Root", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(expressionEClass, Expression.class, "Expression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getExpression_Em(), theEcorePackage.getEString(), "em", null, 0, 1, Expression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getExpression_Em(), ecorePackage.getEString(), "em", null, 0, 1, Expression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(atomEClass, Atom.class, "Atom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getAtom_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Atom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getAtom_Name(), ecorePackage.getEString(), "name", null, 0, 1, Atom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyBEClass, TrickyB.class, "TrickyB", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTrickyB_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TrickyB.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyB_Type(), theEcorePackage.getEInt(), "type", null, 0, -1, TrickyB.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyB_Name(), ecorePackage.getEString(), "name", null, 0, 1, TrickyB.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyB_Type(), ecorePackage.getEInt(), "type", null, 0, -1, TrickyB.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyCEClass, TrickyC.class, "TrickyC", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTrickyC_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TrickyC.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyC_Name(), ecorePackage.getEString(), "name", null, 0, 1, TrickyC.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyDEClass, TrickyD.class, "TrickyD", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTrickyD_Name(), theEcorePackage.getEInt(), "name", null, 0, -1, TrickyD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyD_Foo(), theEcorePackage.getEString(), "foo", null, 0, 1, TrickyD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyD_Type(), theEcorePackage.getEString(), "type", null, 0, -1, TrickyD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyD_Name(), ecorePackage.getEInt(), "name", null, 0, -1, TrickyD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyD_Foo(), ecorePackage.getEString(), "foo", null, 0, 1, TrickyD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyD_Type(), ecorePackage.getEString(), "type", null, 0, -1, TrickyD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyEEClass, TrickyE.class, "TrickyE", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTrickyE_Name(), theEcorePackage.getEInt(), "name", null, 0, -1, TrickyE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyE_Foo(), theEcorePackage.getEString(), "foo", null, 0, -1, TrickyE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyE_Type(), theEcorePackage.getEString(), "type", null, 0, -1, TrickyE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyE_Name(), ecorePackage.getEInt(), "name", null, 0, -1, TrickyE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyE_Foo(), ecorePackage.getEString(), "foo", null, 0, -1, TrickyE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyE_Type(), ecorePackage.getEString(), "type", null, 0, -1, TrickyE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyFEClass, TrickyF.class, "TrickyF", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTrickyF_Name(), theEcorePackage.getEString(), "name", null, 0, -1, TrickyF.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyF_Type(), theEcorePackage.getEInt(), "type", null, 0, -1, TrickyF.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyF_Name(), ecorePackage.getEString(), "name", null, 0, -1, TrickyF.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyF_Type(), ecorePackage.getEInt(), "type", null, 0, -1, TrickyF.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyGEClass, TrickyG.class, "TrickyG", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getTrickyG_Tree(), this.getTrickyG1(), null, "tree", null, 0, 1, TrickyG.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@ -745,7 +739,7 @@ public class ComplexrewritetestPackageImpl extends EPackageImpl implements Compl
initEReference(getTrickyG1_Vals(), this.getTrickyG2(), null, "vals", null, 0, -1, TrickyG1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(trickyG2EClass, TrickyG2.class, "TrickyG2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTrickyG2_Val(), theEcorePackage.getEInt(), "val", null, 0, 1, TrickyG2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTrickyG2_Val(), ecorePackage.getEInt(), "val", null, 0, 1, TrickyG2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(addEClass, Add.class, "Add", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAdd_AddOperands(), this.getExpression(), null, "addOperands", null, 0, -1, Add.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.util;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.complexrewritetest.util;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

View file

@ -1,4 +1,5 @@
/**
* generated by Xtext
*/
package org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest;

Some files were not shown because too many files have changed in this diff Show more