diff options
Diffstat (limited to 'Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner')
131 files changed, 47544 insertions, 0 deletions
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java new file mode 100644 index 00000000..32cd6c8c --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AbstractAlloyLanguageRuntimeModule.java | |||
@@ -0,0 +1,161 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner; | ||
5 | |||
6 | import java.util.Properties; | ||
7 | |||
8 | import org.eclipse.xtext.Constants; | ||
9 | |||
10 | import com.google.inject.Binder; | ||
11 | import com.google.inject.name.Names; | ||
12 | |||
13 | /** | ||
14 | * Manual modifications go to {hu.bme.mit.inf.dslreasoner.AlloyLanguageRuntimeModule} | ||
15 | */ | ||
16 | @SuppressWarnings("all") | ||
17 | public abstract class AbstractAlloyLanguageRuntimeModule extends org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule { | ||
18 | |||
19 | protected Properties properties = null; | ||
20 | |||
21 | @Override | ||
22 | public void configure(Binder binder) { | ||
23 | properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/AlloyLanguage.properties"); | ||
24 | super.configure(binder); | ||
25 | } | ||
26 | |||
27 | public void configureLanguageName(Binder binder) { | ||
28 | binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.AlloyLanguage"); | ||
29 | } | ||
30 | |||
31 | public void configureFileExtensions(Binder binder) { | ||
32 | if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) | ||
33 | binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("als"); | ||
34 | } | ||
35 | |||
36 | // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment | ||
37 | public java.lang.ClassLoader bindClassLoaderToInstance() { | ||
38 | return getClass().getClassLoader(); | ||
39 | } | ||
40 | |||
41 | // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment | ||
42 | public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { | ||
43 | return hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess.class; | ||
44 | } | ||
45 | |||
46 | // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment | ||
47 | public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() { | ||
48 | return hu.bme.mit.inf.dslreasoner.serializer.AlloyLanguageSemanticSequencer.class; | ||
49 | } | ||
50 | |||
51 | // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment | ||
52 | public Class<? extends org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer> bindISyntacticSequencer() { | ||
53 | return hu.bme.mit.inf.dslreasoner.serializer.AlloyLanguageSyntacticSequencer.class; | ||
54 | } | ||
55 | |||
56 | // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment | ||
57 | public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() { | ||
58 | return org.eclipse.xtext.serializer.impl.Serializer.class; | ||
59 | } | ||
60 | |||
61 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
62 | public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() { | ||
63 | return hu.bme.mit.inf.dslreasoner.parser.antlr.AlloyLanguageParser.class; | ||
64 | } | ||
65 | |||
66 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
67 | public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() { | ||
68 | return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; | ||
69 | } | ||
70 | |||
71 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
72 | public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { | ||
73 | return hu.bme.mit.inf.dslreasoner.parser.antlr.AlloyLanguageAntlrTokenFileProvider.class; | ||
74 | } | ||
75 | |||
76 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
77 | public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() { | ||
78 | return hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class; | ||
79 | } | ||
80 | |||
81 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
82 | public com.google.inject.Provider<hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer> provideInternalAlloyLanguageLexer() { | ||
83 | return org.eclipse.xtext.parser.antlr.LexerProvider.create(hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class); | ||
84 | } | ||
85 | |||
86 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
87 | public void configureRuntimeLexer(com.google.inject.Binder binder) { | ||
88 | binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageLexer.class); | ||
89 | } | ||
90 | |||
91 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
92 | public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { | ||
93 | return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; | ||
94 | } | ||
95 | |||
96 | // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment | ||
97 | public Class<? extends org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper> bindIUnorderedGroupHelper() { | ||
98 | return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class; | ||
99 | } | ||
100 | |||
101 | // contributed by org.eclipse.xtext.generator.validation.ValidatorFragment | ||
102 | @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends hu.bme.mit.inf.dslreasoner.validation.AlloyLanguageValidator> bindAlloyLanguageValidator() { | ||
103 | return hu.bme.mit.inf.dslreasoner.validation.AlloyLanguageValidator.class; | ||
104 | } | ||
105 | |||
106 | // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment | ||
107 | public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() { | ||
108 | return hu.bme.mit.inf.dslreasoner.scoping.AlloyLanguageScopeProvider.class; | ||
109 | } | ||
110 | |||
111 | // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment | ||
112 | public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { | ||
113 | binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); | ||
114 | } | ||
115 | |||
116 | // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment | ||
117 | public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { | ||
118 | binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); | ||
119 | } | ||
120 | |||
121 | // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment | ||
122 | public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { | ||
123 | return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class; | ||
124 | } | ||
125 | |||
126 | // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment | ||
127 | public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() { | ||
128 | return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; | ||
129 | } | ||
130 | |||
131 | // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment | ||
132 | public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() { | ||
133 | return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; | ||
134 | } | ||
135 | |||
136 | // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment | ||
137 | public void configureIResourceDescriptions(com.google.inject.Binder binder) { | ||
138 | binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); | ||
139 | } | ||
140 | |||
141 | // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment | ||
142 | public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { | ||
143 | binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); | ||
144 | } | ||
145 | |||
146 | // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment | ||
147 | public Class<? extends org.eclipse.xtext.generator.IGenerator> bindIGenerator() { | ||
148 | return hu.bme.mit.inf.dslreasoner.generator.AlloyLanguageGenerator.class; | ||
149 | } | ||
150 | |||
151 | // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment | ||
152 | public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { | ||
153 | return hu.bme.mit.inf.dslreasoner.formatting.AlloyLanguageFormatter.class; | ||
154 | } | ||
155 | |||
156 | // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment | ||
157 | public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { | ||
158 | return org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider.class; | ||
159 | } | ||
160 | |||
161 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin new file mode 100644 index 00000000..f5684306 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguage.xtextbin | |||
Binary files differ | |||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java new file mode 100644 index 00000000..744dc1fe --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/AlloyLanguageStandaloneSetupGenerated.java | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | import org.eclipse.emf.ecore.resource.Resource; | ||
8 | import org.eclipse.xtext.ISetup; | ||
9 | |||
10 | import com.google.inject.Guice; | ||
11 | import com.google.inject.Injector; | ||
12 | |||
13 | /** | ||
14 | * Generated from StandaloneSetup.xpt! | ||
15 | */ | ||
16 | @SuppressWarnings("all") | ||
17 | public class AlloyLanguageStandaloneSetupGenerated implements ISetup { | ||
18 | |||
19 | @Override | ||
20 | public Injector createInjectorAndDoEMFRegistration() { | ||
21 | org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); | ||
22 | |||
23 | Injector injector = createInjector(); | ||
24 | register(injector); | ||
25 | return injector; | ||
26 | } | ||
27 | |||
28 | public Injector createInjector() { | ||
29 | return Guice.createInjector(new hu.bme.mit.inf.dslreasoner.AlloyLanguageRuntimeModule()); | ||
30 | } | ||
31 | |||
32 | public void register(Injector injector) { | ||
33 | if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage")) { | ||
34 | EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage", hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage.eINSTANCE); | ||
35 | } | ||
36 | |||
37 | org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); | ||
38 | org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); | ||
39 | Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("als", resourceFactory); | ||
40 | org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("als", serviceProvider); | ||
41 | |||
42 | |||
43 | |||
44 | } | ||
45 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java new file mode 100644 index 00000000..bc3dbb94 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSAnd.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS And</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSAnd() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSAnd extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSAnd_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSAnd_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSAnd | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java new file mode 100644 index 00000000..03735557 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSCardinality.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Cardinality</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSCardinality() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSCardinality extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Operand</em>' containment reference. | ||
33 | * @see #setOperand(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSCardinality_Operand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
45 | * @see #getOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOperand(ALSTerm value); | ||
49 | |||
50 | } // ALSCardinality | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java new file mode 100644 index 00000000..32e4709a --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDefinition.java | |||
@@ -0,0 +1,97 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>ALS Definition</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName <em>Name</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables <em>Variables</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}</li> | ||
21 | * </ul> | ||
22 | * | ||
23 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition() | ||
24 | * @model | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface ALSDefinition extends EObject | ||
28 | { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <p> | ||
33 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
34 | * there really should be more of a description here... | ||
35 | * </p> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return the value of the '<em>Name</em>' attribute. | ||
38 | * @see #setName(String) | ||
39 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition_Name() | ||
40 | * @model | ||
41 | * @generated | ||
42 | */ | ||
43 | String getName(); | ||
44 | |||
45 | /** | ||
46 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName <em>Name</em>}' attribute. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @param value the new value of the '<em>Name</em>' attribute. | ||
50 | * @see #getName() | ||
51 | * @generated | ||
52 | */ | ||
53 | void setName(String value); | ||
54 | |||
55 | /** | ||
56 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | ||
57 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration}. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <p> | ||
60 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, | ||
61 | * there really should be more of a description here... | ||
62 | * </p> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return the value of the '<em>Variables</em>' containment reference list. | ||
65 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition_Variables() | ||
66 | * @model containment="true" | ||
67 | * @generated | ||
68 | */ | ||
69 | EList<ALSVariableDeclaration> getVariables(); | ||
70 | |||
71 | /** | ||
72 | * Returns the value of the '<em><b>Value</b></em>' containment reference. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <p> | ||
75 | * If the meaning of the '<em>Value</em>' containment reference isn't clear, | ||
76 | * there really should be more of a description here... | ||
77 | * </p> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @return the value of the '<em>Value</em>' containment reference. | ||
80 | * @see #setValue(ALSTerm) | ||
81 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDefinition_Value() | ||
82 | * @model containment="true" | ||
83 | * @generated | ||
84 | */ | ||
85 | ALSTerm getValue(); | ||
86 | |||
87 | /** | ||
88 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}' containment reference. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @param value the new value of the '<em>Value</em>' containment reference. | ||
92 | * @see #getValue() | ||
93 | * @generated | ||
94 | */ | ||
95 | void setValue(ALSTerm value); | ||
96 | |||
97 | } // ALSDefinition | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java new file mode 100644 index 00000000..fba62e10 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDirectProduct.java | |||
@@ -0,0 +1,137 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Direct Product</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ALSDirectProduct extends ALSTerm | ||
26 | { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
36 | * @see #setLeftOperand(ALSTerm) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_LeftOperand() | ||
38 | * @model containment="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | ALSTerm getLeftOperand(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
48 | * @see #getLeftOperand() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setLeftOperand(ALSTerm value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Left Multiplicit</b></em>' attribute. | ||
55 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <p> | ||
58 | * If the meaning of the '<em>Left Multiplicit</em>' attribute isn't clear, | ||
59 | * there really should be more of a description here... | ||
60 | * </p> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>Left Multiplicit</em>' attribute. | ||
63 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
64 | * @see #setLeftMultiplicit(ALSMultiplicity) | ||
65 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_LeftMultiplicit() | ||
66 | * @model | ||
67 | * @generated | ||
68 | */ | ||
69 | ALSMultiplicity getLeftMultiplicit(); | ||
70 | |||
71 | /** | ||
72 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @param value the new value of the '<em>Left Multiplicit</em>' attribute. | ||
76 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
77 | * @see #getLeftMultiplicit() | ||
78 | * @generated | ||
79 | */ | ||
80 | void setLeftMultiplicit(ALSMultiplicity value); | ||
81 | |||
82 | /** | ||
83 | * Returns the value of the '<em><b>Right Multiplicit</b></em>' attribute. | ||
84 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <p> | ||
87 | * If the meaning of the '<em>Right Multiplicit</em>' attribute isn't clear, | ||
88 | * there really should be more of a description here... | ||
89 | * </p> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return the value of the '<em>Right Multiplicit</em>' attribute. | ||
92 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
93 | * @see #setRightMultiplicit(ALSMultiplicity) | ||
94 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_RightMultiplicit() | ||
95 | * @model | ||
96 | * @generated | ||
97 | */ | ||
98 | ALSMultiplicity getRightMultiplicit(); | ||
99 | |||
100 | /** | ||
101 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}' attribute. | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @param value the new value of the '<em>Right Multiplicit</em>' attribute. | ||
105 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
106 | * @see #getRightMultiplicit() | ||
107 | * @generated | ||
108 | */ | ||
109 | void setRightMultiplicit(ALSMultiplicity value); | ||
110 | |||
111 | /** | ||
112 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <p> | ||
115 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
116 | * there really should be more of a description here... | ||
117 | * </p> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
120 | * @see #setRightOperand(ALSTerm) | ||
121 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDirectProduct_RightOperand() | ||
122 | * @model containment="true" | ||
123 | * @generated | ||
124 | */ | ||
125 | ALSTerm getRightOperand(); | ||
126 | |||
127 | /** | ||
128 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}' containment reference. | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
132 | * @see #getRightOperand() | ||
133 | * @generated | ||
134 | */ | ||
135 | void setRightOperand(ALSTerm value); | ||
136 | |||
137 | } // ALSDirectProduct | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java new file mode 100644 index 00000000..3f6d33c8 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSDocument.java | |||
@@ -0,0 +1,138 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>ALS Document</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations <em>Enum Declarations</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies <em>Signature Bodies</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions <em>Function Definitions</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions <em>Relation Definitions</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations <em>Fact Declarations</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument() | ||
27 | * @model | ||
28 | * @generated | ||
29 | */ | ||
30 | public interface ALSDocument extends EObject | ||
31 | { | ||
32 | /** | ||
33 | * Returns the value of the '<em><b>Enum Declarations</b></em>' containment reference list. | ||
34 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration}. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <p> | ||
37 | * If the meaning of the '<em>Enum Declarations</em>' containment reference list isn't clear, | ||
38 | * there really should be more of a description here... | ||
39 | * </p> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @return the value of the '<em>Enum Declarations</em>' containment reference list. | ||
42 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_EnumDeclarations() | ||
43 | * @model containment="true" | ||
44 | * @generated | ||
45 | */ | ||
46 | EList<ALSEnumDeclaration> getEnumDeclarations(); | ||
47 | |||
48 | /** | ||
49 | * Returns the value of the '<em><b>Signature Bodies</b></em>' containment reference list. | ||
50 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody}. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <p> | ||
53 | * If the meaning of the '<em>Signature Bodies</em>' containment reference list isn't clear, | ||
54 | * there really should be more of a description here... | ||
55 | * </p> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @return the value of the '<em>Signature Bodies</em>' containment reference list. | ||
58 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_SignatureBodies() | ||
59 | * @model containment="true" | ||
60 | * @generated | ||
61 | */ | ||
62 | EList<ALSSignatureBody> getSignatureBodies(); | ||
63 | |||
64 | /** | ||
65 | * Returns the value of the '<em><b>Function Definitions</b></em>' containment reference list. | ||
66 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition}. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <p> | ||
69 | * If the meaning of the '<em>Function Definitions</em>' containment reference list isn't clear, | ||
70 | * there really should be more of a description here... | ||
71 | * </p> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return the value of the '<em>Function Definitions</em>' containment reference list. | ||
74 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_FunctionDefinitions() | ||
75 | * @model containment="true" | ||
76 | * @generated | ||
77 | */ | ||
78 | EList<ALSFunctionDefinition> getFunctionDefinitions(); | ||
79 | |||
80 | /** | ||
81 | * Returns the value of the '<em><b>Relation Definitions</b></em>' containment reference list. | ||
82 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition}. | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <p> | ||
85 | * If the meaning of the '<em>Relation Definitions</em>' containment reference list isn't clear, | ||
86 | * there really should be more of a description here... | ||
87 | * </p> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @return the value of the '<em>Relation Definitions</em>' containment reference list. | ||
90 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_RelationDefinitions() | ||
91 | * @model containment="true" | ||
92 | * @generated | ||
93 | */ | ||
94 | EList<ALSRelationDefinition> getRelationDefinitions(); | ||
95 | |||
96 | /** | ||
97 | * Returns the value of the '<em><b>Fact Declarations</b></em>' containment reference list. | ||
98 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration}. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <p> | ||
101 | * If the meaning of the '<em>Fact Declarations</em>' containment reference list isn't clear, | ||
102 | * there really should be more of a description here... | ||
103 | * </p> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @return the value of the '<em>Fact Declarations</em>' containment reference list. | ||
106 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_FactDeclarations() | ||
107 | * @model containment="true" | ||
108 | * @generated | ||
109 | */ | ||
110 | EList<ALSFactDeclaration> getFactDeclarations(); | ||
111 | |||
112 | /** | ||
113 | * Returns the value of the '<em><b>Run Command</b></em>' containment reference. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <p> | ||
116 | * If the meaning of the '<em>Run Command</em>' containment reference isn't clear, | ||
117 | * there really should be more of a description here... | ||
118 | * </p> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @return the value of the '<em>Run Command</em>' containment reference. | ||
121 | * @see #setRunCommand(ALSRunCommand) | ||
122 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSDocument_RunCommand() | ||
123 | * @model containment="true" | ||
124 | * @generated | ||
125 | */ | ||
126 | ALSRunCommand getRunCommand(); | ||
127 | |||
128 | /** | ||
129 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}' containment reference. | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @param value the new value of the '<em>Run Command</em>' containment reference. | ||
133 | * @see #getRunCommand() | ||
134 | * @generated | ||
135 | */ | ||
136 | void setRunCommand(ALSRunCommand value); | ||
137 | |||
138 | } // ALSDocument | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java new file mode 100644 index 00000000..e97d207f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumDeclaration.java | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Enum Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral <em>Literal</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEnumDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSEnumDeclaration extends ALSTypeDeclaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Literal</b></em>' containment reference list. | ||
27 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Literal</em>' containment reference list isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Literal</em>' containment reference list. | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEnumDeclaration_Literal() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | EList<ALSEnumLiteral> getLiteral(); | ||
40 | |||
41 | } // ALSEnumDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java new file mode 100644 index 00000000..f4f9282b --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEnumLiteral.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Enum Literal</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEnumLiteral() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSEnumLiteral extends ALSRelationDeclaration | ||
17 | { | ||
18 | } // ALSEnumLiteral | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java new file mode 100644 index 00000000..8fca4ad5 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSEquals.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Equals</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEquals() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSEquals extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEquals_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSEquals_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSEquals | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java new file mode 100644 index 00000000..f226a784 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFactDeclaration.java | |||
@@ -0,0 +1,78 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Fact Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName <em>Name</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFactDeclaration() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ALSFactDeclaration extends EObject | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Name</em>' attribute. | ||
35 | * @see #setName(String) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFactDeclaration_Name() | ||
37 | * @model | ||
38 | * @generated | ||
39 | */ | ||
40 | String getName(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName <em>Name</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Name</em>' attribute. | ||
47 | * @see #getName() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setName(String value); | ||
51 | |||
52 | /** | ||
53 | * Returns the value of the '<em><b>Term</b></em>' containment reference. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <p> | ||
56 | * If the meaning of the '<em>Term</em>' containment reference isn't clear, | ||
57 | * there really should be more of a description here... | ||
58 | * </p> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @return the value of the '<em>Term</em>' containment reference. | ||
61 | * @see #setTerm(ALSTerm) | ||
62 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFactDeclaration_Term() | ||
63 | * @model containment="true" | ||
64 | * @generated | ||
65 | */ | ||
66 | ALSTerm getTerm(); | ||
67 | |||
68 | /** | ||
69 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}' containment reference. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @param value the new value of the '<em>Term</em>' containment reference. | ||
73 | * @see #getTerm() | ||
74 | * @generated | ||
75 | */ | ||
76 | void setTerm(ALSTerm value); | ||
77 | |||
78 | } // ALSFactDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java new file mode 100644 index 00000000..060cb6ed --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFieldDeclaration.java | |||
@@ -0,0 +1,80 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Field Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFieldDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSFieldDeclaration extends ALSRelationDeclaration | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. | ||
27 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Multiplicity</em>' attribute. | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
36 | * @see #setMultiplicity(ALSMultiplicity) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFieldDeclaration_Multiplicity() | ||
38 | * @model | ||
39 | * @generated | ||
40 | */ | ||
41 | ALSMultiplicity getMultiplicity(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Multiplicity</em>' attribute. | ||
48 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
49 | * @see #getMultiplicity() | ||
50 | * @generated | ||
51 | */ | ||
52 | void setMultiplicity(ALSMultiplicity value); | ||
53 | |||
54 | /** | ||
55 | * Returns the value of the '<em><b>Type</b></em>' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <p> | ||
58 | * If the meaning of the '<em>Type</em>' containment reference isn't clear, | ||
59 | * there really should be more of a description here... | ||
60 | * </p> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>Type</em>' containment reference. | ||
63 | * @see #setType(ALSTerm) | ||
64 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFieldDeclaration_Type() | ||
65 | * @model containment="true" | ||
66 | * @generated | ||
67 | */ | ||
68 | ALSTerm getType(); | ||
69 | |||
70 | /** | ||
71 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}' containment reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @param value the new value of the '<em>Type</em>' containment reference. | ||
75 | * @see #getType() | ||
76 | * @generated | ||
77 | */ | ||
78 | void setType(ALSTerm value); | ||
79 | |||
80 | } // ALSFieldDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java new file mode 100644 index 00000000..967640e6 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionCall.java | |||
@@ -0,0 +1,98 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Function Call</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams <em>Params</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ALSFunctionCall extends ALSTerm | ||
26 | { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Referred Definition</b></em>' reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Referred Definition</em>' reference isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Referred Definition</em>' reference. | ||
36 | * @see #setReferredDefinition(ALSDefinition) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall_ReferredDefinition() | ||
38 | * @model | ||
39 | * @generated | ||
40 | */ | ||
41 | ALSDefinition getReferredDefinition(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Referred Definition</em>' reference. | ||
48 | * @see #getReferredDefinition() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setReferredDefinition(ALSDefinition value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Referred Numeric Operator</b></em>' attribute. | ||
55 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator}. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <p> | ||
58 | * If the meaning of the '<em>Referred Numeric Operator</em>' attribute isn't clear, | ||
59 | * there really should be more of a description here... | ||
60 | * </p> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>Referred Numeric Operator</em>' attribute. | ||
63 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator | ||
64 | * @see #setReferredNumericOperator(ALSNumericOperator) | ||
65 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall_ReferredNumericOperator() | ||
66 | * @model | ||
67 | * @generated | ||
68 | */ | ||
69 | ALSNumericOperator getReferredNumericOperator(); | ||
70 | |||
71 | /** | ||
72 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @param value the new value of the '<em>Referred Numeric Operator</em>' attribute. | ||
76 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator | ||
77 | * @see #getReferredNumericOperator() | ||
78 | * @generated | ||
79 | */ | ||
80 | void setReferredNumericOperator(ALSNumericOperator value); | ||
81 | |||
82 | /** | ||
83 | * Returns the value of the '<em><b>Params</b></em>' containment reference list. | ||
84 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm}. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <p> | ||
87 | * If the meaning of the '<em>Params</em>' containment reference list isn't clear, | ||
88 | * there really should be more of a description here... | ||
89 | * </p> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return the value of the '<em>Params</em>' containment reference list. | ||
92 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionCall_Params() | ||
93 | * @model containment="true" | ||
94 | * @generated | ||
95 | */ | ||
96 | EList<ALSTerm> getParams(); | ||
97 | |||
98 | } // ALSFunctionCall | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java new file mode 100644 index 00000000..c2f009ec --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSFunctionDefinition.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Function Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionDefinition() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSFunctionDefinition extends ALSDefinition | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Type</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Type</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Type</em>' containment reference. | ||
33 | * @see #setType(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSFunctionDefinition_Type() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getType(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Type</em>' containment reference. | ||
45 | * @see #getType() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setType(ALSTerm value); | ||
49 | |||
50 | } // ALSFunctionDefinition | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java new file mode 100644 index 00000000..8e00ef8d --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIden.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Iden</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIden() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSIden extends ALSTerm | ||
17 | { | ||
18 | } // ALSIden | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java new file mode 100644 index 00000000..54b3d0ca --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIff.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Iff</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIff() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSIff extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIff_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIff_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSIff | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java new file mode 100644 index 00000000..29ddcdf8 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSImpl.java | |||
@@ -0,0 +1,104 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Impl</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ALSImpl extends ALSTerm | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <p> | ||
30 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
31 | * there really should be more of a description here... | ||
32 | * </p> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
35 | * @see #setLeftOperand(ALSTerm) | ||
36 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl_LeftOperand() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | ALSTerm getLeftOperand(); | ||
41 | |||
42 | /** | ||
43 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
47 | * @see #getLeftOperand() | ||
48 | * @generated | ||
49 | */ | ||
50 | void setLeftOperand(ALSTerm value); | ||
51 | |||
52 | /** | ||
53 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <p> | ||
56 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
57 | * there really should be more of a description here... | ||
58 | * </p> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
61 | * @see #setRightOperand(ALSTerm) | ||
62 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl_RightOperand() | ||
63 | * @model containment="true" | ||
64 | * @generated | ||
65 | */ | ||
66 | ALSTerm getRightOperand(); | ||
67 | |||
68 | /** | ||
69 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}' containment reference. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
73 | * @see #getRightOperand() | ||
74 | * @generated | ||
75 | */ | ||
76 | void setRightOperand(ALSTerm value); | ||
77 | |||
78 | /** | ||
79 | * Returns the value of the '<em><b>Else Operand</b></em>' containment reference. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <p> | ||
82 | * If the meaning of the '<em>Else Operand</em>' containment reference isn't clear, | ||
83 | * there really should be more of a description here... | ||
84 | * </p> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @return the value of the '<em>Else Operand</em>' containment reference. | ||
87 | * @see #setElseOperand(ALSTerm) | ||
88 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSImpl_ElseOperand() | ||
89 | * @model containment="true" | ||
90 | * @generated | ||
91 | */ | ||
92 | ALSTerm getElseOperand(); | ||
93 | |||
94 | /** | ||
95 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}' containment reference. | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @param value the new value of the '<em>Else Operand</em>' containment reference. | ||
99 | * @see #getElseOperand() | ||
100 | * @generated | ||
101 | */ | ||
102 | void setElseOperand(ALSTerm value); | ||
103 | |||
104 | } // ALSImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java new file mode 100644 index 00000000..e66d7524 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInt.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Int</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSInt() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSInt extends ALSTerm | ||
17 | { | ||
18 | } // ALSInt | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java new file mode 100644 index 00000000..5c47d66e --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntScope.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Int Scope</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntScope() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSIntScope extends ALSTypeScope | ||
17 | { | ||
18 | } // ALSIntScope | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java new file mode 100644 index 00000000..0af5cee1 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSIntersection.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Intersection</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntersection() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSIntersection extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntersection_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSIntersection_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSIntersection | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java new file mode 100644 index 00000000..f4c27497 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSInverseRelation.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Inverse Relation</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSInverseRelation() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSInverseRelation extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Operand</em>' containment reference. | ||
33 | * @see #setOperand(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSInverseRelation_Operand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
45 | * @see #getOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOperand(ALSTerm value); | ||
49 | |||
50 | } // ALSInverseRelation | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java new file mode 100644 index 00000000..b514e720 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSJoin.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Join</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSJoin() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSJoin extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSJoin_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSJoin_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSJoin | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java new file mode 100644 index 00000000..e108ba3d --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLeq.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Leq</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLeq() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSLeq extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLeq_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLeq_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSLeq | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java new file mode 100644 index 00000000..c9b9ac71 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSLess.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Less</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLess() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSLess extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLess_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSLess_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSLess | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java new file mode 100644 index 00000000..7162da0b --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMeq.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Meq</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMeq() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSMeq extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMeq_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMeq_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSMeq | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java new file mode 100644 index 00000000..ee09df77 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMinus.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Minus</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMinus() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSMinus extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMinus_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMinus_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSMinus | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java new file mode 100644 index 00000000..6f5e7ad0 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMore.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS More</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMore() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSMore extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMore_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMore_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSMore | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java new file mode 100644 index 00000000..16438e7f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSMultiplicity.java | |||
@@ -0,0 +1,337 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>ALS Multiplicity</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSMultiplicity() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum ALSMultiplicity implements Enumerator | ||
21 | { | ||
22 | /** | ||
23 | * The '<em><b>All</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #ALL_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | ALL(0, "all", "all"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>No</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #NO_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | NO(1, "no", "no"), | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>Some</b></em>' literal object. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #SOME_VALUE | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | SOME(2, "some", "some"), | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>Lone</b></em>' literal object. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #LONE_VALUE | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | LONE(3, "lone", "lone"), | ||
61 | |||
62 | /** | ||
63 | * The '<em><b>One</b></em>' literal object. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #ONE_VALUE | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | ONE(4, "one", "one"), | ||
71 | |||
72 | /** | ||
73 | * The '<em><b>Set</b></em>' literal object. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #SET_VALUE | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | SET(5, "set", "set"); | ||
81 | |||
82 | /** | ||
83 | * The '<em><b>All</b></em>' literal value. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <p> | ||
86 | * If the meaning of '<em><b>All</b></em>' literal object isn't clear, | ||
87 | * there really should be more of a description here... | ||
88 | * </p> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @see #ALL | ||
91 | * @model name="all" | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | public static final int ALL_VALUE = 0; | ||
96 | |||
97 | /** | ||
98 | * The '<em><b>No</b></em>' literal value. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <p> | ||
101 | * If the meaning of '<em><b>No</b></em>' literal object isn't clear, | ||
102 | * there really should be more of a description here... | ||
103 | * </p> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @see #NO | ||
106 | * @model name="no" | ||
107 | * @generated | ||
108 | * @ordered | ||
109 | */ | ||
110 | public static final int NO_VALUE = 1; | ||
111 | |||
112 | /** | ||
113 | * The '<em><b>Some</b></em>' literal value. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <p> | ||
116 | * If the meaning of '<em><b>Some</b></em>' literal object isn't clear, | ||
117 | * there really should be more of a description here... | ||
118 | * </p> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @see #SOME | ||
121 | * @model name="some" | ||
122 | * @generated | ||
123 | * @ordered | ||
124 | */ | ||
125 | public static final int SOME_VALUE = 2; | ||
126 | |||
127 | /** | ||
128 | * The '<em><b>Lone</b></em>' literal value. | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <p> | ||
131 | * If the meaning of '<em><b>Lone</b></em>' literal object isn't clear, | ||
132 | * there really should be more of a description here... | ||
133 | * </p> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @see #LONE | ||
136 | * @model name="lone" | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | public static final int LONE_VALUE = 3; | ||
141 | |||
142 | /** | ||
143 | * The '<em><b>One</b></em>' literal value. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <p> | ||
146 | * If the meaning of '<em><b>One</b></em>' literal object isn't clear, | ||
147 | * there really should be more of a description here... | ||
148 | * </p> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @see #ONE | ||
151 | * @model name="one" | ||
152 | * @generated | ||
153 | * @ordered | ||
154 | */ | ||
155 | public static final int ONE_VALUE = 4; | ||
156 | |||
157 | /** | ||
158 | * The '<em><b>Set</b></em>' literal value. | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <p> | ||
161 | * If the meaning of '<em><b>Set</b></em>' literal object isn't clear, | ||
162 | * there really should be more of a description here... | ||
163 | * </p> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @see #SET | ||
166 | * @model name="set" | ||
167 | * @generated | ||
168 | * @ordered | ||
169 | */ | ||
170 | public static final int SET_VALUE = 5; | ||
171 | |||
172 | /** | ||
173 | * An array of all the '<em><b>ALS Multiplicity</b></em>' enumerators. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | private static final ALSMultiplicity[] VALUES_ARRAY = | ||
179 | new ALSMultiplicity[] | ||
180 | { | ||
181 | ALL, | ||
182 | NO, | ||
183 | SOME, | ||
184 | LONE, | ||
185 | ONE, | ||
186 | SET, | ||
187 | }; | ||
188 | |||
189 | /** | ||
190 | * A public read-only list of all the '<em><b>ALS Multiplicity</b></em>' enumerators. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | public static final List<ALSMultiplicity> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
196 | |||
197 | /** | ||
198 | * Returns the '<em><b>ALS Multiplicity</b></em>' literal with the specified literal value. | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @param literal the literal. | ||
202 | * @return the matching enumerator or <code>null</code>. | ||
203 | * @generated | ||
204 | */ | ||
205 | public static ALSMultiplicity get(String literal) | ||
206 | { | ||
207 | for (int i = 0; i < VALUES_ARRAY.length; ++i) | ||
208 | { | ||
209 | ALSMultiplicity result = VALUES_ARRAY[i]; | ||
210 | if (result.toString().equals(literal)) | ||
211 | { | ||
212 | return result; | ||
213 | } | ||
214 | } | ||
215 | return null; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * Returns the '<em><b>ALS Multiplicity</b></em>' literal with the specified name. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * <!-- end-user-doc --> | ||
222 | * @param name the name. | ||
223 | * @return the matching enumerator or <code>null</code>. | ||
224 | * @generated | ||
225 | */ | ||
226 | public static ALSMultiplicity getByName(String name) | ||
227 | { | ||
228 | for (int i = 0; i < VALUES_ARRAY.length; ++i) | ||
229 | { | ||
230 | ALSMultiplicity result = VALUES_ARRAY[i]; | ||
231 | if (result.getName().equals(name)) | ||
232 | { | ||
233 | return result; | ||
234 | } | ||
235 | } | ||
236 | return null; | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * Returns the '<em><b>ALS Multiplicity</b></em>' literal with the specified integer value. | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @param value the integer value. | ||
244 | * @return the matching enumerator or <code>null</code>. | ||
245 | * @generated | ||
246 | */ | ||
247 | public static ALSMultiplicity get(int value) | ||
248 | { | ||
249 | switch (value) | ||
250 | { | ||
251 | case ALL_VALUE: return ALL; | ||
252 | case NO_VALUE: return NO; | ||
253 | case SOME_VALUE: return SOME; | ||
254 | case LONE_VALUE: return LONE; | ||
255 | case ONE_VALUE: return ONE; | ||
256 | case SET_VALUE: return SET; | ||
257 | } | ||
258 | return null; | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | private final int value; | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | private final String name; | ||
274 | |||
275 | /** | ||
276 | * <!-- begin-user-doc --> | ||
277 | * <!-- end-user-doc --> | ||
278 | * @generated | ||
279 | */ | ||
280 | private final String literal; | ||
281 | |||
282 | /** | ||
283 | * Only this class can construct instances. | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | private ALSMultiplicity(int value, String name, String literal) | ||
289 | { | ||
290 | this.value = value; | ||
291 | this.name = name; | ||
292 | this.literal = literal; | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @generated | ||
299 | */ | ||
300 | public int getValue() | ||
301 | { | ||
302 | return value; | ||
303 | } | ||
304 | |||
305 | /** | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @generated | ||
309 | */ | ||
310 | public String getName() | ||
311 | { | ||
312 | return name; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | public String getLiteral() | ||
321 | { | ||
322 | return literal; | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * Returns the literal value of the enumerator, which is its string representation. | ||
327 | * <!-- begin-user-doc --> | ||
328 | * <!-- end-user-doc --> | ||
329 | * @generated | ||
330 | */ | ||
331 | @Override | ||
332 | public String toString() | ||
333 | { | ||
334 | return literal; | ||
335 | } | ||
336 | |||
337 | } //ALSMultiplicity | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java new file mode 100644 index 00000000..7133576a --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNone.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS None</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNone() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSNone extends ALSTerm | ||
17 | { | ||
18 | } // ALSNone | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java new file mode 100644 index 00000000..f2712605 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNot.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Not</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNot() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSNot extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Operand</em>' containment reference. | ||
33 | * @see #setOperand(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNot_Operand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand <em>Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
45 | * @see #getOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOperand(ALSTerm value); | ||
49 | |||
50 | } // ALSNot | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java new file mode 100644 index 00000000..04a257e4 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNotEquals.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Not Equals</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNotEquals() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSNotEquals extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNotEquals_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNotEquals_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSNotEquals | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java new file mode 100644 index 00000000..58fff50f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumberLiteral.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Number Literal</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNumberLiteral() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSNumberLiteral extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Value</em>' attribute. | ||
33 | * @see #setValue(int) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNumberLiteral_Value() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | int getValue(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Value</em>' attribute. | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setValue(int value); | ||
49 | |||
50 | } // ALSNumberLiteral | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java new file mode 100644 index 00000000..1d91d190 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSNumericOperator.java | |||
@@ -0,0 +1,310 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>ALS Numeric Operator</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSNumericOperator() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum ALSNumericOperator implements Enumerator | ||
21 | { | ||
22 | /** | ||
23 | * The '<em><b>Plus</b></em>' literal object. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see #PLUS_VALUE | ||
27 | * @generated | ||
28 | * @ordered | ||
29 | */ | ||
30 | PLUS(0, "plus", "plus"), | ||
31 | |||
32 | /** | ||
33 | * The '<em><b>Sub</b></em>' literal object. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #SUB_VALUE | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | SUB(1, "sub", "sub"), | ||
41 | |||
42 | /** | ||
43 | * The '<em><b>Mul</b></em>' literal object. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #MUL_VALUE | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | MUL(2, "mul", "mul"), | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>Rem</b></em>' literal object. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #REM_VALUE | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | REM(3, "rem", "rem"), | ||
61 | |||
62 | /** | ||
63 | * The '<em><b>Div</b></em>' literal object. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #DIV_VALUE | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | DIV(4, "div", "div"); | ||
71 | |||
72 | /** | ||
73 | * The '<em><b>Plus</b></em>' literal value. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <p> | ||
76 | * If the meaning of '<em><b>Plus</b></em>' literal object isn't clear, | ||
77 | * there really should be more of a description here... | ||
78 | * </p> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @see #PLUS | ||
81 | * @model name="plus" | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | public static final int PLUS_VALUE = 0; | ||
86 | |||
87 | /** | ||
88 | * The '<em><b>Sub</b></em>' literal value. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <p> | ||
91 | * If the meaning of '<em><b>Sub</b></em>' literal object isn't clear, | ||
92 | * there really should be more of a description here... | ||
93 | * </p> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @see #SUB | ||
96 | * @model name="sub" | ||
97 | * @generated | ||
98 | * @ordered | ||
99 | */ | ||
100 | public static final int SUB_VALUE = 1; | ||
101 | |||
102 | /** | ||
103 | * The '<em><b>Mul</b></em>' literal value. | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <p> | ||
106 | * If the meaning of '<em><b>Mul</b></em>' literal object isn't clear, | ||
107 | * there really should be more of a description here... | ||
108 | * </p> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @see #MUL | ||
111 | * @model name="mul" | ||
112 | * @generated | ||
113 | * @ordered | ||
114 | */ | ||
115 | public static final int MUL_VALUE = 2; | ||
116 | |||
117 | /** | ||
118 | * The '<em><b>Rem</b></em>' literal value. | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <p> | ||
121 | * If the meaning of '<em><b>Rem</b></em>' literal object isn't clear, | ||
122 | * there really should be more of a description here... | ||
123 | * </p> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @see #REM | ||
126 | * @model name="rem" | ||
127 | * @generated | ||
128 | * @ordered | ||
129 | */ | ||
130 | public static final int REM_VALUE = 3; | ||
131 | |||
132 | /** | ||
133 | * The '<em><b>Div</b></em>' literal value. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <p> | ||
136 | * If the meaning of '<em><b>Div</b></em>' literal object isn't clear, | ||
137 | * there really should be more of a description here... | ||
138 | * </p> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @see #DIV | ||
141 | * @model name="div" | ||
142 | * @generated | ||
143 | * @ordered | ||
144 | */ | ||
145 | public static final int DIV_VALUE = 4; | ||
146 | |||
147 | /** | ||
148 | * An array of all the '<em><b>ALS Numeric Operator</b></em>' enumerators. | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | private static final ALSNumericOperator[] VALUES_ARRAY = | ||
154 | new ALSNumericOperator[] | ||
155 | { | ||
156 | PLUS, | ||
157 | SUB, | ||
158 | MUL, | ||
159 | REM, | ||
160 | DIV, | ||
161 | }; | ||
162 | |||
163 | /** | ||
164 | * A public read-only list of all the '<em><b>ALS Numeric Operator</b></em>' enumerators. | ||
165 | * <!-- begin-user-doc --> | ||
166 | * <!-- end-user-doc --> | ||
167 | * @generated | ||
168 | */ | ||
169 | public static final List<ALSNumericOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
170 | |||
171 | /** | ||
172 | * Returns the '<em><b>ALS Numeric Operator</b></em>' literal with the specified literal value. | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @param literal the literal. | ||
176 | * @return the matching enumerator or <code>null</code>. | ||
177 | * @generated | ||
178 | */ | ||
179 | public static ALSNumericOperator get(String literal) | ||
180 | { | ||
181 | for (int i = 0; i < VALUES_ARRAY.length; ++i) | ||
182 | { | ||
183 | ALSNumericOperator result = VALUES_ARRAY[i]; | ||
184 | if (result.toString().equals(literal)) | ||
185 | { | ||
186 | return result; | ||
187 | } | ||
188 | } | ||
189 | return null; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * Returns the '<em><b>ALS Numeric Operator</b></em>' literal with the specified name. | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @param name the name. | ||
197 | * @return the matching enumerator or <code>null</code>. | ||
198 | * @generated | ||
199 | */ | ||
200 | public static ALSNumericOperator getByName(String name) | ||
201 | { | ||
202 | for (int i = 0; i < VALUES_ARRAY.length; ++i) | ||
203 | { | ||
204 | ALSNumericOperator result = VALUES_ARRAY[i]; | ||
205 | if (result.getName().equals(name)) | ||
206 | { | ||
207 | return result; | ||
208 | } | ||
209 | } | ||
210 | return null; | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * Returns the '<em><b>ALS Numeric Operator</b></em>' literal with the specified integer value. | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @param value the integer value. | ||
218 | * @return the matching enumerator or <code>null</code>. | ||
219 | * @generated | ||
220 | */ | ||
221 | public static ALSNumericOperator get(int value) | ||
222 | { | ||
223 | switch (value) | ||
224 | { | ||
225 | case PLUS_VALUE: return PLUS; | ||
226 | case SUB_VALUE: return SUB; | ||
227 | case MUL_VALUE: return MUL; | ||
228 | case REM_VALUE: return REM; | ||
229 | case DIV_VALUE: return DIV; | ||
230 | } | ||
231 | return null; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * <!-- begin-user-doc --> | ||
236 | * <!-- end-user-doc --> | ||
237 | * @generated | ||
238 | */ | ||
239 | private final int value; | ||
240 | |||
241 | /** | ||
242 | * <!-- begin-user-doc --> | ||
243 | * <!-- end-user-doc --> | ||
244 | * @generated | ||
245 | */ | ||
246 | private final String name; | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | private final String literal; | ||
254 | |||
255 | /** | ||
256 | * Only this class can construct instances. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | */ | ||
261 | private ALSNumericOperator(int value, String name, String literal) | ||
262 | { | ||
263 | this.value = value; | ||
264 | this.name = name; | ||
265 | this.literal = literal; | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | public int getValue() | ||
274 | { | ||
275 | return value; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * <!-- begin-user-doc --> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @generated | ||
282 | */ | ||
283 | public String getName() | ||
284 | { | ||
285 | return name; | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | public String getLiteral() | ||
294 | { | ||
295 | return literal; | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * Returns the literal value of the enumerator, which is its string representation. | ||
300 | * <!-- begin-user-doc --> | ||
301 | * <!-- end-user-doc --> | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public String toString() | ||
306 | { | ||
307 | return literal; | ||
308 | } | ||
309 | |||
310 | } //ALSNumericOperator | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java new file mode 100644 index 00000000..08eaf50f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOr.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Or</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOr() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSOr extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOr_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOr_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSOr | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java new file mode 100644 index 00000000..7d627e7e --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSOverride.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Override</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOverride() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSOverride extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOverride_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSOverride_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSOverride | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java new file mode 100644 index 00000000..f923d2ea --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSPlus.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Plus</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSPlus() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSPlus extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSPlus_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSPlus_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSPlus | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java new file mode 100644 index 00000000..077c8ad1 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSQuantifiedEx.java | |||
@@ -0,0 +1,125 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Quantified Ex</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables <em>Variables</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx() | ||
23 | * @model | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface ALSQuantifiedEx extends ALSTerm | ||
27 | { | ||
28 | /** | ||
29 | * Returns the value of the '<em><b>Type</b></em>' attribute. | ||
30 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <p> | ||
33 | * If the meaning of the '<em>Type</em>' attribute isn't clear, | ||
34 | * there really should be more of a description here... | ||
35 | * </p> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return the value of the '<em>Type</em>' attribute. | ||
38 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
39 | * @see #setType(ALSMultiplicity) | ||
40 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Type() | ||
41 | * @model | ||
42 | * @generated | ||
43 | */ | ||
44 | ALSMultiplicity getType(); | ||
45 | |||
46 | /** | ||
47 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}' attribute. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param value the new value of the '<em>Type</em>' attribute. | ||
51 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
52 | * @see #getType() | ||
53 | * @generated | ||
54 | */ | ||
55 | void setType(ALSMultiplicity value); | ||
56 | |||
57 | /** | ||
58 | * Returns the value of the '<em><b>Disj</b></em>' attribute. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <p> | ||
61 | * If the meaning of the '<em>Disj</em>' attribute isn't clear, | ||
62 | * there really should be more of a description here... | ||
63 | * </p> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @return the value of the '<em>Disj</em>' attribute. | ||
66 | * @see #setDisj(boolean) | ||
67 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Disj() | ||
68 | * @model | ||
69 | * @generated | ||
70 | */ | ||
71 | boolean isDisj(); | ||
72 | |||
73 | /** | ||
74 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}' attribute. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @param value the new value of the '<em>Disj</em>' attribute. | ||
78 | * @see #isDisj() | ||
79 | * @generated | ||
80 | */ | ||
81 | void setDisj(boolean value); | ||
82 | |||
83 | /** | ||
84 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | ||
85 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration}. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <p> | ||
88 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, | ||
89 | * there really should be more of a description here... | ||
90 | * </p> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @return the value of the '<em>Variables</em>' containment reference list. | ||
93 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Variables() | ||
94 | * @model containment="true" | ||
95 | * @generated | ||
96 | */ | ||
97 | EList<ALSVariableDeclaration> getVariables(); | ||
98 | |||
99 | /** | ||
100 | * Returns the value of the '<em><b>Expression</b></em>' containment reference. | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <p> | ||
103 | * If the meaning of the '<em>Expression</em>' containment reference isn't clear, | ||
104 | * there really should be more of a description here... | ||
105 | * </p> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @return the value of the '<em>Expression</em>' containment reference. | ||
108 | * @see #setExpression(ALSTerm) | ||
109 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSQuantifiedEx_Expression() | ||
110 | * @model containment="true" | ||
111 | * @generated | ||
112 | */ | ||
113 | ALSTerm getExpression(); | ||
114 | |||
115 | /** | ||
116 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}' containment reference. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @param value the new value of the '<em>Expression</em>' containment reference. | ||
120 | * @see #getExpression() | ||
121 | * @generated | ||
122 | */ | ||
123 | void setExpression(ALSTerm value); | ||
124 | |||
125 | } // ALSQuantifiedEx | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java new file mode 100644 index 00000000..e81491df --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionLeft.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Range Restriction Left</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionLeft() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSRangeRestrictionLeft extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Filter</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Filter</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Filter</em>' containment reference. | ||
34 | * @see #setFilter(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionLeft_Filter() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getFilter(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Filter</em>' containment reference. | ||
46 | * @see #getFilter() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setFilter(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Relation</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Relation</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Relation</em>' containment reference. | ||
60 | * @see #setRelation(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionLeft_Relation() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRelation(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Relation</em>' containment reference. | ||
72 | * @see #getRelation() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRelation(ALSTerm value); | ||
76 | |||
77 | } // ALSRangeRestrictionLeft | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java new file mode 100644 index 00000000..6f9d55b3 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRangeRestrictionRight.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Range Restriction Right</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionRight() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSRangeRestrictionRight extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Relation</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Relation</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Relation</em>' containment reference. | ||
34 | * @see #setRelation(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionRight_Relation() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getRelation(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Relation</em>' containment reference. | ||
46 | * @see #getRelation() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setRelation(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Filter</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Filter</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Filter</em>' containment reference. | ||
60 | * @see #setFilter(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRangeRestrictionRight_Filter() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getFilter(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Filter</em>' containment reference. | ||
72 | * @see #getFilter() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setFilter(ALSTerm value); | ||
76 | |||
77 | } // ALSRangeRestrictionRight | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java new file mode 100644 index 00000000..828edf63 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReference.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Reference</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred <em>Referred</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReference() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSReference extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Referred</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Referred</em>' reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Referred</em>' reference. | ||
33 | * @see #setReferred(ALSRelationDeclaration) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReference_Referred() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSRelationDeclaration getReferred(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred <em>Referred</em>}' reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Referred</em>' reference. | ||
45 | * @see #getReferred() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setReferred(ALSRelationDeclaration value); | ||
49 | |||
50 | } // ALSReference | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java new file mode 100644 index 00000000..0809a0e3 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSReflectiveTransitiveClosure.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Reflective Transitive Closure</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReflectiveTransitiveClosure() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSReflectiveTransitiveClosure extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Operand</em>' containment reference. | ||
33 | * @see #setOperand(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSReflectiveTransitiveClosure_Operand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
45 | * @see #getOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOperand(ALSTerm value); | ||
49 | |||
50 | } // ALSReflectiveTransitiveClosure | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java new file mode 100644 index 00000000..08d0bcf1 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDeclaration.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Relation Declaration</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRelationDeclaration() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSRelationDeclaration extends EObject | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Name</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Name</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Name</em>' attribute. | ||
34 | * @see #setName(String) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRelationDeclaration_Name() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | String getName(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Name</em>' attribute. | ||
46 | * @see #getName() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setName(String value); | ||
50 | |||
51 | } // ALSRelationDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java new file mode 100644 index 00000000..46ab5096 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRelationDefinition.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Relation Definition</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRelationDefinition() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSRelationDefinition extends ALSDefinition | ||
17 | { | ||
18 | } // ALSRelationDefinition | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java new file mode 100644 index 00000000..e06c8b94 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSRunCommand.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>ALS Run Command</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes <em>Type Scopes</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRunCommand() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface ALSRunCommand extends EObject | ||
26 | { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Type Scopes</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope}. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <p> | ||
32 | * If the meaning of the '<em>Type Scopes</em>' containment reference list isn't clear, | ||
33 | * there really should be more of a description here... | ||
34 | * </p> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Type Scopes</em>' containment reference list. | ||
37 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSRunCommand_TypeScopes() | ||
38 | * @model containment="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | EList<ALSTypeScope> getTypeScopes(); | ||
42 | |||
43 | } // ALSRunCommand | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java new file mode 100644 index 00000000..851ebfb9 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSigScope.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Sig Scope</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSigScope() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSSigScope extends ALSTypeScope | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Exactly</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Exactly</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Exactly</em>' attribute. | ||
34 | * @see #setExactly(boolean) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSigScope_Exactly() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | boolean isExactly(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Exactly</em>' attribute. | ||
46 | * @see #isExactly() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setExactly(boolean value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Type</b></em>' reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Type</em>' reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Type</em>' reference. | ||
60 | * @see #setType(ALSSignatureDeclaration) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSigScope_Type() | ||
62 | * @model | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSSignatureDeclaration getType(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}' reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Type</em>' reference. | ||
72 | * @see #getType() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setType(ALSSignatureDeclaration value); | ||
76 | |||
77 | } // ALSSigScope | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java new file mode 100644 index 00000000..8746f88a --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureBody.java | |||
@@ -0,0 +1,161 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>ALS Signature Body</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}</li> | ||
20 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations <em>Declarations</em>}</li> | ||
21 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}</li> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset <em>Superset</em>}</li> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields <em>Fields</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody() | ||
27 | * @model | ||
28 | * @generated | ||
29 | */ | ||
30 | public interface ALSSignatureBody extends EObject | ||
31 | { | ||
32 | /** | ||
33 | * Returns the value of the '<em><b>Multiplicity</b></em>' attribute. | ||
34 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity}. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <p> | ||
37 | * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear, | ||
38 | * there really should be more of a description here... | ||
39 | * </p> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @return the value of the '<em>Multiplicity</em>' attribute. | ||
42 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
43 | * @see #setMultiplicity(ALSMultiplicity) | ||
44 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Multiplicity() | ||
45 | * @model | ||
46 | * @generated | ||
47 | */ | ||
48 | ALSMultiplicity getMultiplicity(); | ||
49 | |||
50 | /** | ||
51 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @param value the new value of the '<em>Multiplicity</em>' attribute. | ||
55 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
56 | * @see #getMultiplicity() | ||
57 | * @generated | ||
58 | */ | ||
59 | void setMultiplicity(ALSMultiplicity value); | ||
60 | |||
61 | /** | ||
62 | * Returns the value of the '<em><b>Abstract</b></em>' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <p> | ||
65 | * If the meaning of the '<em>Abstract</em>' attribute isn't clear, | ||
66 | * there really should be more of a description here... | ||
67 | * </p> | ||
68 | * <!-- end-user-doc --> | ||
69 | * @return the value of the '<em>Abstract</em>' attribute. | ||
70 | * @see #setAbstract(boolean) | ||
71 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Abstract() | ||
72 | * @model | ||
73 | * @generated | ||
74 | */ | ||
75 | boolean isAbstract(); | ||
76 | |||
77 | /** | ||
78 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}' attribute. | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @param value the new value of the '<em>Abstract</em>' attribute. | ||
82 | * @see #isAbstract() | ||
83 | * @generated | ||
84 | */ | ||
85 | void setAbstract(boolean value); | ||
86 | |||
87 | /** | ||
88 | * Returns the value of the '<em><b>Declarations</b></em>' containment reference list. | ||
89 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration}. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <p> | ||
92 | * If the meaning of the '<em>Declarations</em>' containment reference list isn't clear, | ||
93 | * there really should be more of a description here... | ||
94 | * </p> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @return the value of the '<em>Declarations</em>' containment reference list. | ||
97 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Declarations() | ||
98 | * @model containment="true" | ||
99 | * @generated | ||
100 | */ | ||
101 | EList<ALSSignatureDeclaration> getDeclarations(); | ||
102 | |||
103 | /** | ||
104 | * Returns the value of the '<em><b>Supertype</b></em>' reference. | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <p> | ||
107 | * If the meaning of the '<em>Supertype</em>' reference isn't clear, | ||
108 | * there really should be more of a description here... | ||
109 | * </p> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @return the value of the '<em>Supertype</em>' reference. | ||
112 | * @see #setSupertype(ALSSignatureDeclaration) | ||
113 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Supertype() | ||
114 | * @model | ||
115 | * @generated | ||
116 | */ | ||
117 | ALSSignatureDeclaration getSupertype(); | ||
118 | |||
119 | /** | ||
120 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}' reference. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @param value the new value of the '<em>Supertype</em>' reference. | ||
124 | * @see #getSupertype() | ||
125 | * @generated | ||
126 | */ | ||
127 | void setSupertype(ALSSignatureDeclaration value); | ||
128 | |||
129 | /** | ||
130 | * Returns the value of the '<em><b>Superset</b></em>' reference list. | ||
131 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration}. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <p> | ||
134 | * If the meaning of the '<em>Superset</em>' reference list isn't clear, | ||
135 | * there really should be more of a description here... | ||
136 | * </p> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @return the value of the '<em>Superset</em>' reference list. | ||
139 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Superset() | ||
140 | * @model | ||
141 | * @generated | ||
142 | */ | ||
143 | EList<ALSSignatureDeclaration> getSuperset(); | ||
144 | |||
145 | /** | ||
146 | * Returns the value of the '<em><b>Fields</b></em>' containment reference list. | ||
147 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration}. | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <p> | ||
150 | * If the meaning of the '<em>Fields</em>' containment reference list isn't clear, | ||
151 | * there really should be more of a description here... | ||
152 | * </p> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @return the value of the '<em>Fields</em>' containment reference list. | ||
155 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureBody_Fields() | ||
156 | * @model containment="true" | ||
157 | * @generated | ||
158 | */ | ||
159 | EList<ALSFieldDeclaration> getFields(); | ||
160 | |||
161 | } // ALSSignatureBody | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java new file mode 100644 index 00000000..967c3fb8 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSignatureDeclaration.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Signature Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSignatureDeclaration() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSSignatureDeclaration extends ALSTypeDeclaration | ||
17 | { | ||
18 | } // ALSSignatureDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java new file mode 100644 index 00000000..ccab0ded --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSString.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS String</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSString() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSString extends ALSTerm | ||
17 | { | ||
18 | } // ALSString | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java new file mode 100644 index 00000000..80cda5be --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringLiteral.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS String Literal</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue <em>Value</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSStringLiteral() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSStringLiteral extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Value</b></em>' attribute. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Value</em>' attribute isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Value</em>' attribute. | ||
33 | * @see #setValue(String) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSStringLiteral_Value() | ||
35 | * @model | ||
36 | * @generated | ||
37 | */ | ||
38 | String getValue(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue <em>Value</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Value</em>' attribute. | ||
45 | * @see #getValue() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setValue(String value); | ||
49 | |||
50 | } // ALSStringLiteral | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java new file mode 100644 index 00000000..acf95ddc --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSStringScope.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS String Scope</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSStringScope() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSStringScope extends ALSTypeScope | ||
17 | { | ||
18 | } // ALSStringScope | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java new file mode 100644 index 00000000..739c0d8c --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSubset.java | |||
@@ -0,0 +1,77 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Subset</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}</li> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSubset() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSSubset extends ALSTerm | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Left Operand</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Left Operand</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Left Operand</em>' containment reference. | ||
34 | * @see #setLeftOperand(ALSTerm) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSubset_LeftOperand() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | ALSTerm getLeftOperand(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Left Operand</em>' containment reference. | ||
46 | * @see #getLeftOperand() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setLeftOperand(ALSTerm value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Right Operand</b></em>' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <p> | ||
55 | * If the meaning of the '<em>Right Operand</em>' containment reference isn't clear, | ||
56 | * there really should be more of a description here... | ||
57 | * </p> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @return the value of the '<em>Right Operand</em>' containment reference. | ||
60 | * @see #setRightOperand(ALSTerm) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSubset_RightOperand() | ||
62 | * @model containment="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | ALSTerm getRightOperand(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}' containment reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Right Operand</em>' containment reference. | ||
72 | * @see #getRightOperand() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setRightOperand(ALSTerm value); | ||
76 | |||
77 | } // ALSSubset | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java new file mode 100644 index 00000000..ab8ae493 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSSum.java | |||
@@ -0,0 +1,68 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Sum</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables <em>Variables</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSum() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface ALSSum extends ALSTerm | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Variables</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSum_Variables() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<ALSVariableDeclaration> getVariables(); | ||
41 | |||
42 | /** | ||
43 | * Returns the value of the '<em><b>Expression</b></em>' containment reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <p> | ||
46 | * If the meaning of the '<em>Expression</em>' containment reference isn't clear, | ||
47 | * there really should be more of a description here... | ||
48 | * </p> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @return the value of the '<em>Expression</em>' containment reference. | ||
51 | * @see #setExpression(ALSTerm) | ||
52 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSSum_Expression() | ||
53 | * @model containment="true" | ||
54 | * @generated | ||
55 | */ | ||
56 | ALSTerm getExpression(); | ||
57 | |||
58 | /** | ||
59 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}' containment reference. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @param value the new value of the '<em>Expression</em>' containment reference. | ||
63 | * @see #getExpression() | ||
64 | * @generated | ||
65 | */ | ||
66 | void setExpression(ALSTerm value); | ||
67 | |||
68 | } // ALSSum | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java new file mode 100644 index 00000000..4d1dc644 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTerm.java | |||
@@ -0,0 +1,19 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Term</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTerm() | ||
14 | * @model | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface ALSTerm extends EObject | ||
18 | { | ||
19 | } // ALSTerm | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java new file mode 100644 index 00000000..d5c15717 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeDeclaration.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Type Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTypeDeclaration() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSTypeDeclaration extends ALSRelationDeclaration | ||
17 | { | ||
18 | } // ALSTypeDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java new file mode 100644 index 00000000..a73a6d39 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSTypeScope.java | |||
@@ -0,0 +1,51 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>ALS Type Scope</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTypeScope() | ||
20 | * @model | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface ALSTypeScope extends EObject | ||
24 | { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Number</b></em>' attribute. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Number</em>' attribute isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Number</em>' attribute. | ||
34 | * @see #setNumber(int) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSTypeScope_Number() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | int getNumber(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Number</em>' attribute. | ||
46 | * @see #getNumber() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setNumber(int value); | ||
50 | |||
51 | } // ALSTypeScope | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java new file mode 100644 index 00000000..0d485870 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUnaryMinus.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Unary Minus</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSUnaryMinus() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSUnaryMinus extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Operand</em>' containment reference. | ||
33 | * @see #setOperand(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSUnaryMinus_Operand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
45 | * @see #getOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOperand(ALSTerm value); | ||
49 | |||
50 | } // ALSUnaryMinus | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java new file mode 100644 index 00000000..1e39f628 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSUniv.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Univ</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSUniv() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface ALSUniv extends ALSTerm | ||
17 | { | ||
18 | } // ALSUniv | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java new file mode 100644 index 00000000..1c74e0a7 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/ALSVariableDeclaration.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>ALS Variable Declaration</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSVariableDeclaration() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface ALSVariableDeclaration extends ALSRelationDeclaration | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Range</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Range</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Range</em>' containment reference. | ||
33 | * @see #setRange(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getALSVariableDeclaration_Range() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getRange(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Range</em>' containment reference. | ||
45 | * @see #getRange() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setRange(ALSTerm value); | ||
49 | |||
50 | } // ALSVariableDeclaration | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java new file mode 100644 index 00000000..91b089f7 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlSTransitiveClosure.java | |||
@@ -0,0 +1,50 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Al STransitive Closure</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getAlSTransitiveClosure() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface AlSTransitiveClosure extends ALSTerm | ||
23 | { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <p> | ||
28 | * If the meaning of the '<em>Operand</em>' containment reference isn't clear, | ||
29 | * there really should be more of a description here... | ||
30 | * </p> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @return the value of the '<em>Operand</em>' containment reference. | ||
33 | * @see #setOperand(ALSTerm) | ||
34 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#getAlSTransitiveClosure_Operand() | ||
35 | * @model containment="true" | ||
36 | * @generated | ||
37 | */ | ||
38 | ALSTerm getOperand(); | ||
39 | |||
40 | /** | ||
41 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}' containment reference. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @param value the new value of the '<em>Operand</em>' containment reference. | ||
45 | * @see #getOperand() | ||
46 | * @generated | ||
47 | */ | ||
48 | void setOperand(ALSTerm value); | ||
49 | |||
50 | } // AlSTransitiveClosure | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java new file mode 100644 index 00000000..e2d89ff1 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguageFactory.java | |||
@@ -0,0 +1,529 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface AlloyLanguageFactory extends EFactory | ||
16 | { | ||
17 | /** | ||
18 | * The singleton instance of the factory. | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | AlloyLanguageFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguageFactoryImpl.init(); | ||
24 | |||
25 | /** | ||
26 | * Returns a new object of class '<em>ALS Document</em>'. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return a new object of class '<em>ALS Document</em>'. | ||
30 | * @generated | ||
31 | */ | ||
32 | ALSDocument createALSDocument(); | ||
33 | |||
34 | /** | ||
35 | * Returns a new object of class '<em>ALS Relation Declaration</em>'. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return a new object of class '<em>ALS Relation Declaration</em>'. | ||
39 | * @generated | ||
40 | */ | ||
41 | ALSRelationDeclaration createALSRelationDeclaration(); | ||
42 | |||
43 | /** | ||
44 | * Returns a new object of class '<em>ALS Type Declaration</em>'. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @return a new object of class '<em>ALS Type Declaration</em>'. | ||
48 | * @generated | ||
49 | */ | ||
50 | ALSTypeDeclaration createALSTypeDeclaration(); | ||
51 | |||
52 | /** | ||
53 | * Returns a new object of class '<em>ALS Enum Declaration</em>'. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @return a new object of class '<em>ALS Enum Declaration</em>'. | ||
57 | * @generated | ||
58 | */ | ||
59 | ALSEnumDeclaration createALSEnumDeclaration(); | ||
60 | |||
61 | /** | ||
62 | * Returns a new object of class '<em>ALS Enum Literal</em>'. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @return a new object of class '<em>ALS Enum Literal</em>'. | ||
66 | * @generated | ||
67 | */ | ||
68 | ALSEnumLiteral createALSEnumLiteral(); | ||
69 | |||
70 | /** | ||
71 | * Returns a new object of class '<em>ALS Signature Declaration</em>'. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @return a new object of class '<em>ALS Signature Declaration</em>'. | ||
75 | * @generated | ||
76 | */ | ||
77 | ALSSignatureDeclaration createALSSignatureDeclaration(); | ||
78 | |||
79 | /** | ||
80 | * Returns a new object of class '<em>ALS Signature Body</em>'. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @return a new object of class '<em>ALS Signature Body</em>'. | ||
84 | * @generated | ||
85 | */ | ||
86 | ALSSignatureBody createALSSignatureBody(); | ||
87 | |||
88 | /** | ||
89 | * Returns a new object of class '<em>ALS Field Declaration</em>'. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @return a new object of class '<em>ALS Field Declaration</em>'. | ||
93 | * @generated | ||
94 | */ | ||
95 | ALSFieldDeclaration createALSFieldDeclaration(); | ||
96 | |||
97 | /** | ||
98 | * Returns a new object of class '<em>ALS Definition</em>'. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @return a new object of class '<em>ALS Definition</em>'. | ||
102 | * @generated | ||
103 | */ | ||
104 | ALSDefinition createALSDefinition(); | ||
105 | |||
106 | /** | ||
107 | * Returns a new object of class '<em>ALS Function Definition</em>'. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @return a new object of class '<em>ALS Function Definition</em>'. | ||
111 | * @generated | ||
112 | */ | ||
113 | ALSFunctionDefinition createALSFunctionDefinition(); | ||
114 | |||
115 | /** | ||
116 | * Returns a new object of class '<em>ALS Relation Definition</em>'. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @return a new object of class '<em>ALS Relation Definition</em>'. | ||
120 | * @generated | ||
121 | */ | ||
122 | ALSRelationDefinition createALSRelationDefinition(); | ||
123 | |||
124 | /** | ||
125 | * Returns a new object of class '<em>ALS Fact Declaration</em>'. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @return a new object of class '<em>ALS Fact Declaration</em>'. | ||
129 | * @generated | ||
130 | */ | ||
131 | ALSFactDeclaration createALSFactDeclaration(); | ||
132 | |||
133 | /** | ||
134 | * Returns a new object of class '<em>ALS Term</em>'. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @return a new object of class '<em>ALS Term</em>'. | ||
138 | * @generated | ||
139 | */ | ||
140 | ALSTerm createALSTerm(); | ||
141 | |||
142 | /** | ||
143 | * Returns a new object of class '<em>ALS Variable Declaration</em>'. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @return a new object of class '<em>ALS Variable Declaration</em>'. | ||
147 | * @generated | ||
148 | */ | ||
149 | ALSVariableDeclaration createALSVariableDeclaration(); | ||
150 | |||
151 | /** | ||
152 | * Returns a new object of class '<em>ALS Run Command</em>'. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * <!-- end-user-doc --> | ||
155 | * @return a new object of class '<em>ALS Run Command</em>'. | ||
156 | * @generated | ||
157 | */ | ||
158 | ALSRunCommand createALSRunCommand(); | ||
159 | |||
160 | /** | ||
161 | * Returns a new object of class '<em>ALS Type Scope</em>'. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @return a new object of class '<em>ALS Type Scope</em>'. | ||
165 | * @generated | ||
166 | */ | ||
167 | ALSTypeScope createALSTypeScope(); | ||
168 | |||
169 | /** | ||
170 | * Returns a new object of class '<em>ALS Sig Scope</em>'. | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @return a new object of class '<em>ALS Sig Scope</em>'. | ||
174 | * @generated | ||
175 | */ | ||
176 | ALSSigScope createALSSigScope(); | ||
177 | |||
178 | /** | ||
179 | * Returns a new object of class '<em>ALS Int Scope</em>'. | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @return a new object of class '<em>ALS Int Scope</em>'. | ||
183 | * @generated | ||
184 | */ | ||
185 | ALSIntScope createALSIntScope(); | ||
186 | |||
187 | /** | ||
188 | * Returns a new object of class '<em>ALS String Scope</em>'. | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @return a new object of class '<em>ALS String Scope</em>'. | ||
192 | * @generated | ||
193 | */ | ||
194 | ALSStringScope createALSStringScope(); | ||
195 | |||
196 | /** | ||
197 | * Returns a new object of class '<em>ALS Quantified Ex</em>'. | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @return a new object of class '<em>ALS Quantified Ex</em>'. | ||
201 | * @generated | ||
202 | */ | ||
203 | ALSQuantifiedEx createALSQuantifiedEx(); | ||
204 | |||
205 | /** | ||
206 | * Returns a new object of class '<em>ALS Or</em>'. | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @return a new object of class '<em>ALS Or</em>'. | ||
210 | * @generated | ||
211 | */ | ||
212 | ALSOr createALSOr(); | ||
213 | |||
214 | /** | ||
215 | * Returns a new object of class '<em>ALS Iff</em>'. | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @return a new object of class '<em>ALS Iff</em>'. | ||
219 | * @generated | ||
220 | */ | ||
221 | ALSIff createALSIff(); | ||
222 | |||
223 | /** | ||
224 | * Returns a new object of class '<em>ALS Impl</em>'. | ||
225 | * <!-- begin-user-doc --> | ||
226 | * <!-- end-user-doc --> | ||
227 | * @return a new object of class '<em>ALS Impl</em>'. | ||
228 | * @generated | ||
229 | */ | ||
230 | ALSImpl createALSImpl(); | ||
231 | |||
232 | /** | ||
233 | * Returns a new object of class '<em>ALS And</em>'. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @return a new object of class '<em>ALS And</em>'. | ||
237 | * @generated | ||
238 | */ | ||
239 | ALSAnd createALSAnd(); | ||
240 | |||
241 | /** | ||
242 | * Returns a new object of class '<em>ALS Equals</em>'. | ||
243 | * <!-- begin-user-doc --> | ||
244 | * <!-- end-user-doc --> | ||
245 | * @return a new object of class '<em>ALS Equals</em>'. | ||
246 | * @generated | ||
247 | */ | ||
248 | ALSEquals createALSEquals(); | ||
249 | |||
250 | /** | ||
251 | * Returns a new object of class '<em>ALS Not Equals</em>'. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @return a new object of class '<em>ALS Not Equals</em>'. | ||
255 | * @generated | ||
256 | */ | ||
257 | ALSNotEquals createALSNotEquals(); | ||
258 | |||
259 | /** | ||
260 | * Returns a new object of class '<em>ALS Subset</em>'. | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @return a new object of class '<em>ALS Subset</em>'. | ||
264 | * @generated | ||
265 | */ | ||
266 | ALSSubset createALSSubset(); | ||
267 | |||
268 | /** | ||
269 | * Returns a new object of class '<em>ALS Less</em>'. | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @return a new object of class '<em>ALS Less</em>'. | ||
273 | * @generated | ||
274 | */ | ||
275 | ALSLess createALSLess(); | ||
276 | |||
277 | /** | ||
278 | * Returns a new object of class '<em>ALS Leq</em>'. | ||
279 | * <!-- begin-user-doc --> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @return a new object of class '<em>ALS Leq</em>'. | ||
282 | * @generated | ||
283 | */ | ||
284 | ALSLeq createALSLeq(); | ||
285 | |||
286 | /** | ||
287 | * Returns a new object of class '<em>ALS More</em>'. | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @return a new object of class '<em>ALS More</em>'. | ||
291 | * @generated | ||
292 | */ | ||
293 | ALSMore createALSMore(); | ||
294 | |||
295 | /** | ||
296 | * Returns a new object of class '<em>ALS Meq</em>'. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * <!-- end-user-doc --> | ||
299 | * @return a new object of class '<em>ALS Meq</em>'. | ||
300 | * @generated | ||
301 | */ | ||
302 | ALSMeq createALSMeq(); | ||
303 | |||
304 | /** | ||
305 | * Returns a new object of class '<em>ALS Override</em>'. | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @return a new object of class '<em>ALS Override</em>'. | ||
309 | * @generated | ||
310 | */ | ||
311 | ALSOverride createALSOverride(); | ||
312 | |||
313 | /** | ||
314 | * Returns a new object of class '<em>ALS Range Restriction Right</em>'. | ||
315 | * <!-- begin-user-doc --> | ||
316 | * <!-- end-user-doc --> | ||
317 | * @return a new object of class '<em>ALS Range Restriction Right</em>'. | ||
318 | * @generated | ||
319 | */ | ||
320 | ALSRangeRestrictionRight createALSRangeRestrictionRight(); | ||
321 | |||
322 | /** | ||
323 | * Returns a new object of class '<em>ALS Range Restriction Left</em>'. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @return a new object of class '<em>ALS Range Restriction Left</em>'. | ||
327 | * @generated | ||
328 | */ | ||
329 | ALSRangeRestrictionLeft createALSRangeRestrictionLeft(); | ||
330 | |||
331 | /** | ||
332 | * Returns a new object of class '<em>ALS Join</em>'. | ||
333 | * <!-- begin-user-doc --> | ||
334 | * <!-- end-user-doc --> | ||
335 | * @return a new object of class '<em>ALS Join</em>'. | ||
336 | * @generated | ||
337 | */ | ||
338 | ALSJoin createALSJoin(); | ||
339 | |||
340 | /** | ||
341 | * Returns a new object of class '<em>ALS Minus</em>'. | ||
342 | * <!-- begin-user-doc --> | ||
343 | * <!-- end-user-doc --> | ||
344 | * @return a new object of class '<em>ALS Minus</em>'. | ||
345 | * @generated | ||
346 | */ | ||
347 | ALSMinus createALSMinus(); | ||
348 | |||
349 | /** | ||
350 | * Returns a new object of class '<em>ALS Plus</em>'. | ||
351 | * <!-- begin-user-doc --> | ||
352 | * <!-- end-user-doc --> | ||
353 | * @return a new object of class '<em>ALS Plus</em>'. | ||
354 | * @generated | ||
355 | */ | ||
356 | ALSPlus createALSPlus(); | ||
357 | |||
358 | /** | ||
359 | * Returns a new object of class '<em>ALS Intersection</em>'. | ||
360 | * <!-- begin-user-doc --> | ||
361 | * <!-- end-user-doc --> | ||
362 | * @return a new object of class '<em>ALS Intersection</em>'. | ||
363 | * @generated | ||
364 | */ | ||
365 | ALSIntersection createALSIntersection(); | ||
366 | |||
367 | /** | ||
368 | * Returns a new object of class '<em>ALS Direct Product</em>'. | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @return a new object of class '<em>ALS Direct Product</em>'. | ||
372 | * @generated | ||
373 | */ | ||
374 | ALSDirectProduct createALSDirectProduct(); | ||
375 | |||
376 | /** | ||
377 | * Returns a new object of class '<em>ALS Not</em>'. | ||
378 | * <!-- begin-user-doc --> | ||
379 | * <!-- end-user-doc --> | ||
380 | * @return a new object of class '<em>ALS Not</em>'. | ||
381 | * @generated | ||
382 | */ | ||
383 | ALSNot createALSNot(); | ||
384 | |||
385 | /** | ||
386 | * Returns a new object of class '<em>ALS Inverse Relation</em>'. | ||
387 | * <!-- begin-user-doc --> | ||
388 | * <!-- end-user-doc --> | ||
389 | * @return a new object of class '<em>ALS Inverse Relation</em>'. | ||
390 | * @generated | ||
391 | */ | ||
392 | ALSInverseRelation createALSInverseRelation(); | ||
393 | |||
394 | /** | ||
395 | * Returns a new object of class '<em>Al STransitive Closure</em>'. | ||
396 | * <!-- begin-user-doc --> | ||
397 | * <!-- end-user-doc --> | ||
398 | * @return a new object of class '<em>Al STransitive Closure</em>'. | ||
399 | * @generated | ||
400 | */ | ||
401 | AlSTransitiveClosure createAlSTransitiveClosure(); | ||
402 | |||
403 | /** | ||
404 | * Returns a new object of class '<em>ALS Reflective Transitive Closure</em>'. | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @return a new object of class '<em>ALS Reflective Transitive Closure</em>'. | ||
408 | * @generated | ||
409 | */ | ||
410 | ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure(); | ||
411 | |||
412 | /** | ||
413 | * Returns a new object of class '<em>ALS Cardinality</em>'. | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @return a new object of class '<em>ALS Cardinality</em>'. | ||
417 | * @generated | ||
418 | */ | ||
419 | ALSCardinality createALSCardinality(); | ||
420 | |||
421 | /** | ||
422 | * Returns a new object of class '<em>ALS Unary Minus</em>'. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @return a new object of class '<em>ALS Unary Minus</em>'. | ||
426 | * @generated | ||
427 | */ | ||
428 | ALSUnaryMinus createALSUnaryMinus(); | ||
429 | |||
430 | /** | ||
431 | * Returns a new object of class '<em>ALS Sum</em>'. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @return a new object of class '<em>ALS Sum</em>'. | ||
435 | * @generated | ||
436 | */ | ||
437 | ALSSum createALSSum(); | ||
438 | |||
439 | /** | ||
440 | * Returns a new object of class '<em>ALS Function Call</em>'. | ||
441 | * <!-- begin-user-doc --> | ||
442 | * <!-- end-user-doc --> | ||
443 | * @return a new object of class '<em>ALS Function Call</em>'. | ||
444 | * @generated | ||
445 | */ | ||
446 | ALSFunctionCall createALSFunctionCall(); | ||
447 | |||
448 | /** | ||
449 | * Returns a new object of class '<em>ALS None</em>'. | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @return a new object of class '<em>ALS None</em>'. | ||
453 | * @generated | ||
454 | */ | ||
455 | ALSNone createALSNone(); | ||
456 | |||
457 | /** | ||
458 | * Returns a new object of class '<em>ALS Iden</em>'. | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @return a new object of class '<em>ALS Iden</em>'. | ||
462 | * @generated | ||
463 | */ | ||
464 | ALSIden createALSIden(); | ||
465 | |||
466 | /** | ||
467 | * Returns a new object of class '<em>ALS Univ</em>'. | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @return a new object of class '<em>ALS Univ</em>'. | ||
471 | * @generated | ||
472 | */ | ||
473 | ALSUniv createALSUniv(); | ||
474 | |||
475 | /** | ||
476 | * Returns a new object of class '<em>ALS Int</em>'. | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @return a new object of class '<em>ALS Int</em>'. | ||
480 | * @generated | ||
481 | */ | ||
482 | ALSInt createALSInt(); | ||
483 | |||
484 | /** | ||
485 | * Returns a new object of class '<em>ALS String</em>'. | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @return a new object of class '<em>ALS String</em>'. | ||
489 | * @generated | ||
490 | */ | ||
491 | ALSString createALSString(); | ||
492 | |||
493 | /** | ||
494 | * Returns a new object of class '<em>ALS Reference</em>'. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @return a new object of class '<em>ALS Reference</em>'. | ||
498 | * @generated | ||
499 | */ | ||
500 | ALSReference createALSReference(); | ||
501 | |||
502 | /** | ||
503 | * Returns a new object of class '<em>ALS Number Literal</em>'. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @return a new object of class '<em>ALS Number Literal</em>'. | ||
507 | * @generated | ||
508 | */ | ||
509 | ALSNumberLiteral createALSNumberLiteral(); | ||
510 | |||
511 | /** | ||
512 | * Returns a new object of class '<em>ALS String Literal</em>'. | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @return a new object of class '<em>ALS String Literal</em>'. | ||
516 | * @generated | ||
517 | */ | ||
518 | ALSStringLiteral createALSStringLiteral(); | ||
519 | |||
520 | /** | ||
521 | * Returns the package supported by this factory. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * <!-- end-user-doc --> | ||
524 | * @return the package supported by this factory. | ||
525 | * @generated | ||
526 | */ | ||
527 | AlloyLanguagePackage getAlloyLanguagePackage(); | ||
528 | |||
529 | } //AlloyLanguageFactory | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java new file mode 100644 index 00000000..46bfcc21 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/AlloyLanguagePackage.java | |||
@@ -0,0 +1,4834 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EEnum; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | import org.eclipse.emf.ecore.EReference; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * The <b>Package</b> for the model. | ||
14 | * It contains accessors for the meta objects to represent | ||
15 | * <ul> | ||
16 | * <li>each class,</li> | ||
17 | * <li>each feature of each class,</li> | ||
18 | * <li>each enum,</li> | ||
19 | * <li>and each data type</li> | ||
20 | * </ul> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory | ||
23 | * @model kind="package" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface AlloyLanguagePackage extends EPackage | ||
27 | { | ||
28 | /** | ||
29 | * The package name. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | String eNAME = "alloyLanguage"; | ||
35 | |||
36 | /** | ||
37 | * The package namespace URI. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/AlloyLanguage"; | ||
43 | |||
44 | /** | ||
45 | * The package namespace name. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | String eNS_PREFIX = "alloyLanguage"; | ||
51 | |||
52 | /** | ||
53 | * The singleton instance of the package. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | AlloyLanguagePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl.init(); | ||
59 | |||
60 | /** | ||
61 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl <em>ALS Document</em>}' class. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl | ||
65 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDocument() | ||
66 | * @generated | ||
67 | */ | ||
68 | int ALS_DOCUMENT = 0; | ||
69 | |||
70 | /** | ||
71 | * The feature id for the '<em><b>Enum Declarations</b></em>' containment reference list. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | int ALS_DOCUMENT__ENUM_DECLARATIONS = 0; | ||
78 | |||
79 | /** | ||
80 | * The feature id for the '<em><b>Signature Bodies</b></em>' containment reference list. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | int ALS_DOCUMENT__SIGNATURE_BODIES = 1; | ||
87 | |||
88 | /** | ||
89 | * The feature id for the '<em><b>Function Definitions</b></em>' containment reference list. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | int ALS_DOCUMENT__FUNCTION_DEFINITIONS = 2; | ||
96 | |||
97 | /** | ||
98 | * The feature id for the '<em><b>Relation Definitions</b></em>' containment reference list. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | * @ordered | ||
103 | */ | ||
104 | int ALS_DOCUMENT__RELATION_DEFINITIONS = 3; | ||
105 | |||
106 | /** | ||
107 | * The feature id for the '<em><b>Fact Declarations</b></em>' containment reference list. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | * @ordered | ||
112 | */ | ||
113 | int ALS_DOCUMENT__FACT_DECLARATIONS = 4; | ||
114 | |||
115 | /** | ||
116 | * The feature id for the '<em><b>Run Command</b></em>' containment reference. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | * @ordered | ||
121 | */ | ||
122 | int ALS_DOCUMENT__RUN_COMMAND = 5; | ||
123 | |||
124 | /** | ||
125 | * The number of structural features of the '<em>ALS Document</em>' class. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | * @ordered | ||
130 | */ | ||
131 | int ALS_DOCUMENT_FEATURE_COUNT = 6; | ||
132 | |||
133 | /** | ||
134 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl <em>ALS Relation Declaration</em>}' class. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl | ||
138 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDeclaration() | ||
139 | * @generated | ||
140 | */ | ||
141 | int ALS_RELATION_DECLARATION = 1; | ||
142 | |||
143 | /** | ||
144 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | * @ordered | ||
149 | */ | ||
150 | int ALS_RELATION_DECLARATION__NAME = 0; | ||
151 | |||
152 | /** | ||
153 | * The number of structural features of the '<em>ALS Relation Declaration</em>' class. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | * @ordered | ||
158 | */ | ||
159 | int ALS_RELATION_DECLARATION_FEATURE_COUNT = 1; | ||
160 | |||
161 | /** | ||
162 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl <em>ALS Type Declaration</em>}' class. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl | ||
166 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeDeclaration() | ||
167 | * @generated | ||
168 | */ | ||
169 | int ALS_TYPE_DECLARATION = 2; | ||
170 | |||
171 | /** | ||
172 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | * @ordered | ||
177 | */ | ||
178 | int ALS_TYPE_DECLARATION__NAME = ALS_RELATION_DECLARATION__NAME; | ||
179 | |||
180 | /** | ||
181 | * The number of structural features of the '<em>ALS Type Declaration</em>' class. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | * @ordered | ||
186 | */ | ||
187 | int ALS_TYPE_DECLARATION_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0; | ||
188 | |||
189 | /** | ||
190 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl <em>ALS Enum Declaration</em>}' class. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl | ||
194 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumDeclaration() | ||
195 | * @generated | ||
196 | */ | ||
197 | int ALS_ENUM_DECLARATION = 3; | ||
198 | |||
199 | /** | ||
200 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | * @ordered | ||
205 | */ | ||
206 | int ALS_ENUM_DECLARATION__NAME = ALS_TYPE_DECLARATION__NAME; | ||
207 | |||
208 | /** | ||
209 | * The feature id for the '<em><b>Literal</b></em>' containment reference list. | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | * @ordered | ||
214 | */ | ||
215 | int ALS_ENUM_DECLARATION__LITERAL = ALS_TYPE_DECLARATION_FEATURE_COUNT + 0; | ||
216 | |||
217 | /** | ||
218 | * The number of structural features of the '<em>ALS Enum Declaration</em>' class. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | * @ordered | ||
223 | */ | ||
224 | int ALS_ENUM_DECLARATION_FEATURE_COUNT = ALS_TYPE_DECLARATION_FEATURE_COUNT + 1; | ||
225 | |||
226 | /** | ||
227 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl <em>ALS Enum Literal</em>}' class. | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl | ||
231 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumLiteral() | ||
232 | * @generated | ||
233 | */ | ||
234 | int ALS_ENUM_LITERAL = 4; | ||
235 | |||
236 | /** | ||
237 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
238 | * <!-- begin-user-doc --> | ||
239 | * <!-- end-user-doc --> | ||
240 | * @generated | ||
241 | * @ordered | ||
242 | */ | ||
243 | int ALS_ENUM_LITERAL__NAME = ALS_RELATION_DECLARATION__NAME; | ||
244 | |||
245 | /** | ||
246 | * The number of structural features of the '<em>ALS Enum Literal</em>' class. | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | * @ordered | ||
251 | */ | ||
252 | int ALS_ENUM_LITERAL_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0; | ||
253 | |||
254 | /** | ||
255 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl <em>ALS Signature Declaration</em>}' class. | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl | ||
259 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureDeclaration() | ||
260 | * @generated | ||
261 | */ | ||
262 | int ALS_SIGNATURE_DECLARATION = 5; | ||
263 | |||
264 | /** | ||
265 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | * @ordered | ||
270 | */ | ||
271 | int ALS_SIGNATURE_DECLARATION__NAME = ALS_TYPE_DECLARATION__NAME; | ||
272 | |||
273 | /** | ||
274 | * The number of structural features of the '<em>ALS Signature Declaration</em>' class. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | * @ordered | ||
279 | */ | ||
280 | int ALS_SIGNATURE_DECLARATION_FEATURE_COUNT = ALS_TYPE_DECLARATION_FEATURE_COUNT + 0; | ||
281 | |||
282 | /** | ||
283 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl <em>ALS Signature Body</em>}' class. | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl | ||
287 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureBody() | ||
288 | * @generated | ||
289 | */ | ||
290 | int ALS_SIGNATURE_BODY = 6; | ||
291 | |||
292 | /** | ||
293 | * The feature id for the '<em><b>Multiplicity</b></em>' attribute. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | * @ordered | ||
298 | */ | ||
299 | int ALS_SIGNATURE_BODY__MULTIPLICITY = 0; | ||
300 | |||
301 | /** | ||
302 | * The feature id for the '<em><b>Abstract</b></em>' attribute. | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | * @ordered | ||
307 | */ | ||
308 | int ALS_SIGNATURE_BODY__ABSTRACT = 1; | ||
309 | |||
310 | /** | ||
311 | * The feature id for the '<em><b>Declarations</b></em>' containment reference list. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * <!-- end-user-doc --> | ||
314 | * @generated | ||
315 | * @ordered | ||
316 | */ | ||
317 | int ALS_SIGNATURE_BODY__DECLARATIONS = 2; | ||
318 | |||
319 | /** | ||
320 | * The feature id for the '<em><b>Supertype</b></em>' reference. | ||
321 | * <!-- begin-user-doc --> | ||
322 | * <!-- end-user-doc --> | ||
323 | * @generated | ||
324 | * @ordered | ||
325 | */ | ||
326 | int ALS_SIGNATURE_BODY__SUPERTYPE = 3; | ||
327 | |||
328 | /** | ||
329 | * The feature id for the '<em><b>Superset</b></em>' reference list. | ||
330 | * <!-- begin-user-doc --> | ||
331 | * <!-- end-user-doc --> | ||
332 | * @generated | ||
333 | * @ordered | ||
334 | */ | ||
335 | int ALS_SIGNATURE_BODY__SUPERSET = 4; | ||
336 | |||
337 | /** | ||
338 | * The feature id for the '<em><b>Fields</b></em>' containment reference list. | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | * @ordered | ||
343 | */ | ||
344 | int ALS_SIGNATURE_BODY__FIELDS = 5; | ||
345 | |||
346 | /** | ||
347 | * The number of structural features of the '<em>ALS Signature Body</em>' class. | ||
348 | * <!-- begin-user-doc --> | ||
349 | * <!-- end-user-doc --> | ||
350 | * @generated | ||
351 | * @ordered | ||
352 | */ | ||
353 | int ALS_SIGNATURE_BODY_FEATURE_COUNT = 6; | ||
354 | |||
355 | /** | ||
356 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl <em>ALS Field Declaration</em>}' class. | ||
357 | * <!-- begin-user-doc --> | ||
358 | * <!-- end-user-doc --> | ||
359 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl | ||
360 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFieldDeclaration() | ||
361 | * @generated | ||
362 | */ | ||
363 | int ALS_FIELD_DECLARATION = 7; | ||
364 | |||
365 | /** | ||
366 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
367 | * <!-- begin-user-doc --> | ||
368 | * <!-- end-user-doc --> | ||
369 | * @generated | ||
370 | * @ordered | ||
371 | */ | ||
372 | int ALS_FIELD_DECLARATION__NAME = ALS_RELATION_DECLARATION__NAME; | ||
373 | |||
374 | /** | ||
375 | * The feature id for the '<em><b>Multiplicity</b></em>' attribute. | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | * @ordered | ||
380 | */ | ||
381 | int ALS_FIELD_DECLARATION__MULTIPLICITY = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0; | ||
382 | |||
383 | /** | ||
384 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
385 | * <!-- begin-user-doc --> | ||
386 | * <!-- end-user-doc --> | ||
387 | * @generated | ||
388 | * @ordered | ||
389 | */ | ||
390 | int ALS_FIELD_DECLARATION__TYPE = ALS_RELATION_DECLARATION_FEATURE_COUNT + 1; | ||
391 | |||
392 | /** | ||
393 | * The number of structural features of the '<em>ALS Field Declaration</em>' class. | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | * @ordered | ||
398 | */ | ||
399 | int ALS_FIELD_DECLARATION_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 2; | ||
400 | |||
401 | /** | ||
402 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl <em>ALS Definition</em>}' class. | ||
403 | * <!-- begin-user-doc --> | ||
404 | * <!-- end-user-doc --> | ||
405 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl | ||
406 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDefinition() | ||
407 | * @generated | ||
408 | */ | ||
409 | int ALS_DEFINITION = 8; | ||
410 | |||
411 | /** | ||
412 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @generated | ||
416 | * @ordered | ||
417 | */ | ||
418 | int ALS_DEFINITION__NAME = 0; | ||
419 | |||
420 | /** | ||
421 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
422 | * <!-- begin-user-doc --> | ||
423 | * <!-- end-user-doc --> | ||
424 | * @generated | ||
425 | * @ordered | ||
426 | */ | ||
427 | int ALS_DEFINITION__VARIABLES = 1; | ||
428 | |||
429 | /** | ||
430 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
431 | * <!-- begin-user-doc --> | ||
432 | * <!-- end-user-doc --> | ||
433 | * @generated | ||
434 | * @ordered | ||
435 | */ | ||
436 | int ALS_DEFINITION__VALUE = 2; | ||
437 | |||
438 | /** | ||
439 | * The number of structural features of the '<em>ALS Definition</em>' class. | ||
440 | * <!-- begin-user-doc --> | ||
441 | * <!-- end-user-doc --> | ||
442 | * @generated | ||
443 | * @ordered | ||
444 | */ | ||
445 | int ALS_DEFINITION_FEATURE_COUNT = 3; | ||
446 | |||
447 | /** | ||
448 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl <em>ALS Function Definition</em>}' class. | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl | ||
452 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionDefinition() | ||
453 | * @generated | ||
454 | */ | ||
455 | int ALS_FUNCTION_DEFINITION = 9; | ||
456 | |||
457 | /** | ||
458 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @generated | ||
462 | * @ordered | ||
463 | */ | ||
464 | int ALS_FUNCTION_DEFINITION__NAME = ALS_DEFINITION__NAME; | ||
465 | |||
466 | /** | ||
467 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @generated | ||
471 | * @ordered | ||
472 | */ | ||
473 | int ALS_FUNCTION_DEFINITION__VARIABLES = ALS_DEFINITION__VARIABLES; | ||
474 | |||
475 | /** | ||
476 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @generated | ||
480 | * @ordered | ||
481 | */ | ||
482 | int ALS_FUNCTION_DEFINITION__VALUE = ALS_DEFINITION__VALUE; | ||
483 | |||
484 | /** | ||
485 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @generated | ||
489 | * @ordered | ||
490 | */ | ||
491 | int ALS_FUNCTION_DEFINITION__TYPE = ALS_DEFINITION_FEATURE_COUNT + 0; | ||
492 | |||
493 | /** | ||
494 | * The number of structural features of the '<em>ALS Function Definition</em>' class. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @generated | ||
498 | * @ordered | ||
499 | */ | ||
500 | int ALS_FUNCTION_DEFINITION_FEATURE_COUNT = ALS_DEFINITION_FEATURE_COUNT + 1; | ||
501 | |||
502 | /** | ||
503 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl <em>ALS Relation Definition</em>}' class. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl | ||
507 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDefinition() | ||
508 | * @generated | ||
509 | */ | ||
510 | int ALS_RELATION_DEFINITION = 10; | ||
511 | |||
512 | /** | ||
513 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
514 | * <!-- begin-user-doc --> | ||
515 | * <!-- end-user-doc --> | ||
516 | * @generated | ||
517 | * @ordered | ||
518 | */ | ||
519 | int ALS_RELATION_DEFINITION__NAME = ALS_DEFINITION__NAME; | ||
520 | |||
521 | /** | ||
522 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
523 | * <!-- begin-user-doc --> | ||
524 | * <!-- end-user-doc --> | ||
525 | * @generated | ||
526 | * @ordered | ||
527 | */ | ||
528 | int ALS_RELATION_DEFINITION__VARIABLES = ALS_DEFINITION__VARIABLES; | ||
529 | |||
530 | /** | ||
531 | * The feature id for the '<em><b>Value</b></em>' containment reference. | ||
532 | * <!-- begin-user-doc --> | ||
533 | * <!-- end-user-doc --> | ||
534 | * @generated | ||
535 | * @ordered | ||
536 | */ | ||
537 | int ALS_RELATION_DEFINITION__VALUE = ALS_DEFINITION__VALUE; | ||
538 | |||
539 | /** | ||
540 | * The number of structural features of the '<em>ALS Relation Definition</em>' class. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | * @ordered | ||
545 | */ | ||
546 | int ALS_RELATION_DEFINITION_FEATURE_COUNT = ALS_DEFINITION_FEATURE_COUNT + 0; | ||
547 | |||
548 | /** | ||
549 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl <em>ALS Fact Declaration</em>}' class. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * <!-- end-user-doc --> | ||
552 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl | ||
553 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFactDeclaration() | ||
554 | * @generated | ||
555 | */ | ||
556 | int ALS_FACT_DECLARATION = 11; | ||
557 | |||
558 | /** | ||
559 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
560 | * <!-- begin-user-doc --> | ||
561 | * <!-- end-user-doc --> | ||
562 | * @generated | ||
563 | * @ordered | ||
564 | */ | ||
565 | int ALS_FACT_DECLARATION__NAME = 0; | ||
566 | |||
567 | /** | ||
568 | * The feature id for the '<em><b>Term</b></em>' containment reference. | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @generated | ||
572 | * @ordered | ||
573 | */ | ||
574 | int ALS_FACT_DECLARATION__TERM = 1; | ||
575 | |||
576 | /** | ||
577 | * The number of structural features of the '<em>ALS Fact Declaration</em>' class. | ||
578 | * <!-- begin-user-doc --> | ||
579 | * <!-- end-user-doc --> | ||
580 | * @generated | ||
581 | * @ordered | ||
582 | */ | ||
583 | int ALS_FACT_DECLARATION_FEATURE_COUNT = 2; | ||
584 | |||
585 | /** | ||
586 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl <em>ALS Term</em>}' class. | ||
587 | * <!-- begin-user-doc --> | ||
588 | * <!-- end-user-doc --> | ||
589 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl | ||
590 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTerm() | ||
591 | * @generated | ||
592 | */ | ||
593 | int ALS_TERM = 12; | ||
594 | |||
595 | /** | ||
596 | * The number of structural features of the '<em>ALS Term</em>' class. | ||
597 | * <!-- begin-user-doc --> | ||
598 | * <!-- end-user-doc --> | ||
599 | * @generated | ||
600 | * @ordered | ||
601 | */ | ||
602 | int ALS_TERM_FEATURE_COUNT = 0; | ||
603 | |||
604 | /** | ||
605 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl <em>ALS Variable Declaration</em>}' class. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * <!-- end-user-doc --> | ||
608 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl | ||
609 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSVariableDeclaration() | ||
610 | * @generated | ||
611 | */ | ||
612 | int ALS_VARIABLE_DECLARATION = 13; | ||
613 | |||
614 | /** | ||
615 | * The feature id for the '<em><b>Name</b></em>' attribute. | ||
616 | * <!-- begin-user-doc --> | ||
617 | * <!-- end-user-doc --> | ||
618 | * @generated | ||
619 | * @ordered | ||
620 | */ | ||
621 | int ALS_VARIABLE_DECLARATION__NAME = ALS_RELATION_DECLARATION__NAME; | ||
622 | |||
623 | /** | ||
624 | * The feature id for the '<em><b>Range</b></em>' containment reference. | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @generated | ||
628 | * @ordered | ||
629 | */ | ||
630 | int ALS_VARIABLE_DECLARATION__RANGE = ALS_RELATION_DECLARATION_FEATURE_COUNT + 0; | ||
631 | |||
632 | /** | ||
633 | * The number of structural features of the '<em>ALS Variable Declaration</em>' class. | ||
634 | * <!-- begin-user-doc --> | ||
635 | * <!-- end-user-doc --> | ||
636 | * @generated | ||
637 | * @ordered | ||
638 | */ | ||
639 | int ALS_VARIABLE_DECLARATION_FEATURE_COUNT = ALS_RELATION_DECLARATION_FEATURE_COUNT + 1; | ||
640 | |||
641 | /** | ||
642 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl <em>ALS Run Command</em>}' class. | ||
643 | * <!-- begin-user-doc --> | ||
644 | * <!-- end-user-doc --> | ||
645 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl | ||
646 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRunCommand() | ||
647 | * @generated | ||
648 | */ | ||
649 | int ALS_RUN_COMMAND = 14; | ||
650 | |||
651 | /** | ||
652 | * The feature id for the '<em><b>Type Scopes</b></em>' containment reference list. | ||
653 | * <!-- begin-user-doc --> | ||
654 | * <!-- end-user-doc --> | ||
655 | * @generated | ||
656 | * @ordered | ||
657 | */ | ||
658 | int ALS_RUN_COMMAND__TYPE_SCOPES = 0; | ||
659 | |||
660 | /** | ||
661 | * The number of structural features of the '<em>ALS Run Command</em>' class. | ||
662 | * <!-- begin-user-doc --> | ||
663 | * <!-- end-user-doc --> | ||
664 | * @generated | ||
665 | * @ordered | ||
666 | */ | ||
667 | int ALS_RUN_COMMAND_FEATURE_COUNT = 1; | ||
668 | |||
669 | /** | ||
670 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl <em>ALS Type Scope</em>}' class. | ||
671 | * <!-- begin-user-doc --> | ||
672 | * <!-- end-user-doc --> | ||
673 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl | ||
674 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeScope() | ||
675 | * @generated | ||
676 | */ | ||
677 | int ALS_TYPE_SCOPE = 15; | ||
678 | |||
679 | /** | ||
680 | * The feature id for the '<em><b>Number</b></em>' attribute. | ||
681 | * <!-- begin-user-doc --> | ||
682 | * <!-- end-user-doc --> | ||
683 | * @generated | ||
684 | * @ordered | ||
685 | */ | ||
686 | int ALS_TYPE_SCOPE__NUMBER = 0; | ||
687 | |||
688 | /** | ||
689 | * The number of structural features of the '<em>ALS Type Scope</em>' class. | ||
690 | * <!-- begin-user-doc --> | ||
691 | * <!-- end-user-doc --> | ||
692 | * @generated | ||
693 | * @ordered | ||
694 | */ | ||
695 | int ALS_TYPE_SCOPE_FEATURE_COUNT = 1; | ||
696 | |||
697 | /** | ||
698 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl <em>ALS Sig Scope</em>}' class. | ||
699 | * <!-- begin-user-doc --> | ||
700 | * <!-- end-user-doc --> | ||
701 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl | ||
702 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSigScope() | ||
703 | * @generated | ||
704 | */ | ||
705 | int ALS_SIG_SCOPE = 16; | ||
706 | |||
707 | /** | ||
708 | * The feature id for the '<em><b>Number</b></em>' attribute. | ||
709 | * <!-- begin-user-doc --> | ||
710 | * <!-- end-user-doc --> | ||
711 | * @generated | ||
712 | * @ordered | ||
713 | */ | ||
714 | int ALS_SIG_SCOPE__NUMBER = ALS_TYPE_SCOPE__NUMBER; | ||
715 | |||
716 | /** | ||
717 | * The feature id for the '<em><b>Exactly</b></em>' attribute. | ||
718 | * <!-- begin-user-doc --> | ||
719 | * <!-- end-user-doc --> | ||
720 | * @generated | ||
721 | * @ordered | ||
722 | */ | ||
723 | int ALS_SIG_SCOPE__EXACTLY = ALS_TYPE_SCOPE_FEATURE_COUNT + 0; | ||
724 | |||
725 | /** | ||
726 | * The feature id for the '<em><b>Type</b></em>' reference. | ||
727 | * <!-- begin-user-doc --> | ||
728 | * <!-- end-user-doc --> | ||
729 | * @generated | ||
730 | * @ordered | ||
731 | */ | ||
732 | int ALS_SIG_SCOPE__TYPE = ALS_TYPE_SCOPE_FEATURE_COUNT + 1; | ||
733 | |||
734 | /** | ||
735 | * The number of structural features of the '<em>ALS Sig Scope</em>' class. | ||
736 | * <!-- begin-user-doc --> | ||
737 | * <!-- end-user-doc --> | ||
738 | * @generated | ||
739 | * @ordered | ||
740 | */ | ||
741 | int ALS_SIG_SCOPE_FEATURE_COUNT = ALS_TYPE_SCOPE_FEATURE_COUNT + 2; | ||
742 | |||
743 | /** | ||
744 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl <em>ALS Int Scope</em>}' class. | ||
745 | * <!-- begin-user-doc --> | ||
746 | * <!-- end-user-doc --> | ||
747 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl | ||
748 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntScope() | ||
749 | * @generated | ||
750 | */ | ||
751 | int ALS_INT_SCOPE = 17; | ||
752 | |||
753 | /** | ||
754 | * The feature id for the '<em><b>Number</b></em>' attribute. | ||
755 | * <!-- begin-user-doc --> | ||
756 | * <!-- end-user-doc --> | ||
757 | * @generated | ||
758 | * @ordered | ||
759 | */ | ||
760 | int ALS_INT_SCOPE__NUMBER = ALS_TYPE_SCOPE__NUMBER; | ||
761 | |||
762 | /** | ||
763 | * The number of structural features of the '<em>ALS Int Scope</em>' class. | ||
764 | * <!-- begin-user-doc --> | ||
765 | * <!-- end-user-doc --> | ||
766 | * @generated | ||
767 | * @ordered | ||
768 | */ | ||
769 | int ALS_INT_SCOPE_FEATURE_COUNT = ALS_TYPE_SCOPE_FEATURE_COUNT + 0; | ||
770 | |||
771 | /** | ||
772 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl <em>ALS String Scope</em>}' class. | ||
773 | * <!-- begin-user-doc --> | ||
774 | * <!-- end-user-doc --> | ||
775 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl | ||
776 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringScope() | ||
777 | * @generated | ||
778 | */ | ||
779 | int ALS_STRING_SCOPE = 18; | ||
780 | |||
781 | /** | ||
782 | * The feature id for the '<em><b>Number</b></em>' attribute. | ||
783 | * <!-- begin-user-doc --> | ||
784 | * <!-- end-user-doc --> | ||
785 | * @generated | ||
786 | * @ordered | ||
787 | */ | ||
788 | int ALS_STRING_SCOPE__NUMBER = ALS_TYPE_SCOPE__NUMBER; | ||
789 | |||
790 | /** | ||
791 | * The number of structural features of the '<em>ALS String Scope</em>' class. | ||
792 | * <!-- begin-user-doc --> | ||
793 | * <!-- end-user-doc --> | ||
794 | * @generated | ||
795 | * @ordered | ||
796 | */ | ||
797 | int ALS_STRING_SCOPE_FEATURE_COUNT = ALS_TYPE_SCOPE_FEATURE_COUNT + 0; | ||
798 | |||
799 | /** | ||
800 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl <em>ALS Quantified Ex</em>}' class. | ||
801 | * <!-- begin-user-doc --> | ||
802 | * <!-- end-user-doc --> | ||
803 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl | ||
804 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSQuantifiedEx() | ||
805 | * @generated | ||
806 | */ | ||
807 | int ALS_QUANTIFIED_EX = 19; | ||
808 | |||
809 | /** | ||
810 | * The feature id for the '<em><b>Type</b></em>' attribute. | ||
811 | * <!-- begin-user-doc --> | ||
812 | * <!-- end-user-doc --> | ||
813 | * @generated | ||
814 | * @ordered | ||
815 | */ | ||
816 | int ALS_QUANTIFIED_EX__TYPE = ALS_TERM_FEATURE_COUNT + 0; | ||
817 | |||
818 | /** | ||
819 | * The feature id for the '<em><b>Disj</b></em>' attribute. | ||
820 | * <!-- begin-user-doc --> | ||
821 | * <!-- end-user-doc --> | ||
822 | * @generated | ||
823 | * @ordered | ||
824 | */ | ||
825 | int ALS_QUANTIFIED_EX__DISJ = ALS_TERM_FEATURE_COUNT + 1; | ||
826 | |||
827 | /** | ||
828 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
829 | * <!-- begin-user-doc --> | ||
830 | * <!-- end-user-doc --> | ||
831 | * @generated | ||
832 | * @ordered | ||
833 | */ | ||
834 | int ALS_QUANTIFIED_EX__VARIABLES = ALS_TERM_FEATURE_COUNT + 2; | ||
835 | |||
836 | /** | ||
837 | * The feature id for the '<em><b>Expression</b></em>' containment reference. | ||
838 | * <!-- begin-user-doc --> | ||
839 | * <!-- end-user-doc --> | ||
840 | * @generated | ||
841 | * @ordered | ||
842 | */ | ||
843 | int ALS_QUANTIFIED_EX__EXPRESSION = ALS_TERM_FEATURE_COUNT + 3; | ||
844 | |||
845 | /** | ||
846 | * The number of structural features of the '<em>ALS Quantified Ex</em>' class. | ||
847 | * <!-- begin-user-doc --> | ||
848 | * <!-- end-user-doc --> | ||
849 | * @generated | ||
850 | * @ordered | ||
851 | */ | ||
852 | int ALS_QUANTIFIED_EX_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 4; | ||
853 | |||
854 | /** | ||
855 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl <em>ALS Or</em>}' class. | ||
856 | * <!-- begin-user-doc --> | ||
857 | * <!-- end-user-doc --> | ||
858 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl | ||
859 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOr() | ||
860 | * @generated | ||
861 | */ | ||
862 | int ALS_OR = 20; | ||
863 | |||
864 | /** | ||
865 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
866 | * <!-- begin-user-doc --> | ||
867 | * <!-- end-user-doc --> | ||
868 | * @generated | ||
869 | * @ordered | ||
870 | */ | ||
871 | int ALS_OR__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
872 | |||
873 | /** | ||
874 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
875 | * <!-- begin-user-doc --> | ||
876 | * <!-- end-user-doc --> | ||
877 | * @generated | ||
878 | * @ordered | ||
879 | */ | ||
880 | int ALS_OR__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
881 | |||
882 | /** | ||
883 | * The number of structural features of the '<em>ALS Or</em>' class. | ||
884 | * <!-- begin-user-doc --> | ||
885 | * <!-- end-user-doc --> | ||
886 | * @generated | ||
887 | * @ordered | ||
888 | */ | ||
889 | int ALS_OR_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
890 | |||
891 | /** | ||
892 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl <em>ALS Iff</em>}' class. | ||
893 | * <!-- begin-user-doc --> | ||
894 | * <!-- end-user-doc --> | ||
895 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl | ||
896 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIff() | ||
897 | * @generated | ||
898 | */ | ||
899 | int ALS_IFF = 21; | ||
900 | |||
901 | /** | ||
902 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
903 | * <!-- begin-user-doc --> | ||
904 | * <!-- end-user-doc --> | ||
905 | * @generated | ||
906 | * @ordered | ||
907 | */ | ||
908 | int ALS_IFF__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
909 | |||
910 | /** | ||
911 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
912 | * <!-- begin-user-doc --> | ||
913 | * <!-- end-user-doc --> | ||
914 | * @generated | ||
915 | * @ordered | ||
916 | */ | ||
917 | int ALS_IFF__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
918 | |||
919 | /** | ||
920 | * The number of structural features of the '<em>ALS Iff</em>' class. | ||
921 | * <!-- begin-user-doc --> | ||
922 | * <!-- end-user-doc --> | ||
923 | * @generated | ||
924 | * @ordered | ||
925 | */ | ||
926 | int ALS_IFF_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
927 | |||
928 | /** | ||
929 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl <em>ALS Impl</em>}' class. | ||
930 | * <!-- begin-user-doc --> | ||
931 | * <!-- end-user-doc --> | ||
932 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl | ||
933 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSImpl() | ||
934 | * @generated | ||
935 | */ | ||
936 | int ALS_IMPL = 22; | ||
937 | |||
938 | /** | ||
939 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
940 | * <!-- begin-user-doc --> | ||
941 | * <!-- end-user-doc --> | ||
942 | * @generated | ||
943 | * @ordered | ||
944 | */ | ||
945 | int ALS_IMPL__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
946 | |||
947 | /** | ||
948 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
949 | * <!-- begin-user-doc --> | ||
950 | * <!-- end-user-doc --> | ||
951 | * @generated | ||
952 | * @ordered | ||
953 | */ | ||
954 | int ALS_IMPL__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
955 | |||
956 | /** | ||
957 | * The feature id for the '<em><b>Else Operand</b></em>' containment reference. | ||
958 | * <!-- begin-user-doc --> | ||
959 | * <!-- end-user-doc --> | ||
960 | * @generated | ||
961 | * @ordered | ||
962 | */ | ||
963 | int ALS_IMPL__ELSE_OPERAND = ALS_TERM_FEATURE_COUNT + 2; | ||
964 | |||
965 | /** | ||
966 | * The number of structural features of the '<em>ALS Impl</em>' class. | ||
967 | * <!-- begin-user-doc --> | ||
968 | * <!-- end-user-doc --> | ||
969 | * @generated | ||
970 | * @ordered | ||
971 | */ | ||
972 | int ALS_IMPL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 3; | ||
973 | |||
974 | /** | ||
975 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl <em>ALS And</em>}' class. | ||
976 | * <!-- begin-user-doc --> | ||
977 | * <!-- end-user-doc --> | ||
978 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl | ||
979 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSAnd() | ||
980 | * @generated | ||
981 | */ | ||
982 | int ALS_AND = 23; | ||
983 | |||
984 | /** | ||
985 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
986 | * <!-- begin-user-doc --> | ||
987 | * <!-- end-user-doc --> | ||
988 | * @generated | ||
989 | * @ordered | ||
990 | */ | ||
991 | int ALS_AND__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
992 | |||
993 | /** | ||
994 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
995 | * <!-- begin-user-doc --> | ||
996 | * <!-- end-user-doc --> | ||
997 | * @generated | ||
998 | * @ordered | ||
999 | */ | ||
1000 | int ALS_AND__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1001 | |||
1002 | /** | ||
1003 | * The number of structural features of the '<em>ALS And</em>' class. | ||
1004 | * <!-- begin-user-doc --> | ||
1005 | * <!-- end-user-doc --> | ||
1006 | * @generated | ||
1007 | * @ordered | ||
1008 | */ | ||
1009 | int ALS_AND_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1010 | |||
1011 | /** | ||
1012 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl <em>ALS Equals</em>}' class. | ||
1013 | * <!-- begin-user-doc --> | ||
1014 | * <!-- end-user-doc --> | ||
1015 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl | ||
1016 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEquals() | ||
1017 | * @generated | ||
1018 | */ | ||
1019 | int ALS_EQUALS = 24; | ||
1020 | |||
1021 | /** | ||
1022 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1023 | * <!-- begin-user-doc --> | ||
1024 | * <!-- end-user-doc --> | ||
1025 | * @generated | ||
1026 | * @ordered | ||
1027 | */ | ||
1028 | int ALS_EQUALS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1029 | |||
1030 | /** | ||
1031 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1032 | * <!-- begin-user-doc --> | ||
1033 | * <!-- end-user-doc --> | ||
1034 | * @generated | ||
1035 | * @ordered | ||
1036 | */ | ||
1037 | int ALS_EQUALS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1038 | |||
1039 | /** | ||
1040 | * The number of structural features of the '<em>ALS Equals</em>' class. | ||
1041 | * <!-- begin-user-doc --> | ||
1042 | * <!-- end-user-doc --> | ||
1043 | * @generated | ||
1044 | * @ordered | ||
1045 | */ | ||
1046 | int ALS_EQUALS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1047 | |||
1048 | /** | ||
1049 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl <em>ALS Not Equals</em>}' class. | ||
1050 | * <!-- begin-user-doc --> | ||
1051 | * <!-- end-user-doc --> | ||
1052 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl | ||
1053 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNotEquals() | ||
1054 | * @generated | ||
1055 | */ | ||
1056 | int ALS_NOT_EQUALS = 25; | ||
1057 | |||
1058 | /** | ||
1059 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1060 | * <!-- begin-user-doc --> | ||
1061 | * <!-- end-user-doc --> | ||
1062 | * @generated | ||
1063 | * @ordered | ||
1064 | */ | ||
1065 | int ALS_NOT_EQUALS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1066 | |||
1067 | /** | ||
1068 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1069 | * <!-- begin-user-doc --> | ||
1070 | * <!-- end-user-doc --> | ||
1071 | * @generated | ||
1072 | * @ordered | ||
1073 | */ | ||
1074 | int ALS_NOT_EQUALS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1075 | |||
1076 | /** | ||
1077 | * The number of structural features of the '<em>ALS Not Equals</em>' class. | ||
1078 | * <!-- begin-user-doc --> | ||
1079 | * <!-- end-user-doc --> | ||
1080 | * @generated | ||
1081 | * @ordered | ||
1082 | */ | ||
1083 | int ALS_NOT_EQUALS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1084 | |||
1085 | /** | ||
1086 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl <em>ALS Subset</em>}' class. | ||
1087 | * <!-- begin-user-doc --> | ||
1088 | * <!-- end-user-doc --> | ||
1089 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl | ||
1090 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSubset() | ||
1091 | * @generated | ||
1092 | */ | ||
1093 | int ALS_SUBSET = 26; | ||
1094 | |||
1095 | /** | ||
1096 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1097 | * <!-- begin-user-doc --> | ||
1098 | * <!-- end-user-doc --> | ||
1099 | * @generated | ||
1100 | * @ordered | ||
1101 | */ | ||
1102 | int ALS_SUBSET__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1103 | |||
1104 | /** | ||
1105 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1106 | * <!-- begin-user-doc --> | ||
1107 | * <!-- end-user-doc --> | ||
1108 | * @generated | ||
1109 | * @ordered | ||
1110 | */ | ||
1111 | int ALS_SUBSET__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1112 | |||
1113 | /** | ||
1114 | * The number of structural features of the '<em>ALS Subset</em>' class. | ||
1115 | * <!-- begin-user-doc --> | ||
1116 | * <!-- end-user-doc --> | ||
1117 | * @generated | ||
1118 | * @ordered | ||
1119 | */ | ||
1120 | int ALS_SUBSET_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1121 | |||
1122 | /** | ||
1123 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl <em>ALS Less</em>}' class. | ||
1124 | * <!-- begin-user-doc --> | ||
1125 | * <!-- end-user-doc --> | ||
1126 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl | ||
1127 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLess() | ||
1128 | * @generated | ||
1129 | */ | ||
1130 | int ALS_LESS = 27; | ||
1131 | |||
1132 | /** | ||
1133 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * <!-- end-user-doc --> | ||
1136 | * @generated | ||
1137 | * @ordered | ||
1138 | */ | ||
1139 | int ALS_LESS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1140 | |||
1141 | /** | ||
1142 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1143 | * <!-- begin-user-doc --> | ||
1144 | * <!-- end-user-doc --> | ||
1145 | * @generated | ||
1146 | * @ordered | ||
1147 | */ | ||
1148 | int ALS_LESS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1149 | |||
1150 | /** | ||
1151 | * The number of structural features of the '<em>ALS Less</em>' class. | ||
1152 | * <!-- begin-user-doc --> | ||
1153 | * <!-- end-user-doc --> | ||
1154 | * @generated | ||
1155 | * @ordered | ||
1156 | */ | ||
1157 | int ALS_LESS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1158 | |||
1159 | /** | ||
1160 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl <em>ALS Leq</em>}' class. | ||
1161 | * <!-- begin-user-doc --> | ||
1162 | * <!-- end-user-doc --> | ||
1163 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl | ||
1164 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLeq() | ||
1165 | * @generated | ||
1166 | */ | ||
1167 | int ALS_LEQ = 28; | ||
1168 | |||
1169 | /** | ||
1170 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1171 | * <!-- begin-user-doc --> | ||
1172 | * <!-- end-user-doc --> | ||
1173 | * @generated | ||
1174 | * @ordered | ||
1175 | */ | ||
1176 | int ALS_LEQ__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1177 | |||
1178 | /** | ||
1179 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1180 | * <!-- begin-user-doc --> | ||
1181 | * <!-- end-user-doc --> | ||
1182 | * @generated | ||
1183 | * @ordered | ||
1184 | */ | ||
1185 | int ALS_LEQ__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1186 | |||
1187 | /** | ||
1188 | * The number of structural features of the '<em>ALS Leq</em>' class. | ||
1189 | * <!-- begin-user-doc --> | ||
1190 | * <!-- end-user-doc --> | ||
1191 | * @generated | ||
1192 | * @ordered | ||
1193 | */ | ||
1194 | int ALS_LEQ_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1195 | |||
1196 | /** | ||
1197 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl <em>ALS More</em>}' class. | ||
1198 | * <!-- begin-user-doc --> | ||
1199 | * <!-- end-user-doc --> | ||
1200 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl | ||
1201 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMore() | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | int ALS_MORE = 29; | ||
1205 | |||
1206 | /** | ||
1207 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1208 | * <!-- begin-user-doc --> | ||
1209 | * <!-- end-user-doc --> | ||
1210 | * @generated | ||
1211 | * @ordered | ||
1212 | */ | ||
1213 | int ALS_MORE__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1214 | |||
1215 | /** | ||
1216 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1217 | * <!-- begin-user-doc --> | ||
1218 | * <!-- end-user-doc --> | ||
1219 | * @generated | ||
1220 | * @ordered | ||
1221 | */ | ||
1222 | int ALS_MORE__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1223 | |||
1224 | /** | ||
1225 | * The number of structural features of the '<em>ALS More</em>' class. | ||
1226 | * <!-- begin-user-doc --> | ||
1227 | * <!-- end-user-doc --> | ||
1228 | * @generated | ||
1229 | * @ordered | ||
1230 | */ | ||
1231 | int ALS_MORE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1232 | |||
1233 | /** | ||
1234 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl <em>ALS Meq</em>}' class. | ||
1235 | * <!-- begin-user-doc --> | ||
1236 | * <!-- end-user-doc --> | ||
1237 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl | ||
1238 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMeq() | ||
1239 | * @generated | ||
1240 | */ | ||
1241 | int ALS_MEQ = 30; | ||
1242 | |||
1243 | /** | ||
1244 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1245 | * <!-- begin-user-doc --> | ||
1246 | * <!-- end-user-doc --> | ||
1247 | * @generated | ||
1248 | * @ordered | ||
1249 | */ | ||
1250 | int ALS_MEQ__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1251 | |||
1252 | /** | ||
1253 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1254 | * <!-- begin-user-doc --> | ||
1255 | * <!-- end-user-doc --> | ||
1256 | * @generated | ||
1257 | * @ordered | ||
1258 | */ | ||
1259 | int ALS_MEQ__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1260 | |||
1261 | /** | ||
1262 | * The number of structural features of the '<em>ALS Meq</em>' class. | ||
1263 | * <!-- begin-user-doc --> | ||
1264 | * <!-- end-user-doc --> | ||
1265 | * @generated | ||
1266 | * @ordered | ||
1267 | */ | ||
1268 | int ALS_MEQ_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1269 | |||
1270 | /** | ||
1271 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl <em>ALS Override</em>}' class. | ||
1272 | * <!-- begin-user-doc --> | ||
1273 | * <!-- end-user-doc --> | ||
1274 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl | ||
1275 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOverride() | ||
1276 | * @generated | ||
1277 | */ | ||
1278 | int ALS_OVERRIDE = 31; | ||
1279 | |||
1280 | /** | ||
1281 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1282 | * <!-- begin-user-doc --> | ||
1283 | * <!-- end-user-doc --> | ||
1284 | * @generated | ||
1285 | * @ordered | ||
1286 | */ | ||
1287 | int ALS_OVERRIDE__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1288 | |||
1289 | /** | ||
1290 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1291 | * <!-- begin-user-doc --> | ||
1292 | * <!-- end-user-doc --> | ||
1293 | * @generated | ||
1294 | * @ordered | ||
1295 | */ | ||
1296 | int ALS_OVERRIDE__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1297 | |||
1298 | /** | ||
1299 | * The number of structural features of the '<em>ALS Override</em>' class. | ||
1300 | * <!-- begin-user-doc --> | ||
1301 | * <!-- end-user-doc --> | ||
1302 | * @generated | ||
1303 | * @ordered | ||
1304 | */ | ||
1305 | int ALS_OVERRIDE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1306 | |||
1307 | /** | ||
1308 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl <em>ALS Range Restriction Right</em>}' class. | ||
1309 | * <!-- begin-user-doc --> | ||
1310 | * <!-- end-user-doc --> | ||
1311 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl | ||
1312 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionRight() | ||
1313 | * @generated | ||
1314 | */ | ||
1315 | int ALS_RANGE_RESTRICTION_RIGHT = 32; | ||
1316 | |||
1317 | /** | ||
1318 | * The feature id for the '<em><b>Relation</b></em>' containment reference. | ||
1319 | * <!-- begin-user-doc --> | ||
1320 | * <!-- end-user-doc --> | ||
1321 | * @generated | ||
1322 | * @ordered | ||
1323 | */ | ||
1324 | int ALS_RANGE_RESTRICTION_RIGHT__RELATION = ALS_TERM_FEATURE_COUNT + 0; | ||
1325 | |||
1326 | /** | ||
1327 | * The feature id for the '<em><b>Filter</b></em>' containment reference. | ||
1328 | * <!-- begin-user-doc --> | ||
1329 | * <!-- end-user-doc --> | ||
1330 | * @generated | ||
1331 | * @ordered | ||
1332 | */ | ||
1333 | int ALS_RANGE_RESTRICTION_RIGHT__FILTER = ALS_TERM_FEATURE_COUNT + 1; | ||
1334 | |||
1335 | /** | ||
1336 | * The number of structural features of the '<em>ALS Range Restriction Right</em>' class. | ||
1337 | * <!-- begin-user-doc --> | ||
1338 | * <!-- end-user-doc --> | ||
1339 | * @generated | ||
1340 | * @ordered | ||
1341 | */ | ||
1342 | int ALS_RANGE_RESTRICTION_RIGHT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1343 | |||
1344 | /** | ||
1345 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl <em>ALS Range Restriction Left</em>}' class. | ||
1346 | * <!-- begin-user-doc --> | ||
1347 | * <!-- end-user-doc --> | ||
1348 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl | ||
1349 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionLeft() | ||
1350 | * @generated | ||
1351 | */ | ||
1352 | int ALS_RANGE_RESTRICTION_LEFT = 33; | ||
1353 | |||
1354 | /** | ||
1355 | * The feature id for the '<em><b>Filter</b></em>' containment reference. | ||
1356 | * <!-- begin-user-doc --> | ||
1357 | * <!-- end-user-doc --> | ||
1358 | * @generated | ||
1359 | * @ordered | ||
1360 | */ | ||
1361 | int ALS_RANGE_RESTRICTION_LEFT__FILTER = ALS_TERM_FEATURE_COUNT + 0; | ||
1362 | |||
1363 | /** | ||
1364 | * The feature id for the '<em><b>Relation</b></em>' containment reference. | ||
1365 | * <!-- begin-user-doc --> | ||
1366 | * <!-- end-user-doc --> | ||
1367 | * @generated | ||
1368 | * @ordered | ||
1369 | */ | ||
1370 | int ALS_RANGE_RESTRICTION_LEFT__RELATION = ALS_TERM_FEATURE_COUNT + 1; | ||
1371 | |||
1372 | /** | ||
1373 | * The number of structural features of the '<em>ALS Range Restriction Left</em>' class. | ||
1374 | * <!-- begin-user-doc --> | ||
1375 | * <!-- end-user-doc --> | ||
1376 | * @generated | ||
1377 | * @ordered | ||
1378 | */ | ||
1379 | int ALS_RANGE_RESTRICTION_LEFT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1380 | |||
1381 | /** | ||
1382 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl <em>ALS Join</em>}' class. | ||
1383 | * <!-- begin-user-doc --> | ||
1384 | * <!-- end-user-doc --> | ||
1385 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl | ||
1386 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSJoin() | ||
1387 | * @generated | ||
1388 | */ | ||
1389 | int ALS_JOIN = 34; | ||
1390 | |||
1391 | /** | ||
1392 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1393 | * <!-- begin-user-doc --> | ||
1394 | * <!-- end-user-doc --> | ||
1395 | * @generated | ||
1396 | * @ordered | ||
1397 | */ | ||
1398 | int ALS_JOIN__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1399 | |||
1400 | /** | ||
1401 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1402 | * <!-- begin-user-doc --> | ||
1403 | * <!-- end-user-doc --> | ||
1404 | * @generated | ||
1405 | * @ordered | ||
1406 | */ | ||
1407 | int ALS_JOIN__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1408 | |||
1409 | /** | ||
1410 | * The number of structural features of the '<em>ALS Join</em>' class. | ||
1411 | * <!-- begin-user-doc --> | ||
1412 | * <!-- end-user-doc --> | ||
1413 | * @generated | ||
1414 | * @ordered | ||
1415 | */ | ||
1416 | int ALS_JOIN_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1417 | |||
1418 | /** | ||
1419 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl <em>ALS Minus</em>}' class. | ||
1420 | * <!-- begin-user-doc --> | ||
1421 | * <!-- end-user-doc --> | ||
1422 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl | ||
1423 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMinus() | ||
1424 | * @generated | ||
1425 | */ | ||
1426 | int ALS_MINUS = 35; | ||
1427 | |||
1428 | /** | ||
1429 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1430 | * <!-- begin-user-doc --> | ||
1431 | * <!-- end-user-doc --> | ||
1432 | * @generated | ||
1433 | * @ordered | ||
1434 | */ | ||
1435 | int ALS_MINUS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1436 | |||
1437 | /** | ||
1438 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1439 | * <!-- begin-user-doc --> | ||
1440 | * <!-- end-user-doc --> | ||
1441 | * @generated | ||
1442 | * @ordered | ||
1443 | */ | ||
1444 | int ALS_MINUS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1445 | |||
1446 | /** | ||
1447 | * The number of structural features of the '<em>ALS Minus</em>' class. | ||
1448 | * <!-- begin-user-doc --> | ||
1449 | * <!-- end-user-doc --> | ||
1450 | * @generated | ||
1451 | * @ordered | ||
1452 | */ | ||
1453 | int ALS_MINUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1454 | |||
1455 | /** | ||
1456 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl <em>ALS Plus</em>}' class. | ||
1457 | * <!-- begin-user-doc --> | ||
1458 | * <!-- end-user-doc --> | ||
1459 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl | ||
1460 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSPlus() | ||
1461 | * @generated | ||
1462 | */ | ||
1463 | int ALS_PLUS = 36; | ||
1464 | |||
1465 | /** | ||
1466 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1467 | * <!-- begin-user-doc --> | ||
1468 | * <!-- end-user-doc --> | ||
1469 | * @generated | ||
1470 | * @ordered | ||
1471 | */ | ||
1472 | int ALS_PLUS__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1473 | |||
1474 | /** | ||
1475 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1476 | * <!-- begin-user-doc --> | ||
1477 | * <!-- end-user-doc --> | ||
1478 | * @generated | ||
1479 | * @ordered | ||
1480 | */ | ||
1481 | int ALS_PLUS__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1482 | |||
1483 | /** | ||
1484 | * The number of structural features of the '<em>ALS Plus</em>' class. | ||
1485 | * <!-- begin-user-doc --> | ||
1486 | * <!-- end-user-doc --> | ||
1487 | * @generated | ||
1488 | * @ordered | ||
1489 | */ | ||
1490 | int ALS_PLUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1491 | |||
1492 | /** | ||
1493 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl <em>ALS Intersection</em>}' class. | ||
1494 | * <!-- begin-user-doc --> | ||
1495 | * <!-- end-user-doc --> | ||
1496 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl | ||
1497 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntersection() | ||
1498 | * @generated | ||
1499 | */ | ||
1500 | int ALS_INTERSECTION = 37; | ||
1501 | |||
1502 | /** | ||
1503 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1504 | * <!-- begin-user-doc --> | ||
1505 | * <!-- end-user-doc --> | ||
1506 | * @generated | ||
1507 | * @ordered | ||
1508 | */ | ||
1509 | int ALS_INTERSECTION__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1510 | |||
1511 | /** | ||
1512 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1513 | * <!-- begin-user-doc --> | ||
1514 | * <!-- end-user-doc --> | ||
1515 | * @generated | ||
1516 | * @ordered | ||
1517 | */ | ||
1518 | int ALS_INTERSECTION__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 1; | ||
1519 | |||
1520 | /** | ||
1521 | * The number of structural features of the '<em>ALS Intersection</em>' class. | ||
1522 | * <!-- begin-user-doc --> | ||
1523 | * <!-- end-user-doc --> | ||
1524 | * @generated | ||
1525 | * @ordered | ||
1526 | */ | ||
1527 | int ALS_INTERSECTION_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1528 | |||
1529 | /** | ||
1530 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl <em>ALS Direct Product</em>}' class. | ||
1531 | * <!-- begin-user-doc --> | ||
1532 | * <!-- end-user-doc --> | ||
1533 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl | ||
1534 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDirectProduct() | ||
1535 | * @generated | ||
1536 | */ | ||
1537 | int ALS_DIRECT_PRODUCT = 38; | ||
1538 | |||
1539 | /** | ||
1540 | * The feature id for the '<em><b>Left Operand</b></em>' containment reference. | ||
1541 | * <!-- begin-user-doc --> | ||
1542 | * <!-- end-user-doc --> | ||
1543 | * @generated | ||
1544 | * @ordered | ||
1545 | */ | ||
1546 | int ALS_DIRECT_PRODUCT__LEFT_OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1547 | |||
1548 | /** | ||
1549 | * The feature id for the '<em><b>Left Multiplicit</b></em>' attribute. | ||
1550 | * <!-- begin-user-doc --> | ||
1551 | * <!-- end-user-doc --> | ||
1552 | * @generated | ||
1553 | * @ordered | ||
1554 | */ | ||
1555 | int ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT = ALS_TERM_FEATURE_COUNT + 1; | ||
1556 | |||
1557 | /** | ||
1558 | * The feature id for the '<em><b>Right Multiplicit</b></em>' attribute. | ||
1559 | * <!-- begin-user-doc --> | ||
1560 | * <!-- end-user-doc --> | ||
1561 | * @generated | ||
1562 | * @ordered | ||
1563 | */ | ||
1564 | int ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT = ALS_TERM_FEATURE_COUNT + 2; | ||
1565 | |||
1566 | /** | ||
1567 | * The feature id for the '<em><b>Right Operand</b></em>' containment reference. | ||
1568 | * <!-- begin-user-doc --> | ||
1569 | * <!-- end-user-doc --> | ||
1570 | * @generated | ||
1571 | * @ordered | ||
1572 | */ | ||
1573 | int ALS_DIRECT_PRODUCT__RIGHT_OPERAND = ALS_TERM_FEATURE_COUNT + 3; | ||
1574 | |||
1575 | /** | ||
1576 | * The number of structural features of the '<em>ALS Direct Product</em>' class. | ||
1577 | * <!-- begin-user-doc --> | ||
1578 | * <!-- end-user-doc --> | ||
1579 | * @generated | ||
1580 | * @ordered | ||
1581 | */ | ||
1582 | int ALS_DIRECT_PRODUCT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 4; | ||
1583 | |||
1584 | /** | ||
1585 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl <em>ALS Not</em>}' class. | ||
1586 | * <!-- begin-user-doc --> | ||
1587 | * <!-- end-user-doc --> | ||
1588 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl | ||
1589 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNot() | ||
1590 | * @generated | ||
1591 | */ | ||
1592 | int ALS_NOT = 39; | ||
1593 | |||
1594 | /** | ||
1595 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1596 | * <!-- begin-user-doc --> | ||
1597 | * <!-- end-user-doc --> | ||
1598 | * @generated | ||
1599 | * @ordered | ||
1600 | */ | ||
1601 | int ALS_NOT__OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1602 | |||
1603 | /** | ||
1604 | * The number of structural features of the '<em>ALS Not</em>' class. | ||
1605 | * <!-- begin-user-doc --> | ||
1606 | * <!-- end-user-doc --> | ||
1607 | * @generated | ||
1608 | * @ordered | ||
1609 | */ | ||
1610 | int ALS_NOT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1611 | |||
1612 | /** | ||
1613 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl <em>ALS Inverse Relation</em>}' class. | ||
1614 | * <!-- begin-user-doc --> | ||
1615 | * <!-- end-user-doc --> | ||
1616 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl | ||
1617 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInverseRelation() | ||
1618 | * @generated | ||
1619 | */ | ||
1620 | int ALS_INVERSE_RELATION = 40; | ||
1621 | |||
1622 | /** | ||
1623 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1624 | * <!-- begin-user-doc --> | ||
1625 | * <!-- end-user-doc --> | ||
1626 | * @generated | ||
1627 | * @ordered | ||
1628 | */ | ||
1629 | int ALS_INVERSE_RELATION__OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1630 | |||
1631 | /** | ||
1632 | * The number of structural features of the '<em>ALS Inverse Relation</em>' class. | ||
1633 | * <!-- begin-user-doc --> | ||
1634 | * <!-- end-user-doc --> | ||
1635 | * @generated | ||
1636 | * @ordered | ||
1637 | */ | ||
1638 | int ALS_INVERSE_RELATION_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1639 | |||
1640 | /** | ||
1641 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl <em>Al STransitive Closure</em>}' class. | ||
1642 | * <!-- begin-user-doc --> | ||
1643 | * <!-- end-user-doc --> | ||
1644 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl | ||
1645 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getAlSTransitiveClosure() | ||
1646 | * @generated | ||
1647 | */ | ||
1648 | int AL_STRANSITIVE_CLOSURE = 41; | ||
1649 | |||
1650 | /** | ||
1651 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1652 | * <!-- begin-user-doc --> | ||
1653 | * <!-- end-user-doc --> | ||
1654 | * @generated | ||
1655 | * @ordered | ||
1656 | */ | ||
1657 | int AL_STRANSITIVE_CLOSURE__OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1658 | |||
1659 | /** | ||
1660 | * The number of structural features of the '<em>Al STransitive Closure</em>' class. | ||
1661 | * <!-- begin-user-doc --> | ||
1662 | * <!-- end-user-doc --> | ||
1663 | * @generated | ||
1664 | * @ordered | ||
1665 | */ | ||
1666 | int AL_STRANSITIVE_CLOSURE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1667 | |||
1668 | /** | ||
1669 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl <em>ALS Reflective Transitive Closure</em>}' class. | ||
1670 | * <!-- begin-user-doc --> | ||
1671 | * <!-- end-user-doc --> | ||
1672 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl | ||
1673 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReflectiveTransitiveClosure() | ||
1674 | * @generated | ||
1675 | */ | ||
1676 | int ALS_REFLECTIVE_TRANSITIVE_CLOSURE = 42; | ||
1677 | |||
1678 | /** | ||
1679 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1680 | * <!-- begin-user-doc --> | ||
1681 | * <!-- end-user-doc --> | ||
1682 | * @generated | ||
1683 | * @ordered | ||
1684 | */ | ||
1685 | int ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1686 | |||
1687 | /** | ||
1688 | * The number of structural features of the '<em>ALS Reflective Transitive Closure</em>' class. | ||
1689 | * <!-- begin-user-doc --> | ||
1690 | * <!-- end-user-doc --> | ||
1691 | * @generated | ||
1692 | * @ordered | ||
1693 | */ | ||
1694 | int ALS_REFLECTIVE_TRANSITIVE_CLOSURE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1695 | |||
1696 | /** | ||
1697 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl <em>ALS Cardinality</em>}' class. | ||
1698 | * <!-- begin-user-doc --> | ||
1699 | * <!-- end-user-doc --> | ||
1700 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl | ||
1701 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSCardinality() | ||
1702 | * @generated | ||
1703 | */ | ||
1704 | int ALS_CARDINALITY = 43; | ||
1705 | |||
1706 | /** | ||
1707 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1708 | * <!-- begin-user-doc --> | ||
1709 | * <!-- end-user-doc --> | ||
1710 | * @generated | ||
1711 | * @ordered | ||
1712 | */ | ||
1713 | int ALS_CARDINALITY__OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1714 | |||
1715 | /** | ||
1716 | * The number of structural features of the '<em>ALS Cardinality</em>' class. | ||
1717 | * <!-- begin-user-doc --> | ||
1718 | * <!-- end-user-doc --> | ||
1719 | * @generated | ||
1720 | * @ordered | ||
1721 | */ | ||
1722 | int ALS_CARDINALITY_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1723 | |||
1724 | /** | ||
1725 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl <em>ALS Unary Minus</em>}' class. | ||
1726 | * <!-- begin-user-doc --> | ||
1727 | * <!-- end-user-doc --> | ||
1728 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl | ||
1729 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUnaryMinus() | ||
1730 | * @generated | ||
1731 | */ | ||
1732 | int ALS_UNARY_MINUS = 44; | ||
1733 | |||
1734 | /** | ||
1735 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | ||
1736 | * <!-- begin-user-doc --> | ||
1737 | * <!-- end-user-doc --> | ||
1738 | * @generated | ||
1739 | * @ordered | ||
1740 | */ | ||
1741 | int ALS_UNARY_MINUS__OPERAND = ALS_TERM_FEATURE_COUNT + 0; | ||
1742 | |||
1743 | /** | ||
1744 | * The number of structural features of the '<em>ALS Unary Minus</em>' class. | ||
1745 | * <!-- begin-user-doc --> | ||
1746 | * <!-- end-user-doc --> | ||
1747 | * @generated | ||
1748 | * @ordered | ||
1749 | */ | ||
1750 | int ALS_UNARY_MINUS_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1751 | |||
1752 | /** | ||
1753 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl <em>ALS Sum</em>}' class. | ||
1754 | * <!-- begin-user-doc --> | ||
1755 | * <!-- end-user-doc --> | ||
1756 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl | ||
1757 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSum() | ||
1758 | * @generated | ||
1759 | */ | ||
1760 | int ALS_SUM = 45; | ||
1761 | |||
1762 | /** | ||
1763 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | ||
1764 | * <!-- begin-user-doc --> | ||
1765 | * <!-- end-user-doc --> | ||
1766 | * @generated | ||
1767 | * @ordered | ||
1768 | */ | ||
1769 | int ALS_SUM__VARIABLES = ALS_TERM_FEATURE_COUNT + 0; | ||
1770 | |||
1771 | /** | ||
1772 | * The feature id for the '<em><b>Expression</b></em>' containment reference. | ||
1773 | * <!-- begin-user-doc --> | ||
1774 | * <!-- end-user-doc --> | ||
1775 | * @generated | ||
1776 | * @ordered | ||
1777 | */ | ||
1778 | int ALS_SUM__EXPRESSION = ALS_TERM_FEATURE_COUNT + 1; | ||
1779 | |||
1780 | /** | ||
1781 | * The number of structural features of the '<em>ALS Sum</em>' class. | ||
1782 | * <!-- begin-user-doc --> | ||
1783 | * <!-- end-user-doc --> | ||
1784 | * @generated | ||
1785 | * @ordered | ||
1786 | */ | ||
1787 | int ALS_SUM_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 2; | ||
1788 | |||
1789 | /** | ||
1790 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl <em>ALS Function Call</em>}' class. | ||
1791 | * <!-- begin-user-doc --> | ||
1792 | * <!-- end-user-doc --> | ||
1793 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl | ||
1794 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionCall() | ||
1795 | * @generated | ||
1796 | */ | ||
1797 | int ALS_FUNCTION_CALL = 46; | ||
1798 | |||
1799 | /** | ||
1800 | * The feature id for the '<em><b>Referred Definition</b></em>' reference. | ||
1801 | * <!-- begin-user-doc --> | ||
1802 | * <!-- end-user-doc --> | ||
1803 | * @generated | ||
1804 | * @ordered | ||
1805 | */ | ||
1806 | int ALS_FUNCTION_CALL__REFERRED_DEFINITION = ALS_TERM_FEATURE_COUNT + 0; | ||
1807 | |||
1808 | /** | ||
1809 | * The feature id for the '<em><b>Referred Numeric Operator</b></em>' attribute. | ||
1810 | * <!-- begin-user-doc --> | ||
1811 | * <!-- end-user-doc --> | ||
1812 | * @generated | ||
1813 | * @ordered | ||
1814 | */ | ||
1815 | int ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR = ALS_TERM_FEATURE_COUNT + 1; | ||
1816 | |||
1817 | /** | ||
1818 | * The feature id for the '<em><b>Params</b></em>' containment reference list. | ||
1819 | * <!-- begin-user-doc --> | ||
1820 | * <!-- end-user-doc --> | ||
1821 | * @generated | ||
1822 | * @ordered | ||
1823 | */ | ||
1824 | int ALS_FUNCTION_CALL__PARAMS = ALS_TERM_FEATURE_COUNT + 2; | ||
1825 | |||
1826 | /** | ||
1827 | * The number of structural features of the '<em>ALS Function Call</em>' class. | ||
1828 | * <!-- begin-user-doc --> | ||
1829 | * <!-- end-user-doc --> | ||
1830 | * @generated | ||
1831 | * @ordered | ||
1832 | */ | ||
1833 | int ALS_FUNCTION_CALL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 3; | ||
1834 | |||
1835 | /** | ||
1836 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl <em>ALS None</em>}' class. | ||
1837 | * <!-- begin-user-doc --> | ||
1838 | * <!-- end-user-doc --> | ||
1839 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl | ||
1840 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNone() | ||
1841 | * @generated | ||
1842 | */ | ||
1843 | int ALS_NONE = 47; | ||
1844 | |||
1845 | /** | ||
1846 | * The number of structural features of the '<em>ALS None</em>' class. | ||
1847 | * <!-- begin-user-doc --> | ||
1848 | * <!-- end-user-doc --> | ||
1849 | * @generated | ||
1850 | * @ordered | ||
1851 | */ | ||
1852 | int ALS_NONE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0; | ||
1853 | |||
1854 | /** | ||
1855 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl <em>ALS Iden</em>}' class. | ||
1856 | * <!-- begin-user-doc --> | ||
1857 | * <!-- end-user-doc --> | ||
1858 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl | ||
1859 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIden() | ||
1860 | * @generated | ||
1861 | */ | ||
1862 | int ALS_IDEN = 48; | ||
1863 | |||
1864 | /** | ||
1865 | * The number of structural features of the '<em>ALS Iden</em>' class. | ||
1866 | * <!-- begin-user-doc --> | ||
1867 | * <!-- end-user-doc --> | ||
1868 | * @generated | ||
1869 | * @ordered | ||
1870 | */ | ||
1871 | int ALS_IDEN_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0; | ||
1872 | |||
1873 | /** | ||
1874 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl <em>ALS Univ</em>}' class. | ||
1875 | * <!-- begin-user-doc --> | ||
1876 | * <!-- end-user-doc --> | ||
1877 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl | ||
1878 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUniv() | ||
1879 | * @generated | ||
1880 | */ | ||
1881 | int ALS_UNIV = 49; | ||
1882 | |||
1883 | /** | ||
1884 | * The number of structural features of the '<em>ALS Univ</em>' class. | ||
1885 | * <!-- begin-user-doc --> | ||
1886 | * <!-- end-user-doc --> | ||
1887 | * @generated | ||
1888 | * @ordered | ||
1889 | */ | ||
1890 | int ALS_UNIV_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0; | ||
1891 | |||
1892 | /** | ||
1893 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl <em>ALS Int</em>}' class. | ||
1894 | * <!-- begin-user-doc --> | ||
1895 | * <!-- end-user-doc --> | ||
1896 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl | ||
1897 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInt() | ||
1898 | * @generated | ||
1899 | */ | ||
1900 | int ALS_INT = 50; | ||
1901 | |||
1902 | /** | ||
1903 | * The number of structural features of the '<em>ALS Int</em>' class. | ||
1904 | * <!-- begin-user-doc --> | ||
1905 | * <!-- end-user-doc --> | ||
1906 | * @generated | ||
1907 | * @ordered | ||
1908 | */ | ||
1909 | int ALS_INT_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0; | ||
1910 | |||
1911 | /** | ||
1912 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl <em>ALS String</em>}' class. | ||
1913 | * <!-- begin-user-doc --> | ||
1914 | * <!-- end-user-doc --> | ||
1915 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl | ||
1916 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSString() | ||
1917 | * @generated | ||
1918 | */ | ||
1919 | int ALS_STRING = 51; | ||
1920 | |||
1921 | /** | ||
1922 | * The number of structural features of the '<em>ALS String</em>' class. | ||
1923 | * <!-- begin-user-doc --> | ||
1924 | * <!-- end-user-doc --> | ||
1925 | * @generated | ||
1926 | * @ordered | ||
1927 | */ | ||
1928 | int ALS_STRING_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 0; | ||
1929 | |||
1930 | /** | ||
1931 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl <em>ALS Reference</em>}' class. | ||
1932 | * <!-- begin-user-doc --> | ||
1933 | * <!-- end-user-doc --> | ||
1934 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl | ||
1935 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReference() | ||
1936 | * @generated | ||
1937 | */ | ||
1938 | int ALS_REFERENCE = 52; | ||
1939 | |||
1940 | /** | ||
1941 | * The feature id for the '<em><b>Referred</b></em>' reference. | ||
1942 | * <!-- begin-user-doc --> | ||
1943 | * <!-- end-user-doc --> | ||
1944 | * @generated | ||
1945 | * @ordered | ||
1946 | */ | ||
1947 | int ALS_REFERENCE__REFERRED = ALS_TERM_FEATURE_COUNT + 0; | ||
1948 | |||
1949 | /** | ||
1950 | * The number of structural features of the '<em>ALS Reference</em>' class. | ||
1951 | * <!-- begin-user-doc --> | ||
1952 | * <!-- end-user-doc --> | ||
1953 | * @generated | ||
1954 | * @ordered | ||
1955 | */ | ||
1956 | int ALS_REFERENCE_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1957 | |||
1958 | /** | ||
1959 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl <em>ALS Number Literal</em>}' class. | ||
1960 | * <!-- begin-user-doc --> | ||
1961 | * <!-- end-user-doc --> | ||
1962 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl | ||
1963 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumberLiteral() | ||
1964 | * @generated | ||
1965 | */ | ||
1966 | int ALS_NUMBER_LITERAL = 53; | ||
1967 | |||
1968 | /** | ||
1969 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
1970 | * <!-- begin-user-doc --> | ||
1971 | * <!-- end-user-doc --> | ||
1972 | * @generated | ||
1973 | * @ordered | ||
1974 | */ | ||
1975 | int ALS_NUMBER_LITERAL__VALUE = ALS_TERM_FEATURE_COUNT + 0; | ||
1976 | |||
1977 | /** | ||
1978 | * The number of structural features of the '<em>ALS Number Literal</em>' class. | ||
1979 | * <!-- begin-user-doc --> | ||
1980 | * <!-- end-user-doc --> | ||
1981 | * @generated | ||
1982 | * @ordered | ||
1983 | */ | ||
1984 | int ALS_NUMBER_LITERAL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
1985 | |||
1986 | /** | ||
1987 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl <em>ALS String Literal</em>}' class. | ||
1988 | * <!-- begin-user-doc --> | ||
1989 | * <!-- end-user-doc --> | ||
1990 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl | ||
1991 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringLiteral() | ||
1992 | * @generated | ||
1993 | */ | ||
1994 | int ALS_STRING_LITERAL = 54; | ||
1995 | |||
1996 | /** | ||
1997 | * The feature id for the '<em><b>Value</b></em>' attribute. | ||
1998 | * <!-- begin-user-doc --> | ||
1999 | * <!-- end-user-doc --> | ||
2000 | * @generated | ||
2001 | * @ordered | ||
2002 | */ | ||
2003 | int ALS_STRING_LITERAL__VALUE = ALS_TERM_FEATURE_COUNT + 0; | ||
2004 | |||
2005 | /** | ||
2006 | * The number of structural features of the '<em>ALS String Literal</em>' class. | ||
2007 | * <!-- begin-user-doc --> | ||
2008 | * <!-- end-user-doc --> | ||
2009 | * @generated | ||
2010 | * @ordered | ||
2011 | */ | ||
2012 | int ALS_STRING_LITERAL_FEATURE_COUNT = ALS_TERM_FEATURE_COUNT + 1; | ||
2013 | |||
2014 | /** | ||
2015 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}' enum. | ||
2016 | * <!-- begin-user-doc --> | ||
2017 | * <!-- end-user-doc --> | ||
2018 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
2019 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMultiplicity() | ||
2020 | * @generated | ||
2021 | */ | ||
2022 | int ALS_MULTIPLICITY = 55; | ||
2023 | |||
2024 | /** | ||
2025 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}' enum. | ||
2026 | * <!-- begin-user-doc --> | ||
2027 | * <!-- end-user-doc --> | ||
2028 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator | ||
2029 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumericOperator() | ||
2030 | * @generated | ||
2031 | */ | ||
2032 | int ALS_NUMERIC_OPERATOR = 56; | ||
2033 | |||
2034 | |||
2035 | /** | ||
2036 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument <em>ALS Document</em>}'. | ||
2037 | * <!-- begin-user-doc --> | ||
2038 | * <!-- end-user-doc --> | ||
2039 | * @return the meta object for class '<em>ALS Document</em>'. | ||
2040 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument | ||
2041 | * @generated | ||
2042 | */ | ||
2043 | EClass getALSDocument(); | ||
2044 | |||
2045 | /** | ||
2046 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations <em>Enum Declarations</em>}'. | ||
2047 | * <!-- begin-user-doc --> | ||
2048 | * <!-- end-user-doc --> | ||
2049 | * @return the meta object for the containment reference list '<em>Enum Declarations</em>'. | ||
2050 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getEnumDeclarations() | ||
2051 | * @see #getALSDocument() | ||
2052 | * @generated | ||
2053 | */ | ||
2054 | EReference getALSDocument_EnumDeclarations(); | ||
2055 | |||
2056 | /** | ||
2057 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies <em>Signature Bodies</em>}'. | ||
2058 | * <!-- begin-user-doc --> | ||
2059 | * <!-- end-user-doc --> | ||
2060 | * @return the meta object for the containment reference list '<em>Signature Bodies</em>'. | ||
2061 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getSignatureBodies() | ||
2062 | * @see #getALSDocument() | ||
2063 | * @generated | ||
2064 | */ | ||
2065 | EReference getALSDocument_SignatureBodies(); | ||
2066 | |||
2067 | /** | ||
2068 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions <em>Function Definitions</em>}'. | ||
2069 | * <!-- begin-user-doc --> | ||
2070 | * <!-- end-user-doc --> | ||
2071 | * @return the meta object for the containment reference list '<em>Function Definitions</em>'. | ||
2072 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFunctionDefinitions() | ||
2073 | * @see #getALSDocument() | ||
2074 | * @generated | ||
2075 | */ | ||
2076 | EReference getALSDocument_FunctionDefinitions(); | ||
2077 | |||
2078 | /** | ||
2079 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions <em>Relation Definitions</em>}'. | ||
2080 | * <!-- begin-user-doc --> | ||
2081 | * <!-- end-user-doc --> | ||
2082 | * @return the meta object for the containment reference list '<em>Relation Definitions</em>'. | ||
2083 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRelationDefinitions() | ||
2084 | * @see #getALSDocument() | ||
2085 | * @generated | ||
2086 | */ | ||
2087 | EReference getALSDocument_RelationDefinitions(); | ||
2088 | |||
2089 | /** | ||
2090 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations <em>Fact Declarations</em>}'. | ||
2091 | * <!-- begin-user-doc --> | ||
2092 | * <!-- end-user-doc --> | ||
2093 | * @return the meta object for the containment reference list '<em>Fact Declarations</em>'. | ||
2094 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getFactDeclarations() | ||
2095 | * @see #getALSDocument() | ||
2096 | * @generated | ||
2097 | */ | ||
2098 | EReference getALSDocument_FactDeclarations(); | ||
2099 | |||
2100 | /** | ||
2101 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand <em>Run Command</em>}'. | ||
2102 | * <!-- begin-user-doc --> | ||
2103 | * <!-- end-user-doc --> | ||
2104 | * @return the meta object for the containment reference '<em>Run Command</em>'. | ||
2105 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument#getRunCommand() | ||
2106 | * @see #getALSDocument() | ||
2107 | * @generated | ||
2108 | */ | ||
2109 | EReference getALSDocument_RunCommand(); | ||
2110 | |||
2111 | /** | ||
2112 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration <em>ALS Relation Declaration</em>}'. | ||
2113 | * <!-- begin-user-doc --> | ||
2114 | * <!-- end-user-doc --> | ||
2115 | * @return the meta object for class '<em>ALS Relation Declaration</em>'. | ||
2116 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration | ||
2117 | * @generated | ||
2118 | */ | ||
2119 | EClass getALSRelationDeclaration(); | ||
2120 | |||
2121 | /** | ||
2122 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName <em>Name</em>}'. | ||
2123 | * <!-- begin-user-doc --> | ||
2124 | * <!-- end-user-doc --> | ||
2125 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2126 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration#getName() | ||
2127 | * @see #getALSRelationDeclaration() | ||
2128 | * @generated | ||
2129 | */ | ||
2130 | EAttribute getALSRelationDeclaration_Name(); | ||
2131 | |||
2132 | /** | ||
2133 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration <em>ALS Type Declaration</em>}'. | ||
2134 | * <!-- begin-user-doc --> | ||
2135 | * <!-- end-user-doc --> | ||
2136 | * @return the meta object for class '<em>ALS Type Declaration</em>'. | ||
2137 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration | ||
2138 | * @generated | ||
2139 | */ | ||
2140 | EClass getALSTypeDeclaration(); | ||
2141 | |||
2142 | /** | ||
2143 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration <em>ALS Enum Declaration</em>}'. | ||
2144 | * <!-- begin-user-doc --> | ||
2145 | * <!-- end-user-doc --> | ||
2146 | * @return the meta object for class '<em>ALS Enum Declaration</em>'. | ||
2147 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration | ||
2148 | * @generated | ||
2149 | */ | ||
2150 | EClass getALSEnumDeclaration(); | ||
2151 | |||
2152 | /** | ||
2153 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral <em>Literal</em>}'. | ||
2154 | * <!-- begin-user-doc --> | ||
2155 | * <!-- end-user-doc --> | ||
2156 | * @return the meta object for the containment reference list '<em>Literal</em>'. | ||
2157 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration#getLiteral() | ||
2158 | * @see #getALSEnumDeclaration() | ||
2159 | * @generated | ||
2160 | */ | ||
2161 | EReference getALSEnumDeclaration_Literal(); | ||
2162 | |||
2163 | /** | ||
2164 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral <em>ALS Enum Literal</em>}'. | ||
2165 | * <!-- begin-user-doc --> | ||
2166 | * <!-- end-user-doc --> | ||
2167 | * @return the meta object for class '<em>ALS Enum Literal</em>'. | ||
2168 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral | ||
2169 | * @generated | ||
2170 | */ | ||
2171 | EClass getALSEnumLiteral(); | ||
2172 | |||
2173 | /** | ||
2174 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration <em>ALS Signature Declaration</em>}'. | ||
2175 | * <!-- begin-user-doc --> | ||
2176 | * <!-- end-user-doc --> | ||
2177 | * @return the meta object for class '<em>ALS Signature Declaration</em>'. | ||
2178 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration | ||
2179 | * @generated | ||
2180 | */ | ||
2181 | EClass getALSSignatureDeclaration(); | ||
2182 | |||
2183 | /** | ||
2184 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody <em>ALS Signature Body</em>}'. | ||
2185 | * <!-- begin-user-doc --> | ||
2186 | * <!-- end-user-doc --> | ||
2187 | * @return the meta object for class '<em>ALS Signature Body</em>'. | ||
2188 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody | ||
2189 | * @generated | ||
2190 | */ | ||
2191 | EClass getALSSignatureBody(); | ||
2192 | |||
2193 | /** | ||
2194 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity <em>Multiplicity</em>}'. | ||
2195 | * <!-- begin-user-doc --> | ||
2196 | * <!-- end-user-doc --> | ||
2197 | * @return the meta object for the attribute '<em>Multiplicity</em>'. | ||
2198 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getMultiplicity() | ||
2199 | * @see #getALSSignatureBody() | ||
2200 | * @generated | ||
2201 | */ | ||
2202 | EAttribute getALSSignatureBody_Multiplicity(); | ||
2203 | |||
2204 | /** | ||
2205 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract <em>Abstract</em>}'. | ||
2206 | * <!-- begin-user-doc --> | ||
2207 | * <!-- end-user-doc --> | ||
2208 | * @return the meta object for the attribute '<em>Abstract</em>'. | ||
2209 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#isAbstract() | ||
2210 | * @see #getALSSignatureBody() | ||
2211 | * @generated | ||
2212 | */ | ||
2213 | EAttribute getALSSignatureBody_Abstract(); | ||
2214 | |||
2215 | /** | ||
2216 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations <em>Declarations</em>}'. | ||
2217 | * <!-- begin-user-doc --> | ||
2218 | * <!-- end-user-doc --> | ||
2219 | * @return the meta object for the containment reference list '<em>Declarations</em>'. | ||
2220 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getDeclarations() | ||
2221 | * @see #getALSSignatureBody() | ||
2222 | * @generated | ||
2223 | */ | ||
2224 | EReference getALSSignatureBody_Declarations(); | ||
2225 | |||
2226 | /** | ||
2227 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype <em>Supertype</em>}'. | ||
2228 | * <!-- begin-user-doc --> | ||
2229 | * <!-- end-user-doc --> | ||
2230 | * @return the meta object for the reference '<em>Supertype</em>'. | ||
2231 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSupertype() | ||
2232 | * @see #getALSSignatureBody() | ||
2233 | * @generated | ||
2234 | */ | ||
2235 | EReference getALSSignatureBody_Supertype(); | ||
2236 | |||
2237 | /** | ||
2238 | * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset <em>Superset</em>}'. | ||
2239 | * <!-- begin-user-doc --> | ||
2240 | * <!-- end-user-doc --> | ||
2241 | * @return the meta object for the reference list '<em>Superset</em>'. | ||
2242 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getSuperset() | ||
2243 | * @see #getALSSignatureBody() | ||
2244 | * @generated | ||
2245 | */ | ||
2246 | EReference getALSSignatureBody_Superset(); | ||
2247 | |||
2248 | /** | ||
2249 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields <em>Fields</em>}'. | ||
2250 | * <!-- begin-user-doc --> | ||
2251 | * <!-- end-user-doc --> | ||
2252 | * @return the meta object for the containment reference list '<em>Fields</em>'. | ||
2253 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody#getFields() | ||
2254 | * @see #getALSSignatureBody() | ||
2255 | * @generated | ||
2256 | */ | ||
2257 | EReference getALSSignatureBody_Fields(); | ||
2258 | |||
2259 | /** | ||
2260 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration <em>ALS Field Declaration</em>}'. | ||
2261 | * <!-- begin-user-doc --> | ||
2262 | * <!-- end-user-doc --> | ||
2263 | * @return the meta object for class '<em>ALS Field Declaration</em>'. | ||
2264 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration | ||
2265 | * @generated | ||
2266 | */ | ||
2267 | EClass getALSFieldDeclaration(); | ||
2268 | |||
2269 | /** | ||
2270 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity <em>Multiplicity</em>}'. | ||
2271 | * <!-- begin-user-doc --> | ||
2272 | * <!-- end-user-doc --> | ||
2273 | * @return the meta object for the attribute '<em>Multiplicity</em>'. | ||
2274 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getMultiplicity() | ||
2275 | * @see #getALSFieldDeclaration() | ||
2276 | * @generated | ||
2277 | */ | ||
2278 | EAttribute getALSFieldDeclaration_Multiplicity(); | ||
2279 | |||
2280 | /** | ||
2281 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType <em>Type</em>}'. | ||
2282 | * <!-- begin-user-doc --> | ||
2283 | * <!-- end-user-doc --> | ||
2284 | * @return the meta object for the containment reference '<em>Type</em>'. | ||
2285 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration#getType() | ||
2286 | * @see #getALSFieldDeclaration() | ||
2287 | * @generated | ||
2288 | */ | ||
2289 | EReference getALSFieldDeclaration_Type(); | ||
2290 | |||
2291 | /** | ||
2292 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition <em>ALS Definition</em>}'. | ||
2293 | * <!-- begin-user-doc --> | ||
2294 | * <!-- end-user-doc --> | ||
2295 | * @return the meta object for class '<em>ALS Definition</em>'. | ||
2296 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition | ||
2297 | * @generated | ||
2298 | */ | ||
2299 | EClass getALSDefinition(); | ||
2300 | |||
2301 | /** | ||
2302 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName <em>Name</em>}'. | ||
2303 | * <!-- begin-user-doc --> | ||
2304 | * <!-- end-user-doc --> | ||
2305 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2306 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getName() | ||
2307 | * @see #getALSDefinition() | ||
2308 | * @generated | ||
2309 | */ | ||
2310 | EAttribute getALSDefinition_Name(); | ||
2311 | |||
2312 | /** | ||
2313 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables <em>Variables</em>}'. | ||
2314 | * <!-- begin-user-doc --> | ||
2315 | * <!-- end-user-doc --> | ||
2316 | * @return the meta object for the containment reference list '<em>Variables</em>'. | ||
2317 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getVariables() | ||
2318 | * @see #getALSDefinition() | ||
2319 | * @generated | ||
2320 | */ | ||
2321 | EReference getALSDefinition_Variables(); | ||
2322 | |||
2323 | /** | ||
2324 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue <em>Value</em>}'. | ||
2325 | * <!-- begin-user-doc --> | ||
2326 | * <!-- end-user-doc --> | ||
2327 | * @return the meta object for the containment reference '<em>Value</em>'. | ||
2328 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition#getValue() | ||
2329 | * @see #getALSDefinition() | ||
2330 | * @generated | ||
2331 | */ | ||
2332 | EReference getALSDefinition_Value(); | ||
2333 | |||
2334 | /** | ||
2335 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition <em>ALS Function Definition</em>}'. | ||
2336 | * <!-- begin-user-doc --> | ||
2337 | * <!-- end-user-doc --> | ||
2338 | * @return the meta object for class '<em>ALS Function Definition</em>'. | ||
2339 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition | ||
2340 | * @generated | ||
2341 | */ | ||
2342 | EClass getALSFunctionDefinition(); | ||
2343 | |||
2344 | /** | ||
2345 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType <em>Type</em>}'. | ||
2346 | * <!-- begin-user-doc --> | ||
2347 | * <!-- end-user-doc --> | ||
2348 | * @return the meta object for the containment reference '<em>Type</em>'. | ||
2349 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition#getType() | ||
2350 | * @see #getALSFunctionDefinition() | ||
2351 | * @generated | ||
2352 | */ | ||
2353 | EReference getALSFunctionDefinition_Type(); | ||
2354 | |||
2355 | /** | ||
2356 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition <em>ALS Relation Definition</em>}'. | ||
2357 | * <!-- begin-user-doc --> | ||
2358 | * <!-- end-user-doc --> | ||
2359 | * @return the meta object for class '<em>ALS Relation Definition</em>'. | ||
2360 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition | ||
2361 | * @generated | ||
2362 | */ | ||
2363 | EClass getALSRelationDefinition(); | ||
2364 | |||
2365 | /** | ||
2366 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration <em>ALS Fact Declaration</em>}'. | ||
2367 | * <!-- begin-user-doc --> | ||
2368 | * <!-- end-user-doc --> | ||
2369 | * @return the meta object for class '<em>ALS Fact Declaration</em>'. | ||
2370 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration | ||
2371 | * @generated | ||
2372 | */ | ||
2373 | EClass getALSFactDeclaration(); | ||
2374 | |||
2375 | /** | ||
2376 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName <em>Name</em>}'. | ||
2377 | * <!-- begin-user-doc --> | ||
2378 | * <!-- end-user-doc --> | ||
2379 | * @return the meta object for the attribute '<em>Name</em>'. | ||
2380 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getName() | ||
2381 | * @see #getALSFactDeclaration() | ||
2382 | * @generated | ||
2383 | */ | ||
2384 | EAttribute getALSFactDeclaration_Name(); | ||
2385 | |||
2386 | /** | ||
2387 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm <em>Term</em>}'. | ||
2388 | * <!-- begin-user-doc --> | ||
2389 | * <!-- end-user-doc --> | ||
2390 | * @return the meta object for the containment reference '<em>Term</em>'. | ||
2391 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration#getTerm() | ||
2392 | * @see #getALSFactDeclaration() | ||
2393 | * @generated | ||
2394 | */ | ||
2395 | EReference getALSFactDeclaration_Term(); | ||
2396 | |||
2397 | /** | ||
2398 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm <em>ALS Term</em>}'. | ||
2399 | * <!-- begin-user-doc --> | ||
2400 | * <!-- end-user-doc --> | ||
2401 | * @return the meta object for class '<em>ALS Term</em>'. | ||
2402 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm | ||
2403 | * @generated | ||
2404 | */ | ||
2405 | EClass getALSTerm(); | ||
2406 | |||
2407 | /** | ||
2408 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration <em>ALS Variable Declaration</em>}'. | ||
2409 | * <!-- begin-user-doc --> | ||
2410 | * <!-- end-user-doc --> | ||
2411 | * @return the meta object for class '<em>ALS Variable Declaration</em>'. | ||
2412 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration | ||
2413 | * @generated | ||
2414 | */ | ||
2415 | EClass getALSVariableDeclaration(); | ||
2416 | |||
2417 | /** | ||
2418 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange <em>Range</em>}'. | ||
2419 | * <!-- begin-user-doc --> | ||
2420 | * <!-- end-user-doc --> | ||
2421 | * @return the meta object for the containment reference '<em>Range</em>'. | ||
2422 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration#getRange() | ||
2423 | * @see #getALSVariableDeclaration() | ||
2424 | * @generated | ||
2425 | */ | ||
2426 | EReference getALSVariableDeclaration_Range(); | ||
2427 | |||
2428 | /** | ||
2429 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand <em>ALS Run Command</em>}'. | ||
2430 | * <!-- begin-user-doc --> | ||
2431 | * <!-- end-user-doc --> | ||
2432 | * @return the meta object for class '<em>ALS Run Command</em>'. | ||
2433 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand | ||
2434 | * @generated | ||
2435 | */ | ||
2436 | EClass getALSRunCommand(); | ||
2437 | |||
2438 | /** | ||
2439 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes <em>Type Scopes</em>}'. | ||
2440 | * <!-- begin-user-doc --> | ||
2441 | * <!-- end-user-doc --> | ||
2442 | * @return the meta object for the containment reference list '<em>Type Scopes</em>'. | ||
2443 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand#getTypeScopes() | ||
2444 | * @see #getALSRunCommand() | ||
2445 | * @generated | ||
2446 | */ | ||
2447 | EReference getALSRunCommand_TypeScopes(); | ||
2448 | |||
2449 | /** | ||
2450 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope <em>ALS Type Scope</em>}'. | ||
2451 | * <!-- begin-user-doc --> | ||
2452 | * <!-- end-user-doc --> | ||
2453 | * @return the meta object for class '<em>ALS Type Scope</em>'. | ||
2454 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope | ||
2455 | * @generated | ||
2456 | */ | ||
2457 | EClass getALSTypeScope(); | ||
2458 | |||
2459 | /** | ||
2460 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber <em>Number</em>}'. | ||
2461 | * <!-- begin-user-doc --> | ||
2462 | * <!-- end-user-doc --> | ||
2463 | * @return the meta object for the attribute '<em>Number</em>'. | ||
2464 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope#getNumber() | ||
2465 | * @see #getALSTypeScope() | ||
2466 | * @generated | ||
2467 | */ | ||
2468 | EAttribute getALSTypeScope_Number(); | ||
2469 | |||
2470 | /** | ||
2471 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope <em>ALS Sig Scope</em>}'. | ||
2472 | * <!-- begin-user-doc --> | ||
2473 | * <!-- end-user-doc --> | ||
2474 | * @return the meta object for class '<em>ALS Sig Scope</em>'. | ||
2475 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope | ||
2476 | * @generated | ||
2477 | */ | ||
2478 | EClass getALSSigScope(); | ||
2479 | |||
2480 | /** | ||
2481 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly <em>Exactly</em>}'. | ||
2482 | * <!-- begin-user-doc --> | ||
2483 | * <!-- end-user-doc --> | ||
2484 | * @return the meta object for the attribute '<em>Exactly</em>'. | ||
2485 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#isExactly() | ||
2486 | * @see #getALSSigScope() | ||
2487 | * @generated | ||
2488 | */ | ||
2489 | EAttribute getALSSigScope_Exactly(); | ||
2490 | |||
2491 | /** | ||
2492 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType <em>Type</em>}'. | ||
2493 | * <!-- begin-user-doc --> | ||
2494 | * <!-- end-user-doc --> | ||
2495 | * @return the meta object for the reference '<em>Type</em>'. | ||
2496 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope#getType() | ||
2497 | * @see #getALSSigScope() | ||
2498 | * @generated | ||
2499 | */ | ||
2500 | EReference getALSSigScope_Type(); | ||
2501 | |||
2502 | /** | ||
2503 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope <em>ALS Int Scope</em>}'. | ||
2504 | * <!-- begin-user-doc --> | ||
2505 | * <!-- end-user-doc --> | ||
2506 | * @return the meta object for class '<em>ALS Int Scope</em>'. | ||
2507 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope | ||
2508 | * @generated | ||
2509 | */ | ||
2510 | EClass getALSIntScope(); | ||
2511 | |||
2512 | /** | ||
2513 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope <em>ALS String Scope</em>}'. | ||
2514 | * <!-- begin-user-doc --> | ||
2515 | * <!-- end-user-doc --> | ||
2516 | * @return the meta object for class '<em>ALS String Scope</em>'. | ||
2517 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope | ||
2518 | * @generated | ||
2519 | */ | ||
2520 | EClass getALSStringScope(); | ||
2521 | |||
2522 | /** | ||
2523 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx <em>ALS Quantified Ex</em>}'. | ||
2524 | * <!-- begin-user-doc --> | ||
2525 | * <!-- end-user-doc --> | ||
2526 | * @return the meta object for class '<em>ALS Quantified Ex</em>'. | ||
2527 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx | ||
2528 | * @generated | ||
2529 | */ | ||
2530 | EClass getALSQuantifiedEx(); | ||
2531 | |||
2532 | /** | ||
2533 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType <em>Type</em>}'. | ||
2534 | * <!-- begin-user-doc --> | ||
2535 | * <!-- end-user-doc --> | ||
2536 | * @return the meta object for the attribute '<em>Type</em>'. | ||
2537 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getType() | ||
2538 | * @see #getALSQuantifiedEx() | ||
2539 | * @generated | ||
2540 | */ | ||
2541 | EAttribute getALSQuantifiedEx_Type(); | ||
2542 | |||
2543 | /** | ||
2544 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj <em>Disj</em>}'. | ||
2545 | * <!-- begin-user-doc --> | ||
2546 | * <!-- end-user-doc --> | ||
2547 | * @return the meta object for the attribute '<em>Disj</em>'. | ||
2548 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#isDisj() | ||
2549 | * @see #getALSQuantifiedEx() | ||
2550 | * @generated | ||
2551 | */ | ||
2552 | EAttribute getALSQuantifiedEx_Disj(); | ||
2553 | |||
2554 | /** | ||
2555 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables <em>Variables</em>}'. | ||
2556 | * <!-- begin-user-doc --> | ||
2557 | * <!-- end-user-doc --> | ||
2558 | * @return the meta object for the containment reference list '<em>Variables</em>'. | ||
2559 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getVariables() | ||
2560 | * @see #getALSQuantifiedEx() | ||
2561 | * @generated | ||
2562 | */ | ||
2563 | EReference getALSQuantifiedEx_Variables(); | ||
2564 | |||
2565 | /** | ||
2566 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression <em>Expression</em>}'. | ||
2567 | * <!-- begin-user-doc --> | ||
2568 | * <!-- end-user-doc --> | ||
2569 | * @return the meta object for the containment reference '<em>Expression</em>'. | ||
2570 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx#getExpression() | ||
2571 | * @see #getALSQuantifiedEx() | ||
2572 | * @generated | ||
2573 | */ | ||
2574 | EReference getALSQuantifiedEx_Expression(); | ||
2575 | |||
2576 | /** | ||
2577 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr <em>ALS Or</em>}'. | ||
2578 | * <!-- begin-user-doc --> | ||
2579 | * <!-- end-user-doc --> | ||
2580 | * @return the meta object for class '<em>ALS Or</em>'. | ||
2581 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr | ||
2582 | * @generated | ||
2583 | */ | ||
2584 | EClass getALSOr(); | ||
2585 | |||
2586 | /** | ||
2587 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand <em>Left Operand</em>}'. | ||
2588 | * <!-- begin-user-doc --> | ||
2589 | * <!-- end-user-doc --> | ||
2590 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2591 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getLeftOperand() | ||
2592 | * @see #getALSOr() | ||
2593 | * @generated | ||
2594 | */ | ||
2595 | EReference getALSOr_LeftOperand(); | ||
2596 | |||
2597 | /** | ||
2598 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand <em>Right Operand</em>}'. | ||
2599 | * <!-- begin-user-doc --> | ||
2600 | * <!-- end-user-doc --> | ||
2601 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2602 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr#getRightOperand() | ||
2603 | * @see #getALSOr() | ||
2604 | * @generated | ||
2605 | */ | ||
2606 | EReference getALSOr_RightOperand(); | ||
2607 | |||
2608 | /** | ||
2609 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff <em>ALS Iff</em>}'. | ||
2610 | * <!-- begin-user-doc --> | ||
2611 | * <!-- end-user-doc --> | ||
2612 | * @return the meta object for class '<em>ALS Iff</em>'. | ||
2613 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff | ||
2614 | * @generated | ||
2615 | */ | ||
2616 | EClass getALSIff(); | ||
2617 | |||
2618 | /** | ||
2619 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand <em>Left Operand</em>}'. | ||
2620 | * <!-- begin-user-doc --> | ||
2621 | * <!-- end-user-doc --> | ||
2622 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2623 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getLeftOperand() | ||
2624 | * @see #getALSIff() | ||
2625 | * @generated | ||
2626 | */ | ||
2627 | EReference getALSIff_LeftOperand(); | ||
2628 | |||
2629 | /** | ||
2630 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand <em>Right Operand</em>}'. | ||
2631 | * <!-- begin-user-doc --> | ||
2632 | * <!-- end-user-doc --> | ||
2633 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2634 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff#getRightOperand() | ||
2635 | * @see #getALSIff() | ||
2636 | * @generated | ||
2637 | */ | ||
2638 | EReference getALSIff_RightOperand(); | ||
2639 | |||
2640 | /** | ||
2641 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl <em>ALS Impl</em>}'. | ||
2642 | * <!-- begin-user-doc --> | ||
2643 | * <!-- end-user-doc --> | ||
2644 | * @return the meta object for class '<em>ALS Impl</em>'. | ||
2645 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl | ||
2646 | * @generated | ||
2647 | */ | ||
2648 | EClass getALSImpl(); | ||
2649 | |||
2650 | /** | ||
2651 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand <em>Left Operand</em>}'. | ||
2652 | * <!-- begin-user-doc --> | ||
2653 | * <!-- end-user-doc --> | ||
2654 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2655 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getLeftOperand() | ||
2656 | * @see #getALSImpl() | ||
2657 | * @generated | ||
2658 | */ | ||
2659 | EReference getALSImpl_LeftOperand(); | ||
2660 | |||
2661 | /** | ||
2662 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand <em>Right Operand</em>}'. | ||
2663 | * <!-- begin-user-doc --> | ||
2664 | * <!-- end-user-doc --> | ||
2665 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2666 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getRightOperand() | ||
2667 | * @see #getALSImpl() | ||
2668 | * @generated | ||
2669 | */ | ||
2670 | EReference getALSImpl_RightOperand(); | ||
2671 | |||
2672 | /** | ||
2673 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand <em>Else Operand</em>}'. | ||
2674 | * <!-- begin-user-doc --> | ||
2675 | * <!-- end-user-doc --> | ||
2676 | * @return the meta object for the containment reference '<em>Else Operand</em>'. | ||
2677 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl#getElseOperand() | ||
2678 | * @see #getALSImpl() | ||
2679 | * @generated | ||
2680 | */ | ||
2681 | EReference getALSImpl_ElseOperand(); | ||
2682 | |||
2683 | /** | ||
2684 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd <em>ALS And</em>}'. | ||
2685 | * <!-- begin-user-doc --> | ||
2686 | * <!-- end-user-doc --> | ||
2687 | * @return the meta object for class '<em>ALS And</em>'. | ||
2688 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd | ||
2689 | * @generated | ||
2690 | */ | ||
2691 | EClass getALSAnd(); | ||
2692 | |||
2693 | /** | ||
2694 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand <em>Left Operand</em>}'. | ||
2695 | * <!-- begin-user-doc --> | ||
2696 | * <!-- end-user-doc --> | ||
2697 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2698 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getLeftOperand() | ||
2699 | * @see #getALSAnd() | ||
2700 | * @generated | ||
2701 | */ | ||
2702 | EReference getALSAnd_LeftOperand(); | ||
2703 | |||
2704 | /** | ||
2705 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand <em>Right Operand</em>}'. | ||
2706 | * <!-- begin-user-doc --> | ||
2707 | * <!-- end-user-doc --> | ||
2708 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2709 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd#getRightOperand() | ||
2710 | * @see #getALSAnd() | ||
2711 | * @generated | ||
2712 | */ | ||
2713 | EReference getALSAnd_RightOperand(); | ||
2714 | |||
2715 | /** | ||
2716 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals <em>ALS Equals</em>}'. | ||
2717 | * <!-- begin-user-doc --> | ||
2718 | * <!-- end-user-doc --> | ||
2719 | * @return the meta object for class '<em>ALS Equals</em>'. | ||
2720 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals | ||
2721 | * @generated | ||
2722 | */ | ||
2723 | EClass getALSEquals(); | ||
2724 | |||
2725 | /** | ||
2726 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand <em>Left Operand</em>}'. | ||
2727 | * <!-- begin-user-doc --> | ||
2728 | * <!-- end-user-doc --> | ||
2729 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2730 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getLeftOperand() | ||
2731 | * @see #getALSEquals() | ||
2732 | * @generated | ||
2733 | */ | ||
2734 | EReference getALSEquals_LeftOperand(); | ||
2735 | |||
2736 | /** | ||
2737 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand <em>Right Operand</em>}'. | ||
2738 | * <!-- begin-user-doc --> | ||
2739 | * <!-- end-user-doc --> | ||
2740 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2741 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals#getRightOperand() | ||
2742 | * @see #getALSEquals() | ||
2743 | * @generated | ||
2744 | */ | ||
2745 | EReference getALSEquals_RightOperand(); | ||
2746 | |||
2747 | /** | ||
2748 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals <em>ALS Not Equals</em>}'. | ||
2749 | * <!-- begin-user-doc --> | ||
2750 | * <!-- end-user-doc --> | ||
2751 | * @return the meta object for class '<em>ALS Not Equals</em>'. | ||
2752 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals | ||
2753 | * @generated | ||
2754 | */ | ||
2755 | EClass getALSNotEquals(); | ||
2756 | |||
2757 | /** | ||
2758 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand <em>Left Operand</em>}'. | ||
2759 | * <!-- begin-user-doc --> | ||
2760 | * <!-- end-user-doc --> | ||
2761 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2762 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getLeftOperand() | ||
2763 | * @see #getALSNotEquals() | ||
2764 | * @generated | ||
2765 | */ | ||
2766 | EReference getALSNotEquals_LeftOperand(); | ||
2767 | |||
2768 | /** | ||
2769 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand <em>Right Operand</em>}'. | ||
2770 | * <!-- begin-user-doc --> | ||
2771 | * <!-- end-user-doc --> | ||
2772 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2773 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals#getRightOperand() | ||
2774 | * @see #getALSNotEquals() | ||
2775 | * @generated | ||
2776 | */ | ||
2777 | EReference getALSNotEquals_RightOperand(); | ||
2778 | |||
2779 | /** | ||
2780 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset <em>ALS Subset</em>}'. | ||
2781 | * <!-- begin-user-doc --> | ||
2782 | * <!-- end-user-doc --> | ||
2783 | * @return the meta object for class '<em>ALS Subset</em>'. | ||
2784 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset | ||
2785 | * @generated | ||
2786 | */ | ||
2787 | EClass getALSSubset(); | ||
2788 | |||
2789 | /** | ||
2790 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand <em>Left Operand</em>}'. | ||
2791 | * <!-- begin-user-doc --> | ||
2792 | * <!-- end-user-doc --> | ||
2793 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2794 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getLeftOperand() | ||
2795 | * @see #getALSSubset() | ||
2796 | * @generated | ||
2797 | */ | ||
2798 | EReference getALSSubset_LeftOperand(); | ||
2799 | |||
2800 | /** | ||
2801 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand <em>Right Operand</em>}'. | ||
2802 | * <!-- begin-user-doc --> | ||
2803 | * <!-- end-user-doc --> | ||
2804 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2805 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset#getRightOperand() | ||
2806 | * @see #getALSSubset() | ||
2807 | * @generated | ||
2808 | */ | ||
2809 | EReference getALSSubset_RightOperand(); | ||
2810 | |||
2811 | /** | ||
2812 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess <em>ALS Less</em>}'. | ||
2813 | * <!-- begin-user-doc --> | ||
2814 | * <!-- end-user-doc --> | ||
2815 | * @return the meta object for class '<em>ALS Less</em>'. | ||
2816 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess | ||
2817 | * @generated | ||
2818 | */ | ||
2819 | EClass getALSLess(); | ||
2820 | |||
2821 | /** | ||
2822 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand <em>Left Operand</em>}'. | ||
2823 | * <!-- begin-user-doc --> | ||
2824 | * <!-- end-user-doc --> | ||
2825 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2826 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getLeftOperand() | ||
2827 | * @see #getALSLess() | ||
2828 | * @generated | ||
2829 | */ | ||
2830 | EReference getALSLess_LeftOperand(); | ||
2831 | |||
2832 | /** | ||
2833 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand <em>Right Operand</em>}'. | ||
2834 | * <!-- begin-user-doc --> | ||
2835 | * <!-- end-user-doc --> | ||
2836 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2837 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess#getRightOperand() | ||
2838 | * @see #getALSLess() | ||
2839 | * @generated | ||
2840 | */ | ||
2841 | EReference getALSLess_RightOperand(); | ||
2842 | |||
2843 | /** | ||
2844 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq <em>ALS Leq</em>}'. | ||
2845 | * <!-- begin-user-doc --> | ||
2846 | * <!-- end-user-doc --> | ||
2847 | * @return the meta object for class '<em>ALS Leq</em>'. | ||
2848 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq | ||
2849 | * @generated | ||
2850 | */ | ||
2851 | EClass getALSLeq(); | ||
2852 | |||
2853 | /** | ||
2854 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand <em>Left Operand</em>}'. | ||
2855 | * <!-- begin-user-doc --> | ||
2856 | * <!-- end-user-doc --> | ||
2857 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2858 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getLeftOperand() | ||
2859 | * @see #getALSLeq() | ||
2860 | * @generated | ||
2861 | */ | ||
2862 | EReference getALSLeq_LeftOperand(); | ||
2863 | |||
2864 | /** | ||
2865 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand <em>Right Operand</em>}'. | ||
2866 | * <!-- begin-user-doc --> | ||
2867 | * <!-- end-user-doc --> | ||
2868 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2869 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq#getRightOperand() | ||
2870 | * @see #getALSLeq() | ||
2871 | * @generated | ||
2872 | */ | ||
2873 | EReference getALSLeq_RightOperand(); | ||
2874 | |||
2875 | /** | ||
2876 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore <em>ALS More</em>}'. | ||
2877 | * <!-- begin-user-doc --> | ||
2878 | * <!-- end-user-doc --> | ||
2879 | * @return the meta object for class '<em>ALS More</em>'. | ||
2880 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore | ||
2881 | * @generated | ||
2882 | */ | ||
2883 | EClass getALSMore(); | ||
2884 | |||
2885 | /** | ||
2886 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand <em>Left Operand</em>}'. | ||
2887 | * <!-- begin-user-doc --> | ||
2888 | * <!-- end-user-doc --> | ||
2889 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2890 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getLeftOperand() | ||
2891 | * @see #getALSMore() | ||
2892 | * @generated | ||
2893 | */ | ||
2894 | EReference getALSMore_LeftOperand(); | ||
2895 | |||
2896 | /** | ||
2897 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand <em>Right Operand</em>}'. | ||
2898 | * <!-- begin-user-doc --> | ||
2899 | * <!-- end-user-doc --> | ||
2900 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2901 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore#getRightOperand() | ||
2902 | * @see #getALSMore() | ||
2903 | * @generated | ||
2904 | */ | ||
2905 | EReference getALSMore_RightOperand(); | ||
2906 | |||
2907 | /** | ||
2908 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq <em>ALS Meq</em>}'. | ||
2909 | * <!-- begin-user-doc --> | ||
2910 | * <!-- end-user-doc --> | ||
2911 | * @return the meta object for class '<em>ALS Meq</em>'. | ||
2912 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq | ||
2913 | * @generated | ||
2914 | */ | ||
2915 | EClass getALSMeq(); | ||
2916 | |||
2917 | /** | ||
2918 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand <em>Left Operand</em>}'. | ||
2919 | * <!-- begin-user-doc --> | ||
2920 | * <!-- end-user-doc --> | ||
2921 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2922 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getLeftOperand() | ||
2923 | * @see #getALSMeq() | ||
2924 | * @generated | ||
2925 | */ | ||
2926 | EReference getALSMeq_LeftOperand(); | ||
2927 | |||
2928 | /** | ||
2929 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand <em>Right Operand</em>}'. | ||
2930 | * <!-- begin-user-doc --> | ||
2931 | * <!-- end-user-doc --> | ||
2932 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2933 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq#getRightOperand() | ||
2934 | * @see #getALSMeq() | ||
2935 | * @generated | ||
2936 | */ | ||
2937 | EReference getALSMeq_RightOperand(); | ||
2938 | |||
2939 | /** | ||
2940 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride <em>ALS Override</em>}'. | ||
2941 | * <!-- begin-user-doc --> | ||
2942 | * <!-- end-user-doc --> | ||
2943 | * @return the meta object for class '<em>ALS Override</em>'. | ||
2944 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride | ||
2945 | * @generated | ||
2946 | */ | ||
2947 | EClass getALSOverride(); | ||
2948 | |||
2949 | /** | ||
2950 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand <em>Left Operand</em>}'. | ||
2951 | * <!-- begin-user-doc --> | ||
2952 | * <!-- end-user-doc --> | ||
2953 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
2954 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getLeftOperand() | ||
2955 | * @see #getALSOverride() | ||
2956 | * @generated | ||
2957 | */ | ||
2958 | EReference getALSOverride_LeftOperand(); | ||
2959 | |||
2960 | /** | ||
2961 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand <em>Right Operand</em>}'. | ||
2962 | * <!-- begin-user-doc --> | ||
2963 | * <!-- end-user-doc --> | ||
2964 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
2965 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride#getRightOperand() | ||
2966 | * @see #getALSOverride() | ||
2967 | * @generated | ||
2968 | */ | ||
2969 | EReference getALSOverride_RightOperand(); | ||
2970 | |||
2971 | /** | ||
2972 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight <em>ALS Range Restriction Right</em>}'. | ||
2973 | * <!-- begin-user-doc --> | ||
2974 | * <!-- end-user-doc --> | ||
2975 | * @return the meta object for class '<em>ALS Range Restriction Right</em>'. | ||
2976 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight | ||
2977 | * @generated | ||
2978 | */ | ||
2979 | EClass getALSRangeRestrictionRight(); | ||
2980 | |||
2981 | /** | ||
2982 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation <em>Relation</em>}'. | ||
2983 | * <!-- begin-user-doc --> | ||
2984 | * <!-- end-user-doc --> | ||
2985 | * @return the meta object for the containment reference '<em>Relation</em>'. | ||
2986 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getRelation() | ||
2987 | * @see #getALSRangeRestrictionRight() | ||
2988 | * @generated | ||
2989 | */ | ||
2990 | EReference getALSRangeRestrictionRight_Relation(); | ||
2991 | |||
2992 | /** | ||
2993 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter <em>Filter</em>}'. | ||
2994 | * <!-- begin-user-doc --> | ||
2995 | * <!-- end-user-doc --> | ||
2996 | * @return the meta object for the containment reference '<em>Filter</em>'. | ||
2997 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight#getFilter() | ||
2998 | * @see #getALSRangeRestrictionRight() | ||
2999 | * @generated | ||
3000 | */ | ||
3001 | EReference getALSRangeRestrictionRight_Filter(); | ||
3002 | |||
3003 | /** | ||
3004 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft <em>ALS Range Restriction Left</em>}'. | ||
3005 | * <!-- begin-user-doc --> | ||
3006 | * <!-- end-user-doc --> | ||
3007 | * @return the meta object for class '<em>ALS Range Restriction Left</em>'. | ||
3008 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft | ||
3009 | * @generated | ||
3010 | */ | ||
3011 | EClass getALSRangeRestrictionLeft(); | ||
3012 | |||
3013 | /** | ||
3014 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter <em>Filter</em>}'. | ||
3015 | * <!-- begin-user-doc --> | ||
3016 | * <!-- end-user-doc --> | ||
3017 | * @return the meta object for the containment reference '<em>Filter</em>'. | ||
3018 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getFilter() | ||
3019 | * @see #getALSRangeRestrictionLeft() | ||
3020 | * @generated | ||
3021 | */ | ||
3022 | EReference getALSRangeRestrictionLeft_Filter(); | ||
3023 | |||
3024 | /** | ||
3025 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation <em>Relation</em>}'. | ||
3026 | * <!-- begin-user-doc --> | ||
3027 | * <!-- end-user-doc --> | ||
3028 | * @return the meta object for the containment reference '<em>Relation</em>'. | ||
3029 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft#getRelation() | ||
3030 | * @see #getALSRangeRestrictionLeft() | ||
3031 | * @generated | ||
3032 | */ | ||
3033 | EReference getALSRangeRestrictionLeft_Relation(); | ||
3034 | |||
3035 | /** | ||
3036 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin <em>ALS Join</em>}'. | ||
3037 | * <!-- begin-user-doc --> | ||
3038 | * <!-- end-user-doc --> | ||
3039 | * @return the meta object for class '<em>ALS Join</em>'. | ||
3040 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin | ||
3041 | * @generated | ||
3042 | */ | ||
3043 | EClass getALSJoin(); | ||
3044 | |||
3045 | /** | ||
3046 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand <em>Left Operand</em>}'. | ||
3047 | * <!-- begin-user-doc --> | ||
3048 | * <!-- end-user-doc --> | ||
3049 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3050 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getLeftOperand() | ||
3051 | * @see #getALSJoin() | ||
3052 | * @generated | ||
3053 | */ | ||
3054 | EReference getALSJoin_LeftOperand(); | ||
3055 | |||
3056 | /** | ||
3057 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand <em>Right Operand</em>}'. | ||
3058 | * <!-- begin-user-doc --> | ||
3059 | * <!-- end-user-doc --> | ||
3060 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3061 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin#getRightOperand() | ||
3062 | * @see #getALSJoin() | ||
3063 | * @generated | ||
3064 | */ | ||
3065 | EReference getALSJoin_RightOperand(); | ||
3066 | |||
3067 | /** | ||
3068 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus <em>ALS Minus</em>}'. | ||
3069 | * <!-- begin-user-doc --> | ||
3070 | * <!-- end-user-doc --> | ||
3071 | * @return the meta object for class '<em>ALS Minus</em>'. | ||
3072 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus | ||
3073 | * @generated | ||
3074 | */ | ||
3075 | EClass getALSMinus(); | ||
3076 | |||
3077 | /** | ||
3078 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand <em>Left Operand</em>}'. | ||
3079 | * <!-- begin-user-doc --> | ||
3080 | * <!-- end-user-doc --> | ||
3081 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3082 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getLeftOperand() | ||
3083 | * @see #getALSMinus() | ||
3084 | * @generated | ||
3085 | */ | ||
3086 | EReference getALSMinus_LeftOperand(); | ||
3087 | |||
3088 | /** | ||
3089 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand <em>Right Operand</em>}'. | ||
3090 | * <!-- begin-user-doc --> | ||
3091 | * <!-- end-user-doc --> | ||
3092 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3093 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus#getRightOperand() | ||
3094 | * @see #getALSMinus() | ||
3095 | * @generated | ||
3096 | */ | ||
3097 | EReference getALSMinus_RightOperand(); | ||
3098 | |||
3099 | /** | ||
3100 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus <em>ALS Plus</em>}'. | ||
3101 | * <!-- begin-user-doc --> | ||
3102 | * <!-- end-user-doc --> | ||
3103 | * @return the meta object for class '<em>ALS Plus</em>'. | ||
3104 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus | ||
3105 | * @generated | ||
3106 | */ | ||
3107 | EClass getALSPlus(); | ||
3108 | |||
3109 | /** | ||
3110 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand <em>Left Operand</em>}'. | ||
3111 | * <!-- begin-user-doc --> | ||
3112 | * <!-- end-user-doc --> | ||
3113 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3114 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getLeftOperand() | ||
3115 | * @see #getALSPlus() | ||
3116 | * @generated | ||
3117 | */ | ||
3118 | EReference getALSPlus_LeftOperand(); | ||
3119 | |||
3120 | /** | ||
3121 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand <em>Right Operand</em>}'. | ||
3122 | * <!-- begin-user-doc --> | ||
3123 | * <!-- end-user-doc --> | ||
3124 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3125 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus#getRightOperand() | ||
3126 | * @see #getALSPlus() | ||
3127 | * @generated | ||
3128 | */ | ||
3129 | EReference getALSPlus_RightOperand(); | ||
3130 | |||
3131 | /** | ||
3132 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection <em>ALS Intersection</em>}'. | ||
3133 | * <!-- begin-user-doc --> | ||
3134 | * <!-- end-user-doc --> | ||
3135 | * @return the meta object for class '<em>ALS Intersection</em>'. | ||
3136 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection | ||
3137 | * @generated | ||
3138 | */ | ||
3139 | EClass getALSIntersection(); | ||
3140 | |||
3141 | /** | ||
3142 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand <em>Left Operand</em>}'. | ||
3143 | * <!-- begin-user-doc --> | ||
3144 | * <!-- end-user-doc --> | ||
3145 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3146 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getLeftOperand() | ||
3147 | * @see #getALSIntersection() | ||
3148 | * @generated | ||
3149 | */ | ||
3150 | EReference getALSIntersection_LeftOperand(); | ||
3151 | |||
3152 | /** | ||
3153 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand <em>Right Operand</em>}'. | ||
3154 | * <!-- begin-user-doc --> | ||
3155 | * <!-- end-user-doc --> | ||
3156 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3157 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection#getRightOperand() | ||
3158 | * @see #getALSIntersection() | ||
3159 | * @generated | ||
3160 | */ | ||
3161 | EReference getALSIntersection_RightOperand(); | ||
3162 | |||
3163 | /** | ||
3164 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct <em>ALS Direct Product</em>}'. | ||
3165 | * <!-- begin-user-doc --> | ||
3166 | * <!-- end-user-doc --> | ||
3167 | * @return the meta object for class '<em>ALS Direct Product</em>'. | ||
3168 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct | ||
3169 | * @generated | ||
3170 | */ | ||
3171 | EClass getALSDirectProduct(); | ||
3172 | |||
3173 | /** | ||
3174 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand <em>Left Operand</em>}'. | ||
3175 | * <!-- begin-user-doc --> | ||
3176 | * <!-- end-user-doc --> | ||
3177 | * @return the meta object for the containment reference '<em>Left Operand</em>'. | ||
3178 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftOperand() | ||
3179 | * @see #getALSDirectProduct() | ||
3180 | * @generated | ||
3181 | */ | ||
3182 | EReference getALSDirectProduct_LeftOperand(); | ||
3183 | |||
3184 | /** | ||
3185 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit <em>Left Multiplicit</em>}'. | ||
3186 | * <!-- begin-user-doc --> | ||
3187 | * <!-- end-user-doc --> | ||
3188 | * @return the meta object for the attribute '<em>Left Multiplicit</em>'. | ||
3189 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getLeftMultiplicit() | ||
3190 | * @see #getALSDirectProduct() | ||
3191 | * @generated | ||
3192 | */ | ||
3193 | EAttribute getALSDirectProduct_LeftMultiplicit(); | ||
3194 | |||
3195 | /** | ||
3196 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit <em>Right Multiplicit</em>}'. | ||
3197 | * <!-- begin-user-doc --> | ||
3198 | * <!-- end-user-doc --> | ||
3199 | * @return the meta object for the attribute '<em>Right Multiplicit</em>'. | ||
3200 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightMultiplicit() | ||
3201 | * @see #getALSDirectProduct() | ||
3202 | * @generated | ||
3203 | */ | ||
3204 | EAttribute getALSDirectProduct_RightMultiplicit(); | ||
3205 | |||
3206 | /** | ||
3207 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand <em>Right Operand</em>}'. | ||
3208 | * <!-- begin-user-doc --> | ||
3209 | * <!-- end-user-doc --> | ||
3210 | * @return the meta object for the containment reference '<em>Right Operand</em>'. | ||
3211 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct#getRightOperand() | ||
3212 | * @see #getALSDirectProduct() | ||
3213 | * @generated | ||
3214 | */ | ||
3215 | EReference getALSDirectProduct_RightOperand(); | ||
3216 | |||
3217 | /** | ||
3218 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot <em>ALS Not</em>}'. | ||
3219 | * <!-- begin-user-doc --> | ||
3220 | * <!-- end-user-doc --> | ||
3221 | * @return the meta object for class '<em>ALS Not</em>'. | ||
3222 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot | ||
3223 | * @generated | ||
3224 | */ | ||
3225 | EClass getALSNot(); | ||
3226 | |||
3227 | /** | ||
3228 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand <em>Operand</em>}'. | ||
3229 | * <!-- begin-user-doc --> | ||
3230 | * <!-- end-user-doc --> | ||
3231 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3232 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot#getOperand() | ||
3233 | * @see #getALSNot() | ||
3234 | * @generated | ||
3235 | */ | ||
3236 | EReference getALSNot_Operand(); | ||
3237 | |||
3238 | /** | ||
3239 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation <em>ALS Inverse Relation</em>}'. | ||
3240 | * <!-- begin-user-doc --> | ||
3241 | * <!-- end-user-doc --> | ||
3242 | * @return the meta object for class '<em>ALS Inverse Relation</em>'. | ||
3243 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation | ||
3244 | * @generated | ||
3245 | */ | ||
3246 | EClass getALSInverseRelation(); | ||
3247 | |||
3248 | /** | ||
3249 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand <em>Operand</em>}'. | ||
3250 | * <!-- begin-user-doc --> | ||
3251 | * <!-- end-user-doc --> | ||
3252 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3253 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation#getOperand() | ||
3254 | * @see #getALSInverseRelation() | ||
3255 | * @generated | ||
3256 | */ | ||
3257 | EReference getALSInverseRelation_Operand(); | ||
3258 | |||
3259 | /** | ||
3260 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure <em>Al STransitive Closure</em>}'. | ||
3261 | * <!-- begin-user-doc --> | ||
3262 | * <!-- end-user-doc --> | ||
3263 | * @return the meta object for class '<em>Al STransitive Closure</em>'. | ||
3264 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure | ||
3265 | * @generated | ||
3266 | */ | ||
3267 | EClass getAlSTransitiveClosure(); | ||
3268 | |||
3269 | /** | ||
3270 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand <em>Operand</em>}'. | ||
3271 | * <!-- begin-user-doc --> | ||
3272 | * <!-- end-user-doc --> | ||
3273 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3274 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure#getOperand() | ||
3275 | * @see #getAlSTransitiveClosure() | ||
3276 | * @generated | ||
3277 | */ | ||
3278 | EReference getAlSTransitiveClosure_Operand(); | ||
3279 | |||
3280 | /** | ||
3281 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure <em>ALS Reflective Transitive Closure</em>}'. | ||
3282 | * <!-- begin-user-doc --> | ||
3283 | * <!-- end-user-doc --> | ||
3284 | * @return the meta object for class '<em>ALS Reflective Transitive Closure</em>'. | ||
3285 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure | ||
3286 | * @generated | ||
3287 | */ | ||
3288 | EClass getALSReflectiveTransitiveClosure(); | ||
3289 | |||
3290 | /** | ||
3291 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand <em>Operand</em>}'. | ||
3292 | * <!-- begin-user-doc --> | ||
3293 | * <!-- end-user-doc --> | ||
3294 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3295 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure#getOperand() | ||
3296 | * @see #getALSReflectiveTransitiveClosure() | ||
3297 | * @generated | ||
3298 | */ | ||
3299 | EReference getALSReflectiveTransitiveClosure_Operand(); | ||
3300 | |||
3301 | /** | ||
3302 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality <em>ALS Cardinality</em>}'. | ||
3303 | * <!-- begin-user-doc --> | ||
3304 | * <!-- end-user-doc --> | ||
3305 | * @return the meta object for class '<em>ALS Cardinality</em>'. | ||
3306 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality | ||
3307 | * @generated | ||
3308 | */ | ||
3309 | EClass getALSCardinality(); | ||
3310 | |||
3311 | /** | ||
3312 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand <em>Operand</em>}'. | ||
3313 | * <!-- begin-user-doc --> | ||
3314 | * <!-- end-user-doc --> | ||
3315 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3316 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality#getOperand() | ||
3317 | * @see #getALSCardinality() | ||
3318 | * @generated | ||
3319 | */ | ||
3320 | EReference getALSCardinality_Operand(); | ||
3321 | |||
3322 | /** | ||
3323 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus <em>ALS Unary Minus</em>}'. | ||
3324 | * <!-- begin-user-doc --> | ||
3325 | * <!-- end-user-doc --> | ||
3326 | * @return the meta object for class '<em>ALS Unary Minus</em>'. | ||
3327 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus | ||
3328 | * @generated | ||
3329 | */ | ||
3330 | EClass getALSUnaryMinus(); | ||
3331 | |||
3332 | /** | ||
3333 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand <em>Operand</em>}'. | ||
3334 | * <!-- begin-user-doc --> | ||
3335 | * <!-- end-user-doc --> | ||
3336 | * @return the meta object for the containment reference '<em>Operand</em>'. | ||
3337 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus#getOperand() | ||
3338 | * @see #getALSUnaryMinus() | ||
3339 | * @generated | ||
3340 | */ | ||
3341 | EReference getALSUnaryMinus_Operand(); | ||
3342 | |||
3343 | /** | ||
3344 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum <em>ALS Sum</em>}'. | ||
3345 | * <!-- begin-user-doc --> | ||
3346 | * <!-- end-user-doc --> | ||
3347 | * @return the meta object for class '<em>ALS Sum</em>'. | ||
3348 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum | ||
3349 | * @generated | ||
3350 | */ | ||
3351 | EClass getALSSum(); | ||
3352 | |||
3353 | /** | ||
3354 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables <em>Variables</em>}'. | ||
3355 | * <!-- begin-user-doc --> | ||
3356 | * <!-- end-user-doc --> | ||
3357 | * @return the meta object for the containment reference list '<em>Variables</em>'. | ||
3358 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getVariables() | ||
3359 | * @see #getALSSum() | ||
3360 | * @generated | ||
3361 | */ | ||
3362 | EReference getALSSum_Variables(); | ||
3363 | |||
3364 | /** | ||
3365 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression <em>Expression</em>}'. | ||
3366 | * <!-- begin-user-doc --> | ||
3367 | * <!-- end-user-doc --> | ||
3368 | * @return the meta object for the containment reference '<em>Expression</em>'. | ||
3369 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum#getExpression() | ||
3370 | * @see #getALSSum() | ||
3371 | * @generated | ||
3372 | */ | ||
3373 | EReference getALSSum_Expression(); | ||
3374 | |||
3375 | /** | ||
3376 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall <em>ALS Function Call</em>}'. | ||
3377 | * <!-- begin-user-doc --> | ||
3378 | * <!-- end-user-doc --> | ||
3379 | * @return the meta object for class '<em>ALS Function Call</em>'. | ||
3380 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall | ||
3381 | * @generated | ||
3382 | */ | ||
3383 | EClass getALSFunctionCall(); | ||
3384 | |||
3385 | /** | ||
3386 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition <em>Referred Definition</em>}'. | ||
3387 | * <!-- begin-user-doc --> | ||
3388 | * <!-- end-user-doc --> | ||
3389 | * @return the meta object for the reference '<em>Referred Definition</em>'. | ||
3390 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredDefinition() | ||
3391 | * @see #getALSFunctionCall() | ||
3392 | * @generated | ||
3393 | */ | ||
3394 | EReference getALSFunctionCall_ReferredDefinition(); | ||
3395 | |||
3396 | /** | ||
3397 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator <em>Referred Numeric Operator</em>}'. | ||
3398 | * <!-- begin-user-doc --> | ||
3399 | * <!-- end-user-doc --> | ||
3400 | * @return the meta object for the attribute '<em>Referred Numeric Operator</em>'. | ||
3401 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getReferredNumericOperator() | ||
3402 | * @see #getALSFunctionCall() | ||
3403 | * @generated | ||
3404 | */ | ||
3405 | EAttribute getALSFunctionCall_ReferredNumericOperator(); | ||
3406 | |||
3407 | /** | ||
3408 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams <em>Params</em>}'. | ||
3409 | * <!-- begin-user-doc --> | ||
3410 | * <!-- end-user-doc --> | ||
3411 | * @return the meta object for the containment reference list '<em>Params</em>'. | ||
3412 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall#getParams() | ||
3413 | * @see #getALSFunctionCall() | ||
3414 | * @generated | ||
3415 | */ | ||
3416 | EReference getALSFunctionCall_Params(); | ||
3417 | |||
3418 | /** | ||
3419 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone <em>ALS None</em>}'. | ||
3420 | * <!-- begin-user-doc --> | ||
3421 | * <!-- end-user-doc --> | ||
3422 | * @return the meta object for class '<em>ALS None</em>'. | ||
3423 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone | ||
3424 | * @generated | ||
3425 | */ | ||
3426 | EClass getALSNone(); | ||
3427 | |||
3428 | /** | ||
3429 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden <em>ALS Iden</em>}'. | ||
3430 | * <!-- begin-user-doc --> | ||
3431 | * <!-- end-user-doc --> | ||
3432 | * @return the meta object for class '<em>ALS Iden</em>'. | ||
3433 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden | ||
3434 | * @generated | ||
3435 | */ | ||
3436 | EClass getALSIden(); | ||
3437 | |||
3438 | /** | ||
3439 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv <em>ALS Univ</em>}'. | ||
3440 | * <!-- begin-user-doc --> | ||
3441 | * <!-- end-user-doc --> | ||
3442 | * @return the meta object for class '<em>ALS Univ</em>'. | ||
3443 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv | ||
3444 | * @generated | ||
3445 | */ | ||
3446 | EClass getALSUniv(); | ||
3447 | |||
3448 | /** | ||
3449 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt <em>ALS Int</em>}'. | ||
3450 | * <!-- begin-user-doc --> | ||
3451 | * <!-- end-user-doc --> | ||
3452 | * @return the meta object for class '<em>ALS Int</em>'. | ||
3453 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt | ||
3454 | * @generated | ||
3455 | */ | ||
3456 | EClass getALSInt(); | ||
3457 | |||
3458 | /** | ||
3459 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString <em>ALS String</em>}'. | ||
3460 | * <!-- begin-user-doc --> | ||
3461 | * <!-- end-user-doc --> | ||
3462 | * @return the meta object for class '<em>ALS String</em>'. | ||
3463 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString | ||
3464 | * @generated | ||
3465 | */ | ||
3466 | EClass getALSString(); | ||
3467 | |||
3468 | /** | ||
3469 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference <em>ALS Reference</em>}'. | ||
3470 | * <!-- begin-user-doc --> | ||
3471 | * <!-- end-user-doc --> | ||
3472 | * @return the meta object for class '<em>ALS Reference</em>'. | ||
3473 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference | ||
3474 | * @generated | ||
3475 | */ | ||
3476 | EClass getALSReference(); | ||
3477 | |||
3478 | /** | ||
3479 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred <em>Referred</em>}'. | ||
3480 | * <!-- begin-user-doc --> | ||
3481 | * <!-- end-user-doc --> | ||
3482 | * @return the meta object for the reference '<em>Referred</em>'. | ||
3483 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference#getReferred() | ||
3484 | * @see #getALSReference() | ||
3485 | * @generated | ||
3486 | */ | ||
3487 | EReference getALSReference_Referred(); | ||
3488 | |||
3489 | /** | ||
3490 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral <em>ALS Number Literal</em>}'. | ||
3491 | * <!-- begin-user-doc --> | ||
3492 | * <!-- end-user-doc --> | ||
3493 | * @return the meta object for class '<em>ALS Number Literal</em>'. | ||
3494 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral | ||
3495 | * @generated | ||
3496 | */ | ||
3497 | EClass getALSNumberLiteral(); | ||
3498 | |||
3499 | /** | ||
3500 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue <em>Value</em>}'. | ||
3501 | * <!-- begin-user-doc --> | ||
3502 | * <!-- end-user-doc --> | ||
3503 | * @return the meta object for the attribute '<em>Value</em>'. | ||
3504 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral#getValue() | ||
3505 | * @see #getALSNumberLiteral() | ||
3506 | * @generated | ||
3507 | */ | ||
3508 | EAttribute getALSNumberLiteral_Value(); | ||
3509 | |||
3510 | /** | ||
3511 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral <em>ALS String Literal</em>}'. | ||
3512 | * <!-- begin-user-doc --> | ||
3513 | * <!-- end-user-doc --> | ||
3514 | * @return the meta object for class '<em>ALS String Literal</em>'. | ||
3515 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral | ||
3516 | * @generated | ||
3517 | */ | ||
3518 | EClass getALSStringLiteral(); | ||
3519 | |||
3520 | /** | ||
3521 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue <em>Value</em>}'. | ||
3522 | * <!-- begin-user-doc --> | ||
3523 | * <!-- end-user-doc --> | ||
3524 | * @return the meta object for the attribute '<em>Value</em>'. | ||
3525 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral#getValue() | ||
3526 | * @see #getALSStringLiteral() | ||
3527 | * @generated | ||
3528 | */ | ||
3529 | EAttribute getALSStringLiteral_Value(); | ||
3530 | |||
3531 | /** | ||
3532 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}'. | ||
3533 | * <!-- begin-user-doc --> | ||
3534 | * <!-- end-user-doc --> | ||
3535 | * @return the meta object for enum '<em>ALS Multiplicity</em>'. | ||
3536 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
3537 | * @generated | ||
3538 | */ | ||
3539 | EEnum getALSMultiplicity(); | ||
3540 | |||
3541 | /** | ||
3542 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}'. | ||
3543 | * <!-- begin-user-doc --> | ||
3544 | * <!-- end-user-doc --> | ||
3545 | * @return the meta object for enum '<em>ALS Numeric Operator</em>'. | ||
3546 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator | ||
3547 | * @generated | ||
3548 | */ | ||
3549 | EEnum getALSNumericOperator(); | ||
3550 | |||
3551 | /** | ||
3552 | * Returns the factory that creates the instances of the model. | ||
3553 | * <!-- begin-user-doc --> | ||
3554 | * <!-- end-user-doc --> | ||
3555 | * @return the factory that creates the instances of the model. | ||
3556 | * @generated | ||
3557 | */ | ||
3558 | AlloyLanguageFactory getAlloyLanguageFactory(); | ||
3559 | |||
3560 | /** | ||
3561 | * <!-- begin-user-doc --> | ||
3562 | * Defines literals for the meta objects that represent | ||
3563 | * <ul> | ||
3564 | * <li>each class,</li> | ||
3565 | * <li>each feature of each class,</li> | ||
3566 | * <li>each enum,</li> | ||
3567 | * <li>and each data type</li> | ||
3568 | * </ul> | ||
3569 | * <!-- end-user-doc --> | ||
3570 | * @generated | ||
3571 | */ | ||
3572 | interface Literals | ||
3573 | { | ||
3574 | /** | ||
3575 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl <em>ALS Document</em>}' class. | ||
3576 | * <!-- begin-user-doc --> | ||
3577 | * <!-- end-user-doc --> | ||
3578 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl | ||
3579 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDocument() | ||
3580 | * @generated | ||
3581 | */ | ||
3582 | EClass ALS_DOCUMENT = eINSTANCE.getALSDocument(); | ||
3583 | |||
3584 | /** | ||
3585 | * The meta object literal for the '<em><b>Enum Declarations</b></em>' containment reference list feature. | ||
3586 | * <!-- begin-user-doc --> | ||
3587 | * <!-- end-user-doc --> | ||
3588 | * @generated | ||
3589 | */ | ||
3590 | EReference ALS_DOCUMENT__ENUM_DECLARATIONS = eINSTANCE.getALSDocument_EnumDeclarations(); | ||
3591 | |||
3592 | /** | ||
3593 | * The meta object literal for the '<em><b>Signature Bodies</b></em>' containment reference list feature. | ||
3594 | * <!-- begin-user-doc --> | ||
3595 | * <!-- end-user-doc --> | ||
3596 | * @generated | ||
3597 | */ | ||
3598 | EReference ALS_DOCUMENT__SIGNATURE_BODIES = eINSTANCE.getALSDocument_SignatureBodies(); | ||
3599 | |||
3600 | /** | ||
3601 | * The meta object literal for the '<em><b>Function Definitions</b></em>' containment reference list feature. | ||
3602 | * <!-- begin-user-doc --> | ||
3603 | * <!-- end-user-doc --> | ||
3604 | * @generated | ||
3605 | */ | ||
3606 | EReference ALS_DOCUMENT__FUNCTION_DEFINITIONS = eINSTANCE.getALSDocument_FunctionDefinitions(); | ||
3607 | |||
3608 | /** | ||
3609 | * The meta object literal for the '<em><b>Relation Definitions</b></em>' containment reference list feature. | ||
3610 | * <!-- begin-user-doc --> | ||
3611 | * <!-- end-user-doc --> | ||
3612 | * @generated | ||
3613 | */ | ||
3614 | EReference ALS_DOCUMENT__RELATION_DEFINITIONS = eINSTANCE.getALSDocument_RelationDefinitions(); | ||
3615 | |||
3616 | /** | ||
3617 | * The meta object literal for the '<em><b>Fact Declarations</b></em>' containment reference list feature. | ||
3618 | * <!-- begin-user-doc --> | ||
3619 | * <!-- end-user-doc --> | ||
3620 | * @generated | ||
3621 | */ | ||
3622 | EReference ALS_DOCUMENT__FACT_DECLARATIONS = eINSTANCE.getALSDocument_FactDeclarations(); | ||
3623 | |||
3624 | /** | ||
3625 | * The meta object literal for the '<em><b>Run Command</b></em>' containment reference feature. | ||
3626 | * <!-- begin-user-doc --> | ||
3627 | * <!-- end-user-doc --> | ||
3628 | * @generated | ||
3629 | */ | ||
3630 | EReference ALS_DOCUMENT__RUN_COMMAND = eINSTANCE.getALSDocument_RunCommand(); | ||
3631 | |||
3632 | /** | ||
3633 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl <em>ALS Relation Declaration</em>}' class. | ||
3634 | * <!-- begin-user-doc --> | ||
3635 | * <!-- end-user-doc --> | ||
3636 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl | ||
3637 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDeclaration() | ||
3638 | * @generated | ||
3639 | */ | ||
3640 | EClass ALS_RELATION_DECLARATION = eINSTANCE.getALSRelationDeclaration(); | ||
3641 | |||
3642 | /** | ||
3643 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
3644 | * <!-- begin-user-doc --> | ||
3645 | * <!-- end-user-doc --> | ||
3646 | * @generated | ||
3647 | */ | ||
3648 | EAttribute ALS_RELATION_DECLARATION__NAME = eINSTANCE.getALSRelationDeclaration_Name(); | ||
3649 | |||
3650 | /** | ||
3651 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl <em>ALS Type Declaration</em>}' class. | ||
3652 | * <!-- begin-user-doc --> | ||
3653 | * <!-- end-user-doc --> | ||
3654 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeDeclarationImpl | ||
3655 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeDeclaration() | ||
3656 | * @generated | ||
3657 | */ | ||
3658 | EClass ALS_TYPE_DECLARATION = eINSTANCE.getALSTypeDeclaration(); | ||
3659 | |||
3660 | /** | ||
3661 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl <em>ALS Enum Declaration</em>}' class. | ||
3662 | * <!-- begin-user-doc --> | ||
3663 | * <!-- end-user-doc --> | ||
3664 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl | ||
3665 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumDeclaration() | ||
3666 | * @generated | ||
3667 | */ | ||
3668 | EClass ALS_ENUM_DECLARATION = eINSTANCE.getALSEnumDeclaration(); | ||
3669 | |||
3670 | /** | ||
3671 | * The meta object literal for the '<em><b>Literal</b></em>' containment reference list feature. | ||
3672 | * <!-- begin-user-doc --> | ||
3673 | * <!-- end-user-doc --> | ||
3674 | * @generated | ||
3675 | */ | ||
3676 | EReference ALS_ENUM_DECLARATION__LITERAL = eINSTANCE.getALSEnumDeclaration_Literal(); | ||
3677 | |||
3678 | /** | ||
3679 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl <em>ALS Enum Literal</em>}' class. | ||
3680 | * <!-- begin-user-doc --> | ||
3681 | * <!-- end-user-doc --> | ||
3682 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumLiteralImpl | ||
3683 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEnumLiteral() | ||
3684 | * @generated | ||
3685 | */ | ||
3686 | EClass ALS_ENUM_LITERAL = eINSTANCE.getALSEnumLiteral(); | ||
3687 | |||
3688 | /** | ||
3689 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl <em>ALS Signature Declaration</em>}' class. | ||
3690 | * <!-- begin-user-doc --> | ||
3691 | * <!-- end-user-doc --> | ||
3692 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureDeclarationImpl | ||
3693 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureDeclaration() | ||
3694 | * @generated | ||
3695 | */ | ||
3696 | EClass ALS_SIGNATURE_DECLARATION = eINSTANCE.getALSSignatureDeclaration(); | ||
3697 | |||
3698 | /** | ||
3699 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl <em>ALS Signature Body</em>}' class. | ||
3700 | * <!-- begin-user-doc --> | ||
3701 | * <!-- end-user-doc --> | ||
3702 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl | ||
3703 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSignatureBody() | ||
3704 | * @generated | ||
3705 | */ | ||
3706 | EClass ALS_SIGNATURE_BODY = eINSTANCE.getALSSignatureBody(); | ||
3707 | |||
3708 | /** | ||
3709 | * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature. | ||
3710 | * <!-- begin-user-doc --> | ||
3711 | * <!-- end-user-doc --> | ||
3712 | * @generated | ||
3713 | */ | ||
3714 | EAttribute ALS_SIGNATURE_BODY__MULTIPLICITY = eINSTANCE.getALSSignatureBody_Multiplicity(); | ||
3715 | |||
3716 | /** | ||
3717 | * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature. | ||
3718 | * <!-- begin-user-doc --> | ||
3719 | * <!-- end-user-doc --> | ||
3720 | * @generated | ||
3721 | */ | ||
3722 | EAttribute ALS_SIGNATURE_BODY__ABSTRACT = eINSTANCE.getALSSignatureBody_Abstract(); | ||
3723 | |||
3724 | /** | ||
3725 | * The meta object literal for the '<em><b>Declarations</b></em>' containment reference list feature. | ||
3726 | * <!-- begin-user-doc --> | ||
3727 | * <!-- end-user-doc --> | ||
3728 | * @generated | ||
3729 | */ | ||
3730 | EReference ALS_SIGNATURE_BODY__DECLARATIONS = eINSTANCE.getALSSignatureBody_Declarations(); | ||
3731 | |||
3732 | /** | ||
3733 | * The meta object literal for the '<em><b>Supertype</b></em>' reference feature. | ||
3734 | * <!-- begin-user-doc --> | ||
3735 | * <!-- end-user-doc --> | ||
3736 | * @generated | ||
3737 | */ | ||
3738 | EReference ALS_SIGNATURE_BODY__SUPERTYPE = eINSTANCE.getALSSignatureBody_Supertype(); | ||
3739 | |||
3740 | /** | ||
3741 | * The meta object literal for the '<em><b>Superset</b></em>' reference list feature. | ||
3742 | * <!-- begin-user-doc --> | ||
3743 | * <!-- end-user-doc --> | ||
3744 | * @generated | ||
3745 | */ | ||
3746 | EReference ALS_SIGNATURE_BODY__SUPERSET = eINSTANCE.getALSSignatureBody_Superset(); | ||
3747 | |||
3748 | /** | ||
3749 | * The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature. | ||
3750 | * <!-- begin-user-doc --> | ||
3751 | * <!-- end-user-doc --> | ||
3752 | * @generated | ||
3753 | */ | ||
3754 | EReference ALS_SIGNATURE_BODY__FIELDS = eINSTANCE.getALSSignatureBody_Fields(); | ||
3755 | |||
3756 | /** | ||
3757 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl <em>ALS Field Declaration</em>}' class. | ||
3758 | * <!-- begin-user-doc --> | ||
3759 | * <!-- end-user-doc --> | ||
3760 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl | ||
3761 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFieldDeclaration() | ||
3762 | * @generated | ||
3763 | */ | ||
3764 | EClass ALS_FIELD_DECLARATION = eINSTANCE.getALSFieldDeclaration(); | ||
3765 | |||
3766 | /** | ||
3767 | * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature. | ||
3768 | * <!-- begin-user-doc --> | ||
3769 | * <!-- end-user-doc --> | ||
3770 | * @generated | ||
3771 | */ | ||
3772 | EAttribute ALS_FIELD_DECLARATION__MULTIPLICITY = eINSTANCE.getALSFieldDeclaration_Multiplicity(); | ||
3773 | |||
3774 | /** | ||
3775 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. | ||
3776 | * <!-- begin-user-doc --> | ||
3777 | * <!-- end-user-doc --> | ||
3778 | * @generated | ||
3779 | */ | ||
3780 | EReference ALS_FIELD_DECLARATION__TYPE = eINSTANCE.getALSFieldDeclaration_Type(); | ||
3781 | |||
3782 | /** | ||
3783 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl <em>ALS Definition</em>}' class. | ||
3784 | * <!-- begin-user-doc --> | ||
3785 | * <!-- end-user-doc --> | ||
3786 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl | ||
3787 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDefinition() | ||
3788 | * @generated | ||
3789 | */ | ||
3790 | EClass ALS_DEFINITION = eINSTANCE.getALSDefinition(); | ||
3791 | |||
3792 | /** | ||
3793 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
3794 | * <!-- begin-user-doc --> | ||
3795 | * <!-- end-user-doc --> | ||
3796 | * @generated | ||
3797 | */ | ||
3798 | EAttribute ALS_DEFINITION__NAME = eINSTANCE.getALSDefinition_Name(); | ||
3799 | |||
3800 | /** | ||
3801 | * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature. | ||
3802 | * <!-- begin-user-doc --> | ||
3803 | * <!-- end-user-doc --> | ||
3804 | * @generated | ||
3805 | */ | ||
3806 | EReference ALS_DEFINITION__VARIABLES = eINSTANCE.getALSDefinition_Variables(); | ||
3807 | |||
3808 | /** | ||
3809 | * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. | ||
3810 | * <!-- begin-user-doc --> | ||
3811 | * <!-- end-user-doc --> | ||
3812 | * @generated | ||
3813 | */ | ||
3814 | EReference ALS_DEFINITION__VALUE = eINSTANCE.getALSDefinition_Value(); | ||
3815 | |||
3816 | /** | ||
3817 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl <em>ALS Function Definition</em>}' class. | ||
3818 | * <!-- begin-user-doc --> | ||
3819 | * <!-- end-user-doc --> | ||
3820 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl | ||
3821 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionDefinition() | ||
3822 | * @generated | ||
3823 | */ | ||
3824 | EClass ALS_FUNCTION_DEFINITION = eINSTANCE.getALSFunctionDefinition(); | ||
3825 | |||
3826 | /** | ||
3827 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. | ||
3828 | * <!-- begin-user-doc --> | ||
3829 | * <!-- end-user-doc --> | ||
3830 | * @generated | ||
3831 | */ | ||
3832 | EReference ALS_FUNCTION_DEFINITION__TYPE = eINSTANCE.getALSFunctionDefinition_Type(); | ||
3833 | |||
3834 | /** | ||
3835 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl <em>ALS Relation Definition</em>}' class. | ||
3836 | * <!-- begin-user-doc --> | ||
3837 | * <!-- end-user-doc --> | ||
3838 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDefinitionImpl | ||
3839 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRelationDefinition() | ||
3840 | * @generated | ||
3841 | */ | ||
3842 | EClass ALS_RELATION_DEFINITION = eINSTANCE.getALSRelationDefinition(); | ||
3843 | |||
3844 | /** | ||
3845 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl <em>ALS Fact Declaration</em>}' class. | ||
3846 | * <!-- begin-user-doc --> | ||
3847 | * <!-- end-user-doc --> | ||
3848 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl | ||
3849 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFactDeclaration() | ||
3850 | * @generated | ||
3851 | */ | ||
3852 | EClass ALS_FACT_DECLARATION = eINSTANCE.getALSFactDeclaration(); | ||
3853 | |||
3854 | /** | ||
3855 | * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | ||
3856 | * <!-- begin-user-doc --> | ||
3857 | * <!-- end-user-doc --> | ||
3858 | * @generated | ||
3859 | */ | ||
3860 | EAttribute ALS_FACT_DECLARATION__NAME = eINSTANCE.getALSFactDeclaration_Name(); | ||
3861 | |||
3862 | /** | ||
3863 | * The meta object literal for the '<em><b>Term</b></em>' containment reference feature. | ||
3864 | * <!-- begin-user-doc --> | ||
3865 | * <!-- end-user-doc --> | ||
3866 | * @generated | ||
3867 | */ | ||
3868 | EReference ALS_FACT_DECLARATION__TERM = eINSTANCE.getALSFactDeclaration_Term(); | ||
3869 | |||
3870 | /** | ||
3871 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl <em>ALS Term</em>}' class. | ||
3872 | * <!-- begin-user-doc --> | ||
3873 | * <!-- end-user-doc --> | ||
3874 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTermImpl | ||
3875 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTerm() | ||
3876 | * @generated | ||
3877 | */ | ||
3878 | EClass ALS_TERM = eINSTANCE.getALSTerm(); | ||
3879 | |||
3880 | /** | ||
3881 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl <em>ALS Variable Declaration</em>}' class. | ||
3882 | * <!-- begin-user-doc --> | ||
3883 | * <!-- end-user-doc --> | ||
3884 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl | ||
3885 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSVariableDeclaration() | ||
3886 | * @generated | ||
3887 | */ | ||
3888 | EClass ALS_VARIABLE_DECLARATION = eINSTANCE.getALSVariableDeclaration(); | ||
3889 | |||
3890 | /** | ||
3891 | * The meta object literal for the '<em><b>Range</b></em>' containment reference feature. | ||
3892 | * <!-- begin-user-doc --> | ||
3893 | * <!-- end-user-doc --> | ||
3894 | * @generated | ||
3895 | */ | ||
3896 | EReference ALS_VARIABLE_DECLARATION__RANGE = eINSTANCE.getALSVariableDeclaration_Range(); | ||
3897 | |||
3898 | /** | ||
3899 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl <em>ALS Run Command</em>}' class. | ||
3900 | * <!-- begin-user-doc --> | ||
3901 | * <!-- end-user-doc --> | ||
3902 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl | ||
3903 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRunCommand() | ||
3904 | * @generated | ||
3905 | */ | ||
3906 | EClass ALS_RUN_COMMAND = eINSTANCE.getALSRunCommand(); | ||
3907 | |||
3908 | /** | ||
3909 | * The meta object literal for the '<em><b>Type Scopes</b></em>' containment reference list feature. | ||
3910 | * <!-- begin-user-doc --> | ||
3911 | * <!-- end-user-doc --> | ||
3912 | * @generated | ||
3913 | */ | ||
3914 | EReference ALS_RUN_COMMAND__TYPE_SCOPES = eINSTANCE.getALSRunCommand_TypeScopes(); | ||
3915 | |||
3916 | /** | ||
3917 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl <em>ALS Type Scope</em>}' class. | ||
3918 | * <!-- begin-user-doc --> | ||
3919 | * <!-- end-user-doc --> | ||
3920 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl | ||
3921 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSTypeScope() | ||
3922 | * @generated | ||
3923 | */ | ||
3924 | EClass ALS_TYPE_SCOPE = eINSTANCE.getALSTypeScope(); | ||
3925 | |||
3926 | /** | ||
3927 | * The meta object literal for the '<em><b>Number</b></em>' attribute feature. | ||
3928 | * <!-- begin-user-doc --> | ||
3929 | * <!-- end-user-doc --> | ||
3930 | * @generated | ||
3931 | */ | ||
3932 | EAttribute ALS_TYPE_SCOPE__NUMBER = eINSTANCE.getALSTypeScope_Number(); | ||
3933 | |||
3934 | /** | ||
3935 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl <em>ALS Sig Scope</em>}' class. | ||
3936 | * <!-- begin-user-doc --> | ||
3937 | * <!-- end-user-doc --> | ||
3938 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl | ||
3939 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSigScope() | ||
3940 | * @generated | ||
3941 | */ | ||
3942 | EClass ALS_SIG_SCOPE = eINSTANCE.getALSSigScope(); | ||
3943 | |||
3944 | /** | ||
3945 | * The meta object literal for the '<em><b>Exactly</b></em>' attribute feature. | ||
3946 | * <!-- begin-user-doc --> | ||
3947 | * <!-- end-user-doc --> | ||
3948 | * @generated | ||
3949 | */ | ||
3950 | EAttribute ALS_SIG_SCOPE__EXACTLY = eINSTANCE.getALSSigScope_Exactly(); | ||
3951 | |||
3952 | /** | ||
3953 | * The meta object literal for the '<em><b>Type</b></em>' reference feature. | ||
3954 | * <!-- begin-user-doc --> | ||
3955 | * <!-- end-user-doc --> | ||
3956 | * @generated | ||
3957 | */ | ||
3958 | EReference ALS_SIG_SCOPE__TYPE = eINSTANCE.getALSSigScope_Type(); | ||
3959 | |||
3960 | /** | ||
3961 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl <em>ALS Int Scope</em>}' class. | ||
3962 | * <!-- begin-user-doc --> | ||
3963 | * <!-- end-user-doc --> | ||
3964 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntScopeImpl | ||
3965 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntScope() | ||
3966 | * @generated | ||
3967 | */ | ||
3968 | EClass ALS_INT_SCOPE = eINSTANCE.getALSIntScope(); | ||
3969 | |||
3970 | /** | ||
3971 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl <em>ALS String Scope</em>}' class. | ||
3972 | * <!-- begin-user-doc --> | ||
3973 | * <!-- end-user-doc --> | ||
3974 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringScopeImpl | ||
3975 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringScope() | ||
3976 | * @generated | ||
3977 | */ | ||
3978 | EClass ALS_STRING_SCOPE = eINSTANCE.getALSStringScope(); | ||
3979 | |||
3980 | /** | ||
3981 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl <em>ALS Quantified Ex</em>}' class. | ||
3982 | * <!-- begin-user-doc --> | ||
3983 | * <!-- end-user-doc --> | ||
3984 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl | ||
3985 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSQuantifiedEx() | ||
3986 | * @generated | ||
3987 | */ | ||
3988 | EClass ALS_QUANTIFIED_EX = eINSTANCE.getALSQuantifiedEx(); | ||
3989 | |||
3990 | /** | ||
3991 | * The meta object literal for the '<em><b>Type</b></em>' attribute feature. | ||
3992 | * <!-- begin-user-doc --> | ||
3993 | * <!-- end-user-doc --> | ||
3994 | * @generated | ||
3995 | */ | ||
3996 | EAttribute ALS_QUANTIFIED_EX__TYPE = eINSTANCE.getALSQuantifiedEx_Type(); | ||
3997 | |||
3998 | /** | ||
3999 | * The meta object literal for the '<em><b>Disj</b></em>' attribute feature. | ||
4000 | * <!-- begin-user-doc --> | ||
4001 | * <!-- end-user-doc --> | ||
4002 | * @generated | ||
4003 | */ | ||
4004 | EAttribute ALS_QUANTIFIED_EX__DISJ = eINSTANCE.getALSQuantifiedEx_Disj(); | ||
4005 | |||
4006 | /** | ||
4007 | * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature. | ||
4008 | * <!-- begin-user-doc --> | ||
4009 | * <!-- end-user-doc --> | ||
4010 | * @generated | ||
4011 | */ | ||
4012 | EReference ALS_QUANTIFIED_EX__VARIABLES = eINSTANCE.getALSQuantifiedEx_Variables(); | ||
4013 | |||
4014 | /** | ||
4015 | * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature. | ||
4016 | * <!-- begin-user-doc --> | ||
4017 | * <!-- end-user-doc --> | ||
4018 | * @generated | ||
4019 | */ | ||
4020 | EReference ALS_QUANTIFIED_EX__EXPRESSION = eINSTANCE.getALSQuantifiedEx_Expression(); | ||
4021 | |||
4022 | /** | ||
4023 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl <em>ALS Or</em>}' class. | ||
4024 | * <!-- begin-user-doc --> | ||
4025 | * <!-- end-user-doc --> | ||
4026 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl | ||
4027 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOr() | ||
4028 | * @generated | ||
4029 | */ | ||
4030 | EClass ALS_OR = eINSTANCE.getALSOr(); | ||
4031 | |||
4032 | /** | ||
4033 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4034 | * <!-- begin-user-doc --> | ||
4035 | * <!-- end-user-doc --> | ||
4036 | * @generated | ||
4037 | */ | ||
4038 | EReference ALS_OR__LEFT_OPERAND = eINSTANCE.getALSOr_LeftOperand(); | ||
4039 | |||
4040 | /** | ||
4041 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4042 | * <!-- begin-user-doc --> | ||
4043 | * <!-- end-user-doc --> | ||
4044 | * @generated | ||
4045 | */ | ||
4046 | EReference ALS_OR__RIGHT_OPERAND = eINSTANCE.getALSOr_RightOperand(); | ||
4047 | |||
4048 | /** | ||
4049 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl <em>ALS Iff</em>}' class. | ||
4050 | * <!-- begin-user-doc --> | ||
4051 | * <!-- end-user-doc --> | ||
4052 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl | ||
4053 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIff() | ||
4054 | * @generated | ||
4055 | */ | ||
4056 | EClass ALS_IFF = eINSTANCE.getALSIff(); | ||
4057 | |||
4058 | /** | ||
4059 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4060 | * <!-- begin-user-doc --> | ||
4061 | * <!-- end-user-doc --> | ||
4062 | * @generated | ||
4063 | */ | ||
4064 | EReference ALS_IFF__LEFT_OPERAND = eINSTANCE.getALSIff_LeftOperand(); | ||
4065 | |||
4066 | /** | ||
4067 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4068 | * <!-- begin-user-doc --> | ||
4069 | * <!-- end-user-doc --> | ||
4070 | * @generated | ||
4071 | */ | ||
4072 | EReference ALS_IFF__RIGHT_OPERAND = eINSTANCE.getALSIff_RightOperand(); | ||
4073 | |||
4074 | /** | ||
4075 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl <em>ALS Impl</em>}' class. | ||
4076 | * <!-- begin-user-doc --> | ||
4077 | * <!-- end-user-doc --> | ||
4078 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl | ||
4079 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSImpl() | ||
4080 | * @generated | ||
4081 | */ | ||
4082 | EClass ALS_IMPL = eINSTANCE.getALSImpl(); | ||
4083 | |||
4084 | /** | ||
4085 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4086 | * <!-- begin-user-doc --> | ||
4087 | * <!-- end-user-doc --> | ||
4088 | * @generated | ||
4089 | */ | ||
4090 | EReference ALS_IMPL__LEFT_OPERAND = eINSTANCE.getALSImpl_LeftOperand(); | ||
4091 | |||
4092 | /** | ||
4093 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4094 | * <!-- begin-user-doc --> | ||
4095 | * <!-- end-user-doc --> | ||
4096 | * @generated | ||
4097 | */ | ||
4098 | EReference ALS_IMPL__RIGHT_OPERAND = eINSTANCE.getALSImpl_RightOperand(); | ||
4099 | |||
4100 | /** | ||
4101 | * The meta object literal for the '<em><b>Else Operand</b></em>' containment reference feature. | ||
4102 | * <!-- begin-user-doc --> | ||
4103 | * <!-- end-user-doc --> | ||
4104 | * @generated | ||
4105 | */ | ||
4106 | EReference ALS_IMPL__ELSE_OPERAND = eINSTANCE.getALSImpl_ElseOperand(); | ||
4107 | |||
4108 | /** | ||
4109 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl <em>ALS And</em>}' class. | ||
4110 | * <!-- begin-user-doc --> | ||
4111 | * <!-- end-user-doc --> | ||
4112 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl | ||
4113 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSAnd() | ||
4114 | * @generated | ||
4115 | */ | ||
4116 | EClass ALS_AND = eINSTANCE.getALSAnd(); | ||
4117 | |||
4118 | /** | ||
4119 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4120 | * <!-- begin-user-doc --> | ||
4121 | * <!-- end-user-doc --> | ||
4122 | * @generated | ||
4123 | */ | ||
4124 | EReference ALS_AND__LEFT_OPERAND = eINSTANCE.getALSAnd_LeftOperand(); | ||
4125 | |||
4126 | /** | ||
4127 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4128 | * <!-- begin-user-doc --> | ||
4129 | * <!-- end-user-doc --> | ||
4130 | * @generated | ||
4131 | */ | ||
4132 | EReference ALS_AND__RIGHT_OPERAND = eINSTANCE.getALSAnd_RightOperand(); | ||
4133 | |||
4134 | /** | ||
4135 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl <em>ALS Equals</em>}' class. | ||
4136 | * <!-- begin-user-doc --> | ||
4137 | * <!-- end-user-doc --> | ||
4138 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl | ||
4139 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSEquals() | ||
4140 | * @generated | ||
4141 | */ | ||
4142 | EClass ALS_EQUALS = eINSTANCE.getALSEquals(); | ||
4143 | |||
4144 | /** | ||
4145 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4146 | * <!-- begin-user-doc --> | ||
4147 | * <!-- end-user-doc --> | ||
4148 | * @generated | ||
4149 | */ | ||
4150 | EReference ALS_EQUALS__LEFT_OPERAND = eINSTANCE.getALSEquals_LeftOperand(); | ||
4151 | |||
4152 | /** | ||
4153 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4154 | * <!-- begin-user-doc --> | ||
4155 | * <!-- end-user-doc --> | ||
4156 | * @generated | ||
4157 | */ | ||
4158 | EReference ALS_EQUALS__RIGHT_OPERAND = eINSTANCE.getALSEquals_RightOperand(); | ||
4159 | |||
4160 | /** | ||
4161 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl <em>ALS Not Equals</em>}' class. | ||
4162 | * <!-- begin-user-doc --> | ||
4163 | * <!-- end-user-doc --> | ||
4164 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl | ||
4165 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNotEquals() | ||
4166 | * @generated | ||
4167 | */ | ||
4168 | EClass ALS_NOT_EQUALS = eINSTANCE.getALSNotEquals(); | ||
4169 | |||
4170 | /** | ||
4171 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4172 | * <!-- begin-user-doc --> | ||
4173 | * <!-- end-user-doc --> | ||
4174 | * @generated | ||
4175 | */ | ||
4176 | EReference ALS_NOT_EQUALS__LEFT_OPERAND = eINSTANCE.getALSNotEquals_LeftOperand(); | ||
4177 | |||
4178 | /** | ||
4179 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4180 | * <!-- begin-user-doc --> | ||
4181 | * <!-- end-user-doc --> | ||
4182 | * @generated | ||
4183 | */ | ||
4184 | EReference ALS_NOT_EQUALS__RIGHT_OPERAND = eINSTANCE.getALSNotEquals_RightOperand(); | ||
4185 | |||
4186 | /** | ||
4187 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl <em>ALS Subset</em>}' class. | ||
4188 | * <!-- begin-user-doc --> | ||
4189 | * <!-- end-user-doc --> | ||
4190 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl | ||
4191 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSubset() | ||
4192 | * @generated | ||
4193 | */ | ||
4194 | EClass ALS_SUBSET = eINSTANCE.getALSSubset(); | ||
4195 | |||
4196 | /** | ||
4197 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4198 | * <!-- begin-user-doc --> | ||
4199 | * <!-- end-user-doc --> | ||
4200 | * @generated | ||
4201 | */ | ||
4202 | EReference ALS_SUBSET__LEFT_OPERAND = eINSTANCE.getALSSubset_LeftOperand(); | ||
4203 | |||
4204 | /** | ||
4205 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4206 | * <!-- begin-user-doc --> | ||
4207 | * <!-- end-user-doc --> | ||
4208 | * @generated | ||
4209 | */ | ||
4210 | EReference ALS_SUBSET__RIGHT_OPERAND = eINSTANCE.getALSSubset_RightOperand(); | ||
4211 | |||
4212 | /** | ||
4213 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl <em>ALS Less</em>}' class. | ||
4214 | * <!-- begin-user-doc --> | ||
4215 | * <!-- end-user-doc --> | ||
4216 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl | ||
4217 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLess() | ||
4218 | * @generated | ||
4219 | */ | ||
4220 | EClass ALS_LESS = eINSTANCE.getALSLess(); | ||
4221 | |||
4222 | /** | ||
4223 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4224 | * <!-- begin-user-doc --> | ||
4225 | * <!-- end-user-doc --> | ||
4226 | * @generated | ||
4227 | */ | ||
4228 | EReference ALS_LESS__LEFT_OPERAND = eINSTANCE.getALSLess_LeftOperand(); | ||
4229 | |||
4230 | /** | ||
4231 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4232 | * <!-- begin-user-doc --> | ||
4233 | * <!-- end-user-doc --> | ||
4234 | * @generated | ||
4235 | */ | ||
4236 | EReference ALS_LESS__RIGHT_OPERAND = eINSTANCE.getALSLess_RightOperand(); | ||
4237 | |||
4238 | /** | ||
4239 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl <em>ALS Leq</em>}' class. | ||
4240 | * <!-- begin-user-doc --> | ||
4241 | * <!-- end-user-doc --> | ||
4242 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl | ||
4243 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSLeq() | ||
4244 | * @generated | ||
4245 | */ | ||
4246 | EClass ALS_LEQ = eINSTANCE.getALSLeq(); | ||
4247 | |||
4248 | /** | ||
4249 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4250 | * <!-- begin-user-doc --> | ||
4251 | * <!-- end-user-doc --> | ||
4252 | * @generated | ||
4253 | */ | ||
4254 | EReference ALS_LEQ__LEFT_OPERAND = eINSTANCE.getALSLeq_LeftOperand(); | ||
4255 | |||
4256 | /** | ||
4257 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4258 | * <!-- begin-user-doc --> | ||
4259 | * <!-- end-user-doc --> | ||
4260 | * @generated | ||
4261 | */ | ||
4262 | EReference ALS_LEQ__RIGHT_OPERAND = eINSTANCE.getALSLeq_RightOperand(); | ||
4263 | |||
4264 | /** | ||
4265 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl <em>ALS More</em>}' class. | ||
4266 | * <!-- begin-user-doc --> | ||
4267 | * <!-- end-user-doc --> | ||
4268 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl | ||
4269 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMore() | ||
4270 | * @generated | ||
4271 | */ | ||
4272 | EClass ALS_MORE = eINSTANCE.getALSMore(); | ||
4273 | |||
4274 | /** | ||
4275 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4276 | * <!-- begin-user-doc --> | ||
4277 | * <!-- end-user-doc --> | ||
4278 | * @generated | ||
4279 | */ | ||
4280 | EReference ALS_MORE__LEFT_OPERAND = eINSTANCE.getALSMore_LeftOperand(); | ||
4281 | |||
4282 | /** | ||
4283 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4284 | * <!-- begin-user-doc --> | ||
4285 | * <!-- end-user-doc --> | ||
4286 | * @generated | ||
4287 | */ | ||
4288 | EReference ALS_MORE__RIGHT_OPERAND = eINSTANCE.getALSMore_RightOperand(); | ||
4289 | |||
4290 | /** | ||
4291 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl <em>ALS Meq</em>}' class. | ||
4292 | * <!-- begin-user-doc --> | ||
4293 | * <!-- end-user-doc --> | ||
4294 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl | ||
4295 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMeq() | ||
4296 | * @generated | ||
4297 | */ | ||
4298 | EClass ALS_MEQ = eINSTANCE.getALSMeq(); | ||
4299 | |||
4300 | /** | ||
4301 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4302 | * <!-- begin-user-doc --> | ||
4303 | * <!-- end-user-doc --> | ||
4304 | * @generated | ||
4305 | */ | ||
4306 | EReference ALS_MEQ__LEFT_OPERAND = eINSTANCE.getALSMeq_LeftOperand(); | ||
4307 | |||
4308 | /** | ||
4309 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4310 | * <!-- begin-user-doc --> | ||
4311 | * <!-- end-user-doc --> | ||
4312 | * @generated | ||
4313 | */ | ||
4314 | EReference ALS_MEQ__RIGHT_OPERAND = eINSTANCE.getALSMeq_RightOperand(); | ||
4315 | |||
4316 | /** | ||
4317 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl <em>ALS Override</em>}' class. | ||
4318 | * <!-- begin-user-doc --> | ||
4319 | * <!-- end-user-doc --> | ||
4320 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl | ||
4321 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSOverride() | ||
4322 | * @generated | ||
4323 | */ | ||
4324 | EClass ALS_OVERRIDE = eINSTANCE.getALSOverride(); | ||
4325 | |||
4326 | /** | ||
4327 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4328 | * <!-- begin-user-doc --> | ||
4329 | * <!-- end-user-doc --> | ||
4330 | * @generated | ||
4331 | */ | ||
4332 | EReference ALS_OVERRIDE__LEFT_OPERAND = eINSTANCE.getALSOverride_LeftOperand(); | ||
4333 | |||
4334 | /** | ||
4335 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4336 | * <!-- begin-user-doc --> | ||
4337 | * <!-- end-user-doc --> | ||
4338 | * @generated | ||
4339 | */ | ||
4340 | EReference ALS_OVERRIDE__RIGHT_OPERAND = eINSTANCE.getALSOverride_RightOperand(); | ||
4341 | |||
4342 | /** | ||
4343 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl <em>ALS Range Restriction Right</em>}' class. | ||
4344 | * <!-- begin-user-doc --> | ||
4345 | * <!-- end-user-doc --> | ||
4346 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl | ||
4347 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionRight() | ||
4348 | * @generated | ||
4349 | */ | ||
4350 | EClass ALS_RANGE_RESTRICTION_RIGHT = eINSTANCE.getALSRangeRestrictionRight(); | ||
4351 | |||
4352 | /** | ||
4353 | * The meta object literal for the '<em><b>Relation</b></em>' containment reference feature. | ||
4354 | * <!-- begin-user-doc --> | ||
4355 | * <!-- end-user-doc --> | ||
4356 | * @generated | ||
4357 | */ | ||
4358 | EReference ALS_RANGE_RESTRICTION_RIGHT__RELATION = eINSTANCE.getALSRangeRestrictionRight_Relation(); | ||
4359 | |||
4360 | /** | ||
4361 | * The meta object literal for the '<em><b>Filter</b></em>' containment reference feature. | ||
4362 | * <!-- begin-user-doc --> | ||
4363 | * <!-- end-user-doc --> | ||
4364 | * @generated | ||
4365 | */ | ||
4366 | EReference ALS_RANGE_RESTRICTION_RIGHT__FILTER = eINSTANCE.getALSRangeRestrictionRight_Filter(); | ||
4367 | |||
4368 | /** | ||
4369 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl <em>ALS Range Restriction Left</em>}' class. | ||
4370 | * <!-- begin-user-doc --> | ||
4371 | * <!-- end-user-doc --> | ||
4372 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl | ||
4373 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSRangeRestrictionLeft() | ||
4374 | * @generated | ||
4375 | */ | ||
4376 | EClass ALS_RANGE_RESTRICTION_LEFT = eINSTANCE.getALSRangeRestrictionLeft(); | ||
4377 | |||
4378 | /** | ||
4379 | * The meta object literal for the '<em><b>Filter</b></em>' containment reference feature. | ||
4380 | * <!-- begin-user-doc --> | ||
4381 | * <!-- end-user-doc --> | ||
4382 | * @generated | ||
4383 | */ | ||
4384 | EReference ALS_RANGE_RESTRICTION_LEFT__FILTER = eINSTANCE.getALSRangeRestrictionLeft_Filter(); | ||
4385 | |||
4386 | /** | ||
4387 | * The meta object literal for the '<em><b>Relation</b></em>' containment reference feature. | ||
4388 | * <!-- begin-user-doc --> | ||
4389 | * <!-- end-user-doc --> | ||
4390 | * @generated | ||
4391 | */ | ||
4392 | EReference ALS_RANGE_RESTRICTION_LEFT__RELATION = eINSTANCE.getALSRangeRestrictionLeft_Relation(); | ||
4393 | |||
4394 | /** | ||
4395 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl <em>ALS Join</em>}' class. | ||
4396 | * <!-- begin-user-doc --> | ||
4397 | * <!-- end-user-doc --> | ||
4398 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl | ||
4399 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSJoin() | ||
4400 | * @generated | ||
4401 | */ | ||
4402 | EClass ALS_JOIN = eINSTANCE.getALSJoin(); | ||
4403 | |||
4404 | /** | ||
4405 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4406 | * <!-- begin-user-doc --> | ||
4407 | * <!-- end-user-doc --> | ||
4408 | * @generated | ||
4409 | */ | ||
4410 | EReference ALS_JOIN__LEFT_OPERAND = eINSTANCE.getALSJoin_LeftOperand(); | ||
4411 | |||
4412 | /** | ||
4413 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4414 | * <!-- begin-user-doc --> | ||
4415 | * <!-- end-user-doc --> | ||
4416 | * @generated | ||
4417 | */ | ||
4418 | EReference ALS_JOIN__RIGHT_OPERAND = eINSTANCE.getALSJoin_RightOperand(); | ||
4419 | |||
4420 | /** | ||
4421 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl <em>ALS Minus</em>}' class. | ||
4422 | * <!-- begin-user-doc --> | ||
4423 | * <!-- end-user-doc --> | ||
4424 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl | ||
4425 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMinus() | ||
4426 | * @generated | ||
4427 | */ | ||
4428 | EClass ALS_MINUS = eINSTANCE.getALSMinus(); | ||
4429 | |||
4430 | /** | ||
4431 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4432 | * <!-- begin-user-doc --> | ||
4433 | * <!-- end-user-doc --> | ||
4434 | * @generated | ||
4435 | */ | ||
4436 | EReference ALS_MINUS__LEFT_OPERAND = eINSTANCE.getALSMinus_LeftOperand(); | ||
4437 | |||
4438 | /** | ||
4439 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4440 | * <!-- begin-user-doc --> | ||
4441 | * <!-- end-user-doc --> | ||
4442 | * @generated | ||
4443 | */ | ||
4444 | EReference ALS_MINUS__RIGHT_OPERAND = eINSTANCE.getALSMinus_RightOperand(); | ||
4445 | |||
4446 | /** | ||
4447 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl <em>ALS Plus</em>}' class. | ||
4448 | * <!-- begin-user-doc --> | ||
4449 | * <!-- end-user-doc --> | ||
4450 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl | ||
4451 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSPlus() | ||
4452 | * @generated | ||
4453 | */ | ||
4454 | EClass ALS_PLUS = eINSTANCE.getALSPlus(); | ||
4455 | |||
4456 | /** | ||
4457 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4458 | * <!-- begin-user-doc --> | ||
4459 | * <!-- end-user-doc --> | ||
4460 | * @generated | ||
4461 | */ | ||
4462 | EReference ALS_PLUS__LEFT_OPERAND = eINSTANCE.getALSPlus_LeftOperand(); | ||
4463 | |||
4464 | /** | ||
4465 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4466 | * <!-- begin-user-doc --> | ||
4467 | * <!-- end-user-doc --> | ||
4468 | * @generated | ||
4469 | */ | ||
4470 | EReference ALS_PLUS__RIGHT_OPERAND = eINSTANCE.getALSPlus_RightOperand(); | ||
4471 | |||
4472 | /** | ||
4473 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl <em>ALS Intersection</em>}' class. | ||
4474 | * <!-- begin-user-doc --> | ||
4475 | * <!-- end-user-doc --> | ||
4476 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl | ||
4477 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIntersection() | ||
4478 | * @generated | ||
4479 | */ | ||
4480 | EClass ALS_INTERSECTION = eINSTANCE.getALSIntersection(); | ||
4481 | |||
4482 | /** | ||
4483 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4484 | * <!-- begin-user-doc --> | ||
4485 | * <!-- end-user-doc --> | ||
4486 | * @generated | ||
4487 | */ | ||
4488 | EReference ALS_INTERSECTION__LEFT_OPERAND = eINSTANCE.getALSIntersection_LeftOperand(); | ||
4489 | |||
4490 | /** | ||
4491 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4492 | * <!-- begin-user-doc --> | ||
4493 | * <!-- end-user-doc --> | ||
4494 | * @generated | ||
4495 | */ | ||
4496 | EReference ALS_INTERSECTION__RIGHT_OPERAND = eINSTANCE.getALSIntersection_RightOperand(); | ||
4497 | |||
4498 | /** | ||
4499 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl <em>ALS Direct Product</em>}' class. | ||
4500 | * <!-- begin-user-doc --> | ||
4501 | * <!-- end-user-doc --> | ||
4502 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl | ||
4503 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSDirectProduct() | ||
4504 | * @generated | ||
4505 | */ | ||
4506 | EClass ALS_DIRECT_PRODUCT = eINSTANCE.getALSDirectProduct(); | ||
4507 | |||
4508 | /** | ||
4509 | * The meta object literal for the '<em><b>Left Operand</b></em>' containment reference feature. | ||
4510 | * <!-- begin-user-doc --> | ||
4511 | * <!-- end-user-doc --> | ||
4512 | * @generated | ||
4513 | */ | ||
4514 | EReference ALS_DIRECT_PRODUCT__LEFT_OPERAND = eINSTANCE.getALSDirectProduct_LeftOperand(); | ||
4515 | |||
4516 | /** | ||
4517 | * The meta object literal for the '<em><b>Left Multiplicit</b></em>' attribute feature. | ||
4518 | * <!-- begin-user-doc --> | ||
4519 | * <!-- end-user-doc --> | ||
4520 | * @generated | ||
4521 | */ | ||
4522 | EAttribute ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT = eINSTANCE.getALSDirectProduct_LeftMultiplicit(); | ||
4523 | |||
4524 | /** | ||
4525 | * The meta object literal for the '<em><b>Right Multiplicit</b></em>' attribute feature. | ||
4526 | * <!-- begin-user-doc --> | ||
4527 | * <!-- end-user-doc --> | ||
4528 | * @generated | ||
4529 | */ | ||
4530 | EAttribute ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT = eINSTANCE.getALSDirectProduct_RightMultiplicit(); | ||
4531 | |||
4532 | /** | ||
4533 | * The meta object literal for the '<em><b>Right Operand</b></em>' containment reference feature. | ||
4534 | * <!-- begin-user-doc --> | ||
4535 | * <!-- end-user-doc --> | ||
4536 | * @generated | ||
4537 | */ | ||
4538 | EReference ALS_DIRECT_PRODUCT__RIGHT_OPERAND = eINSTANCE.getALSDirectProduct_RightOperand(); | ||
4539 | |||
4540 | /** | ||
4541 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl <em>ALS Not</em>}' class. | ||
4542 | * <!-- begin-user-doc --> | ||
4543 | * <!-- end-user-doc --> | ||
4544 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl | ||
4545 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNot() | ||
4546 | * @generated | ||
4547 | */ | ||
4548 | EClass ALS_NOT = eINSTANCE.getALSNot(); | ||
4549 | |||
4550 | /** | ||
4551 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4552 | * <!-- begin-user-doc --> | ||
4553 | * <!-- end-user-doc --> | ||
4554 | * @generated | ||
4555 | */ | ||
4556 | EReference ALS_NOT__OPERAND = eINSTANCE.getALSNot_Operand(); | ||
4557 | |||
4558 | /** | ||
4559 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl <em>ALS Inverse Relation</em>}' class. | ||
4560 | * <!-- begin-user-doc --> | ||
4561 | * <!-- end-user-doc --> | ||
4562 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl | ||
4563 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInverseRelation() | ||
4564 | * @generated | ||
4565 | */ | ||
4566 | EClass ALS_INVERSE_RELATION = eINSTANCE.getALSInverseRelation(); | ||
4567 | |||
4568 | /** | ||
4569 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4570 | * <!-- begin-user-doc --> | ||
4571 | * <!-- end-user-doc --> | ||
4572 | * @generated | ||
4573 | */ | ||
4574 | EReference ALS_INVERSE_RELATION__OPERAND = eINSTANCE.getALSInverseRelation_Operand(); | ||
4575 | |||
4576 | /** | ||
4577 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl <em>Al STransitive Closure</em>}' class. | ||
4578 | * <!-- begin-user-doc --> | ||
4579 | * <!-- end-user-doc --> | ||
4580 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl | ||
4581 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getAlSTransitiveClosure() | ||
4582 | * @generated | ||
4583 | */ | ||
4584 | EClass AL_STRANSITIVE_CLOSURE = eINSTANCE.getAlSTransitiveClosure(); | ||
4585 | |||
4586 | /** | ||
4587 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4588 | * <!-- begin-user-doc --> | ||
4589 | * <!-- end-user-doc --> | ||
4590 | * @generated | ||
4591 | */ | ||
4592 | EReference AL_STRANSITIVE_CLOSURE__OPERAND = eINSTANCE.getAlSTransitiveClosure_Operand(); | ||
4593 | |||
4594 | /** | ||
4595 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl <em>ALS Reflective Transitive Closure</em>}' class. | ||
4596 | * <!-- begin-user-doc --> | ||
4597 | * <!-- end-user-doc --> | ||
4598 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl | ||
4599 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReflectiveTransitiveClosure() | ||
4600 | * @generated | ||
4601 | */ | ||
4602 | EClass ALS_REFLECTIVE_TRANSITIVE_CLOSURE = eINSTANCE.getALSReflectiveTransitiveClosure(); | ||
4603 | |||
4604 | /** | ||
4605 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4606 | * <!-- begin-user-doc --> | ||
4607 | * <!-- end-user-doc --> | ||
4608 | * @generated | ||
4609 | */ | ||
4610 | EReference ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND = eINSTANCE.getALSReflectiveTransitiveClosure_Operand(); | ||
4611 | |||
4612 | /** | ||
4613 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl <em>ALS Cardinality</em>}' class. | ||
4614 | * <!-- begin-user-doc --> | ||
4615 | * <!-- end-user-doc --> | ||
4616 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl | ||
4617 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSCardinality() | ||
4618 | * @generated | ||
4619 | */ | ||
4620 | EClass ALS_CARDINALITY = eINSTANCE.getALSCardinality(); | ||
4621 | |||
4622 | /** | ||
4623 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4624 | * <!-- begin-user-doc --> | ||
4625 | * <!-- end-user-doc --> | ||
4626 | * @generated | ||
4627 | */ | ||
4628 | EReference ALS_CARDINALITY__OPERAND = eINSTANCE.getALSCardinality_Operand(); | ||
4629 | |||
4630 | /** | ||
4631 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl <em>ALS Unary Minus</em>}' class. | ||
4632 | * <!-- begin-user-doc --> | ||
4633 | * <!-- end-user-doc --> | ||
4634 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl | ||
4635 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUnaryMinus() | ||
4636 | * @generated | ||
4637 | */ | ||
4638 | EClass ALS_UNARY_MINUS = eINSTANCE.getALSUnaryMinus(); | ||
4639 | |||
4640 | /** | ||
4641 | * The meta object literal for the '<em><b>Operand</b></em>' containment reference feature. | ||
4642 | * <!-- begin-user-doc --> | ||
4643 | * <!-- end-user-doc --> | ||
4644 | * @generated | ||
4645 | */ | ||
4646 | EReference ALS_UNARY_MINUS__OPERAND = eINSTANCE.getALSUnaryMinus_Operand(); | ||
4647 | |||
4648 | /** | ||
4649 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl <em>ALS Sum</em>}' class. | ||
4650 | * <!-- begin-user-doc --> | ||
4651 | * <!-- end-user-doc --> | ||
4652 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl | ||
4653 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSSum() | ||
4654 | * @generated | ||
4655 | */ | ||
4656 | EClass ALS_SUM = eINSTANCE.getALSSum(); | ||
4657 | |||
4658 | /** | ||
4659 | * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature. | ||
4660 | * <!-- begin-user-doc --> | ||
4661 | * <!-- end-user-doc --> | ||
4662 | * @generated | ||
4663 | */ | ||
4664 | EReference ALS_SUM__VARIABLES = eINSTANCE.getALSSum_Variables(); | ||
4665 | |||
4666 | /** | ||
4667 | * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature. | ||
4668 | * <!-- begin-user-doc --> | ||
4669 | * <!-- end-user-doc --> | ||
4670 | * @generated | ||
4671 | */ | ||
4672 | EReference ALS_SUM__EXPRESSION = eINSTANCE.getALSSum_Expression(); | ||
4673 | |||
4674 | /** | ||
4675 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl <em>ALS Function Call</em>}' class. | ||
4676 | * <!-- begin-user-doc --> | ||
4677 | * <!-- end-user-doc --> | ||
4678 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl | ||
4679 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSFunctionCall() | ||
4680 | * @generated | ||
4681 | */ | ||
4682 | EClass ALS_FUNCTION_CALL = eINSTANCE.getALSFunctionCall(); | ||
4683 | |||
4684 | /** | ||
4685 | * The meta object literal for the '<em><b>Referred Definition</b></em>' reference feature. | ||
4686 | * <!-- begin-user-doc --> | ||
4687 | * <!-- end-user-doc --> | ||
4688 | * @generated | ||
4689 | */ | ||
4690 | EReference ALS_FUNCTION_CALL__REFERRED_DEFINITION = eINSTANCE.getALSFunctionCall_ReferredDefinition(); | ||
4691 | |||
4692 | /** | ||
4693 | * The meta object literal for the '<em><b>Referred Numeric Operator</b></em>' attribute feature. | ||
4694 | * <!-- begin-user-doc --> | ||
4695 | * <!-- end-user-doc --> | ||
4696 | * @generated | ||
4697 | */ | ||
4698 | EAttribute ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR = eINSTANCE.getALSFunctionCall_ReferredNumericOperator(); | ||
4699 | |||
4700 | /** | ||
4701 | * The meta object literal for the '<em><b>Params</b></em>' containment reference list feature. | ||
4702 | * <!-- begin-user-doc --> | ||
4703 | * <!-- end-user-doc --> | ||
4704 | * @generated | ||
4705 | */ | ||
4706 | EReference ALS_FUNCTION_CALL__PARAMS = eINSTANCE.getALSFunctionCall_Params(); | ||
4707 | |||
4708 | /** | ||
4709 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl <em>ALS None</em>}' class. | ||
4710 | * <!-- begin-user-doc --> | ||
4711 | * <!-- end-user-doc --> | ||
4712 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNoneImpl | ||
4713 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNone() | ||
4714 | * @generated | ||
4715 | */ | ||
4716 | EClass ALS_NONE = eINSTANCE.getALSNone(); | ||
4717 | |||
4718 | /** | ||
4719 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl <em>ALS Iden</em>}' class. | ||
4720 | * <!-- begin-user-doc --> | ||
4721 | * <!-- end-user-doc --> | ||
4722 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIdenImpl | ||
4723 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSIden() | ||
4724 | * @generated | ||
4725 | */ | ||
4726 | EClass ALS_IDEN = eINSTANCE.getALSIden(); | ||
4727 | |||
4728 | /** | ||
4729 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl <em>ALS Univ</em>}' class. | ||
4730 | * <!-- begin-user-doc --> | ||
4731 | * <!-- end-user-doc --> | ||
4732 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnivImpl | ||
4733 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSUniv() | ||
4734 | * @generated | ||
4735 | */ | ||
4736 | EClass ALS_UNIV = eINSTANCE.getALSUniv(); | ||
4737 | |||
4738 | /** | ||
4739 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl <em>ALS Int</em>}' class. | ||
4740 | * <!-- begin-user-doc --> | ||
4741 | * <!-- end-user-doc --> | ||
4742 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntImpl | ||
4743 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSInt() | ||
4744 | * @generated | ||
4745 | */ | ||
4746 | EClass ALS_INT = eINSTANCE.getALSInt(); | ||
4747 | |||
4748 | /** | ||
4749 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl <em>ALS String</em>}' class. | ||
4750 | * <!-- begin-user-doc --> | ||
4751 | * <!-- end-user-doc --> | ||
4752 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringImpl | ||
4753 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSString() | ||
4754 | * @generated | ||
4755 | */ | ||
4756 | EClass ALS_STRING = eINSTANCE.getALSString(); | ||
4757 | |||
4758 | /** | ||
4759 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl <em>ALS Reference</em>}' class. | ||
4760 | * <!-- begin-user-doc --> | ||
4761 | * <!-- end-user-doc --> | ||
4762 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl | ||
4763 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSReference() | ||
4764 | * @generated | ||
4765 | */ | ||
4766 | EClass ALS_REFERENCE = eINSTANCE.getALSReference(); | ||
4767 | |||
4768 | /** | ||
4769 | * The meta object literal for the '<em><b>Referred</b></em>' reference feature. | ||
4770 | * <!-- begin-user-doc --> | ||
4771 | * <!-- end-user-doc --> | ||
4772 | * @generated | ||
4773 | */ | ||
4774 | EReference ALS_REFERENCE__REFERRED = eINSTANCE.getALSReference_Referred(); | ||
4775 | |||
4776 | /** | ||
4777 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl <em>ALS Number Literal</em>}' class. | ||
4778 | * <!-- begin-user-doc --> | ||
4779 | * <!-- end-user-doc --> | ||
4780 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl | ||
4781 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumberLiteral() | ||
4782 | * @generated | ||
4783 | */ | ||
4784 | EClass ALS_NUMBER_LITERAL = eINSTANCE.getALSNumberLiteral(); | ||
4785 | |||
4786 | /** | ||
4787 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4788 | * <!-- begin-user-doc --> | ||
4789 | * <!-- end-user-doc --> | ||
4790 | * @generated | ||
4791 | */ | ||
4792 | EAttribute ALS_NUMBER_LITERAL__VALUE = eINSTANCE.getALSNumberLiteral_Value(); | ||
4793 | |||
4794 | /** | ||
4795 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl <em>ALS String Literal</em>}' class. | ||
4796 | * <!-- begin-user-doc --> | ||
4797 | * <!-- end-user-doc --> | ||
4798 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl | ||
4799 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSStringLiteral() | ||
4800 | * @generated | ||
4801 | */ | ||
4802 | EClass ALS_STRING_LITERAL = eINSTANCE.getALSStringLiteral(); | ||
4803 | |||
4804 | /** | ||
4805 | * The meta object literal for the '<em><b>Value</b></em>' attribute feature. | ||
4806 | * <!-- begin-user-doc --> | ||
4807 | * <!-- end-user-doc --> | ||
4808 | * @generated | ||
4809 | */ | ||
4810 | EAttribute ALS_STRING_LITERAL__VALUE = eINSTANCE.getALSStringLiteral_Value(); | ||
4811 | |||
4812 | /** | ||
4813 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity <em>ALS Multiplicity</em>}' enum. | ||
4814 | * <!-- begin-user-doc --> | ||
4815 | * <!-- end-user-doc --> | ||
4816 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity | ||
4817 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSMultiplicity() | ||
4818 | * @generated | ||
4819 | */ | ||
4820 | EEnum ALS_MULTIPLICITY = eINSTANCE.getALSMultiplicity(); | ||
4821 | |||
4822 | /** | ||
4823 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator <em>ALS Numeric Operator</em>}' enum. | ||
4824 | * <!-- begin-user-doc --> | ||
4825 | * <!-- end-user-doc --> | ||
4826 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator | ||
4827 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlloyLanguagePackageImpl#getALSNumericOperator() | ||
4828 | * @generated | ||
4829 | */ | ||
4830 | EEnum ALS_NUMERIC_OPERATOR = eINSTANCE.getALSNumericOperator(); | ||
4831 | |||
4832 | } | ||
4833 | |||
4834 | } //AlloyLanguagePackage | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java new file mode 100644 index 00000000..0401917d --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSAndImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS And</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSAndImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSAndImpl extends ALSTermImpl implements ALSAnd | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSAndImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_AND; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_AND__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_AND__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSAndImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java new file mode 100644 index 00000000..9625adb4 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSCardinalityImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Cardinality</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSCardinalityImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSCardinalityImpl extends ALSTermImpl implements ALSCardinality | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSCardinalityImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_CARDINALITY; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(ALSTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_CARDINALITY__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND: | ||
154 | setOperand((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND: | ||
171 | setOperand((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_CARDINALITY__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSCardinalityImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java new file mode 100644 index 00000000..e4251d72 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDefinitionImpl.java | |||
@@ -0,0 +1,312 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>ALS Definition</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl#getName <em>Name</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl#getVariables <em>Variables</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDefinitionImpl#getValue <em>Value</em>}</li> | ||
37 | * </ul> | ||
38 | * | ||
39 | * @generated | ||
40 | */ | ||
41 | public class ALSDefinitionImpl extends MinimalEObjectImpl.Container implements ALSDefinition | ||
42 | { | ||
43 | /** | ||
44 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getName() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected static final String NAME_EDEFAULT = null; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getName() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected String name = NAME_EDEFAULT; | ||
62 | |||
63 | /** | ||
64 | * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getVariables() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected EList<ALSVariableDeclaration> variables; | ||
72 | |||
73 | /** | ||
74 | * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @see #getValue() | ||
78 | * @generated | ||
79 | * @ordered | ||
80 | */ | ||
81 | protected ALSTerm value; | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | protected ALSDefinitionImpl() | ||
89 | { | ||
90 | super(); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | protected EClass eStaticClass() | ||
100 | { | ||
101 | return AlloyLanguagePackage.Literals.ALS_DEFINITION; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public String getName() | ||
110 | { | ||
111 | return name; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public void setName(String newName) | ||
120 | { | ||
121 | String oldName = name; | ||
122 | name = newName; | ||
123 | if (eNotificationRequired()) | ||
124 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DEFINITION__NAME, oldName, name)); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | public EList<ALSVariableDeclaration> getVariables() | ||
133 | { | ||
134 | if (variables == null) | ||
135 | { | ||
136 | variables = new EObjectContainmentEList<ALSVariableDeclaration>(ALSVariableDeclaration.class, this, AlloyLanguagePackage.ALS_DEFINITION__VARIABLES); | ||
137 | } | ||
138 | return variables; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | public ALSTerm getValue() | ||
147 | { | ||
148 | return value; | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | public NotificationChain basicSetValue(ALSTerm newValue, NotificationChain msgs) | ||
157 | { | ||
158 | ALSTerm oldValue = value; | ||
159 | value = newValue; | ||
160 | if (eNotificationRequired()) | ||
161 | { | ||
162 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DEFINITION__VALUE, oldValue, newValue); | ||
163 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
164 | } | ||
165 | return msgs; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | public void setValue(ALSTerm newValue) | ||
174 | { | ||
175 | if (newValue != value) | ||
176 | { | ||
177 | NotificationChain msgs = null; | ||
178 | if (value != null) | ||
179 | msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DEFINITION__VALUE, null, msgs); | ||
180 | if (newValue != null) | ||
181 | msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DEFINITION__VALUE, null, msgs); | ||
182 | msgs = basicSetValue(newValue, msgs); | ||
183 | if (msgs != null) msgs.dispatch(); | ||
184 | } | ||
185 | else if (eNotificationRequired()) | ||
186 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DEFINITION__VALUE, newValue, newValue)); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
196 | { | ||
197 | switch (featureID) | ||
198 | { | ||
199 | case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES: | ||
200 | return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs); | ||
201 | case AlloyLanguagePackage.ALS_DEFINITION__VALUE: | ||
202 | return basicSetValue(null, msgs); | ||
203 | } | ||
204 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
214 | { | ||
215 | switch (featureID) | ||
216 | { | ||
217 | case AlloyLanguagePackage.ALS_DEFINITION__NAME: | ||
218 | return getName(); | ||
219 | case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES: | ||
220 | return getVariables(); | ||
221 | case AlloyLanguagePackage.ALS_DEFINITION__VALUE: | ||
222 | return getValue(); | ||
223 | } | ||
224 | return super.eGet(featureID, resolve, coreType); | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | @SuppressWarnings("unchecked") | ||
233 | @Override | ||
234 | public void eSet(int featureID, Object newValue) | ||
235 | { | ||
236 | switch (featureID) | ||
237 | { | ||
238 | case AlloyLanguagePackage.ALS_DEFINITION__NAME: | ||
239 | setName((String)newValue); | ||
240 | return; | ||
241 | case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES: | ||
242 | getVariables().clear(); | ||
243 | getVariables().addAll((Collection<? extends ALSVariableDeclaration>)newValue); | ||
244 | return; | ||
245 | case AlloyLanguagePackage.ALS_DEFINITION__VALUE: | ||
246 | setValue((ALSTerm)newValue); | ||
247 | return; | ||
248 | } | ||
249 | super.eSet(featureID, newValue); | ||
250 | } | ||
251 | |||
252 | /** | ||
253 | * <!-- begin-user-doc --> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @generated | ||
256 | */ | ||
257 | @Override | ||
258 | public void eUnset(int featureID) | ||
259 | { | ||
260 | switch (featureID) | ||
261 | { | ||
262 | case AlloyLanguagePackage.ALS_DEFINITION__NAME: | ||
263 | setName(NAME_EDEFAULT); | ||
264 | return; | ||
265 | case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES: | ||
266 | getVariables().clear(); | ||
267 | return; | ||
268 | case AlloyLanguagePackage.ALS_DEFINITION__VALUE: | ||
269 | setValue((ALSTerm)null); | ||
270 | return; | ||
271 | } | ||
272 | super.eUnset(featureID); | ||
273 | } | ||
274 | |||
275 | /** | ||
276 | * <!-- begin-user-doc --> | ||
277 | * <!-- end-user-doc --> | ||
278 | * @generated | ||
279 | */ | ||
280 | @Override | ||
281 | public boolean eIsSet(int featureID) | ||
282 | { | ||
283 | switch (featureID) | ||
284 | { | ||
285 | case AlloyLanguagePackage.ALS_DEFINITION__NAME: | ||
286 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
287 | case AlloyLanguagePackage.ALS_DEFINITION__VARIABLES: | ||
288 | return variables != null && !variables.isEmpty(); | ||
289 | case AlloyLanguagePackage.ALS_DEFINITION__VALUE: | ||
290 | return value != null; | ||
291 | } | ||
292 | return super.eIsSet(featureID); | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @generated | ||
299 | */ | ||
300 | @Override | ||
301 | public String toString() | ||
302 | { | ||
303 | if (eIsProxy()) return super.toString(); | ||
304 | |||
305 | StringBuffer result = new StringBuffer(super.toString()); | ||
306 | result.append(" (name: "); | ||
307 | result.append(name); | ||
308 | result.append(')'); | ||
309 | return result.toString(); | ||
310 | } | ||
311 | |||
312 | } //ALSDefinitionImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java new file mode 100644 index 00000000..a80d74fe --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDirectProductImpl.java | |||
@@ -0,0 +1,392 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>ALS Direct Product</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getLeftMultiplicit <em>Left Multiplicit</em>}</li> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getRightMultiplicit <em>Right Multiplicit</em>}</li> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDirectProductImpl#getRightOperand <em>Right Operand</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class ALSDirectProductImpl extends ALSTermImpl implements ALSDirectProduct | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getLeftOperand() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected ALSTerm leftOperand; | ||
45 | |||
46 | /** | ||
47 | * The default value of the '{@link #getLeftMultiplicit() <em>Left Multiplicit</em>}' attribute. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #getLeftMultiplicit() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected static final ALSMultiplicity LEFT_MULTIPLICIT_EDEFAULT = ALSMultiplicity.ALL; | ||
55 | |||
56 | /** | ||
57 | * The cached value of the '{@link #getLeftMultiplicit() <em>Left Multiplicit</em>}' attribute. | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @see #getLeftMultiplicit() | ||
61 | * @generated | ||
62 | * @ordered | ||
63 | */ | ||
64 | protected ALSMultiplicity leftMultiplicit = LEFT_MULTIPLICIT_EDEFAULT; | ||
65 | |||
66 | /** | ||
67 | * The default value of the '{@link #getRightMultiplicit() <em>Right Multiplicit</em>}' attribute. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @see #getRightMultiplicit() | ||
71 | * @generated | ||
72 | * @ordered | ||
73 | */ | ||
74 | protected static final ALSMultiplicity RIGHT_MULTIPLICIT_EDEFAULT = ALSMultiplicity.ALL; | ||
75 | |||
76 | /** | ||
77 | * The cached value of the '{@link #getRightMultiplicit() <em>Right Multiplicit</em>}' attribute. | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @see #getRightMultiplicit() | ||
81 | * @generated | ||
82 | * @ordered | ||
83 | */ | ||
84 | protected ALSMultiplicity rightMultiplicit = RIGHT_MULTIPLICIT_EDEFAULT; | ||
85 | |||
86 | /** | ||
87 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @see #getRightOperand() | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | protected ALSTerm rightOperand; | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | protected ALSDirectProductImpl() | ||
102 | { | ||
103 | super(); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | @Override | ||
112 | protected EClass eStaticClass() | ||
113 | { | ||
114 | return AlloyLanguagePackage.Literals.ALS_DIRECT_PRODUCT; | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | public ALSTerm getLeftOperand() | ||
123 | { | ||
124 | return leftOperand; | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
133 | { | ||
134 | ALSTerm oldLeftOperand = leftOperand; | ||
135 | leftOperand = newLeftOperand; | ||
136 | if (eNotificationRequired()) | ||
137 | { | ||
138 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
139 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
140 | } | ||
141 | return msgs; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
150 | { | ||
151 | if (newLeftOperand != leftOperand) | ||
152 | { | ||
153 | NotificationChain msgs = null; | ||
154 | if (leftOperand != null) | ||
155 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, null, msgs); | ||
156 | if (newLeftOperand != null) | ||
157 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, null, msgs); | ||
158 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
159 | if (msgs != null) msgs.dispatch(); | ||
160 | } | ||
161 | else if (eNotificationRequired()) | ||
162 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | public ALSMultiplicity getLeftMultiplicit() | ||
171 | { | ||
172 | return leftMultiplicit; | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | public void setLeftMultiplicit(ALSMultiplicity newLeftMultiplicit) | ||
181 | { | ||
182 | ALSMultiplicity oldLeftMultiplicit = leftMultiplicit; | ||
183 | leftMultiplicit = newLeftMultiplicit == null ? LEFT_MULTIPLICIT_EDEFAULT : newLeftMultiplicit; | ||
184 | if (eNotificationRequired()) | ||
185 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT, oldLeftMultiplicit, leftMultiplicit)); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | public ALSMultiplicity getRightMultiplicit() | ||
194 | { | ||
195 | return rightMultiplicit; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | public void setRightMultiplicit(ALSMultiplicity newRightMultiplicit) | ||
204 | { | ||
205 | ALSMultiplicity oldRightMultiplicit = rightMultiplicit; | ||
206 | rightMultiplicit = newRightMultiplicit == null ? RIGHT_MULTIPLICIT_EDEFAULT : newRightMultiplicit; | ||
207 | if (eNotificationRequired()) | ||
208 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT, oldRightMultiplicit, rightMultiplicit)); | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | public ALSTerm getRightOperand() | ||
217 | { | ||
218 | return rightOperand; | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
227 | { | ||
228 | ALSTerm oldRightOperand = rightOperand; | ||
229 | rightOperand = newRightOperand; | ||
230 | if (eNotificationRequired()) | ||
231 | { | ||
232 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
233 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
234 | } | ||
235 | return msgs; | ||
236 | } | ||
237 | |||
238 | /** | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @generated | ||
242 | */ | ||
243 | public void setRightOperand(ALSTerm newRightOperand) | ||
244 | { | ||
245 | if (newRightOperand != rightOperand) | ||
246 | { | ||
247 | NotificationChain msgs = null; | ||
248 | if (rightOperand != null) | ||
249 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, null, msgs); | ||
250 | if (newRightOperand != null) | ||
251 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, null, msgs); | ||
252 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
253 | if (msgs != null) msgs.dispatch(); | ||
254 | } | ||
255 | else if (eNotificationRequired()) | ||
256 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
257 | } | ||
258 | |||
259 | /** | ||
260 | * <!-- begin-user-doc --> | ||
261 | * <!-- end-user-doc --> | ||
262 | * @generated | ||
263 | */ | ||
264 | @Override | ||
265 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
266 | { | ||
267 | switch (featureID) | ||
268 | { | ||
269 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND: | ||
270 | return basicSetLeftOperand(null, msgs); | ||
271 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND: | ||
272 | return basicSetRightOperand(null, msgs); | ||
273 | } | ||
274 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @generated | ||
281 | */ | ||
282 | @Override | ||
283 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
284 | { | ||
285 | switch (featureID) | ||
286 | { | ||
287 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND: | ||
288 | return getLeftOperand(); | ||
289 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT: | ||
290 | return getLeftMultiplicit(); | ||
291 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT: | ||
292 | return getRightMultiplicit(); | ||
293 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND: | ||
294 | return getRightOperand(); | ||
295 | } | ||
296 | return super.eGet(featureID, resolve, coreType); | ||
297 | } | ||
298 | |||
299 | /** | ||
300 | * <!-- begin-user-doc --> | ||
301 | * <!-- end-user-doc --> | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public void eSet(int featureID, Object newValue) | ||
306 | { | ||
307 | switch (featureID) | ||
308 | { | ||
309 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND: | ||
310 | setLeftOperand((ALSTerm)newValue); | ||
311 | return; | ||
312 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT: | ||
313 | setLeftMultiplicit((ALSMultiplicity)newValue); | ||
314 | return; | ||
315 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT: | ||
316 | setRightMultiplicit((ALSMultiplicity)newValue); | ||
317 | return; | ||
318 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND: | ||
319 | setRightOperand((ALSTerm)newValue); | ||
320 | return; | ||
321 | } | ||
322 | super.eSet(featureID, newValue); | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @generated | ||
329 | */ | ||
330 | @Override | ||
331 | public void eUnset(int featureID) | ||
332 | { | ||
333 | switch (featureID) | ||
334 | { | ||
335 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND: | ||
336 | setLeftOperand((ALSTerm)null); | ||
337 | return; | ||
338 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT: | ||
339 | setLeftMultiplicit(LEFT_MULTIPLICIT_EDEFAULT); | ||
340 | return; | ||
341 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT: | ||
342 | setRightMultiplicit(RIGHT_MULTIPLICIT_EDEFAULT); | ||
343 | return; | ||
344 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND: | ||
345 | setRightOperand((ALSTerm)null); | ||
346 | return; | ||
347 | } | ||
348 | super.eUnset(featureID); | ||
349 | } | ||
350 | |||
351 | /** | ||
352 | * <!-- begin-user-doc --> | ||
353 | * <!-- end-user-doc --> | ||
354 | * @generated | ||
355 | */ | ||
356 | @Override | ||
357 | public boolean eIsSet(int featureID) | ||
358 | { | ||
359 | switch (featureID) | ||
360 | { | ||
361 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_OPERAND: | ||
362 | return leftOperand != null; | ||
363 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT: | ||
364 | return leftMultiplicit != LEFT_MULTIPLICIT_EDEFAULT; | ||
365 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT: | ||
366 | return rightMultiplicit != RIGHT_MULTIPLICIT_EDEFAULT; | ||
367 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT__RIGHT_OPERAND: | ||
368 | return rightOperand != null; | ||
369 | } | ||
370 | return super.eIsSet(featureID); | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * <!-- begin-user-doc --> | ||
375 | * <!-- end-user-doc --> | ||
376 | * @generated | ||
377 | */ | ||
378 | @Override | ||
379 | public String toString() | ||
380 | { | ||
381 | if (eIsProxy()) return super.toString(); | ||
382 | |||
383 | StringBuffer result = new StringBuffer(super.toString()); | ||
384 | result.append(" (leftMultiplicit: "); | ||
385 | result.append(leftMultiplicit); | ||
386 | result.append(", rightMultiplicit: "); | ||
387 | result.append(rightMultiplicit); | ||
388 | result.append(')'); | ||
389 | return result.toString(); | ||
390 | } | ||
391 | |||
392 | } //ALSDirectProductImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java new file mode 100644 index 00000000..008fba7c --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSDocumentImpl.java | |||
@@ -0,0 +1,397 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition; | ||
9 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition; | ||
10 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand; | ||
11 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody; | ||
12 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
13 | |||
14 | import java.util.Collection; | ||
15 | |||
16 | import org.eclipse.emf.common.notify.Notification; | ||
17 | import org.eclipse.emf.common.notify.NotificationChain; | ||
18 | |||
19 | import org.eclipse.emf.common.util.EList; | ||
20 | |||
21 | import org.eclipse.emf.ecore.EClass; | ||
22 | import org.eclipse.emf.ecore.InternalEObject; | ||
23 | |||
24 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
25 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
26 | |||
27 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
28 | import org.eclipse.emf.ecore.util.InternalEList; | ||
29 | |||
30 | /** | ||
31 | * <!-- begin-user-doc --> | ||
32 | * An implementation of the model object '<em><b>ALS Document</b></em>'. | ||
33 | * <!-- end-user-doc --> | ||
34 | * <p> | ||
35 | * The following features are implemented: | ||
36 | * </p> | ||
37 | * <ul> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getEnumDeclarations <em>Enum Declarations</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getSignatureBodies <em>Signature Bodies</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getFunctionDefinitions <em>Function Definitions</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getRelationDefinitions <em>Relation Definitions</em>}</li> | ||
42 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getFactDeclarations <em>Fact Declarations</em>}</li> | ||
43 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSDocumentImpl#getRunCommand <em>Run Command</em>}</li> | ||
44 | * </ul> | ||
45 | * | ||
46 | * @generated | ||
47 | */ | ||
48 | public class ALSDocumentImpl extends MinimalEObjectImpl.Container implements ALSDocument | ||
49 | { | ||
50 | /** | ||
51 | * The cached value of the '{@link #getEnumDeclarations() <em>Enum Declarations</em>}' containment reference list. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getEnumDeclarations() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected EList<ALSEnumDeclaration> enumDeclarations; | ||
59 | |||
60 | /** | ||
61 | * The cached value of the '{@link #getSignatureBodies() <em>Signature Bodies</em>}' containment reference list. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #getSignatureBodies() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected EList<ALSSignatureBody> signatureBodies; | ||
69 | |||
70 | /** | ||
71 | * The cached value of the '{@link #getFunctionDefinitions() <em>Function Definitions</em>}' containment reference list. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @see #getFunctionDefinitions() | ||
75 | * @generated | ||
76 | * @ordered | ||
77 | */ | ||
78 | protected EList<ALSFunctionDefinition> functionDefinitions; | ||
79 | |||
80 | /** | ||
81 | * The cached value of the '{@link #getRelationDefinitions() <em>Relation Definitions</em>}' containment reference list. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @see #getRelationDefinitions() | ||
85 | * @generated | ||
86 | * @ordered | ||
87 | */ | ||
88 | protected EList<ALSRelationDefinition> relationDefinitions; | ||
89 | |||
90 | /** | ||
91 | * The cached value of the '{@link #getFactDeclarations() <em>Fact Declarations</em>}' containment reference list. | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @see #getFactDeclarations() | ||
95 | * @generated | ||
96 | * @ordered | ||
97 | */ | ||
98 | protected EList<ALSFactDeclaration> factDeclarations; | ||
99 | |||
100 | /** | ||
101 | * The cached value of the '{@link #getRunCommand() <em>Run Command</em>}' containment reference. | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @see #getRunCommand() | ||
105 | * @generated | ||
106 | * @ordered | ||
107 | */ | ||
108 | protected ALSRunCommand runCommand; | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | protected ALSDocumentImpl() | ||
116 | { | ||
117 | super(); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | protected EClass eStaticClass() | ||
127 | { | ||
128 | return AlloyLanguagePackage.Literals.ALS_DOCUMENT; | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | public EList<ALSEnumDeclaration> getEnumDeclarations() | ||
137 | { | ||
138 | if (enumDeclarations == null) | ||
139 | { | ||
140 | enumDeclarations = new EObjectContainmentEList<ALSEnumDeclaration>(ALSEnumDeclaration.class, this, AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS); | ||
141 | } | ||
142 | return enumDeclarations; | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | public EList<ALSSignatureBody> getSignatureBodies() | ||
151 | { | ||
152 | if (signatureBodies == null) | ||
153 | { | ||
154 | signatureBodies = new EObjectContainmentEList<ALSSignatureBody>(ALSSignatureBody.class, this, AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES); | ||
155 | } | ||
156 | return signatureBodies; | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | public EList<ALSFunctionDefinition> getFunctionDefinitions() | ||
165 | { | ||
166 | if (functionDefinitions == null) | ||
167 | { | ||
168 | functionDefinitions = new EObjectContainmentEList<ALSFunctionDefinition>(ALSFunctionDefinition.class, this, AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS); | ||
169 | } | ||
170 | return functionDefinitions; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | public EList<ALSRelationDefinition> getRelationDefinitions() | ||
179 | { | ||
180 | if (relationDefinitions == null) | ||
181 | { | ||
182 | relationDefinitions = new EObjectContainmentEList<ALSRelationDefinition>(ALSRelationDefinition.class, this, AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS); | ||
183 | } | ||
184 | return relationDefinitions; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | public EList<ALSFactDeclaration> getFactDeclarations() | ||
193 | { | ||
194 | if (factDeclarations == null) | ||
195 | { | ||
196 | factDeclarations = new EObjectContainmentEList<ALSFactDeclaration>(ALSFactDeclaration.class, this, AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS); | ||
197 | } | ||
198 | return factDeclarations; | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | public ALSRunCommand getRunCommand() | ||
207 | { | ||
208 | return runCommand; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | public NotificationChain basicSetRunCommand(ALSRunCommand newRunCommand, NotificationChain msgs) | ||
217 | { | ||
218 | ALSRunCommand oldRunCommand = runCommand; | ||
219 | runCommand = newRunCommand; | ||
220 | if (eNotificationRequired()) | ||
221 | { | ||
222 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, oldRunCommand, newRunCommand); | ||
223 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
224 | } | ||
225 | return msgs; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | public void setRunCommand(ALSRunCommand newRunCommand) | ||
234 | { | ||
235 | if (newRunCommand != runCommand) | ||
236 | { | ||
237 | NotificationChain msgs = null; | ||
238 | if (runCommand != null) | ||
239 | msgs = ((InternalEObject)runCommand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, null, msgs); | ||
240 | if (newRunCommand != null) | ||
241 | msgs = ((InternalEObject)newRunCommand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, null, msgs); | ||
242 | msgs = basicSetRunCommand(newRunCommand, msgs); | ||
243 | if (msgs != null) msgs.dispatch(); | ||
244 | } | ||
245 | else if (eNotificationRequired()) | ||
246 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND, newRunCommand, newRunCommand)); | ||
247 | } | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | @Override | ||
255 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
256 | { | ||
257 | switch (featureID) | ||
258 | { | ||
259 | case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS: | ||
260 | return ((InternalEList<?>)getEnumDeclarations()).basicRemove(otherEnd, msgs); | ||
261 | case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES: | ||
262 | return ((InternalEList<?>)getSignatureBodies()).basicRemove(otherEnd, msgs); | ||
263 | case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS: | ||
264 | return ((InternalEList<?>)getFunctionDefinitions()).basicRemove(otherEnd, msgs); | ||
265 | case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS: | ||
266 | return ((InternalEList<?>)getRelationDefinitions()).basicRemove(otherEnd, msgs); | ||
267 | case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS: | ||
268 | return ((InternalEList<?>)getFactDeclarations()).basicRemove(otherEnd, msgs); | ||
269 | case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND: | ||
270 | return basicSetRunCommand(null, msgs); | ||
271 | } | ||
272 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
273 | } | ||
274 | |||
275 | /** | ||
276 | * <!-- begin-user-doc --> | ||
277 | * <!-- end-user-doc --> | ||
278 | * @generated | ||
279 | */ | ||
280 | @Override | ||
281 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
282 | { | ||
283 | switch (featureID) | ||
284 | { | ||
285 | case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS: | ||
286 | return getEnumDeclarations(); | ||
287 | case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES: | ||
288 | return getSignatureBodies(); | ||
289 | case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS: | ||
290 | return getFunctionDefinitions(); | ||
291 | case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS: | ||
292 | return getRelationDefinitions(); | ||
293 | case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS: | ||
294 | return getFactDeclarations(); | ||
295 | case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND: | ||
296 | return getRunCommand(); | ||
297 | } | ||
298 | return super.eGet(featureID, resolve, coreType); | ||
299 | } | ||
300 | |||
301 | /** | ||
302 | * <!-- begin-user-doc --> | ||
303 | * <!-- end-user-doc --> | ||
304 | * @generated | ||
305 | */ | ||
306 | @SuppressWarnings("unchecked") | ||
307 | @Override | ||
308 | public void eSet(int featureID, Object newValue) | ||
309 | { | ||
310 | switch (featureID) | ||
311 | { | ||
312 | case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS: | ||
313 | getEnumDeclarations().clear(); | ||
314 | getEnumDeclarations().addAll((Collection<? extends ALSEnumDeclaration>)newValue); | ||
315 | return; | ||
316 | case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES: | ||
317 | getSignatureBodies().clear(); | ||
318 | getSignatureBodies().addAll((Collection<? extends ALSSignatureBody>)newValue); | ||
319 | return; | ||
320 | case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS: | ||
321 | getFunctionDefinitions().clear(); | ||
322 | getFunctionDefinitions().addAll((Collection<? extends ALSFunctionDefinition>)newValue); | ||
323 | return; | ||
324 | case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS: | ||
325 | getRelationDefinitions().clear(); | ||
326 | getRelationDefinitions().addAll((Collection<? extends ALSRelationDefinition>)newValue); | ||
327 | return; | ||
328 | case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS: | ||
329 | getFactDeclarations().clear(); | ||
330 | getFactDeclarations().addAll((Collection<? extends ALSFactDeclaration>)newValue); | ||
331 | return; | ||
332 | case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND: | ||
333 | setRunCommand((ALSRunCommand)newValue); | ||
334 | return; | ||
335 | } | ||
336 | super.eSet(featureID, newValue); | ||
337 | } | ||
338 | |||
339 | /** | ||
340 | * <!-- begin-user-doc --> | ||
341 | * <!-- end-user-doc --> | ||
342 | * @generated | ||
343 | */ | ||
344 | @Override | ||
345 | public void eUnset(int featureID) | ||
346 | { | ||
347 | switch (featureID) | ||
348 | { | ||
349 | case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS: | ||
350 | getEnumDeclarations().clear(); | ||
351 | return; | ||
352 | case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES: | ||
353 | getSignatureBodies().clear(); | ||
354 | return; | ||
355 | case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS: | ||
356 | getFunctionDefinitions().clear(); | ||
357 | return; | ||
358 | case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS: | ||
359 | getRelationDefinitions().clear(); | ||
360 | return; | ||
361 | case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS: | ||
362 | getFactDeclarations().clear(); | ||
363 | return; | ||
364 | case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND: | ||
365 | setRunCommand((ALSRunCommand)null); | ||
366 | return; | ||
367 | } | ||
368 | super.eUnset(featureID); | ||
369 | } | ||
370 | |||
371 | /** | ||
372 | * <!-- begin-user-doc --> | ||
373 | * <!-- end-user-doc --> | ||
374 | * @generated | ||
375 | */ | ||
376 | @Override | ||
377 | public boolean eIsSet(int featureID) | ||
378 | { | ||
379 | switch (featureID) | ||
380 | { | ||
381 | case AlloyLanguagePackage.ALS_DOCUMENT__ENUM_DECLARATIONS: | ||
382 | return enumDeclarations != null && !enumDeclarations.isEmpty(); | ||
383 | case AlloyLanguagePackage.ALS_DOCUMENT__SIGNATURE_BODIES: | ||
384 | return signatureBodies != null && !signatureBodies.isEmpty(); | ||
385 | case AlloyLanguagePackage.ALS_DOCUMENT__FUNCTION_DEFINITIONS: | ||
386 | return functionDefinitions != null && !functionDefinitions.isEmpty(); | ||
387 | case AlloyLanguagePackage.ALS_DOCUMENT__RELATION_DEFINITIONS: | ||
388 | return relationDefinitions != null && !relationDefinitions.isEmpty(); | ||
389 | case AlloyLanguagePackage.ALS_DOCUMENT__FACT_DECLARATIONS: | ||
390 | return factDeclarations != null && !factDeclarations.isEmpty(); | ||
391 | case AlloyLanguagePackage.ALS_DOCUMENT__RUN_COMMAND: | ||
392 | return runCommand != null; | ||
393 | } | ||
394 | return super.eIsSet(featureID); | ||
395 | } | ||
396 | |||
397 | } //ALSDocumentImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java new file mode 100644 index 00000000..1b510870 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumDeclarationImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * An implementation of the model object '<em><b>ALS Enum Declaration</b></em>'. | ||
24 | * <!-- end-user-doc --> | ||
25 | * <p> | ||
26 | * The following features are implemented: | ||
27 | * </p> | ||
28 | * <ul> | ||
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEnumDeclarationImpl#getLiteral <em>Literal</em>}</li> | ||
30 | * </ul> | ||
31 | * | ||
32 | * @generated | ||
33 | */ | ||
34 | public class ALSEnumDeclarationImpl extends ALSTypeDeclarationImpl implements ALSEnumDeclaration | ||
35 | { | ||
36 | /** | ||
37 | * The cached value of the '{@link #getLiteral() <em>Literal</em>}' containment reference list. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getLiteral() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected EList<ALSEnumLiteral> literal; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | protected ALSEnumDeclarationImpl() | ||
52 | { | ||
53 | super(); | ||
54 | } | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | protected EClass eStaticClass() | ||
63 | { | ||
64 | return AlloyLanguagePackage.Literals.ALS_ENUM_DECLARATION; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | public EList<ALSEnumLiteral> getLiteral() | ||
73 | { | ||
74 | if (literal == null) | ||
75 | { | ||
76 | literal = new EObjectContainmentEList<ALSEnumLiteral>(ALSEnumLiteral.class, this, AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL); | ||
77 | } | ||
78 | return literal; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
88 | { | ||
89 | switch (featureID) | ||
90 | { | ||
91 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL: | ||
92 | return ((InternalEList<?>)getLiteral()).basicRemove(otherEnd, msgs); | ||
93 | } | ||
94 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | @Override | ||
103 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
104 | { | ||
105 | switch (featureID) | ||
106 | { | ||
107 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL: | ||
108 | return getLiteral(); | ||
109 | } | ||
110 | return super.eGet(featureID, resolve, coreType); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @SuppressWarnings("unchecked") | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) | ||
121 | { | ||
122 | switch (featureID) | ||
123 | { | ||
124 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL: | ||
125 | getLiteral().clear(); | ||
126 | getLiteral().addAll((Collection<? extends ALSEnumLiteral>)newValue); | ||
127 | return; | ||
128 | } | ||
129 | super.eSet(featureID, newValue); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void eUnset(int featureID) | ||
139 | { | ||
140 | switch (featureID) | ||
141 | { | ||
142 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL: | ||
143 | getLiteral().clear(); | ||
144 | return; | ||
145 | } | ||
146 | super.eUnset(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public boolean eIsSet(int featureID) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION__LITERAL: | ||
160 | return literal != null && !literal.isEmpty(); | ||
161 | } | ||
162 | return super.eIsSet(featureID); | ||
163 | } | ||
164 | |||
165 | } //ALSEnumDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java new file mode 100644 index 00000000..6de8f4f5 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEnumLiteralImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Enum Literal</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSEnumLiteralImpl extends ALSRelationDeclarationImpl implements ALSEnumLiteral | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSEnumLiteralImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_ENUM_LITERAL; | ||
38 | } | ||
39 | |||
40 | } //ALSEnumLiteralImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java new file mode 100644 index 00000000..562013dd --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSEqualsImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Equals</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSEqualsImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSEqualsImpl extends ALSTermImpl implements ALSEquals | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSEqualsImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_EQUALS; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_EQUALS__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_EQUALS__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSEqualsImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java new file mode 100644 index 00000000..406c69a8 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFactDeclarationImpl.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>ALS Fact Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl#getName <em>Name</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFactDeclarationImpl#getTerm <em>Term</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ALSFactDeclarationImpl extends MinimalEObjectImpl.Container implements ALSFactDeclaration | ||
33 | { | ||
34 | /** | ||
35 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getName() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final String NAME_EDEFAULT = null; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getName() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected String name = NAME_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getTerm() <em>Term</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getTerm() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected ALSTerm term; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected ALSFactDeclarationImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return AlloyLanguagePackage.Literals.ALS_FACT_DECLARATION; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public String getName() | ||
91 | { | ||
92 | return name; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setName(String newName) | ||
101 | { | ||
102 | String oldName = name; | ||
103 | name = newName; | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME, oldName, name)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public ALSTerm getTerm() | ||
114 | { | ||
115 | return term; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public NotificationChain basicSetTerm(ALSTerm newTerm, NotificationChain msgs) | ||
124 | { | ||
125 | ALSTerm oldTerm = term; | ||
126 | term = newTerm; | ||
127 | if (eNotificationRequired()) | ||
128 | { | ||
129 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, oldTerm, newTerm); | ||
130 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
131 | } | ||
132 | return msgs; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setTerm(ALSTerm newTerm) | ||
141 | { | ||
142 | if (newTerm != term) | ||
143 | { | ||
144 | NotificationChain msgs = null; | ||
145 | if (term != null) | ||
146 | msgs = ((InternalEObject)term).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, null, msgs); | ||
147 | if (newTerm != null) | ||
148 | msgs = ((InternalEObject)newTerm).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, null, msgs); | ||
149 | msgs = basicSetTerm(newTerm, msgs); | ||
150 | if (msgs != null) msgs.dispatch(); | ||
151 | } | ||
152 | else if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM, newTerm, newTerm)); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM: | ||
167 | return basicSetTerm(null, msgs); | ||
168 | } | ||
169 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | @Override | ||
178 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
179 | { | ||
180 | switch (featureID) | ||
181 | { | ||
182 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME: | ||
183 | return getName(); | ||
184 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM: | ||
185 | return getTerm(); | ||
186 | } | ||
187 | return super.eGet(featureID, resolve, coreType); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eSet(int featureID, Object newValue) | ||
197 | { | ||
198 | switch (featureID) | ||
199 | { | ||
200 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME: | ||
201 | setName((String)newValue); | ||
202 | return; | ||
203 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM: | ||
204 | setTerm((ALSTerm)newValue); | ||
205 | return; | ||
206 | } | ||
207 | super.eSet(featureID, newValue); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public void eUnset(int featureID) | ||
217 | { | ||
218 | switch (featureID) | ||
219 | { | ||
220 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME: | ||
221 | setName(NAME_EDEFAULT); | ||
222 | return; | ||
223 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM: | ||
224 | setTerm((ALSTerm)null); | ||
225 | return; | ||
226 | } | ||
227 | super.eUnset(featureID); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public boolean eIsSet(int featureID) | ||
237 | { | ||
238 | switch (featureID) | ||
239 | { | ||
240 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__NAME: | ||
241 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
242 | case AlloyLanguagePackage.ALS_FACT_DECLARATION__TERM: | ||
243 | return term != null; | ||
244 | } | ||
245 | return super.eIsSet(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public String toString() | ||
255 | { | ||
256 | if (eIsProxy()) return super.toString(); | ||
257 | |||
258 | StringBuffer result = new StringBuffer(super.toString()); | ||
259 | result.append(" (name: "); | ||
260 | result.append(name); | ||
261 | result.append(')'); | ||
262 | return result.toString(); | ||
263 | } | ||
264 | |||
265 | } //ALSFactDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java new file mode 100644 index 00000000..0bc3aa1c --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFieldDeclarationImpl.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>ALS Field Declaration</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl#getMultiplicity <em>Multiplicity</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFieldDeclarationImpl#getType <em>Type</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ALSFieldDeclarationImpl extends ALSRelationDeclarationImpl implements ALSFieldDeclaration | ||
33 | { | ||
34 | /** | ||
35 | * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getMultiplicity() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected static final ALSMultiplicity MULTIPLICITY_EDEFAULT = ALSMultiplicity.ALL; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getMultiplicity() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected ALSMultiplicity multiplicity = MULTIPLICITY_EDEFAULT; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getType() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected ALSTerm type; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected ALSFieldDeclarationImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return AlloyLanguagePackage.Literals.ALS_FIELD_DECLARATION; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public ALSMultiplicity getMultiplicity() | ||
91 | { | ||
92 | return multiplicity; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public void setMultiplicity(ALSMultiplicity newMultiplicity) | ||
101 | { | ||
102 | ALSMultiplicity oldMultiplicity = multiplicity; | ||
103 | multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity; | ||
104 | if (eNotificationRequired()) | ||
105 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY, oldMultiplicity, multiplicity)); | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | public ALSTerm getType() | ||
114 | { | ||
115 | return type; | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | public NotificationChain basicSetType(ALSTerm newType, NotificationChain msgs) | ||
124 | { | ||
125 | ALSTerm oldType = type; | ||
126 | type = newType; | ||
127 | if (eNotificationRequired()) | ||
128 | { | ||
129 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, oldType, newType); | ||
130 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
131 | } | ||
132 | return msgs; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setType(ALSTerm newType) | ||
141 | { | ||
142 | if (newType != type) | ||
143 | { | ||
144 | NotificationChain msgs = null; | ||
145 | if (type != null) | ||
146 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, null, msgs); | ||
147 | if (newType != null) | ||
148 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, null, msgs); | ||
149 | msgs = basicSetType(newType, msgs); | ||
150 | if (msgs != null) msgs.dispatch(); | ||
151 | } | ||
152 | else if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE, newType, newType)); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE: | ||
167 | return basicSetType(null, msgs); | ||
168 | } | ||
169 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | @Override | ||
178 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
179 | { | ||
180 | switch (featureID) | ||
181 | { | ||
182 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY: | ||
183 | return getMultiplicity(); | ||
184 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE: | ||
185 | return getType(); | ||
186 | } | ||
187 | return super.eGet(featureID, resolve, coreType); | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | @Override | ||
196 | public void eSet(int featureID, Object newValue) | ||
197 | { | ||
198 | switch (featureID) | ||
199 | { | ||
200 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY: | ||
201 | setMultiplicity((ALSMultiplicity)newValue); | ||
202 | return; | ||
203 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE: | ||
204 | setType((ALSTerm)newValue); | ||
205 | return; | ||
206 | } | ||
207 | super.eSet(featureID, newValue); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public void eUnset(int featureID) | ||
217 | { | ||
218 | switch (featureID) | ||
219 | { | ||
220 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY: | ||
221 | setMultiplicity(MULTIPLICITY_EDEFAULT); | ||
222 | return; | ||
223 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE: | ||
224 | setType((ALSTerm)null); | ||
225 | return; | ||
226 | } | ||
227 | super.eUnset(featureID); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public boolean eIsSet(int featureID) | ||
237 | { | ||
238 | switch (featureID) | ||
239 | { | ||
240 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__MULTIPLICITY: | ||
241 | return multiplicity != MULTIPLICITY_EDEFAULT; | ||
242 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION__TYPE: | ||
243 | return type != null; | ||
244 | } | ||
245 | return super.eIsSet(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public String toString() | ||
255 | { | ||
256 | if (eIsProxy()) return super.toString(); | ||
257 | |||
258 | StringBuffer result = new StringBuffer(super.toString()); | ||
259 | result.append(" (multiplicity: "); | ||
260 | result.append(multiplicity); | ||
261 | result.append(')'); | ||
262 | return result.toString(); | ||
263 | } | ||
264 | |||
265 | } //ALSFieldDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java new file mode 100644 index 00000000..f3083503 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionCallImpl.java | |||
@@ -0,0 +1,306 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
9 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>ALS Function Call</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl#getReferredDefinition <em>Referred Definition</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl#getReferredNumericOperator <em>Referred Numeric Operator</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionCallImpl#getParams <em>Params</em>}</li> | ||
37 | * </ul> | ||
38 | * | ||
39 | * @generated | ||
40 | */ | ||
41 | public class ALSFunctionCallImpl extends ALSTermImpl implements ALSFunctionCall | ||
42 | { | ||
43 | /** | ||
44 | * The cached value of the '{@link #getReferredDefinition() <em>Referred Definition</em>}' reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getReferredDefinition() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSDefinition referredDefinition; | ||
52 | |||
53 | /** | ||
54 | * The default value of the '{@link #getReferredNumericOperator() <em>Referred Numeric Operator</em>}' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getReferredNumericOperator() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected static final ALSNumericOperator REFERRED_NUMERIC_OPERATOR_EDEFAULT = ALSNumericOperator.PLUS; | ||
62 | |||
63 | /** | ||
64 | * The cached value of the '{@link #getReferredNumericOperator() <em>Referred Numeric Operator</em>}' attribute. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getReferredNumericOperator() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected ALSNumericOperator referredNumericOperator = REFERRED_NUMERIC_OPERATOR_EDEFAULT; | ||
72 | |||
73 | /** | ||
74 | * The cached value of the '{@link #getParams() <em>Params</em>}' containment reference list. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @see #getParams() | ||
78 | * @generated | ||
79 | * @ordered | ||
80 | */ | ||
81 | protected EList<ALSTerm> params; | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | protected ALSFunctionCallImpl() | ||
89 | { | ||
90 | super(); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | protected EClass eStaticClass() | ||
100 | { | ||
101 | return AlloyLanguagePackage.Literals.ALS_FUNCTION_CALL; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public ALSDefinition getReferredDefinition() | ||
110 | { | ||
111 | if (referredDefinition != null && referredDefinition.eIsProxy()) | ||
112 | { | ||
113 | InternalEObject oldReferredDefinition = (InternalEObject)referredDefinition; | ||
114 | referredDefinition = (ALSDefinition)eResolveProxy(oldReferredDefinition); | ||
115 | if (referredDefinition != oldReferredDefinition) | ||
116 | { | ||
117 | if (eNotificationRequired()) | ||
118 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION, oldReferredDefinition, referredDefinition)); | ||
119 | } | ||
120 | } | ||
121 | return referredDefinition; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | public ALSDefinition basicGetReferredDefinition() | ||
130 | { | ||
131 | return referredDefinition; | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | public void setReferredDefinition(ALSDefinition newReferredDefinition) | ||
140 | { | ||
141 | ALSDefinition oldReferredDefinition = referredDefinition; | ||
142 | referredDefinition = newReferredDefinition; | ||
143 | if (eNotificationRequired()) | ||
144 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION, oldReferredDefinition, referredDefinition)); | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | public ALSNumericOperator getReferredNumericOperator() | ||
153 | { | ||
154 | return referredNumericOperator; | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | public void setReferredNumericOperator(ALSNumericOperator newReferredNumericOperator) | ||
163 | { | ||
164 | ALSNumericOperator oldReferredNumericOperator = referredNumericOperator; | ||
165 | referredNumericOperator = newReferredNumericOperator == null ? REFERRED_NUMERIC_OPERATOR_EDEFAULT : newReferredNumericOperator; | ||
166 | if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR, oldReferredNumericOperator, referredNumericOperator)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | public EList<ALSTerm> getParams() | ||
176 | { | ||
177 | if (params == null) | ||
178 | { | ||
179 | params = new EObjectContainmentEList<ALSTerm>(ALSTerm.class, this, AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS); | ||
180 | } | ||
181 | return params; | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @generated | ||
188 | */ | ||
189 | @Override | ||
190 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
191 | { | ||
192 | switch (featureID) | ||
193 | { | ||
194 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS: | ||
195 | return ((InternalEList<?>)getParams()).basicRemove(otherEnd, msgs); | ||
196 | } | ||
197 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
207 | { | ||
208 | switch (featureID) | ||
209 | { | ||
210 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION: | ||
211 | if (resolve) return getReferredDefinition(); | ||
212 | return basicGetReferredDefinition(); | ||
213 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR: | ||
214 | return getReferredNumericOperator(); | ||
215 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS: | ||
216 | return getParams(); | ||
217 | } | ||
218 | return super.eGet(featureID, resolve, coreType); | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @SuppressWarnings("unchecked") | ||
227 | @Override | ||
228 | public void eSet(int featureID, Object newValue) | ||
229 | { | ||
230 | switch (featureID) | ||
231 | { | ||
232 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION: | ||
233 | setReferredDefinition((ALSDefinition)newValue); | ||
234 | return; | ||
235 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR: | ||
236 | setReferredNumericOperator((ALSNumericOperator)newValue); | ||
237 | return; | ||
238 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS: | ||
239 | getParams().clear(); | ||
240 | getParams().addAll((Collection<? extends ALSTerm>)newValue); | ||
241 | return; | ||
242 | } | ||
243 | super.eSet(featureID, newValue); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public void eUnset(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION: | ||
257 | setReferredDefinition((ALSDefinition)null); | ||
258 | return; | ||
259 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR: | ||
260 | setReferredNumericOperator(REFERRED_NUMERIC_OPERATOR_EDEFAULT); | ||
261 | return; | ||
262 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS: | ||
263 | getParams().clear(); | ||
264 | return; | ||
265 | } | ||
266 | super.eUnset(featureID); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | @Override | ||
275 | public boolean eIsSet(int featureID) | ||
276 | { | ||
277 | switch (featureID) | ||
278 | { | ||
279 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_DEFINITION: | ||
280 | return referredDefinition != null; | ||
281 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR: | ||
282 | return referredNumericOperator != REFERRED_NUMERIC_OPERATOR_EDEFAULT; | ||
283 | case AlloyLanguagePackage.ALS_FUNCTION_CALL__PARAMS: | ||
284 | return params != null && !params.isEmpty(); | ||
285 | } | ||
286 | return super.eIsSet(featureID); | ||
287 | } | ||
288 | |||
289 | /** | ||
290 | * <!-- begin-user-doc --> | ||
291 | * <!-- end-user-doc --> | ||
292 | * @generated | ||
293 | */ | ||
294 | @Override | ||
295 | public String toString() | ||
296 | { | ||
297 | if (eIsProxy()) return super.toString(); | ||
298 | |||
299 | StringBuffer result = new StringBuffer(super.toString()); | ||
300 | result.append(" (referredNumericOperator: "); | ||
301 | result.append(referredNumericOperator); | ||
302 | result.append(')'); | ||
303 | return result.toString(); | ||
304 | } | ||
305 | |||
306 | } //ALSFunctionCallImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java new file mode 100644 index 00000000..b484da48 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSFunctionDefinitionImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Function Definition</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSFunctionDefinitionImpl#getType <em>Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSFunctionDefinitionImpl extends ALSDefinitionImpl implements ALSFunctionDefinition | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getType() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm type; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSFunctionDefinitionImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_FUNCTION_DEFINITION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getType() | ||
69 | { | ||
70 | return type; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetType(ALSTerm newType, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldType = type; | ||
81 | type = newType; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, oldType, newType); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setType(ALSTerm newType) | ||
96 | { | ||
97 | if (newType != type) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (type != null) | ||
101 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, null, msgs); | ||
102 | if (newType != null) | ||
103 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, null, msgs); | ||
104 | msgs = basicSetType(newType, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE, newType, newType)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE: | ||
122 | return basicSetType(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE: | ||
138 | return getType(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE: | ||
154 | setType((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE: | ||
171 | setType((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION__TYPE: | ||
188 | return type != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSFunctionDefinitionImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java new file mode 100644 index 00000000..99d000c7 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIdenImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Iden</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSIdenImpl extends ALSTermImpl implements ALSIden | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSIdenImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_IDEN; | ||
38 | } | ||
39 | |||
40 | } //ALSIdenImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java new file mode 100644 index 00000000..33ef6891 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIffImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Iff</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIffImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSIffImpl extends ALSTermImpl implements ALSIff | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSIffImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_IFF; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_IFF__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_IFF__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSIffImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java new file mode 100644 index 00000000..a16c6239 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSImplImpl.java | |||
@@ -0,0 +1,335 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Impl</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSImplImpl#getElseOperand <em>Else Operand</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public class ALSImplImpl extends ALSTermImpl implements ALSImpl | ||
33 | { | ||
34 | /** | ||
35 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @see #getLeftOperand() | ||
39 | * @generated | ||
40 | * @ordered | ||
41 | */ | ||
42 | protected ALSTerm leftOperand; | ||
43 | |||
44 | /** | ||
45 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getRightOperand() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected ALSTerm rightOperand; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getElseOperand() <em>Else Operand</em>}' containment reference. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getElseOperand() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected ALSTerm elseOperand; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected ALSImplImpl() | ||
70 | { | ||
71 | super(); | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | @Override | ||
80 | protected EClass eStaticClass() | ||
81 | { | ||
82 | return AlloyLanguagePackage.Literals.ALS_IMPL; | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | public ALSTerm getLeftOperand() | ||
91 | { | ||
92 | return leftOperand; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
101 | { | ||
102 | ALSTerm oldLeftOperand = leftOperand; | ||
103 | leftOperand = newLeftOperand; | ||
104 | if (eNotificationRequired()) | ||
105 | { | ||
106 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
107 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
108 | } | ||
109 | return msgs; | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
118 | { | ||
119 | if (newLeftOperand != leftOperand) | ||
120 | { | ||
121 | NotificationChain msgs = null; | ||
122 | if (leftOperand != null) | ||
123 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, null, msgs); | ||
124 | if (newLeftOperand != null) | ||
125 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, null, msgs); | ||
126 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
127 | if (msgs != null) msgs.dispatch(); | ||
128 | } | ||
129 | else if (eNotificationRequired()) | ||
130 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
131 | } | ||
132 | |||
133 | /** | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @generated | ||
137 | */ | ||
138 | public ALSTerm getRightOperand() | ||
139 | { | ||
140 | return rightOperand; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
149 | { | ||
150 | ALSTerm oldRightOperand = rightOperand; | ||
151 | rightOperand = newRightOperand; | ||
152 | if (eNotificationRequired()) | ||
153 | { | ||
154 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
155 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
156 | } | ||
157 | return msgs; | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | public void setRightOperand(ALSTerm newRightOperand) | ||
166 | { | ||
167 | if (newRightOperand != rightOperand) | ||
168 | { | ||
169 | NotificationChain msgs = null; | ||
170 | if (rightOperand != null) | ||
171 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, null, msgs); | ||
172 | if (newRightOperand != null) | ||
173 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, null, msgs); | ||
174 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
175 | if (msgs != null) msgs.dispatch(); | ||
176 | } | ||
177 | else if (eNotificationRequired()) | ||
178 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | public ALSTerm getElseOperand() | ||
187 | { | ||
188 | return elseOperand; | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | public NotificationChain basicSetElseOperand(ALSTerm newElseOperand, NotificationChain msgs) | ||
197 | { | ||
198 | ALSTerm oldElseOperand = elseOperand; | ||
199 | elseOperand = newElseOperand; | ||
200 | if (eNotificationRequired()) | ||
201 | { | ||
202 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, oldElseOperand, newElseOperand); | ||
203 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
204 | } | ||
205 | return msgs; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | public void setElseOperand(ALSTerm newElseOperand) | ||
214 | { | ||
215 | if (newElseOperand != elseOperand) | ||
216 | { | ||
217 | NotificationChain msgs = null; | ||
218 | if (elseOperand != null) | ||
219 | msgs = ((InternalEObject)elseOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, null, msgs); | ||
220 | if (newElseOperand != null) | ||
221 | msgs = ((InternalEObject)newElseOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, null, msgs); | ||
222 | msgs = basicSetElseOperand(newElseOperand, msgs); | ||
223 | if (msgs != null) msgs.dispatch(); | ||
224 | } | ||
225 | else if (eNotificationRequired()) | ||
226 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND, newElseOperand, newElseOperand)); | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | @Override | ||
235 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
236 | { | ||
237 | switch (featureID) | ||
238 | { | ||
239 | case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND: | ||
240 | return basicSetLeftOperand(null, msgs); | ||
241 | case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND: | ||
242 | return basicSetRightOperand(null, msgs); | ||
243 | case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND: | ||
244 | return basicSetElseOperand(null, msgs); | ||
245 | } | ||
246 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
247 | } | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | @Override | ||
255 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
256 | { | ||
257 | switch (featureID) | ||
258 | { | ||
259 | case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND: | ||
260 | return getLeftOperand(); | ||
261 | case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND: | ||
262 | return getRightOperand(); | ||
263 | case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND: | ||
264 | return getElseOperand(); | ||
265 | } | ||
266 | return super.eGet(featureID, resolve, coreType); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | @Override | ||
275 | public void eSet(int featureID, Object newValue) | ||
276 | { | ||
277 | switch (featureID) | ||
278 | { | ||
279 | case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND: | ||
280 | setLeftOperand((ALSTerm)newValue); | ||
281 | return; | ||
282 | case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND: | ||
283 | setRightOperand((ALSTerm)newValue); | ||
284 | return; | ||
285 | case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND: | ||
286 | setElseOperand((ALSTerm)newValue); | ||
287 | return; | ||
288 | } | ||
289 | super.eSet(featureID, newValue); | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * <!-- begin-user-doc --> | ||
294 | * <!-- end-user-doc --> | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public void eUnset(int featureID) | ||
299 | { | ||
300 | switch (featureID) | ||
301 | { | ||
302 | case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND: | ||
303 | setLeftOperand((ALSTerm)null); | ||
304 | return; | ||
305 | case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND: | ||
306 | setRightOperand((ALSTerm)null); | ||
307 | return; | ||
308 | case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND: | ||
309 | setElseOperand((ALSTerm)null); | ||
310 | return; | ||
311 | } | ||
312 | super.eUnset(featureID); | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | @Override | ||
321 | public boolean eIsSet(int featureID) | ||
322 | { | ||
323 | switch (featureID) | ||
324 | { | ||
325 | case AlloyLanguagePackage.ALS_IMPL__LEFT_OPERAND: | ||
326 | return leftOperand != null; | ||
327 | case AlloyLanguagePackage.ALS_IMPL__RIGHT_OPERAND: | ||
328 | return rightOperand != null; | ||
329 | case AlloyLanguagePackage.ALS_IMPL__ELSE_OPERAND: | ||
330 | return elseOperand != null; | ||
331 | } | ||
332 | return super.eIsSet(featureID); | ||
333 | } | ||
334 | |||
335 | } //ALSImplImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java new file mode 100644 index 00000000..46481f79 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Int</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSIntImpl extends ALSTermImpl implements ALSInt | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSIntImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_INT; | ||
38 | } | ||
39 | |||
40 | } //ALSIntImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java new file mode 100644 index 00000000..a7beb21b --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntScopeImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Int Scope</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSIntScopeImpl extends ALSTypeScopeImpl implements ALSIntScope | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSIntScopeImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_INT_SCOPE; | ||
38 | } | ||
39 | |||
40 | } //ALSIntScopeImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java new file mode 100644 index 00000000..020d2322 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSIntersectionImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Intersection</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSIntersectionImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSIntersectionImpl extends ALSTermImpl implements ALSIntersection | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSIntersectionImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_INTERSECTION; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_INTERSECTION__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_INTERSECTION__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSIntersectionImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java new file mode 100644 index 00000000..916ba94f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSInverseRelationImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Inverse Relation</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSInverseRelationImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSInverseRelationImpl extends ALSTermImpl implements ALSInverseRelation | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSInverseRelationImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(ALSTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND: | ||
154 | setOperand((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND: | ||
171 | setOperand((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_INVERSE_RELATION__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSInverseRelationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java new file mode 100644 index 00000000..edf5c551 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSJoinImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Join</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSJoinImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSJoinImpl extends ALSTermImpl implements ALSJoin | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSJoinImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_JOIN; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_JOIN__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_JOIN__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSJoinImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java new file mode 100644 index 00000000..be88c9bb --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLeqImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Leq</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLeqImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSLeqImpl extends ALSTermImpl implements ALSLeq | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSLeqImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_LEQ; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_LEQ__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_LEQ__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSLeqImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java new file mode 100644 index 00000000..4c6b4282 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSLessImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Less</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSLessImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSLessImpl extends ALSTermImpl implements ALSLess | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSLessImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_LESS; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_LESS__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_LESS__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSLessImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java new file mode 100644 index 00000000..13b95995 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMeqImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Meq</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMeqImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSMeqImpl extends ALSTermImpl implements ALSMeq | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSMeqImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_MEQ; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_MEQ__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_MEQ__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSMeqImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java new file mode 100644 index 00000000..974e1b46 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMinusImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Minus</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMinusImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSMinusImpl extends ALSTermImpl implements ALSMinus | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSMinusImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_MINUS; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_MINUS__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_MINUS__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSMinusImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java new file mode 100644 index 00000000..9180d68f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSMoreImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS More</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSMoreImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSMoreImpl extends ALSTermImpl implements ALSMore | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSMoreImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_MORE; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_MORE__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_MORE__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSMoreImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java new file mode 100644 index 00000000..7791e5cd --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNoneImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS None</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSNoneImpl extends ALSTermImpl implements ALSNone | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSNoneImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_NONE; | ||
38 | } | ||
39 | |||
40 | } //ALSNoneImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java new file mode 100644 index 00000000..783b2386 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotEqualsImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Not Equals</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotEqualsImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSNotEqualsImpl extends ALSTermImpl implements ALSNotEquals | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSNotEqualsImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_NOT_EQUALS; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_NOT_EQUALS__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_NOT_EQUALS__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSNotEqualsImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java new file mode 100644 index 00000000..c1230df7 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNotImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Not</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNotImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSNotImpl extends ALSTermImpl implements ALSNot | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSNotImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_NOT; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(ALSTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_NOT__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NOT__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_NOT__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_NOT__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_NOT__OPERAND: | ||
154 | setOperand((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_NOT__OPERAND: | ||
171 | setOperand((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_NOT__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSNotImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java new file mode 100644 index 00000000..bf0a7224 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSNumberLiteralImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>ALS Number Literal</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSNumberLiteralImpl#getValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class ALSNumberLiteralImpl extends ALSTermImpl implements ALSNumberLiteral | ||
28 | { | ||
29 | /** | ||
30 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getValue() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final int VALUE_EDEFAULT = 0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getValue() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected int value = VALUE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected ALSNumberLiteralImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public int getValue() | ||
76 | { | ||
77 | return value; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setValue(int newValue) | ||
86 | { | ||
87 | int oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE, oldValue, value)); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
100 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE: | ||
104 | return getValue(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE: | ||
120 | setValue((Integer)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE: | ||
137 | setValue(VALUE_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL__VALUE: | ||
154 | return value != VALUE_EDEFAULT; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (value: "); | ||
171 | result.append(value); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //ALSNumberLiteralImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java new file mode 100644 index 00000000..3d9bd2ef --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOrImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Or</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOrImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSOrImpl extends ALSTermImpl implements ALSOr | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSOrImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_OR; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_OR__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_OR__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSOrImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java new file mode 100644 index 00000000..f56b6e4c --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSOverrideImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Override</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSOverrideImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSOverrideImpl extends ALSTermImpl implements ALSOverride | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSOverrideImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_OVERRIDE; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_OVERRIDE__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_OVERRIDE__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSOverrideImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java new file mode 100644 index 00000000..57c83ca5 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSPlusImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Plus</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSPlusImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSPlusImpl extends ALSTermImpl implements ALSPlus | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSPlusImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_PLUS; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_PLUS__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_PLUS__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSPlusImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java new file mode 100644 index 00000000..a0a37cd3 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSQuantifiedExImpl.java | |||
@@ -0,0 +1,368 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration; | ||
9 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>ALS Quantified Ex</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#getType <em>Type</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#isDisj <em>Disj</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#getVariables <em>Variables</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSQuantifiedExImpl#getExpression <em>Expression</em>}</li> | ||
38 | * </ul> | ||
39 | * | ||
40 | * @generated | ||
41 | */ | ||
42 | public class ALSQuantifiedExImpl extends ALSTermImpl implements ALSQuantifiedEx | ||
43 | { | ||
44 | /** | ||
45 | * The default value of the '{@link #getType() <em>Type</em>}' attribute. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @see #getType() | ||
49 | * @generated | ||
50 | * @ordered | ||
51 | */ | ||
52 | protected static final ALSMultiplicity TYPE_EDEFAULT = ALSMultiplicity.ALL; | ||
53 | |||
54 | /** | ||
55 | * The cached value of the '{@link #getType() <em>Type</em>}' attribute. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #getType() | ||
59 | * @generated | ||
60 | * @ordered | ||
61 | */ | ||
62 | protected ALSMultiplicity type = TYPE_EDEFAULT; | ||
63 | |||
64 | /** | ||
65 | * The default value of the '{@link #isDisj() <em>Disj</em>}' attribute. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @see #isDisj() | ||
69 | * @generated | ||
70 | * @ordered | ||
71 | */ | ||
72 | protected static final boolean DISJ_EDEFAULT = false; | ||
73 | |||
74 | /** | ||
75 | * The cached value of the '{@link #isDisj() <em>Disj</em>}' attribute. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @see #isDisj() | ||
79 | * @generated | ||
80 | * @ordered | ||
81 | */ | ||
82 | protected boolean disj = DISJ_EDEFAULT; | ||
83 | |||
84 | /** | ||
85 | * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @see #getVariables() | ||
89 | * @generated | ||
90 | * @ordered | ||
91 | */ | ||
92 | protected EList<ALSVariableDeclaration> variables; | ||
93 | |||
94 | /** | ||
95 | * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @see #getExpression() | ||
99 | * @generated | ||
100 | * @ordered | ||
101 | */ | ||
102 | protected ALSTerm expression; | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | protected ALSQuantifiedExImpl() | ||
110 | { | ||
111 | super(); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | protected EClass eStaticClass() | ||
121 | { | ||
122 | return AlloyLanguagePackage.Literals.ALS_QUANTIFIED_EX; | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | public ALSMultiplicity getType() | ||
131 | { | ||
132 | return type; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public void setType(ALSMultiplicity newType) | ||
141 | { | ||
142 | ALSMultiplicity oldType = type; | ||
143 | type = newType == null ? TYPE_EDEFAULT : newType; | ||
144 | if (eNotificationRequired()) | ||
145 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE, oldType, type)); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | public boolean isDisj() | ||
154 | { | ||
155 | return disj; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | public void setDisj(boolean newDisj) | ||
164 | { | ||
165 | boolean oldDisj = disj; | ||
166 | disj = newDisj; | ||
167 | if (eNotificationRequired()) | ||
168 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ, oldDisj, disj)); | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | */ | ||
176 | public EList<ALSVariableDeclaration> getVariables() | ||
177 | { | ||
178 | if (variables == null) | ||
179 | { | ||
180 | variables = new EObjectContainmentEList<ALSVariableDeclaration>(ALSVariableDeclaration.class, this, AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES); | ||
181 | } | ||
182 | return variables; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | public ALSTerm getExpression() | ||
191 | { | ||
192 | return expression; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | public NotificationChain basicSetExpression(ALSTerm newExpression, NotificationChain msgs) | ||
201 | { | ||
202 | ALSTerm oldExpression = expression; | ||
203 | expression = newExpression; | ||
204 | if (eNotificationRequired()) | ||
205 | { | ||
206 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, oldExpression, newExpression); | ||
207 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
208 | } | ||
209 | return msgs; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | public void setExpression(ALSTerm newExpression) | ||
218 | { | ||
219 | if (newExpression != expression) | ||
220 | { | ||
221 | NotificationChain msgs = null; | ||
222 | if (expression != null) | ||
223 | msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, null, msgs); | ||
224 | if (newExpression != null) | ||
225 | msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, null, msgs); | ||
226 | msgs = basicSetExpression(newExpression, msgs); | ||
227 | if (msgs != null) msgs.dispatch(); | ||
228 | } | ||
229 | else if (eNotificationRequired()) | ||
230 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION, newExpression, newExpression)); | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | */ | ||
238 | @Override | ||
239 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
240 | { | ||
241 | switch (featureID) | ||
242 | { | ||
243 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES: | ||
244 | return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs); | ||
245 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION: | ||
246 | return basicSetExpression(null, msgs); | ||
247 | } | ||
248 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | @Override | ||
257 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
258 | { | ||
259 | switch (featureID) | ||
260 | { | ||
261 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE: | ||
262 | return getType(); | ||
263 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ: | ||
264 | return isDisj(); | ||
265 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES: | ||
266 | return getVariables(); | ||
267 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION: | ||
268 | return getExpression(); | ||
269 | } | ||
270 | return super.eGet(featureID, resolve, coreType); | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | @SuppressWarnings("unchecked") | ||
279 | @Override | ||
280 | public void eSet(int featureID, Object newValue) | ||
281 | { | ||
282 | switch (featureID) | ||
283 | { | ||
284 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE: | ||
285 | setType((ALSMultiplicity)newValue); | ||
286 | return; | ||
287 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ: | ||
288 | setDisj((Boolean)newValue); | ||
289 | return; | ||
290 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES: | ||
291 | getVariables().clear(); | ||
292 | getVariables().addAll((Collection<? extends ALSVariableDeclaration>)newValue); | ||
293 | return; | ||
294 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION: | ||
295 | setExpression((ALSTerm)newValue); | ||
296 | return; | ||
297 | } | ||
298 | super.eSet(featureID, newValue); | ||
299 | } | ||
300 | |||
301 | /** | ||
302 | * <!-- begin-user-doc --> | ||
303 | * <!-- end-user-doc --> | ||
304 | * @generated | ||
305 | */ | ||
306 | @Override | ||
307 | public void eUnset(int featureID) | ||
308 | { | ||
309 | switch (featureID) | ||
310 | { | ||
311 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE: | ||
312 | setType(TYPE_EDEFAULT); | ||
313 | return; | ||
314 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ: | ||
315 | setDisj(DISJ_EDEFAULT); | ||
316 | return; | ||
317 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES: | ||
318 | getVariables().clear(); | ||
319 | return; | ||
320 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION: | ||
321 | setExpression((ALSTerm)null); | ||
322 | return; | ||
323 | } | ||
324 | super.eUnset(featureID); | ||
325 | } | ||
326 | |||
327 | /** | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | */ | ||
332 | @Override | ||
333 | public boolean eIsSet(int featureID) | ||
334 | { | ||
335 | switch (featureID) | ||
336 | { | ||
337 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__TYPE: | ||
338 | return type != TYPE_EDEFAULT; | ||
339 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__DISJ: | ||
340 | return disj != DISJ_EDEFAULT; | ||
341 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__VARIABLES: | ||
342 | return variables != null && !variables.isEmpty(); | ||
343 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX__EXPRESSION: | ||
344 | return expression != null; | ||
345 | } | ||
346 | return super.eIsSet(featureID); | ||
347 | } | ||
348 | |||
349 | /** | ||
350 | * <!-- begin-user-doc --> | ||
351 | * <!-- end-user-doc --> | ||
352 | * @generated | ||
353 | */ | ||
354 | @Override | ||
355 | public String toString() | ||
356 | { | ||
357 | if (eIsProxy()) return super.toString(); | ||
358 | |||
359 | StringBuffer result = new StringBuffer(super.toString()); | ||
360 | result.append(" (type: "); | ||
361 | result.append(type); | ||
362 | result.append(", disj: "); | ||
363 | result.append(disj); | ||
364 | result.append(')'); | ||
365 | return result.toString(); | ||
366 | } | ||
367 | |||
368 | } //ALSQuantifiedExImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java new file mode 100644 index 00000000..f29d5f07 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionLeftImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Range Restriction Left</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl#getFilter <em>Filter</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionLeftImpl#getRelation <em>Relation</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSRangeRestrictionLeftImpl extends ALSTermImpl implements ALSRangeRestrictionLeft | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getFilter() <em>Filter</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getFilter() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm filter; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRelation() <em>Relation</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRelation() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm relation; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSRangeRestrictionLeftImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getFilter() | ||
80 | { | ||
81 | return filter; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetFilter(ALSTerm newFilter, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldFilter = filter; | ||
92 | filter = newFilter; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, oldFilter, newFilter); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setFilter(ALSTerm newFilter) | ||
107 | { | ||
108 | if (newFilter != filter) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (filter != null) | ||
112 | msgs = ((InternalEObject)filter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, null, msgs); | ||
113 | if (newFilter != null) | ||
114 | msgs = ((InternalEObject)newFilter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, null, msgs); | ||
115 | msgs = basicSetFilter(newFilter, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER, newFilter, newFilter)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRelation() | ||
128 | { | ||
129 | return relation; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRelation(ALSTerm newRelation, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRelation = relation; | ||
140 | relation = newRelation; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, oldRelation, newRelation); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRelation(ALSTerm newRelation) | ||
155 | { | ||
156 | if (newRelation != relation) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (relation != null) | ||
160 | msgs = ((InternalEObject)relation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, null, msgs); | ||
161 | if (newRelation != null) | ||
162 | msgs = ((InternalEObject)newRelation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, null, msgs); | ||
163 | msgs = basicSetRelation(newRelation, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION, newRelation, newRelation)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
181 | return basicSetFilter(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
183 | return basicSetRelation(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
199 | return getFilter(); | ||
200 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
201 | return getRelation(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
217 | setFilter((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
220 | setRelation((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
237 | setFilter((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
240 | setRelation((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__FILTER: | ||
257 | return filter != null; | ||
258 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT__RELATION: | ||
259 | return relation != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSRangeRestrictionLeftImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java new file mode 100644 index 00000000..4602e3c8 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRangeRestrictionRightImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Range Restriction Right</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl#getRelation <em>Relation</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRangeRestrictionRightImpl#getFilter <em>Filter</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSRangeRestrictionRightImpl extends ALSTermImpl implements ALSRangeRestrictionRight | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getRelation() <em>Relation</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getRelation() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm relation; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getFilter() <em>Filter</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getFilter() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm filter; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSRangeRestrictionRightImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getRelation() | ||
80 | { | ||
81 | return relation; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetRelation(ALSTerm newRelation, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldRelation = relation; | ||
92 | relation = newRelation; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, oldRelation, newRelation); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setRelation(ALSTerm newRelation) | ||
107 | { | ||
108 | if (newRelation != relation) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (relation != null) | ||
112 | msgs = ((InternalEObject)relation).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, null, msgs); | ||
113 | if (newRelation != null) | ||
114 | msgs = ((InternalEObject)newRelation).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, null, msgs); | ||
115 | msgs = basicSetRelation(newRelation, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION, newRelation, newRelation)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getFilter() | ||
128 | { | ||
129 | return filter; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetFilter(ALSTerm newFilter, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldFilter = filter; | ||
140 | filter = newFilter; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, oldFilter, newFilter); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setFilter(ALSTerm newFilter) | ||
155 | { | ||
156 | if (newFilter != filter) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (filter != null) | ||
160 | msgs = ((InternalEObject)filter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, null, msgs); | ||
161 | if (newFilter != null) | ||
162 | msgs = ((InternalEObject)newFilter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, null, msgs); | ||
163 | msgs = basicSetFilter(newFilter, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER, newFilter, newFilter)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION: | ||
181 | return basicSetRelation(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER: | ||
183 | return basicSetFilter(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION: | ||
199 | return getRelation(); | ||
200 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER: | ||
201 | return getFilter(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION: | ||
217 | setRelation((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER: | ||
220 | setFilter((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION: | ||
237 | setRelation((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER: | ||
240 | setFilter((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__RELATION: | ||
257 | return relation != null; | ||
258 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT__FILTER: | ||
259 | return filter != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSRangeRestrictionRightImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java new file mode 100644 index 00000000..593c8a94 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReferenceImpl.java | |||
@@ -0,0 +1,172 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>ALS Reference</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReferenceImpl#getReferred <em>Referred</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class ALSReferenceImpl extends ALSTermImpl implements ALSReference | ||
30 | { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getReferred() <em>Referred</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getReferred() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected ALSRelationDeclaration referred; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected ALSReferenceImpl() | ||
47 | { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | protected EClass eStaticClass() | ||
58 | { | ||
59 | return AlloyLanguagePackage.Literals.ALS_REFERENCE; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | public ALSRelationDeclaration getReferred() | ||
68 | { | ||
69 | if (referred != null && referred.eIsProxy()) | ||
70 | { | ||
71 | InternalEObject oldReferred = (InternalEObject)referred; | ||
72 | referred = (ALSRelationDeclaration)eResolveProxy(oldReferred); | ||
73 | if (referred != oldReferred) | ||
74 | { | ||
75 | if (eNotificationRequired()) | ||
76 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_REFERENCE__REFERRED, oldReferred, referred)); | ||
77 | } | ||
78 | } | ||
79 | return referred; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public ALSRelationDeclaration basicGetReferred() | ||
88 | { | ||
89 | return referred; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | public void setReferred(ALSRelationDeclaration newReferred) | ||
98 | { | ||
99 | ALSRelationDeclaration oldReferred = referred; | ||
100 | referred = newReferred; | ||
101 | if (eNotificationRequired()) | ||
102 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_REFERENCE__REFERRED, oldReferred, referred)); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
112 | { | ||
113 | switch (featureID) | ||
114 | { | ||
115 | case AlloyLanguagePackage.ALS_REFERENCE__REFERRED: | ||
116 | if (resolve) return getReferred(); | ||
117 | return basicGetReferred(); | ||
118 | } | ||
119 | return super.eGet(featureID, resolve, coreType); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public void eSet(int featureID, Object newValue) | ||
129 | { | ||
130 | switch (featureID) | ||
131 | { | ||
132 | case AlloyLanguagePackage.ALS_REFERENCE__REFERRED: | ||
133 | setReferred((ALSRelationDeclaration)newValue); | ||
134 | return; | ||
135 | } | ||
136 | super.eSet(featureID, newValue); | ||
137 | } | ||
138 | |||
139 | /** | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public void eUnset(int featureID) | ||
146 | { | ||
147 | switch (featureID) | ||
148 | { | ||
149 | case AlloyLanguagePackage.ALS_REFERENCE__REFERRED: | ||
150 | setReferred((ALSRelationDeclaration)null); | ||
151 | return; | ||
152 | } | ||
153 | super.eUnset(featureID); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public boolean eIsSet(int featureID) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case AlloyLanguagePackage.ALS_REFERENCE__REFERRED: | ||
167 | return referred != null; | ||
168 | } | ||
169 | return super.eIsSet(featureID); | ||
170 | } | ||
171 | |||
172 | } //ALSReferenceImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java new file mode 100644 index 00000000..efe3a67e --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSReflectiveTransitiveClosureImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Reflective Transitive Closure</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSReflectiveTransitiveClosureImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSReflectiveTransitiveClosureImpl extends ALSTermImpl implements ALSReflectiveTransitiveClosure | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSReflectiveTransitiveClosureImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(ALSTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND: | ||
154 | setOperand((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND: | ||
171 | setOperand((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSReflectiveTransitiveClosureImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java new file mode 100644 index 00000000..e93196b0 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDeclarationImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>ALS Relation Declaration</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRelationDeclarationImpl#getName <em>Name</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class ALSRelationDeclarationImpl extends MinimalEObjectImpl.Container implements ALSRelationDeclaration | ||
29 | { | ||
30 | /** | ||
31 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getName() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final String NAME_EDEFAULT = null; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getName() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected String name = NAME_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected ALSRelationDeclarationImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public String getName() | ||
77 | { | ||
78 | return name; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setName(String newName) | ||
87 | { | ||
88 | String oldName = name; | ||
89 | name = newName; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME, oldName, name)); | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
101 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME: | ||
105 | return getName(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME: | ||
121 | setName((String)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME: | ||
138 | setName(NAME_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION__NAME: | ||
155 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (name: "); | ||
172 | result.append(name); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //ALSRelationDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java new file mode 100644 index 00000000..38014e58 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRelationDefinitionImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Relation Definition</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSRelationDefinitionImpl extends ALSDefinitionImpl implements ALSRelationDefinition | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSRelationDefinitionImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_RELATION_DEFINITION; | ||
38 | } | ||
39 | |||
40 | } //ALSRelationDefinitionImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java new file mode 100644 index 00000000..f3a909dc --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSRunCommandImpl.java | |||
@@ -0,0 +1,167 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.common.util.EList; | ||
14 | |||
15 | import org.eclipse.emf.ecore.EClass; | ||
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | |||
18 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
19 | |||
20 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
21 | import org.eclipse.emf.ecore.util.InternalEList; | ||
22 | |||
23 | /** | ||
24 | * <!-- begin-user-doc --> | ||
25 | * An implementation of the model object '<em><b>ALS Run Command</b></em>'. | ||
26 | * <!-- end-user-doc --> | ||
27 | * <p> | ||
28 | * The following features are implemented: | ||
29 | * </p> | ||
30 | * <ul> | ||
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSRunCommandImpl#getTypeScopes <em>Type Scopes</em>}</li> | ||
32 | * </ul> | ||
33 | * | ||
34 | * @generated | ||
35 | */ | ||
36 | public class ALSRunCommandImpl extends MinimalEObjectImpl.Container implements ALSRunCommand | ||
37 | { | ||
38 | /** | ||
39 | * The cached value of the '{@link #getTypeScopes() <em>Type Scopes</em>}' containment reference list. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getTypeScopes() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected EList<ALSTypeScope> typeScopes; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected ALSRunCommandImpl() | ||
54 | { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() | ||
65 | { | ||
66 | return AlloyLanguagePackage.Literals.ALS_RUN_COMMAND; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | public EList<ALSTypeScope> getTypeScopes() | ||
75 | { | ||
76 | if (typeScopes == null) | ||
77 | { | ||
78 | typeScopes = new EObjectContainmentEList<ALSTypeScope>(ALSTypeScope.class, this, AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES); | ||
79 | } | ||
80 | return typeScopes; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
90 | { | ||
91 | switch (featureID) | ||
92 | { | ||
93 | case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES: | ||
94 | return ((InternalEList<?>)getTypeScopes()).basicRemove(otherEnd, msgs); | ||
95 | } | ||
96 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
106 | { | ||
107 | switch (featureID) | ||
108 | { | ||
109 | case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES: | ||
110 | return getTypeScopes(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @SuppressWarnings("unchecked") | ||
121 | @Override | ||
122 | public void eSet(int featureID, Object newValue) | ||
123 | { | ||
124 | switch (featureID) | ||
125 | { | ||
126 | case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES: | ||
127 | getTypeScopes().clear(); | ||
128 | getTypeScopes().addAll((Collection<? extends ALSTypeScope>)newValue); | ||
129 | return; | ||
130 | } | ||
131 | super.eSet(featureID, newValue); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public void eUnset(int featureID) | ||
141 | { | ||
142 | switch (featureID) | ||
143 | { | ||
144 | case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES: | ||
145 | getTypeScopes().clear(); | ||
146 | return; | ||
147 | } | ||
148 | super.eUnset(featureID); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public boolean eIsSet(int featureID) | ||
158 | { | ||
159 | switch (featureID) | ||
160 | { | ||
161 | case AlloyLanguagePackage.ALS_RUN_COMMAND__TYPE_SCOPES: | ||
162 | return typeScopes != null && !typeScopes.isEmpty(); | ||
163 | } | ||
164 | return super.eIsSet(featureID); | ||
165 | } | ||
166 | |||
167 | } //ALSRunCommandImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java new file mode 100644 index 00000000..18f22c3f --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSigScopeImpl.java | |||
@@ -0,0 +1,243 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>ALS Sig Scope</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl#isExactly <em>Exactly</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSigScopeImpl#getType <em>Type</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSSigScopeImpl extends ALSTypeScopeImpl implements ALSSigScope | ||
31 | { | ||
32 | /** | ||
33 | * The default value of the '{@link #isExactly() <em>Exactly</em>}' attribute. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #isExactly() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected static final boolean EXACTLY_EDEFAULT = false; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #isExactly() <em>Exactly</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #isExactly() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected boolean exactly = EXACTLY_EDEFAULT; | ||
51 | |||
52 | /** | ||
53 | * The cached value of the '{@link #getType() <em>Type</em>}' reference. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getType() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected ALSSignatureDeclaration type; | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | protected ALSSigScopeImpl() | ||
68 | { | ||
69 | super(); | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | protected EClass eStaticClass() | ||
79 | { | ||
80 | return AlloyLanguagePackage.Literals.ALS_SIG_SCOPE; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | public boolean isExactly() | ||
89 | { | ||
90 | return exactly; | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | public void setExactly(boolean newExactly) | ||
99 | { | ||
100 | boolean oldExactly = exactly; | ||
101 | exactly = newExactly; | ||
102 | if (eNotificationRequired()) | ||
103 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY, oldExactly, exactly)); | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | public ALSSignatureDeclaration getType() | ||
112 | { | ||
113 | if (type != null && type.eIsProxy()) | ||
114 | { | ||
115 | InternalEObject oldType = (InternalEObject)type; | ||
116 | type = (ALSSignatureDeclaration)eResolveProxy(oldType); | ||
117 | if (type != oldType) | ||
118 | { | ||
119 | if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE, oldType, type)); | ||
121 | } | ||
122 | } | ||
123 | return type; | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | public ALSSignatureDeclaration basicGetType() | ||
132 | { | ||
133 | return type; | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | public void setType(ALSSignatureDeclaration newType) | ||
142 | { | ||
143 | ALSSignatureDeclaration oldType = type; | ||
144 | type = newType; | ||
145 | if (eNotificationRequired()) | ||
146 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE, oldType, type)); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
156 | { | ||
157 | switch (featureID) | ||
158 | { | ||
159 | case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY: | ||
160 | return isExactly(); | ||
161 | case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE: | ||
162 | if (resolve) return getType(); | ||
163 | return basicGetType(); | ||
164 | } | ||
165 | return super.eGet(featureID, resolve, coreType); | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public void eSet(int featureID, Object newValue) | ||
175 | { | ||
176 | switch (featureID) | ||
177 | { | ||
178 | case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY: | ||
179 | setExactly((Boolean)newValue); | ||
180 | return; | ||
181 | case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE: | ||
182 | setType((ALSSignatureDeclaration)newValue); | ||
183 | return; | ||
184 | } | ||
185 | super.eSet(featureID, newValue); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public void eUnset(int featureID) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY: | ||
199 | setExactly(EXACTLY_EDEFAULT); | ||
200 | return; | ||
201 | case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE: | ||
202 | setType((ALSSignatureDeclaration)null); | ||
203 | return; | ||
204 | } | ||
205 | super.eUnset(featureID); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public boolean eIsSet(int featureID) | ||
215 | { | ||
216 | switch (featureID) | ||
217 | { | ||
218 | case AlloyLanguagePackage.ALS_SIG_SCOPE__EXACTLY: | ||
219 | return exactly != EXACTLY_EDEFAULT; | ||
220 | case AlloyLanguagePackage.ALS_SIG_SCOPE__TYPE: | ||
221 | return type != null; | ||
222 | } | ||
223 | return super.eIsSet(featureID); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public String toString() | ||
233 | { | ||
234 | if (eIsProxy()) return super.toString(); | ||
235 | |||
236 | StringBuffer result = new StringBuffer(super.toString()); | ||
237 | result.append(" (exactly: "); | ||
238 | result.append(exactly); | ||
239 | result.append(')'); | ||
240 | return result.toString(); | ||
241 | } | ||
242 | |||
243 | } //ALSSigScopeImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java new file mode 100644 index 00000000..40452b63 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureBodyImpl.java | |||
@@ -0,0 +1,438 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration; | ||
9 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
10 | |||
11 | import java.util.Collection; | ||
12 | |||
13 | import org.eclipse.emf.common.notify.Notification; | ||
14 | import org.eclipse.emf.common.notify.NotificationChain; | ||
15 | |||
16 | import org.eclipse.emf.common.util.EList; | ||
17 | |||
18 | import org.eclipse.emf.ecore.EClass; | ||
19 | import org.eclipse.emf.ecore.InternalEObject; | ||
20 | |||
21 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
22 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
23 | |||
24 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
25 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
26 | import org.eclipse.emf.ecore.util.InternalEList; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model object '<em><b>ALS Signature Body</b></em>'. | ||
31 | * <!-- end-user-doc --> | ||
32 | * <p> | ||
33 | * The following features are implemented: | ||
34 | * </p> | ||
35 | * <ul> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getMultiplicity <em>Multiplicity</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#isAbstract <em>Abstract</em>}</li> | ||
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getDeclarations <em>Declarations</em>}</li> | ||
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getSupertype <em>Supertype</em>}</li> | ||
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getSuperset <em>Superset</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSignatureBodyImpl#getFields <em>Fields</em>}</li> | ||
42 | * </ul> | ||
43 | * | ||
44 | * @generated | ||
45 | */ | ||
46 | public class ALSSignatureBodyImpl extends MinimalEObjectImpl.Container implements ALSSignatureBody | ||
47 | { | ||
48 | /** | ||
49 | * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @see #getMultiplicity() | ||
53 | * @generated | ||
54 | * @ordered | ||
55 | */ | ||
56 | protected static final ALSMultiplicity MULTIPLICITY_EDEFAULT = ALSMultiplicity.ALL; | ||
57 | |||
58 | /** | ||
59 | * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @see #getMultiplicity() | ||
63 | * @generated | ||
64 | * @ordered | ||
65 | */ | ||
66 | protected ALSMultiplicity multiplicity = MULTIPLICITY_EDEFAULT; | ||
67 | |||
68 | /** | ||
69 | * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @see #isAbstract() | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | protected static final boolean ABSTRACT_EDEFAULT = false; | ||
77 | |||
78 | /** | ||
79 | * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @see #isAbstract() | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | protected boolean abstract_ = ABSTRACT_EDEFAULT; | ||
87 | |||
88 | /** | ||
89 | * The cached value of the '{@link #getDeclarations() <em>Declarations</em>}' containment reference list. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @see #getDeclarations() | ||
93 | * @generated | ||
94 | * @ordered | ||
95 | */ | ||
96 | protected EList<ALSSignatureDeclaration> declarations; | ||
97 | |||
98 | /** | ||
99 | * The cached value of the '{@link #getSupertype() <em>Supertype</em>}' reference. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @see #getSupertype() | ||
103 | * @generated | ||
104 | * @ordered | ||
105 | */ | ||
106 | protected ALSSignatureDeclaration supertype; | ||
107 | |||
108 | /** | ||
109 | * The cached value of the '{@link #getSuperset() <em>Superset</em>}' reference list. | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @see #getSuperset() | ||
113 | * @generated | ||
114 | * @ordered | ||
115 | */ | ||
116 | protected EList<ALSSignatureDeclaration> superset; | ||
117 | |||
118 | /** | ||
119 | * The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list. | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @see #getFields() | ||
123 | * @generated | ||
124 | * @ordered | ||
125 | */ | ||
126 | protected EList<ALSFieldDeclaration> fields; | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | protected ALSSignatureBodyImpl() | ||
134 | { | ||
135 | super(); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | protected EClass eStaticClass() | ||
145 | { | ||
146 | return AlloyLanguagePackage.Literals.ALS_SIGNATURE_BODY; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public ALSMultiplicity getMultiplicity() | ||
155 | { | ||
156 | return multiplicity; | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | public void setMultiplicity(ALSMultiplicity newMultiplicity) | ||
165 | { | ||
166 | ALSMultiplicity oldMultiplicity = multiplicity; | ||
167 | multiplicity = newMultiplicity == null ? MULTIPLICITY_EDEFAULT : newMultiplicity; | ||
168 | if (eNotificationRequired()) | ||
169 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY, oldMultiplicity, multiplicity)); | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | public boolean isAbstract() | ||
178 | { | ||
179 | return abstract_; | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | public void setAbstract(boolean newAbstract) | ||
188 | { | ||
189 | boolean oldAbstract = abstract_; | ||
190 | abstract_ = newAbstract; | ||
191 | if (eNotificationRequired()) | ||
192 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT, oldAbstract, abstract_)); | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | public EList<ALSSignatureDeclaration> getDeclarations() | ||
201 | { | ||
202 | if (declarations == null) | ||
203 | { | ||
204 | declarations = new EObjectContainmentEList<ALSSignatureDeclaration>(ALSSignatureDeclaration.class, this, AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS); | ||
205 | } | ||
206 | return declarations; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * <!-- begin-user-doc --> | ||
211 | * <!-- end-user-doc --> | ||
212 | * @generated | ||
213 | */ | ||
214 | public ALSSignatureDeclaration getSupertype() | ||
215 | { | ||
216 | if (supertype != null && supertype.eIsProxy()) | ||
217 | { | ||
218 | InternalEObject oldSupertype = (InternalEObject)supertype; | ||
219 | supertype = (ALSSignatureDeclaration)eResolveProxy(oldSupertype); | ||
220 | if (supertype != oldSupertype) | ||
221 | { | ||
222 | if (eNotificationRequired()) | ||
223 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE, oldSupertype, supertype)); | ||
224 | } | ||
225 | } | ||
226 | return supertype; | ||
227 | } | ||
228 | |||
229 | /** | ||
230 | * <!-- begin-user-doc --> | ||
231 | * <!-- end-user-doc --> | ||
232 | * @generated | ||
233 | */ | ||
234 | public ALSSignatureDeclaration basicGetSupertype() | ||
235 | { | ||
236 | return supertype; | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * <!-- begin-user-doc --> | ||
241 | * <!-- end-user-doc --> | ||
242 | * @generated | ||
243 | */ | ||
244 | public void setSupertype(ALSSignatureDeclaration newSupertype) | ||
245 | { | ||
246 | ALSSignatureDeclaration oldSupertype = supertype; | ||
247 | supertype = newSupertype; | ||
248 | if (eNotificationRequired()) | ||
249 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE, oldSupertype, supertype)); | ||
250 | } | ||
251 | |||
252 | /** | ||
253 | * <!-- begin-user-doc --> | ||
254 | * <!-- end-user-doc --> | ||
255 | * @generated | ||
256 | */ | ||
257 | public EList<ALSSignatureDeclaration> getSuperset() | ||
258 | { | ||
259 | if (superset == null) | ||
260 | { | ||
261 | superset = new EObjectResolvingEList<ALSSignatureDeclaration>(ALSSignatureDeclaration.class, this, AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET); | ||
262 | } | ||
263 | return superset; | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * <!-- begin-user-doc --> | ||
268 | * <!-- end-user-doc --> | ||
269 | * @generated | ||
270 | */ | ||
271 | public EList<ALSFieldDeclaration> getFields() | ||
272 | { | ||
273 | if (fields == null) | ||
274 | { | ||
275 | fields = new EObjectContainmentEList<ALSFieldDeclaration>(ALSFieldDeclaration.class, this, AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS); | ||
276 | } | ||
277 | return fields; | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | */ | ||
285 | @Override | ||
286 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
287 | { | ||
288 | switch (featureID) | ||
289 | { | ||
290 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS: | ||
291 | return ((InternalEList<?>)getDeclarations()).basicRemove(otherEnd, msgs); | ||
292 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS: | ||
293 | return ((InternalEList<?>)getFields()).basicRemove(otherEnd, msgs); | ||
294 | } | ||
295 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | @Override | ||
304 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
305 | { | ||
306 | switch (featureID) | ||
307 | { | ||
308 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY: | ||
309 | return getMultiplicity(); | ||
310 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT: | ||
311 | return isAbstract(); | ||
312 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS: | ||
313 | return getDeclarations(); | ||
314 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE: | ||
315 | if (resolve) return getSupertype(); | ||
316 | return basicGetSupertype(); | ||
317 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET: | ||
318 | return getSuperset(); | ||
319 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS: | ||
320 | return getFields(); | ||
321 | } | ||
322 | return super.eGet(featureID, resolve, coreType); | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @generated | ||
329 | */ | ||
330 | @SuppressWarnings("unchecked") | ||
331 | @Override | ||
332 | public void eSet(int featureID, Object newValue) | ||
333 | { | ||
334 | switch (featureID) | ||
335 | { | ||
336 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY: | ||
337 | setMultiplicity((ALSMultiplicity)newValue); | ||
338 | return; | ||
339 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT: | ||
340 | setAbstract((Boolean)newValue); | ||
341 | return; | ||
342 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS: | ||
343 | getDeclarations().clear(); | ||
344 | getDeclarations().addAll((Collection<? extends ALSSignatureDeclaration>)newValue); | ||
345 | return; | ||
346 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE: | ||
347 | setSupertype((ALSSignatureDeclaration)newValue); | ||
348 | return; | ||
349 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET: | ||
350 | getSuperset().clear(); | ||
351 | getSuperset().addAll((Collection<? extends ALSSignatureDeclaration>)newValue); | ||
352 | return; | ||
353 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS: | ||
354 | getFields().clear(); | ||
355 | getFields().addAll((Collection<? extends ALSFieldDeclaration>)newValue); | ||
356 | return; | ||
357 | } | ||
358 | super.eSet(featureID, newValue); | ||
359 | } | ||
360 | |||
361 | /** | ||
362 | * <!-- begin-user-doc --> | ||
363 | * <!-- end-user-doc --> | ||
364 | * @generated | ||
365 | */ | ||
366 | @Override | ||
367 | public void eUnset(int featureID) | ||
368 | { | ||
369 | switch (featureID) | ||
370 | { | ||
371 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY: | ||
372 | setMultiplicity(MULTIPLICITY_EDEFAULT); | ||
373 | return; | ||
374 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT: | ||
375 | setAbstract(ABSTRACT_EDEFAULT); | ||
376 | return; | ||
377 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS: | ||
378 | getDeclarations().clear(); | ||
379 | return; | ||
380 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE: | ||
381 | setSupertype((ALSSignatureDeclaration)null); | ||
382 | return; | ||
383 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET: | ||
384 | getSuperset().clear(); | ||
385 | return; | ||
386 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS: | ||
387 | getFields().clear(); | ||
388 | return; | ||
389 | } | ||
390 | super.eUnset(featureID); | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | @Override | ||
399 | public boolean eIsSet(int featureID) | ||
400 | { | ||
401 | switch (featureID) | ||
402 | { | ||
403 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__MULTIPLICITY: | ||
404 | return multiplicity != MULTIPLICITY_EDEFAULT; | ||
405 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__ABSTRACT: | ||
406 | return abstract_ != ABSTRACT_EDEFAULT; | ||
407 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__DECLARATIONS: | ||
408 | return declarations != null && !declarations.isEmpty(); | ||
409 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERTYPE: | ||
410 | return supertype != null; | ||
411 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__SUPERSET: | ||
412 | return superset != null && !superset.isEmpty(); | ||
413 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY__FIELDS: | ||
414 | return fields != null && !fields.isEmpty(); | ||
415 | } | ||
416 | return super.eIsSet(featureID); | ||
417 | } | ||
418 | |||
419 | /** | ||
420 | * <!-- begin-user-doc --> | ||
421 | * <!-- end-user-doc --> | ||
422 | * @generated | ||
423 | */ | ||
424 | @Override | ||
425 | public String toString() | ||
426 | { | ||
427 | if (eIsProxy()) return super.toString(); | ||
428 | |||
429 | StringBuffer result = new StringBuffer(super.toString()); | ||
430 | result.append(" (multiplicity: "); | ||
431 | result.append(multiplicity); | ||
432 | result.append(", abstract: "); | ||
433 | result.append(abstract_); | ||
434 | result.append(')'); | ||
435 | return result.toString(); | ||
436 | } | ||
437 | |||
438 | } //ALSSignatureBodyImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java new file mode 100644 index 00000000..aff258ff --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSignatureDeclarationImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Signature Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSSignatureDeclarationImpl extends ALSTypeDeclarationImpl implements ALSSignatureDeclaration | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSSignatureDeclarationImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_SIGNATURE_DECLARATION; | ||
38 | } | ||
39 | |||
40 | } //ALSSignatureDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java new file mode 100644 index 00000000..fa26bdb3 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS String</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSStringImpl extends ALSTermImpl implements ALSString | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSStringImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_STRING; | ||
38 | } | ||
39 | |||
40 | } //ALSStringImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java new file mode 100644 index 00000000..c3fede10 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringLiteralImpl.java | |||
@@ -0,0 +1,176 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>ALS String Literal</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSStringLiteralImpl#getValue <em>Value</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class ALSStringLiteralImpl extends ALSTermImpl implements ALSStringLiteral | ||
28 | { | ||
29 | /** | ||
30 | * The default value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getValue() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final String VALUE_EDEFAULT = null; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getValue() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected String value = VALUE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected ALSStringLiteralImpl() | ||
55 | { | ||
56 | super(); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | protected EClass eStaticClass() | ||
66 | { | ||
67 | return AlloyLanguagePackage.Literals.ALS_STRING_LITERAL; | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | public String getValue() | ||
76 | { | ||
77 | return value; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | public void setValue(String newValue) | ||
86 | { | ||
87 | String oldValue = value; | ||
88 | value = newValue; | ||
89 | if (eNotificationRequired()) | ||
90 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE, oldValue, value)); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @Override | ||
99 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
100 | { | ||
101 | switch (featureID) | ||
102 | { | ||
103 | case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE: | ||
104 | return getValue(); | ||
105 | } | ||
106 | return super.eGet(featureID, resolve, coreType); | ||
107 | } | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | @Override | ||
115 | public void eSet(int featureID, Object newValue) | ||
116 | { | ||
117 | switch (featureID) | ||
118 | { | ||
119 | case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE: | ||
120 | setValue((String)newValue); | ||
121 | return; | ||
122 | } | ||
123 | super.eSet(featureID, newValue); | ||
124 | } | ||
125 | |||
126 | /** | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | */ | ||
131 | @Override | ||
132 | public void eUnset(int featureID) | ||
133 | { | ||
134 | switch (featureID) | ||
135 | { | ||
136 | case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE: | ||
137 | setValue(VALUE_EDEFAULT); | ||
138 | return; | ||
139 | } | ||
140 | super.eUnset(featureID); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public boolean eIsSet(int featureID) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_STRING_LITERAL__VALUE: | ||
154 | return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | @Override | ||
165 | public String toString() | ||
166 | { | ||
167 | if (eIsProxy()) return super.toString(); | ||
168 | |||
169 | StringBuffer result = new StringBuffer(super.toString()); | ||
170 | result.append(" (value: "); | ||
171 | result.append(value); | ||
172 | result.append(')'); | ||
173 | return result.toString(); | ||
174 | } | ||
175 | |||
176 | } //ALSStringLiteralImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java new file mode 100644 index 00000000..87c7aaf3 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSStringScopeImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS String Scope</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSStringScopeImpl extends ALSTypeScopeImpl implements ALSStringScope | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSStringScopeImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_STRING_SCOPE; | ||
38 | } | ||
39 | |||
40 | } //ALSStringScopeImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java new file mode 100644 index 00000000..420debb2 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSubsetImpl.java | |||
@@ -0,0 +1,264 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Subset</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl#getLeftOperand <em>Left Operand</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSubsetImpl#getRightOperand <em>Right Operand</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ALSSubsetImpl extends ALSTermImpl implements ALSSubset | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getLeftOperand() <em>Left Operand</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getLeftOperand() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ALSTerm leftOperand; | ||
42 | |||
43 | /** | ||
44 | * The cached value of the '{@link #getRightOperand() <em>Right Operand</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getRightOperand() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected ALSTerm rightOperand; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected ALSSubsetImpl() | ||
59 | { | ||
60 | super(); | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | @Override | ||
69 | protected EClass eStaticClass() | ||
70 | { | ||
71 | return AlloyLanguagePackage.Literals.ALS_SUBSET; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public ALSTerm getLeftOperand() | ||
80 | { | ||
81 | return leftOperand; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | public NotificationChain basicSetLeftOperand(ALSTerm newLeftOperand, NotificationChain msgs) | ||
90 | { | ||
91 | ALSTerm oldLeftOperand = leftOperand; | ||
92 | leftOperand = newLeftOperand; | ||
93 | if (eNotificationRequired()) | ||
94 | { | ||
95 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, oldLeftOperand, newLeftOperand); | ||
96 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public void setLeftOperand(ALSTerm newLeftOperand) | ||
107 | { | ||
108 | if (newLeftOperand != leftOperand) | ||
109 | { | ||
110 | NotificationChain msgs = null; | ||
111 | if (leftOperand != null) | ||
112 | msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, null, msgs); | ||
113 | if (newLeftOperand != null) | ||
114 | msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, null, msgs); | ||
115 | msgs = basicSetLeftOperand(newLeftOperand, msgs); | ||
116 | if (msgs != null) msgs.dispatch(); | ||
117 | } | ||
118 | else if (eNotificationRequired()) | ||
119 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND, newLeftOperand, newLeftOperand)); | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | public ALSTerm getRightOperand() | ||
128 | { | ||
129 | return rightOperand; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public NotificationChain basicSetRightOperand(ALSTerm newRightOperand, NotificationChain msgs) | ||
138 | { | ||
139 | ALSTerm oldRightOperand = rightOperand; | ||
140 | rightOperand = newRightOperand; | ||
141 | if (eNotificationRequired()) | ||
142 | { | ||
143 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, oldRightOperand, newRightOperand); | ||
144 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
145 | } | ||
146 | return msgs; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | public void setRightOperand(ALSTerm newRightOperand) | ||
155 | { | ||
156 | if (newRightOperand != rightOperand) | ||
157 | { | ||
158 | NotificationChain msgs = null; | ||
159 | if (rightOperand != null) | ||
160 | msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, null, msgs); | ||
161 | if (newRightOperand != null) | ||
162 | msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, null, msgs); | ||
163 | msgs = basicSetRightOperand(newRightOperand, msgs); | ||
164 | if (msgs != null) msgs.dispatch(); | ||
165 | } | ||
166 | else if (eNotificationRequired()) | ||
167 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND, newRightOperand, newRightOperand)); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | @Override | ||
176 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
177 | { | ||
178 | switch (featureID) | ||
179 | { | ||
180 | case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND: | ||
181 | return basicSetLeftOperand(null, msgs); | ||
182 | case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND: | ||
183 | return basicSetRightOperand(null, msgs); | ||
184 | } | ||
185 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
195 | { | ||
196 | switch (featureID) | ||
197 | { | ||
198 | case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND: | ||
199 | return getLeftOperand(); | ||
200 | case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND: | ||
201 | return getRightOperand(); | ||
202 | } | ||
203 | return super.eGet(featureID, resolve, coreType); | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * <!-- begin-user-doc --> | ||
208 | * <!-- end-user-doc --> | ||
209 | * @generated | ||
210 | */ | ||
211 | @Override | ||
212 | public void eSet(int featureID, Object newValue) | ||
213 | { | ||
214 | switch (featureID) | ||
215 | { | ||
216 | case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND: | ||
217 | setLeftOperand((ALSTerm)newValue); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND: | ||
220 | setRightOperand((ALSTerm)newValue); | ||
221 | return; | ||
222 | } | ||
223 | super.eSet(featureID, newValue); | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | */ | ||
231 | @Override | ||
232 | public void eUnset(int featureID) | ||
233 | { | ||
234 | switch (featureID) | ||
235 | { | ||
236 | case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND: | ||
237 | setLeftOperand((ALSTerm)null); | ||
238 | return; | ||
239 | case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND: | ||
240 | setRightOperand((ALSTerm)null); | ||
241 | return; | ||
242 | } | ||
243 | super.eUnset(featureID); | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * <!-- begin-user-doc --> | ||
248 | * <!-- end-user-doc --> | ||
249 | * @generated | ||
250 | */ | ||
251 | @Override | ||
252 | public boolean eIsSet(int featureID) | ||
253 | { | ||
254 | switch (featureID) | ||
255 | { | ||
256 | case AlloyLanguagePackage.ALS_SUBSET__LEFT_OPERAND: | ||
257 | return leftOperand != null; | ||
258 | case AlloyLanguagePackage.ALS_SUBSET__RIGHT_OPERAND: | ||
259 | return rightOperand != null; | ||
260 | } | ||
261 | return super.eIsSet(featureID); | ||
262 | } | ||
263 | |||
264 | } //ALSSubsetImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java new file mode 100644 index 00000000..1321a1f1 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSSumImpl.java | |||
@@ -0,0 +1,240 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | |||
22 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
23 | import org.eclipse.emf.ecore.util.InternalEList; | ||
24 | |||
25 | /** | ||
26 | * <!-- begin-user-doc --> | ||
27 | * An implementation of the model object '<em><b>ALS Sum</b></em>'. | ||
28 | * <!-- end-user-doc --> | ||
29 | * <p> | ||
30 | * The following features are implemented: | ||
31 | * </p> | ||
32 | * <ul> | ||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl#getVariables <em>Variables</em>}</li> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSSumImpl#getExpression <em>Expression</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class ALSSumImpl extends ALSTermImpl implements ALSSum | ||
40 | { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getVariables() <em>Variables</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getVariables() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<ALSVariableDeclaration> variables; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getExpression() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected ALSTerm expression; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected ALSSumImpl() | ||
67 | { | ||
68 | super(); | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | protected EClass eStaticClass() | ||
78 | { | ||
79 | return AlloyLanguagePackage.Literals.ALS_SUM; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public EList<ALSVariableDeclaration> getVariables() | ||
88 | { | ||
89 | if (variables == null) | ||
90 | { | ||
91 | variables = new EObjectContainmentEList<ALSVariableDeclaration>(ALSVariableDeclaration.class, this, AlloyLanguagePackage.ALS_SUM__VARIABLES); | ||
92 | } | ||
93 | return variables; | ||
94 | } | ||
95 | |||
96 | /** | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | public ALSTerm getExpression() | ||
102 | { | ||
103 | return expression; | ||
104 | } | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | public NotificationChain basicSetExpression(ALSTerm newExpression, NotificationChain msgs) | ||
112 | { | ||
113 | ALSTerm oldExpression = expression; | ||
114 | expression = newExpression; | ||
115 | if (eNotificationRequired()) | ||
116 | { | ||
117 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUM__EXPRESSION, oldExpression, newExpression); | ||
118 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
119 | } | ||
120 | return msgs; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public void setExpression(ALSTerm newExpression) | ||
129 | { | ||
130 | if (newExpression != expression) | ||
131 | { | ||
132 | NotificationChain msgs = null; | ||
133 | if (expression != null) | ||
134 | msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUM__EXPRESSION, null, msgs); | ||
135 | if (newExpression != null) | ||
136 | msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_SUM__EXPRESSION, null, msgs); | ||
137 | msgs = basicSetExpression(newExpression, msgs); | ||
138 | if (msgs != null) msgs.dispatch(); | ||
139 | } | ||
140 | else if (eNotificationRequired()) | ||
141 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_SUM__EXPRESSION, newExpression, newExpression)); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case AlloyLanguagePackage.ALS_SUM__VARIABLES: | ||
155 | return ((InternalEList<?>)getVariables()).basicRemove(otherEnd, msgs); | ||
156 | case AlloyLanguagePackage.ALS_SUM__EXPRESSION: | ||
157 | return basicSetExpression(null, msgs); | ||
158 | } | ||
159 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | */ | ||
167 | @Override | ||
168 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
169 | { | ||
170 | switch (featureID) | ||
171 | { | ||
172 | case AlloyLanguagePackage.ALS_SUM__VARIABLES: | ||
173 | return getVariables(); | ||
174 | case AlloyLanguagePackage.ALS_SUM__EXPRESSION: | ||
175 | return getExpression(); | ||
176 | } | ||
177 | return super.eGet(featureID, resolve, coreType); | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | @SuppressWarnings("unchecked") | ||
186 | @Override | ||
187 | public void eSet(int featureID, Object newValue) | ||
188 | { | ||
189 | switch (featureID) | ||
190 | { | ||
191 | case AlloyLanguagePackage.ALS_SUM__VARIABLES: | ||
192 | getVariables().clear(); | ||
193 | getVariables().addAll((Collection<? extends ALSVariableDeclaration>)newValue); | ||
194 | return; | ||
195 | case AlloyLanguagePackage.ALS_SUM__EXPRESSION: | ||
196 | setExpression((ALSTerm)newValue); | ||
197 | return; | ||
198 | } | ||
199 | super.eSet(featureID, newValue); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public void eUnset(int featureID) | ||
209 | { | ||
210 | switch (featureID) | ||
211 | { | ||
212 | case AlloyLanguagePackage.ALS_SUM__VARIABLES: | ||
213 | getVariables().clear(); | ||
214 | return; | ||
215 | case AlloyLanguagePackage.ALS_SUM__EXPRESSION: | ||
216 | setExpression((ALSTerm)null); | ||
217 | return; | ||
218 | } | ||
219 | super.eUnset(featureID); | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | @Override | ||
228 | public boolean eIsSet(int featureID) | ||
229 | { | ||
230 | switch (featureID) | ||
231 | { | ||
232 | case AlloyLanguagePackage.ALS_SUM__VARIABLES: | ||
233 | return variables != null && !variables.isEmpty(); | ||
234 | case AlloyLanguagePackage.ALS_SUM__EXPRESSION: | ||
235 | return expression != null; | ||
236 | } | ||
237 | return super.eIsSet(featureID); | ||
238 | } | ||
239 | |||
240 | } //ALSSumImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java new file mode 100644 index 00000000..12e791b9 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTermImpl.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>ALS Term</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public class ALSTermImpl extends MinimalEObjectImpl.Container implements ALSTerm | ||
20 | { | ||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * <!-- end-user-doc --> | ||
24 | * @generated | ||
25 | */ | ||
26 | protected ALSTermImpl() | ||
27 | { | ||
28 | super(); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | @Override | ||
37 | protected EClass eStaticClass() | ||
38 | { | ||
39 | return AlloyLanguagePackage.Literals.ALS_TERM; | ||
40 | } | ||
41 | |||
42 | } //ALSTermImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java new file mode 100644 index 00000000..138efd7e --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeDeclarationImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Type Declaration</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSTypeDeclarationImpl extends ALSRelationDeclarationImpl implements ALSTypeDeclaration | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSTypeDeclarationImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_TYPE_DECLARATION; | ||
38 | } | ||
39 | |||
40 | } //ALSTypeDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java new file mode 100644 index 00000000..48f9c484 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSTypeScopeImpl.java | |||
@@ -0,0 +1,177 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>ALS Type Scope</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSTypeScopeImpl#getNumber <em>Number</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class ALSTypeScopeImpl extends MinimalEObjectImpl.Container implements ALSTypeScope | ||
29 | { | ||
30 | /** | ||
31 | * The default value of the '{@link #getNumber() <em>Number</em>}' attribute. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getNumber() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected static final int NUMBER_EDEFAULT = 0; | ||
39 | |||
40 | /** | ||
41 | * The cached value of the '{@link #getNumber() <em>Number</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getNumber() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected int number = NUMBER_EDEFAULT; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | protected ALSTypeScopeImpl() | ||
56 | { | ||
57 | super(); | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | protected EClass eStaticClass() | ||
67 | { | ||
68 | return AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public int getNumber() | ||
77 | { | ||
78 | return number; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public void setNumber(int newNumber) | ||
87 | { | ||
88 | int oldNumber = number; | ||
89 | number = newNumber; | ||
90 | if (eNotificationRequired()) | ||
91 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER, oldNumber, number)); | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
101 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER: | ||
105 | return getNumber(); | ||
106 | } | ||
107 | return super.eGet(featureID, resolve, coreType); | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public void eSet(int featureID, Object newValue) | ||
117 | { | ||
118 | switch (featureID) | ||
119 | { | ||
120 | case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER: | ||
121 | setNumber((Integer)newValue); | ||
122 | return; | ||
123 | } | ||
124 | super.eSet(featureID, newValue); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public void eUnset(int featureID) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER: | ||
138 | setNumber(NUMBER_EDEFAULT); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case AlloyLanguagePackage.ALS_TYPE_SCOPE__NUMBER: | ||
155 | return number != NUMBER_EDEFAULT; | ||
156 | } | ||
157 | return super.eIsSet(featureID); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public String toString() | ||
167 | { | ||
168 | if (eIsProxy()) return super.toString(); | ||
169 | |||
170 | StringBuffer result = new StringBuffer(super.toString()); | ||
171 | result.append(" (number: "); | ||
172 | result.append(number); | ||
173 | result.append(')'); | ||
174 | return result.toString(); | ||
175 | } | ||
176 | |||
177 | } //ALSTypeScopeImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java new file mode 100644 index 00000000..7b4b48c5 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnaryMinusImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Unary Minus</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSUnaryMinusImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSUnaryMinusImpl extends ALSTermImpl implements ALSUnaryMinus | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSUnaryMinusImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_UNARY_MINUS; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(ALSTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND: | ||
154 | setOperand((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND: | ||
171 | setOperand((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_UNARY_MINUS__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSUnaryMinusImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java new file mode 100644 index 00000000..a2dbcbc9 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSUnivImpl.java | |||
@@ -0,0 +1,40 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>ALS Univ</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class ALSUnivImpl extends ALSTermImpl implements ALSUniv | ||
18 | { | ||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * <!-- end-user-doc --> | ||
22 | * @generated | ||
23 | */ | ||
24 | protected ALSUnivImpl() | ||
25 | { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() | ||
36 | { | ||
37 | return AlloyLanguagePackage.Literals.ALS_UNIV; | ||
38 | } | ||
39 | |||
40 | } //ALSUnivImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java new file mode 100644 index 00000000..60d8c237 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/ALSVariableDeclarationImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>ALS Variable Declaration</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.ALSVariableDeclarationImpl#getRange <em>Range</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class ALSVariableDeclarationImpl extends ALSRelationDeclarationImpl implements ALSVariableDeclaration | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getRange() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm range; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected ALSVariableDeclarationImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getRange() | ||
69 | { | ||
70 | return range; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetRange(ALSTerm newRange, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldRange = range; | ||
81 | range = newRange; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, oldRange, newRange); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setRange(ALSTerm newRange) | ||
96 | { | ||
97 | if (newRange != range) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (range != null) | ||
101 | msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, null, msgs); | ||
102 | if (newRange != null) | ||
103 | msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, null, msgs); | ||
104 | msgs = basicSetRange(newRange, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE, newRange, newRange)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE: | ||
122 | return basicSetRange(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE: | ||
138 | return getRange(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE: | ||
154 | setRange((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE: | ||
171 | setRange((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION__RANGE: | ||
188 | return range != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //ALSVariableDeclarationImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java new file mode 100644 index 00000000..a475d5b4 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlSTransitiveClosureImpl.java | |||
@@ -0,0 +1,193 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Al STransitive Closure</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.impl.AlSTransitiveClosureImpl#getOperand <em>Operand</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class AlSTransitiveClosureImpl extends ALSTermImpl implements AlSTransitiveClosure | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getOperand() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected ALSTerm operand; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected AlSTransitiveClosureImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public ALSTerm getOperand() | ||
69 | { | ||
70 | return operand; | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @generated | ||
77 | */ | ||
78 | public NotificationChain basicSetOperand(ALSTerm newOperand, NotificationChain msgs) | ||
79 | { | ||
80 | ALSTerm oldOperand = operand; | ||
81 | operand = newOperand; | ||
82 | if (eNotificationRequired()) | ||
83 | { | ||
84 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, oldOperand, newOperand); | ||
85 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
86 | } | ||
87 | return msgs; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public void setOperand(ALSTerm newOperand) | ||
96 | { | ||
97 | if (newOperand != operand) | ||
98 | { | ||
99 | NotificationChain msgs = null; | ||
100 | if (operand != null) | ||
101 | msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, null, msgs); | ||
102 | if (newOperand != null) | ||
103 | msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, null, msgs); | ||
104 | msgs = basicSetOperand(newOperand, msgs); | ||
105 | if (msgs != null) msgs.dispatch(); | ||
106 | } | ||
107 | else if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND, newOperand, newOperand)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
118 | { | ||
119 | switch (featureID) | ||
120 | { | ||
121 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND: | ||
122 | return basicSetOperand(null, msgs); | ||
123 | } | ||
124 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
134 | { | ||
135 | switch (featureID) | ||
136 | { | ||
137 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND: | ||
138 | return getOperand(); | ||
139 | } | ||
140 | return super.eGet(featureID, resolve, coreType); | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void eSet(int featureID, Object newValue) | ||
150 | { | ||
151 | switch (featureID) | ||
152 | { | ||
153 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND: | ||
154 | setOperand((ALSTerm)newValue); | ||
155 | return; | ||
156 | } | ||
157 | super.eSet(featureID, newValue); | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | @Override | ||
166 | public void eUnset(int featureID) | ||
167 | { | ||
168 | switch (featureID) | ||
169 | { | ||
170 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND: | ||
171 | setOperand((ALSTerm)null); | ||
172 | return; | ||
173 | } | ||
174 | super.eUnset(featureID); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public boolean eIsSet(int featureID) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE__OPERAND: | ||
188 | return operand != null; | ||
189 | } | ||
190 | return super.eIsSet(featureID); | ||
191 | } | ||
192 | |||
193 | } //AlSTransitiveClosureImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java new file mode 100644 index 00000000..f4cb167b --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguageFactoryImpl.java | |||
@@ -0,0 +1,837 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EDataType; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.emf.ecore.EPackage; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
13 | |||
14 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model <b>Factory</b>. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | public class AlloyLanguageFactoryImpl extends EFactoryImpl implements AlloyLanguageFactory | ||
23 | { | ||
24 | /** | ||
25 | * Creates the default factory implementation. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | public static AlloyLanguageFactory init() | ||
31 | { | ||
32 | try | ||
33 | { | ||
34 | AlloyLanguageFactory theAlloyLanguageFactory = (AlloyLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(AlloyLanguagePackage.eNS_URI); | ||
35 | if (theAlloyLanguageFactory != null) | ||
36 | { | ||
37 | return theAlloyLanguageFactory; | ||
38 | } | ||
39 | } | ||
40 | catch (Exception exception) | ||
41 | { | ||
42 | EcorePlugin.INSTANCE.log(exception); | ||
43 | } | ||
44 | return new AlloyLanguageFactoryImpl(); | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Creates an instance of the factory. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | public AlloyLanguageFactoryImpl() | ||
54 | { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | public EObject create(EClass eClass) | ||
65 | { | ||
66 | switch (eClass.getClassifierID()) | ||
67 | { | ||
68 | case AlloyLanguagePackage.ALS_DOCUMENT: return createALSDocument(); | ||
69 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION: return createALSRelationDeclaration(); | ||
70 | case AlloyLanguagePackage.ALS_TYPE_DECLARATION: return createALSTypeDeclaration(); | ||
71 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION: return createALSEnumDeclaration(); | ||
72 | case AlloyLanguagePackage.ALS_ENUM_LITERAL: return createALSEnumLiteral(); | ||
73 | case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION: return createALSSignatureDeclaration(); | ||
74 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY: return createALSSignatureBody(); | ||
75 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION: return createALSFieldDeclaration(); | ||
76 | case AlloyLanguagePackage.ALS_DEFINITION: return createALSDefinition(); | ||
77 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION: return createALSFunctionDefinition(); | ||
78 | case AlloyLanguagePackage.ALS_RELATION_DEFINITION: return createALSRelationDefinition(); | ||
79 | case AlloyLanguagePackage.ALS_FACT_DECLARATION: return createALSFactDeclaration(); | ||
80 | case AlloyLanguagePackage.ALS_TERM: return createALSTerm(); | ||
81 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION: return createALSVariableDeclaration(); | ||
82 | case AlloyLanguagePackage.ALS_RUN_COMMAND: return createALSRunCommand(); | ||
83 | case AlloyLanguagePackage.ALS_TYPE_SCOPE: return createALSTypeScope(); | ||
84 | case AlloyLanguagePackage.ALS_SIG_SCOPE: return createALSSigScope(); | ||
85 | case AlloyLanguagePackage.ALS_INT_SCOPE: return createALSIntScope(); | ||
86 | case AlloyLanguagePackage.ALS_STRING_SCOPE: return createALSStringScope(); | ||
87 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX: return createALSQuantifiedEx(); | ||
88 | case AlloyLanguagePackage.ALS_OR: return createALSOr(); | ||
89 | case AlloyLanguagePackage.ALS_IFF: return createALSIff(); | ||
90 | case AlloyLanguagePackage.ALS_IMPL: return createALSImpl(); | ||
91 | case AlloyLanguagePackage.ALS_AND: return createALSAnd(); | ||
92 | case AlloyLanguagePackage.ALS_EQUALS: return createALSEquals(); | ||
93 | case AlloyLanguagePackage.ALS_NOT_EQUALS: return createALSNotEquals(); | ||
94 | case AlloyLanguagePackage.ALS_SUBSET: return createALSSubset(); | ||
95 | case AlloyLanguagePackage.ALS_LESS: return createALSLess(); | ||
96 | case AlloyLanguagePackage.ALS_LEQ: return createALSLeq(); | ||
97 | case AlloyLanguagePackage.ALS_MORE: return createALSMore(); | ||
98 | case AlloyLanguagePackage.ALS_MEQ: return createALSMeq(); | ||
99 | case AlloyLanguagePackage.ALS_OVERRIDE: return createALSOverride(); | ||
100 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: return createALSRangeRestrictionRight(); | ||
101 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: return createALSRangeRestrictionLeft(); | ||
102 | case AlloyLanguagePackage.ALS_JOIN: return createALSJoin(); | ||
103 | case AlloyLanguagePackage.ALS_MINUS: return createALSMinus(); | ||
104 | case AlloyLanguagePackage.ALS_PLUS: return createALSPlus(); | ||
105 | case AlloyLanguagePackage.ALS_INTERSECTION: return createALSIntersection(); | ||
106 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: return createALSDirectProduct(); | ||
107 | case AlloyLanguagePackage.ALS_NOT: return createALSNot(); | ||
108 | case AlloyLanguagePackage.ALS_INVERSE_RELATION: return createALSInverseRelation(); | ||
109 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: return createAlSTransitiveClosure(); | ||
110 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: return createALSReflectiveTransitiveClosure(); | ||
111 | case AlloyLanguagePackage.ALS_CARDINALITY: return createALSCardinality(); | ||
112 | case AlloyLanguagePackage.ALS_UNARY_MINUS: return createALSUnaryMinus(); | ||
113 | case AlloyLanguagePackage.ALS_SUM: return createALSSum(); | ||
114 | case AlloyLanguagePackage.ALS_FUNCTION_CALL: return createALSFunctionCall(); | ||
115 | case AlloyLanguagePackage.ALS_NONE: return createALSNone(); | ||
116 | case AlloyLanguagePackage.ALS_IDEN: return createALSIden(); | ||
117 | case AlloyLanguagePackage.ALS_UNIV: return createALSUniv(); | ||
118 | case AlloyLanguagePackage.ALS_INT: return createALSInt(); | ||
119 | case AlloyLanguagePackage.ALS_STRING: return createALSString(); | ||
120 | case AlloyLanguagePackage.ALS_REFERENCE: return createALSReference(); | ||
121 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL: return createALSNumberLiteral(); | ||
122 | case AlloyLanguagePackage.ALS_STRING_LITERAL: return createALSStringLiteral(); | ||
123 | default: | ||
124 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
125 | } | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object createFromString(EDataType eDataType, String initialValue) | ||
135 | { | ||
136 | switch (eDataType.getClassifierID()) | ||
137 | { | ||
138 | case AlloyLanguagePackage.ALS_MULTIPLICITY: | ||
139 | return createALSMultiplicityFromString(eDataType, initialValue); | ||
140 | case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR: | ||
141 | return createALSNumericOperatorFromString(eDataType, initialValue); | ||
142 | default: | ||
143 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
144 | } | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public String convertToString(EDataType eDataType, Object instanceValue) | ||
154 | { | ||
155 | switch (eDataType.getClassifierID()) | ||
156 | { | ||
157 | case AlloyLanguagePackage.ALS_MULTIPLICITY: | ||
158 | return convertALSMultiplicityToString(eDataType, instanceValue); | ||
159 | case AlloyLanguagePackage.ALS_NUMERIC_OPERATOR: | ||
160 | return convertALSNumericOperatorToString(eDataType, instanceValue); | ||
161 | default: | ||
162 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
163 | } | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | public ALSDocument createALSDocument() | ||
172 | { | ||
173 | ALSDocumentImpl alsDocument = new ALSDocumentImpl(); | ||
174 | return alsDocument; | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | public ALSRelationDeclaration createALSRelationDeclaration() | ||
183 | { | ||
184 | ALSRelationDeclarationImpl alsRelationDeclaration = new ALSRelationDeclarationImpl(); | ||
185 | return alsRelationDeclaration; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | public ALSTypeDeclaration createALSTypeDeclaration() | ||
194 | { | ||
195 | ALSTypeDeclarationImpl alsTypeDeclaration = new ALSTypeDeclarationImpl(); | ||
196 | return alsTypeDeclaration; | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | public ALSEnumDeclaration createALSEnumDeclaration() | ||
205 | { | ||
206 | ALSEnumDeclarationImpl alsEnumDeclaration = new ALSEnumDeclarationImpl(); | ||
207 | return alsEnumDeclaration; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | public ALSEnumLiteral createALSEnumLiteral() | ||
216 | { | ||
217 | ALSEnumLiteralImpl alsEnumLiteral = new ALSEnumLiteralImpl(); | ||
218 | return alsEnumLiteral; | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | public ALSSignatureDeclaration createALSSignatureDeclaration() | ||
227 | { | ||
228 | ALSSignatureDeclarationImpl alsSignatureDeclaration = new ALSSignatureDeclarationImpl(); | ||
229 | return alsSignatureDeclaration; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | public ALSSignatureBody createALSSignatureBody() | ||
238 | { | ||
239 | ALSSignatureBodyImpl alsSignatureBody = new ALSSignatureBodyImpl(); | ||
240 | return alsSignatureBody; | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | public ALSFieldDeclaration createALSFieldDeclaration() | ||
249 | { | ||
250 | ALSFieldDeclarationImpl alsFieldDeclaration = new ALSFieldDeclarationImpl(); | ||
251 | return alsFieldDeclaration; | ||
252 | } | ||
253 | |||
254 | /** | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @generated | ||
258 | */ | ||
259 | public ALSDefinition createALSDefinition() | ||
260 | { | ||
261 | ALSDefinitionImpl alsDefinition = new ALSDefinitionImpl(); | ||
262 | return alsDefinition; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | */ | ||
270 | public ALSFunctionDefinition createALSFunctionDefinition() | ||
271 | { | ||
272 | ALSFunctionDefinitionImpl alsFunctionDefinition = new ALSFunctionDefinitionImpl(); | ||
273 | return alsFunctionDefinition; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | public ALSRelationDefinition createALSRelationDefinition() | ||
282 | { | ||
283 | ALSRelationDefinitionImpl alsRelationDefinition = new ALSRelationDefinitionImpl(); | ||
284 | return alsRelationDefinition; | ||
285 | } | ||
286 | |||
287 | /** | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @generated | ||
291 | */ | ||
292 | public ALSFactDeclaration createALSFactDeclaration() | ||
293 | { | ||
294 | ALSFactDeclarationImpl alsFactDeclaration = new ALSFactDeclarationImpl(); | ||
295 | return alsFactDeclaration; | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | public ALSTerm createALSTerm() | ||
304 | { | ||
305 | ALSTermImpl alsTerm = new ALSTermImpl(); | ||
306 | return alsTerm; | ||
307 | } | ||
308 | |||
309 | /** | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | */ | ||
314 | public ALSVariableDeclaration createALSVariableDeclaration() | ||
315 | { | ||
316 | ALSVariableDeclarationImpl alsVariableDeclaration = new ALSVariableDeclarationImpl(); | ||
317 | return alsVariableDeclaration; | ||
318 | } | ||
319 | |||
320 | /** | ||
321 | * <!-- begin-user-doc --> | ||
322 | * <!-- end-user-doc --> | ||
323 | * @generated | ||
324 | */ | ||
325 | public ALSRunCommand createALSRunCommand() | ||
326 | { | ||
327 | ALSRunCommandImpl alsRunCommand = new ALSRunCommandImpl(); | ||
328 | return alsRunCommand; | ||
329 | } | ||
330 | |||
331 | /** | ||
332 | * <!-- begin-user-doc --> | ||
333 | * <!-- end-user-doc --> | ||
334 | * @generated | ||
335 | */ | ||
336 | public ALSTypeScope createALSTypeScope() | ||
337 | { | ||
338 | ALSTypeScopeImpl alsTypeScope = new ALSTypeScopeImpl(); | ||
339 | return alsTypeScope; | ||
340 | } | ||
341 | |||
342 | /** | ||
343 | * <!-- begin-user-doc --> | ||
344 | * <!-- end-user-doc --> | ||
345 | * @generated | ||
346 | */ | ||
347 | public ALSSigScope createALSSigScope() | ||
348 | { | ||
349 | ALSSigScopeImpl alsSigScope = new ALSSigScopeImpl(); | ||
350 | return alsSigScope; | ||
351 | } | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | public ALSIntScope createALSIntScope() | ||
359 | { | ||
360 | ALSIntScopeImpl alsIntScope = new ALSIntScopeImpl(); | ||
361 | return alsIntScope; | ||
362 | } | ||
363 | |||
364 | /** | ||
365 | * <!-- begin-user-doc --> | ||
366 | * <!-- end-user-doc --> | ||
367 | * @generated | ||
368 | */ | ||
369 | public ALSStringScope createALSStringScope() | ||
370 | { | ||
371 | ALSStringScopeImpl alsStringScope = new ALSStringScopeImpl(); | ||
372 | return alsStringScope; | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | public ALSQuantifiedEx createALSQuantifiedEx() | ||
381 | { | ||
382 | ALSQuantifiedExImpl alsQuantifiedEx = new ALSQuantifiedExImpl(); | ||
383 | return alsQuantifiedEx; | ||
384 | } | ||
385 | |||
386 | /** | ||
387 | * <!-- begin-user-doc --> | ||
388 | * <!-- end-user-doc --> | ||
389 | * @generated | ||
390 | */ | ||
391 | public ALSOr createALSOr() | ||
392 | { | ||
393 | ALSOrImpl alsOr = new ALSOrImpl(); | ||
394 | return alsOr; | ||
395 | } | ||
396 | |||
397 | /** | ||
398 | * <!-- begin-user-doc --> | ||
399 | * <!-- end-user-doc --> | ||
400 | * @generated | ||
401 | */ | ||
402 | public ALSIff createALSIff() | ||
403 | { | ||
404 | ALSIffImpl alsIff = new ALSIffImpl(); | ||
405 | return alsIff; | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * <!-- begin-user-doc --> | ||
410 | * <!-- end-user-doc --> | ||
411 | * @generated | ||
412 | */ | ||
413 | public ALSImpl createALSImpl() | ||
414 | { | ||
415 | ALSImplImpl alsImpl = new ALSImplImpl(); | ||
416 | return alsImpl; | ||
417 | } | ||
418 | |||
419 | /** | ||
420 | * <!-- begin-user-doc --> | ||
421 | * <!-- end-user-doc --> | ||
422 | * @generated | ||
423 | */ | ||
424 | public ALSAnd createALSAnd() | ||
425 | { | ||
426 | ALSAndImpl alsAnd = new ALSAndImpl(); | ||
427 | return alsAnd; | ||
428 | } | ||
429 | |||
430 | /** | ||
431 | * <!-- begin-user-doc --> | ||
432 | * <!-- end-user-doc --> | ||
433 | * @generated | ||
434 | */ | ||
435 | public ALSEquals createALSEquals() | ||
436 | { | ||
437 | ALSEqualsImpl alsEquals = new ALSEqualsImpl(); | ||
438 | return alsEquals; | ||
439 | } | ||
440 | |||
441 | /** | ||
442 | * <!-- begin-user-doc --> | ||
443 | * <!-- end-user-doc --> | ||
444 | * @generated | ||
445 | */ | ||
446 | public ALSNotEquals createALSNotEquals() | ||
447 | { | ||
448 | ALSNotEqualsImpl alsNotEquals = new ALSNotEqualsImpl(); | ||
449 | return alsNotEquals; | ||
450 | } | ||
451 | |||
452 | /** | ||
453 | * <!-- begin-user-doc --> | ||
454 | * <!-- end-user-doc --> | ||
455 | * @generated | ||
456 | */ | ||
457 | public ALSSubset createALSSubset() | ||
458 | { | ||
459 | ALSSubsetImpl alsSubset = new ALSSubsetImpl(); | ||
460 | return alsSubset; | ||
461 | } | ||
462 | |||
463 | /** | ||
464 | * <!-- begin-user-doc --> | ||
465 | * <!-- end-user-doc --> | ||
466 | * @generated | ||
467 | */ | ||
468 | public ALSLess createALSLess() | ||
469 | { | ||
470 | ALSLessImpl alsLess = new ALSLessImpl(); | ||
471 | return alsLess; | ||
472 | } | ||
473 | |||
474 | /** | ||
475 | * <!-- begin-user-doc --> | ||
476 | * <!-- end-user-doc --> | ||
477 | * @generated | ||
478 | */ | ||
479 | public ALSLeq createALSLeq() | ||
480 | { | ||
481 | ALSLeqImpl alsLeq = new ALSLeqImpl(); | ||
482 | return alsLeq; | ||
483 | } | ||
484 | |||
485 | /** | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @generated | ||
489 | */ | ||
490 | public ALSMore createALSMore() | ||
491 | { | ||
492 | ALSMoreImpl alsMore = new ALSMoreImpl(); | ||
493 | return alsMore; | ||
494 | } | ||
495 | |||
496 | /** | ||
497 | * <!-- begin-user-doc --> | ||
498 | * <!-- end-user-doc --> | ||
499 | * @generated | ||
500 | */ | ||
501 | public ALSMeq createALSMeq() | ||
502 | { | ||
503 | ALSMeqImpl alsMeq = new ALSMeqImpl(); | ||
504 | return alsMeq; | ||
505 | } | ||
506 | |||
507 | /** | ||
508 | * <!-- begin-user-doc --> | ||
509 | * <!-- end-user-doc --> | ||
510 | * @generated | ||
511 | */ | ||
512 | public ALSOverride createALSOverride() | ||
513 | { | ||
514 | ALSOverrideImpl alsOverride = new ALSOverrideImpl(); | ||
515 | return alsOverride; | ||
516 | } | ||
517 | |||
518 | /** | ||
519 | * <!-- begin-user-doc --> | ||
520 | * <!-- end-user-doc --> | ||
521 | * @generated | ||
522 | */ | ||
523 | public ALSRangeRestrictionRight createALSRangeRestrictionRight() | ||
524 | { | ||
525 | ALSRangeRestrictionRightImpl alsRangeRestrictionRight = new ALSRangeRestrictionRightImpl(); | ||
526 | return alsRangeRestrictionRight; | ||
527 | } | ||
528 | |||
529 | /** | ||
530 | * <!-- begin-user-doc --> | ||
531 | * <!-- end-user-doc --> | ||
532 | * @generated | ||
533 | */ | ||
534 | public ALSRangeRestrictionLeft createALSRangeRestrictionLeft() | ||
535 | { | ||
536 | ALSRangeRestrictionLeftImpl alsRangeRestrictionLeft = new ALSRangeRestrictionLeftImpl(); | ||
537 | return alsRangeRestrictionLeft; | ||
538 | } | ||
539 | |||
540 | /** | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | */ | ||
545 | public ALSJoin createALSJoin() | ||
546 | { | ||
547 | ALSJoinImpl alsJoin = new ALSJoinImpl(); | ||
548 | return alsJoin; | ||
549 | } | ||
550 | |||
551 | /** | ||
552 | * <!-- begin-user-doc --> | ||
553 | * <!-- end-user-doc --> | ||
554 | * @generated | ||
555 | */ | ||
556 | public ALSMinus createALSMinus() | ||
557 | { | ||
558 | ALSMinusImpl alsMinus = new ALSMinusImpl(); | ||
559 | return alsMinus; | ||
560 | } | ||
561 | |||
562 | /** | ||
563 | * <!-- begin-user-doc --> | ||
564 | * <!-- end-user-doc --> | ||
565 | * @generated | ||
566 | */ | ||
567 | public ALSPlus createALSPlus() | ||
568 | { | ||
569 | ALSPlusImpl alsPlus = new ALSPlusImpl(); | ||
570 | return alsPlus; | ||
571 | } | ||
572 | |||
573 | /** | ||
574 | * <!-- begin-user-doc --> | ||
575 | * <!-- end-user-doc --> | ||
576 | * @generated | ||
577 | */ | ||
578 | public ALSIntersection createALSIntersection() | ||
579 | { | ||
580 | ALSIntersectionImpl alsIntersection = new ALSIntersectionImpl(); | ||
581 | return alsIntersection; | ||
582 | } | ||
583 | |||
584 | /** | ||
585 | * <!-- begin-user-doc --> | ||
586 | * <!-- end-user-doc --> | ||
587 | * @generated | ||
588 | */ | ||
589 | public ALSDirectProduct createALSDirectProduct() | ||
590 | { | ||
591 | ALSDirectProductImpl alsDirectProduct = new ALSDirectProductImpl(); | ||
592 | return alsDirectProduct; | ||
593 | } | ||
594 | |||
595 | /** | ||
596 | * <!-- begin-user-doc --> | ||
597 | * <!-- end-user-doc --> | ||
598 | * @generated | ||
599 | */ | ||
600 | public ALSNot createALSNot() | ||
601 | { | ||
602 | ALSNotImpl alsNot = new ALSNotImpl(); | ||
603 | return alsNot; | ||
604 | } | ||
605 | |||
606 | /** | ||
607 | * <!-- begin-user-doc --> | ||
608 | * <!-- end-user-doc --> | ||
609 | * @generated | ||
610 | */ | ||
611 | public ALSInverseRelation createALSInverseRelation() | ||
612 | { | ||
613 | ALSInverseRelationImpl alsInverseRelation = new ALSInverseRelationImpl(); | ||
614 | return alsInverseRelation; | ||
615 | } | ||
616 | |||
617 | /** | ||
618 | * <!-- begin-user-doc --> | ||
619 | * <!-- end-user-doc --> | ||
620 | * @generated | ||
621 | */ | ||
622 | public AlSTransitiveClosure createAlSTransitiveClosure() | ||
623 | { | ||
624 | AlSTransitiveClosureImpl alSTransitiveClosure = new AlSTransitiveClosureImpl(); | ||
625 | return alSTransitiveClosure; | ||
626 | } | ||
627 | |||
628 | /** | ||
629 | * <!-- begin-user-doc --> | ||
630 | * <!-- end-user-doc --> | ||
631 | * @generated | ||
632 | */ | ||
633 | public ALSReflectiveTransitiveClosure createALSReflectiveTransitiveClosure() | ||
634 | { | ||
635 | ALSReflectiveTransitiveClosureImpl alsReflectiveTransitiveClosure = new ALSReflectiveTransitiveClosureImpl(); | ||
636 | return alsReflectiveTransitiveClosure; | ||
637 | } | ||
638 | |||
639 | /** | ||
640 | * <!-- begin-user-doc --> | ||
641 | * <!-- end-user-doc --> | ||
642 | * @generated | ||
643 | */ | ||
644 | public ALSCardinality createALSCardinality() | ||
645 | { | ||
646 | ALSCardinalityImpl alsCardinality = new ALSCardinalityImpl(); | ||
647 | return alsCardinality; | ||
648 | } | ||
649 | |||
650 | /** | ||
651 | * <!-- begin-user-doc --> | ||
652 | * <!-- end-user-doc --> | ||
653 | * @generated | ||
654 | */ | ||
655 | public ALSUnaryMinus createALSUnaryMinus() | ||
656 | { | ||
657 | ALSUnaryMinusImpl alsUnaryMinus = new ALSUnaryMinusImpl(); | ||
658 | return alsUnaryMinus; | ||
659 | } | ||
660 | |||
661 | /** | ||
662 | * <!-- begin-user-doc --> | ||
663 | * <!-- end-user-doc --> | ||
664 | * @generated | ||
665 | */ | ||
666 | public ALSSum createALSSum() | ||
667 | { | ||
668 | ALSSumImpl alsSum = new ALSSumImpl(); | ||
669 | return alsSum; | ||
670 | } | ||
671 | |||
672 | /** | ||
673 | * <!-- begin-user-doc --> | ||
674 | * <!-- end-user-doc --> | ||
675 | * @generated | ||
676 | */ | ||
677 | public ALSFunctionCall createALSFunctionCall() | ||
678 | { | ||
679 | ALSFunctionCallImpl alsFunctionCall = new ALSFunctionCallImpl(); | ||
680 | return alsFunctionCall; | ||
681 | } | ||
682 | |||
683 | /** | ||
684 | * <!-- begin-user-doc --> | ||
685 | * <!-- end-user-doc --> | ||
686 | * @generated | ||
687 | */ | ||
688 | public ALSNone createALSNone() | ||
689 | { | ||
690 | ALSNoneImpl alsNone = new ALSNoneImpl(); | ||
691 | return alsNone; | ||
692 | } | ||
693 | |||
694 | /** | ||
695 | * <!-- begin-user-doc --> | ||
696 | * <!-- end-user-doc --> | ||
697 | * @generated | ||
698 | */ | ||
699 | public ALSIden createALSIden() | ||
700 | { | ||
701 | ALSIdenImpl alsIden = new ALSIdenImpl(); | ||
702 | return alsIden; | ||
703 | } | ||
704 | |||
705 | /** | ||
706 | * <!-- begin-user-doc --> | ||
707 | * <!-- end-user-doc --> | ||
708 | * @generated | ||
709 | */ | ||
710 | public ALSUniv createALSUniv() | ||
711 | { | ||
712 | ALSUnivImpl alsUniv = new ALSUnivImpl(); | ||
713 | return alsUniv; | ||
714 | } | ||
715 | |||
716 | /** | ||
717 | * <!-- begin-user-doc --> | ||
718 | * <!-- end-user-doc --> | ||
719 | * @generated | ||
720 | */ | ||
721 | public ALSInt createALSInt() | ||
722 | { | ||
723 | ALSIntImpl alsInt = new ALSIntImpl(); | ||
724 | return alsInt; | ||
725 | } | ||
726 | |||
727 | /** | ||
728 | * <!-- begin-user-doc --> | ||
729 | * <!-- end-user-doc --> | ||
730 | * @generated | ||
731 | */ | ||
732 | public ALSString createALSString() | ||
733 | { | ||
734 | ALSStringImpl alsString = new ALSStringImpl(); | ||
735 | return alsString; | ||
736 | } | ||
737 | |||
738 | /** | ||
739 | * <!-- begin-user-doc --> | ||
740 | * <!-- end-user-doc --> | ||
741 | * @generated | ||
742 | */ | ||
743 | public ALSReference createALSReference() | ||
744 | { | ||
745 | ALSReferenceImpl alsReference = new ALSReferenceImpl(); | ||
746 | return alsReference; | ||
747 | } | ||
748 | |||
749 | /** | ||
750 | * <!-- begin-user-doc --> | ||
751 | * <!-- end-user-doc --> | ||
752 | * @generated | ||
753 | */ | ||
754 | public ALSNumberLiteral createALSNumberLiteral() | ||
755 | { | ||
756 | ALSNumberLiteralImpl alsNumberLiteral = new ALSNumberLiteralImpl(); | ||
757 | return alsNumberLiteral; | ||
758 | } | ||
759 | |||
760 | /** | ||
761 | * <!-- begin-user-doc --> | ||
762 | * <!-- end-user-doc --> | ||
763 | * @generated | ||
764 | */ | ||
765 | public ALSStringLiteral createALSStringLiteral() | ||
766 | { | ||
767 | ALSStringLiteralImpl alsStringLiteral = new ALSStringLiteralImpl(); | ||
768 | return alsStringLiteral; | ||
769 | } | ||
770 | |||
771 | /** | ||
772 | * <!-- begin-user-doc --> | ||
773 | * <!-- end-user-doc --> | ||
774 | * @generated | ||
775 | */ | ||
776 | public ALSMultiplicity createALSMultiplicityFromString(EDataType eDataType, String initialValue) | ||
777 | { | ||
778 | ALSMultiplicity result = ALSMultiplicity.get(initialValue); | ||
779 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
780 | return result; | ||
781 | } | ||
782 | |||
783 | /** | ||
784 | * <!-- begin-user-doc --> | ||
785 | * <!-- end-user-doc --> | ||
786 | * @generated | ||
787 | */ | ||
788 | public String convertALSMultiplicityToString(EDataType eDataType, Object instanceValue) | ||
789 | { | ||
790 | return instanceValue == null ? null : instanceValue.toString(); | ||
791 | } | ||
792 | |||
793 | /** | ||
794 | * <!-- begin-user-doc --> | ||
795 | * <!-- end-user-doc --> | ||
796 | * @generated | ||
797 | */ | ||
798 | public ALSNumericOperator createALSNumericOperatorFromString(EDataType eDataType, String initialValue) | ||
799 | { | ||
800 | ALSNumericOperator result = ALSNumericOperator.get(initialValue); | ||
801 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
802 | return result; | ||
803 | } | ||
804 | |||
805 | /** | ||
806 | * <!-- begin-user-doc --> | ||
807 | * <!-- end-user-doc --> | ||
808 | * @generated | ||
809 | */ | ||
810 | public String convertALSNumericOperatorToString(EDataType eDataType, Object instanceValue) | ||
811 | { | ||
812 | return instanceValue == null ? null : instanceValue.toString(); | ||
813 | } | ||
814 | |||
815 | /** | ||
816 | * <!-- begin-user-doc --> | ||
817 | * <!-- end-user-doc --> | ||
818 | * @generated | ||
819 | */ | ||
820 | public AlloyLanguagePackage getAlloyLanguagePackage() | ||
821 | { | ||
822 | return (AlloyLanguagePackage)getEPackage(); | ||
823 | } | ||
824 | |||
825 | /** | ||
826 | * <!-- begin-user-doc --> | ||
827 | * <!-- end-user-doc --> | ||
828 | * @deprecated | ||
829 | * @generated | ||
830 | */ | ||
831 | @Deprecated | ||
832 | public static AlloyLanguagePackage getPackage() | ||
833 | { | ||
834 | return AlloyLanguagePackage.eINSTANCE; | ||
835 | } | ||
836 | |||
837 | } //AlloyLanguageFactoryImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java new file mode 100644 index 00000000..768840c9 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/impl/AlloyLanguagePackageImpl.java | |||
@@ -0,0 +1,2498 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd; | ||
6 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct; | ||
9 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument; | ||
10 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration; | ||
11 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral; | ||
12 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals; | ||
13 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration; | ||
14 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration; | ||
15 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall; | ||
16 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition; | ||
17 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden; | ||
18 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff; | ||
19 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl; | ||
20 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt; | ||
21 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope; | ||
22 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection; | ||
23 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation; | ||
24 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin; | ||
25 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq; | ||
26 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess; | ||
27 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq; | ||
28 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus; | ||
29 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore; | ||
30 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMultiplicity; | ||
31 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone; | ||
32 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot; | ||
33 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals; | ||
34 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral; | ||
35 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumericOperator; | ||
36 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr; | ||
37 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride; | ||
38 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus; | ||
39 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx; | ||
40 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft; | ||
41 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight; | ||
42 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference; | ||
43 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure; | ||
44 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration; | ||
45 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition; | ||
46 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand; | ||
47 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope; | ||
48 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody; | ||
49 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration; | ||
50 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString; | ||
51 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral; | ||
52 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope; | ||
53 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset; | ||
54 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum; | ||
55 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm; | ||
56 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration; | ||
57 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope; | ||
58 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus; | ||
59 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv; | ||
60 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration; | ||
61 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure; | ||
62 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguageFactory; | ||
63 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
64 | |||
65 | import org.eclipse.emf.ecore.EAttribute; | ||
66 | import org.eclipse.emf.ecore.EClass; | ||
67 | import org.eclipse.emf.ecore.EEnum; | ||
68 | import org.eclipse.emf.ecore.EPackage; | ||
69 | import org.eclipse.emf.ecore.EReference; | ||
70 | |||
71 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
72 | |||
73 | /** | ||
74 | * <!-- begin-user-doc --> | ||
75 | * An implementation of the model <b>Package</b>. | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public class AlloyLanguagePackageImpl extends EPackageImpl implements AlloyLanguagePackage | ||
80 | { | ||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | private EClass alsDocumentEClass = null; | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | private EClass alsRelationDeclarationEClass = null; | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | private EClass alsTypeDeclarationEClass = null; | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | private EClass alsEnumDeclarationEClass = null; | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | private EClass alsEnumLiteralEClass = null; | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | private EClass alsSignatureDeclarationEClass = null; | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | private EClass alsSignatureBodyEClass = null; | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | private EClass alsFieldDeclarationEClass = null; | ||
136 | |||
137 | /** | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @generated | ||
141 | */ | ||
142 | private EClass alsDefinitionEClass = null; | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | private EClass alsFunctionDefinitionEClass = null; | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | private EClass alsRelationDefinitionEClass = null; | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | private EClass alsFactDeclarationEClass = null; | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | private EClass alsTermEClass = null; | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | private EClass alsVariableDeclarationEClass = null; | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | private EClass alsRunCommandEClass = null; | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | private EClass alsTypeScopeEClass = null; | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | private EClass alsSigScopeEClass = null; | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | private EClass alsIntScopeEClass = null; | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | private EClass alsStringScopeEClass = null; | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | private EClass alsQuantifiedExEClass = null; | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | private EClass alsOrEClass = null; | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | private EClass alsIffEClass = null; | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | private EClass alsImplEClass = null; | ||
241 | |||
242 | /** | ||
243 | * <!-- begin-user-doc --> | ||
244 | * <!-- end-user-doc --> | ||
245 | * @generated | ||
246 | */ | ||
247 | private EClass alsAndEClass = null; | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | private EClass alsEqualsEClass = null; | ||
255 | |||
256 | /** | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @generated | ||
260 | */ | ||
261 | private EClass alsNotEqualsEClass = null; | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | private EClass alsSubsetEClass = null; | ||
269 | |||
270 | /** | ||
271 | * <!-- begin-user-doc --> | ||
272 | * <!-- end-user-doc --> | ||
273 | * @generated | ||
274 | */ | ||
275 | private EClass alsLessEClass = null; | ||
276 | |||
277 | /** | ||
278 | * <!-- begin-user-doc --> | ||
279 | * <!-- end-user-doc --> | ||
280 | * @generated | ||
281 | */ | ||
282 | private EClass alsLeqEClass = null; | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | private EClass alsMoreEClass = null; | ||
290 | |||
291 | /** | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | */ | ||
296 | private EClass alsMeqEClass = null; | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | private EClass alsOverrideEClass = null; | ||
304 | |||
305 | /** | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @generated | ||
309 | */ | ||
310 | private EClass alsRangeRestrictionRightEClass = null; | ||
311 | |||
312 | /** | ||
313 | * <!-- begin-user-doc --> | ||
314 | * <!-- end-user-doc --> | ||
315 | * @generated | ||
316 | */ | ||
317 | private EClass alsRangeRestrictionLeftEClass = null; | ||
318 | |||
319 | /** | ||
320 | * <!-- begin-user-doc --> | ||
321 | * <!-- end-user-doc --> | ||
322 | * @generated | ||
323 | */ | ||
324 | private EClass alsJoinEClass = null; | ||
325 | |||
326 | /** | ||
327 | * <!-- begin-user-doc --> | ||
328 | * <!-- end-user-doc --> | ||
329 | * @generated | ||
330 | */ | ||
331 | private EClass alsMinusEClass = null; | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | private EClass alsPlusEClass = null; | ||
339 | |||
340 | /** | ||
341 | * <!-- begin-user-doc --> | ||
342 | * <!-- end-user-doc --> | ||
343 | * @generated | ||
344 | */ | ||
345 | private EClass alsIntersectionEClass = null; | ||
346 | |||
347 | /** | ||
348 | * <!-- begin-user-doc --> | ||
349 | * <!-- end-user-doc --> | ||
350 | * @generated | ||
351 | */ | ||
352 | private EClass alsDirectProductEClass = null; | ||
353 | |||
354 | /** | ||
355 | * <!-- begin-user-doc --> | ||
356 | * <!-- end-user-doc --> | ||
357 | * @generated | ||
358 | */ | ||
359 | private EClass alsNotEClass = null; | ||
360 | |||
361 | /** | ||
362 | * <!-- begin-user-doc --> | ||
363 | * <!-- end-user-doc --> | ||
364 | * @generated | ||
365 | */ | ||
366 | private EClass alsInverseRelationEClass = null; | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | private EClass alSTransitiveClosureEClass = null; | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | private EClass alsReflectiveTransitiveClosureEClass = null; | ||
381 | |||
382 | /** | ||
383 | * <!-- begin-user-doc --> | ||
384 | * <!-- end-user-doc --> | ||
385 | * @generated | ||
386 | */ | ||
387 | private EClass alsCardinalityEClass = null; | ||
388 | |||
389 | /** | ||
390 | * <!-- begin-user-doc --> | ||
391 | * <!-- end-user-doc --> | ||
392 | * @generated | ||
393 | */ | ||
394 | private EClass alsUnaryMinusEClass = null; | ||
395 | |||
396 | /** | ||
397 | * <!-- begin-user-doc --> | ||
398 | * <!-- end-user-doc --> | ||
399 | * @generated | ||
400 | */ | ||
401 | private EClass alsSumEClass = null; | ||
402 | |||
403 | /** | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | */ | ||
408 | private EClass alsFunctionCallEClass = null; | ||
409 | |||
410 | /** | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @generated | ||
414 | */ | ||
415 | private EClass alsNoneEClass = null; | ||
416 | |||
417 | /** | ||
418 | * <!-- begin-user-doc --> | ||
419 | * <!-- end-user-doc --> | ||
420 | * @generated | ||
421 | */ | ||
422 | private EClass alsIdenEClass = null; | ||
423 | |||
424 | /** | ||
425 | * <!-- begin-user-doc --> | ||
426 | * <!-- end-user-doc --> | ||
427 | * @generated | ||
428 | */ | ||
429 | private EClass alsUnivEClass = null; | ||
430 | |||
431 | /** | ||
432 | * <!-- begin-user-doc --> | ||
433 | * <!-- end-user-doc --> | ||
434 | * @generated | ||
435 | */ | ||
436 | private EClass alsIntEClass = null; | ||
437 | |||
438 | /** | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @generated | ||
442 | */ | ||
443 | private EClass alsStringEClass = null; | ||
444 | |||
445 | /** | ||
446 | * <!-- begin-user-doc --> | ||
447 | * <!-- end-user-doc --> | ||
448 | * @generated | ||
449 | */ | ||
450 | private EClass alsReferenceEClass = null; | ||
451 | |||
452 | /** | ||
453 | * <!-- begin-user-doc --> | ||
454 | * <!-- end-user-doc --> | ||
455 | * @generated | ||
456 | */ | ||
457 | private EClass alsNumberLiteralEClass = null; | ||
458 | |||
459 | /** | ||
460 | * <!-- begin-user-doc --> | ||
461 | * <!-- end-user-doc --> | ||
462 | * @generated | ||
463 | */ | ||
464 | private EClass alsStringLiteralEClass = null; | ||
465 | |||
466 | /** | ||
467 | * <!-- begin-user-doc --> | ||
468 | * <!-- end-user-doc --> | ||
469 | * @generated | ||
470 | */ | ||
471 | private EEnum alsMultiplicityEEnum = null; | ||
472 | |||
473 | /** | ||
474 | * <!-- begin-user-doc --> | ||
475 | * <!-- end-user-doc --> | ||
476 | * @generated | ||
477 | */ | ||
478 | private EEnum alsNumericOperatorEEnum = null; | ||
479 | |||
480 | /** | ||
481 | * Creates an instance of the model <b>Package</b>, registered with | ||
482 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
483 | * package URI value. | ||
484 | * <p>Note: the correct way to create the package is via the static | ||
485 | * factory method {@link #init init()}, which also performs | ||
486 | * initialization of the package, or returns the registered package, | ||
487 | * if one already exists. | ||
488 | * <!-- begin-user-doc --> | ||
489 | * <!-- end-user-doc --> | ||
490 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
491 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage#eNS_URI | ||
492 | * @see #init() | ||
493 | * @generated | ||
494 | */ | ||
495 | private AlloyLanguagePackageImpl() | ||
496 | { | ||
497 | super(eNS_URI, AlloyLanguageFactory.eINSTANCE); | ||
498 | } | ||
499 | |||
500 | /** | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @generated | ||
504 | */ | ||
505 | private static boolean isInited = false; | ||
506 | |||
507 | /** | ||
508 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
509 | * | ||
510 | * <p>This method is used to initialize {@link AlloyLanguagePackage#eINSTANCE} when that field is accessed. | ||
511 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
512 | * <!-- begin-user-doc --> | ||
513 | * <!-- end-user-doc --> | ||
514 | * @see #eNS_URI | ||
515 | * @see #createPackageContents() | ||
516 | * @see #initializePackageContents() | ||
517 | * @generated | ||
518 | */ | ||
519 | public static AlloyLanguagePackage init() | ||
520 | { | ||
521 | if (isInited) return (AlloyLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(AlloyLanguagePackage.eNS_URI); | ||
522 | |||
523 | // Obtain or create and register package | ||
524 | AlloyLanguagePackageImpl theAlloyLanguagePackage = (AlloyLanguagePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AlloyLanguagePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AlloyLanguagePackageImpl()); | ||
525 | |||
526 | isInited = true; | ||
527 | |||
528 | // Create package meta-data objects | ||
529 | theAlloyLanguagePackage.createPackageContents(); | ||
530 | |||
531 | // Initialize created meta-data | ||
532 | theAlloyLanguagePackage.initializePackageContents(); | ||
533 | |||
534 | // Mark meta-data to indicate it can't be changed | ||
535 | theAlloyLanguagePackage.freeze(); | ||
536 | |||
537 | |||
538 | // Update the registry and return the package | ||
539 | EPackage.Registry.INSTANCE.put(AlloyLanguagePackage.eNS_URI, theAlloyLanguagePackage); | ||
540 | return theAlloyLanguagePackage; | ||
541 | } | ||
542 | |||
543 | /** | ||
544 | * <!-- begin-user-doc --> | ||
545 | * <!-- end-user-doc --> | ||
546 | * @generated | ||
547 | */ | ||
548 | public EClass getALSDocument() | ||
549 | { | ||
550 | return alsDocumentEClass; | ||
551 | } | ||
552 | |||
553 | /** | ||
554 | * <!-- begin-user-doc --> | ||
555 | * <!-- end-user-doc --> | ||
556 | * @generated | ||
557 | */ | ||
558 | public EReference getALSDocument_EnumDeclarations() | ||
559 | { | ||
560 | return (EReference)alsDocumentEClass.getEStructuralFeatures().get(0); | ||
561 | } | ||
562 | |||
563 | /** | ||
564 | * <!-- begin-user-doc --> | ||
565 | * <!-- end-user-doc --> | ||
566 | * @generated | ||
567 | */ | ||
568 | public EReference getALSDocument_SignatureBodies() | ||
569 | { | ||
570 | return (EReference)alsDocumentEClass.getEStructuralFeatures().get(1); | ||
571 | } | ||
572 | |||
573 | /** | ||
574 | * <!-- begin-user-doc --> | ||
575 | * <!-- end-user-doc --> | ||
576 | * @generated | ||
577 | */ | ||
578 | public EReference getALSDocument_FunctionDefinitions() | ||
579 | { | ||
580 | return (EReference)alsDocumentEClass.getEStructuralFeatures().get(2); | ||
581 | } | ||
582 | |||
583 | /** | ||
584 | * <!-- begin-user-doc --> | ||
585 | * <!-- end-user-doc --> | ||
586 | * @generated | ||
587 | */ | ||
588 | public EReference getALSDocument_RelationDefinitions() | ||
589 | { | ||
590 | return (EReference)alsDocumentEClass.getEStructuralFeatures().get(3); | ||
591 | } | ||
592 | |||
593 | /** | ||
594 | * <!-- begin-user-doc --> | ||
595 | * <!-- end-user-doc --> | ||
596 | * @generated | ||
597 | */ | ||
598 | public EReference getALSDocument_FactDeclarations() | ||
599 | { | ||
600 | return (EReference)alsDocumentEClass.getEStructuralFeatures().get(4); | ||
601 | } | ||
602 | |||
603 | /** | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @generated | ||
607 | */ | ||
608 | public EReference getALSDocument_RunCommand() | ||
609 | { | ||
610 | return (EReference)alsDocumentEClass.getEStructuralFeatures().get(5); | ||
611 | } | ||
612 | |||
613 | /** | ||
614 | * <!-- begin-user-doc --> | ||
615 | * <!-- end-user-doc --> | ||
616 | * @generated | ||
617 | */ | ||
618 | public EClass getALSRelationDeclaration() | ||
619 | { | ||
620 | return alsRelationDeclarationEClass; | ||
621 | } | ||
622 | |||
623 | /** | ||
624 | * <!-- begin-user-doc --> | ||
625 | * <!-- end-user-doc --> | ||
626 | * @generated | ||
627 | */ | ||
628 | public EAttribute getALSRelationDeclaration_Name() | ||
629 | { | ||
630 | return (EAttribute)alsRelationDeclarationEClass.getEStructuralFeatures().get(0); | ||
631 | } | ||
632 | |||
633 | /** | ||
634 | * <!-- begin-user-doc --> | ||
635 | * <!-- end-user-doc --> | ||
636 | * @generated | ||
637 | */ | ||
638 | public EClass getALSTypeDeclaration() | ||
639 | { | ||
640 | return alsTypeDeclarationEClass; | ||
641 | } | ||
642 | |||
643 | /** | ||
644 | * <!-- begin-user-doc --> | ||
645 | * <!-- end-user-doc --> | ||
646 | * @generated | ||
647 | */ | ||
648 | public EClass getALSEnumDeclaration() | ||
649 | { | ||
650 | return alsEnumDeclarationEClass; | ||
651 | } | ||
652 | |||
653 | /** | ||
654 | * <!-- begin-user-doc --> | ||
655 | * <!-- end-user-doc --> | ||
656 | * @generated | ||
657 | */ | ||
658 | public EReference getALSEnumDeclaration_Literal() | ||
659 | { | ||
660 | return (EReference)alsEnumDeclarationEClass.getEStructuralFeatures().get(0); | ||
661 | } | ||
662 | |||
663 | /** | ||
664 | * <!-- begin-user-doc --> | ||
665 | * <!-- end-user-doc --> | ||
666 | * @generated | ||
667 | */ | ||
668 | public EClass getALSEnumLiteral() | ||
669 | { | ||
670 | return alsEnumLiteralEClass; | ||
671 | } | ||
672 | |||
673 | /** | ||
674 | * <!-- begin-user-doc --> | ||
675 | * <!-- end-user-doc --> | ||
676 | * @generated | ||
677 | */ | ||
678 | public EClass getALSSignatureDeclaration() | ||
679 | { | ||
680 | return alsSignatureDeclarationEClass; | ||
681 | } | ||
682 | |||
683 | /** | ||
684 | * <!-- begin-user-doc --> | ||
685 | * <!-- end-user-doc --> | ||
686 | * @generated | ||
687 | */ | ||
688 | public EClass getALSSignatureBody() | ||
689 | { | ||
690 | return alsSignatureBodyEClass; | ||
691 | } | ||
692 | |||
693 | /** | ||
694 | * <!-- begin-user-doc --> | ||
695 | * <!-- end-user-doc --> | ||
696 | * @generated | ||
697 | */ | ||
698 | public EAttribute getALSSignatureBody_Multiplicity() | ||
699 | { | ||
700 | return (EAttribute)alsSignatureBodyEClass.getEStructuralFeatures().get(0); | ||
701 | } | ||
702 | |||
703 | /** | ||
704 | * <!-- begin-user-doc --> | ||
705 | * <!-- end-user-doc --> | ||
706 | * @generated | ||
707 | */ | ||
708 | public EAttribute getALSSignatureBody_Abstract() | ||
709 | { | ||
710 | return (EAttribute)alsSignatureBodyEClass.getEStructuralFeatures().get(1); | ||
711 | } | ||
712 | |||
713 | /** | ||
714 | * <!-- begin-user-doc --> | ||
715 | * <!-- end-user-doc --> | ||
716 | * @generated | ||
717 | */ | ||
718 | public EReference getALSSignatureBody_Declarations() | ||
719 | { | ||
720 | return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(2); | ||
721 | } | ||
722 | |||
723 | /** | ||
724 | * <!-- begin-user-doc --> | ||
725 | * <!-- end-user-doc --> | ||
726 | * @generated | ||
727 | */ | ||
728 | public EReference getALSSignatureBody_Supertype() | ||
729 | { | ||
730 | return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(3); | ||
731 | } | ||
732 | |||
733 | /** | ||
734 | * <!-- begin-user-doc --> | ||
735 | * <!-- end-user-doc --> | ||
736 | * @generated | ||
737 | */ | ||
738 | public EReference getALSSignatureBody_Superset() | ||
739 | { | ||
740 | return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(4); | ||
741 | } | ||
742 | |||
743 | /** | ||
744 | * <!-- begin-user-doc --> | ||
745 | * <!-- end-user-doc --> | ||
746 | * @generated | ||
747 | */ | ||
748 | public EReference getALSSignatureBody_Fields() | ||
749 | { | ||
750 | return (EReference)alsSignatureBodyEClass.getEStructuralFeatures().get(5); | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | */ | ||
758 | public EClass getALSFieldDeclaration() | ||
759 | { | ||
760 | return alsFieldDeclarationEClass; | ||
761 | } | ||
762 | |||
763 | /** | ||
764 | * <!-- begin-user-doc --> | ||
765 | * <!-- end-user-doc --> | ||
766 | * @generated | ||
767 | */ | ||
768 | public EAttribute getALSFieldDeclaration_Multiplicity() | ||
769 | { | ||
770 | return (EAttribute)alsFieldDeclarationEClass.getEStructuralFeatures().get(0); | ||
771 | } | ||
772 | |||
773 | /** | ||
774 | * <!-- begin-user-doc --> | ||
775 | * <!-- end-user-doc --> | ||
776 | * @generated | ||
777 | */ | ||
778 | public EReference getALSFieldDeclaration_Type() | ||
779 | { | ||
780 | return (EReference)alsFieldDeclarationEClass.getEStructuralFeatures().get(1); | ||
781 | } | ||
782 | |||
783 | /** | ||
784 | * <!-- begin-user-doc --> | ||
785 | * <!-- end-user-doc --> | ||
786 | * @generated | ||
787 | */ | ||
788 | public EClass getALSDefinition() | ||
789 | { | ||
790 | return alsDefinitionEClass; | ||
791 | } | ||
792 | |||
793 | /** | ||
794 | * <!-- begin-user-doc --> | ||
795 | * <!-- end-user-doc --> | ||
796 | * @generated | ||
797 | */ | ||
798 | public EAttribute getALSDefinition_Name() | ||
799 | { | ||
800 | return (EAttribute)alsDefinitionEClass.getEStructuralFeatures().get(0); | ||
801 | } | ||
802 | |||
803 | /** | ||
804 | * <!-- begin-user-doc --> | ||
805 | * <!-- end-user-doc --> | ||
806 | * @generated | ||
807 | */ | ||
808 | public EReference getALSDefinition_Variables() | ||
809 | { | ||
810 | return (EReference)alsDefinitionEClass.getEStructuralFeatures().get(1); | ||
811 | } | ||
812 | |||
813 | /** | ||
814 | * <!-- begin-user-doc --> | ||
815 | * <!-- end-user-doc --> | ||
816 | * @generated | ||
817 | */ | ||
818 | public EReference getALSDefinition_Value() | ||
819 | { | ||
820 | return (EReference)alsDefinitionEClass.getEStructuralFeatures().get(2); | ||
821 | } | ||
822 | |||
823 | /** | ||
824 | * <!-- begin-user-doc --> | ||
825 | * <!-- end-user-doc --> | ||
826 | * @generated | ||
827 | */ | ||
828 | public EClass getALSFunctionDefinition() | ||
829 | { | ||
830 | return alsFunctionDefinitionEClass; | ||
831 | } | ||
832 | |||
833 | /** | ||
834 | * <!-- begin-user-doc --> | ||
835 | * <!-- end-user-doc --> | ||
836 | * @generated | ||
837 | */ | ||
838 | public EReference getALSFunctionDefinition_Type() | ||
839 | { | ||
840 | return (EReference)alsFunctionDefinitionEClass.getEStructuralFeatures().get(0); | ||
841 | } | ||
842 | |||
843 | /** | ||
844 | * <!-- begin-user-doc --> | ||
845 | * <!-- end-user-doc --> | ||
846 | * @generated | ||
847 | */ | ||
848 | public EClass getALSRelationDefinition() | ||
849 | { | ||
850 | return alsRelationDefinitionEClass; | ||
851 | } | ||
852 | |||
853 | /** | ||
854 | * <!-- begin-user-doc --> | ||
855 | * <!-- end-user-doc --> | ||
856 | * @generated | ||
857 | */ | ||
858 | public EClass getALSFactDeclaration() | ||
859 | { | ||
860 | return alsFactDeclarationEClass; | ||
861 | } | ||
862 | |||
863 | /** | ||
864 | * <!-- begin-user-doc --> | ||
865 | * <!-- end-user-doc --> | ||
866 | * @generated | ||
867 | */ | ||
868 | public EAttribute getALSFactDeclaration_Name() | ||
869 | { | ||
870 | return (EAttribute)alsFactDeclarationEClass.getEStructuralFeatures().get(0); | ||
871 | } | ||
872 | |||
873 | /** | ||
874 | * <!-- begin-user-doc --> | ||
875 | * <!-- end-user-doc --> | ||
876 | * @generated | ||
877 | */ | ||
878 | public EReference getALSFactDeclaration_Term() | ||
879 | { | ||
880 | return (EReference)alsFactDeclarationEClass.getEStructuralFeatures().get(1); | ||
881 | } | ||
882 | |||
883 | /** | ||
884 | * <!-- begin-user-doc --> | ||
885 | * <!-- end-user-doc --> | ||
886 | * @generated | ||
887 | */ | ||
888 | public EClass getALSTerm() | ||
889 | { | ||
890 | return alsTermEClass; | ||
891 | } | ||
892 | |||
893 | /** | ||
894 | * <!-- begin-user-doc --> | ||
895 | * <!-- end-user-doc --> | ||
896 | * @generated | ||
897 | */ | ||
898 | public EClass getALSVariableDeclaration() | ||
899 | { | ||
900 | return alsVariableDeclarationEClass; | ||
901 | } | ||
902 | |||
903 | /** | ||
904 | * <!-- begin-user-doc --> | ||
905 | * <!-- end-user-doc --> | ||
906 | * @generated | ||
907 | */ | ||
908 | public EReference getALSVariableDeclaration_Range() | ||
909 | { | ||
910 | return (EReference)alsVariableDeclarationEClass.getEStructuralFeatures().get(0); | ||
911 | } | ||
912 | |||
913 | /** | ||
914 | * <!-- begin-user-doc --> | ||
915 | * <!-- end-user-doc --> | ||
916 | * @generated | ||
917 | */ | ||
918 | public EClass getALSRunCommand() | ||
919 | { | ||
920 | return alsRunCommandEClass; | ||
921 | } | ||
922 | |||
923 | /** | ||
924 | * <!-- begin-user-doc --> | ||
925 | * <!-- end-user-doc --> | ||
926 | * @generated | ||
927 | */ | ||
928 | public EReference getALSRunCommand_TypeScopes() | ||
929 | { | ||
930 | return (EReference)alsRunCommandEClass.getEStructuralFeatures().get(0); | ||
931 | } | ||
932 | |||
933 | /** | ||
934 | * <!-- begin-user-doc --> | ||
935 | * <!-- end-user-doc --> | ||
936 | * @generated | ||
937 | */ | ||
938 | public EClass getALSTypeScope() | ||
939 | { | ||
940 | return alsTypeScopeEClass; | ||
941 | } | ||
942 | |||
943 | /** | ||
944 | * <!-- begin-user-doc --> | ||
945 | * <!-- end-user-doc --> | ||
946 | * @generated | ||
947 | */ | ||
948 | public EAttribute getALSTypeScope_Number() | ||
949 | { | ||
950 | return (EAttribute)alsTypeScopeEClass.getEStructuralFeatures().get(0); | ||
951 | } | ||
952 | |||
953 | /** | ||
954 | * <!-- begin-user-doc --> | ||
955 | * <!-- end-user-doc --> | ||
956 | * @generated | ||
957 | */ | ||
958 | public EClass getALSSigScope() | ||
959 | { | ||
960 | return alsSigScopeEClass; | ||
961 | } | ||
962 | |||
963 | /** | ||
964 | * <!-- begin-user-doc --> | ||
965 | * <!-- end-user-doc --> | ||
966 | * @generated | ||
967 | */ | ||
968 | public EAttribute getALSSigScope_Exactly() | ||
969 | { | ||
970 | return (EAttribute)alsSigScopeEClass.getEStructuralFeatures().get(0); | ||
971 | } | ||
972 | |||
973 | /** | ||
974 | * <!-- begin-user-doc --> | ||
975 | * <!-- end-user-doc --> | ||
976 | * @generated | ||
977 | */ | ||
978 | public EReference getALSSigScope_Type() | ||
979 | { | ||
980 | return (EReference)alsSigScopeEClass.getEStructuralFeatures().get(1); | ||
981 | } | ||
982 | |||
983 | /** | ||
984 | * <!-- begin-user-doc --> | ||
985 | * <!-- end-user-doc --> | ||
986 | * @generated | ||
987 | */ | ||
988 | public EClass getALSIntScope() | ||
989 | { | ||
990 | return alsIntScopeEClass; | ||
991 | } | ||
992 | |||
993 | /** | ||
994 | * <!-- begin-user-doc --> | ||
995 | * <!-- end-user-doc --> | ||
996 | * @generated | ||
997 | */ | ||
998 | public EClass getALSStringScope() | ||
999 | { | ||
1000 | return alsStringScopeEClass; | ||
1001 | } | ||
1002 | |||
1003 | /** | ||
1004 | * <!-- begin-user-doc --> | ||
1005 | * <!-- end-user-doc --> | ||
1006 | * @generated | ||
1007 | */ | ||
1008 | public EClass getALSQuantifiedEx() | ||
1009 | { | ||
1010 | return alsQuantifiedExEClass; | ||
1011 | } | ||
1012 | |||
1013 | /** | ||
1014 | * <!-- begin-user-doc --> | ||
1015 | * <!-- end-user-doc --> | ||
1016 | * @generated | ||
1017 | */ | ||
1018 | public EAttribute getALSQuantifiedEx_Type() | ||
1019 | { | ||
1020 | return (EAttribute)alsQuantifiedExEClass.getEStructuralFeatures().get(0); | ||
1021 | } | ||
1022 | |||
1023 | /** | ||
1024 | * <!-- begin-user-doc --> | ||
1025 | * <!-- end-user-doc --> | ||
1026 | * @generated | ||
1027 | */ | ||
1028 | public EAttribute getALSQuantifiedEx_Disj() | ||
1029 | { | ||
1030 | return (EAttribute)alsQuantifiedExEClass.getEStructuralFeatures().get(1); | ||
1031 | } | ||
1032 | |||
1033 | /** | ||
1034 | * <!-- begin-user-doc --> | ||
1035 | * <!-- end-user-doc --> | ||
1036 | * @generated | ||
1037 | */ | ||
1038 | public EReference getALSQuantifiedEx_Variables() | ||
1039 | { | ||
1040 | return (EReference)alsQuantifiedExEClass.getEStructuralFeatures().get(2); | ||
1041 | } | ||
1042 | |||
1043 | /** | ||
1044 | * <!-- begin-user-doc --> | ||
1045 | * <!-- end-user-doc --> | ||
1046 | * @generated | ||
1047 | */ | ||
1048 | public EReference getALSQuantifiedEx_Expression() | ||
1049 | { | ||
1050 | return (EReference)alsQuantifiedExEClass.getEStructuralFeatures().get(3); | ||
1051 | } | ||
1052 | |||
1053 | /** | ||
1054 | * <!-- begin-user-doc --> | ||
1055 | * <!-- end-user-doc --> | ||
1056 | * @generated | ||
1057 | */ | ||
1058 | public EClass getALSOr() | ||
1059 | { | ||
1060 | return alsOrEClass; | ||
1061 | } | ||
1062 | |||
1063 | /** | ||
1064 | * <!-- begin-user-doc --> | ||
1065 | * <!-- end-user-doc --> | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | public EReference getALSOr_LeftOperand() | ||
1069 | { | ||
1070 | return (EReference)alsOrEClass.getEStructuralFeatures().get(0); | ||
1071 | } | ||
1072 | |||
1073 | /** | ||
1074 | * <!-- begin-user-doc --> | ||
1075 | * <!-- end-user-doc --> | ||
1076 | * @generated | ||
1077 | */ | ||
1078 | public EReference getALSOr_RightOperand() | ||
1079 | { | ||
1080 | return (EReference)alsOrEClass.getEStructuralFeatures().get(1); | ||
1081 | } | ||
1082 | |||
1083 | /** | ||
1084 | * <!-- begin-user-doc --> | ||
1085 | * <!-- end-user-doc --> | ||
1086 | * @generated | ||
1087 | */ | ||
1088 | public EClass getALSIff() | ||
1089 | { | ||
1090 | return alsIffEClass; | ||
1091 | } | ||
1092 | |||
1093 | /** | ||
1094 | * <!-- begin-user-doc --> | ||
1095 | * <!-- end-user-doc --> | ||
1096 | * @generated | ||
1097 | */ | ||
1098 | public EReference getALSIff_LeftOperand() | ||
1099 | { | ||
1100 | return (EReference)alsIffEClass.getEStructuralFeatures().get(0); | ||
1101 | } | ||
1102 | |||
1103 | /** | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | public EReference getALSIff_RightOperand() | ||
1109 | { | ||
1110 | return (EReference)alsIffEClass.getEStructuralFeatures().get(1); | ||
1111 | } | ||
1112 | |||
1113 | /** | ||
1114 | * <!-- begin-user-doc --> | ||
1115 | * <!-- end-user-doc --> | ||
1116 | * @generated | ||
1117 | */ | ||
1118 | public EClass getALSImpl() | ||
1119 | { | ||
1120 | return alsImplEClass; | ||
1121 | } | ||
1122 | |||
1123 | /** | ||
1124 | * <!-- begin-user-doc --> | ||
1125 | * <!-- end-user-doc --> | ||
1126 | * @generated | ||
1127 | */ | ||
1128 | public EReference getALSImpl_LeftOperand() | ||
1129 | { | ||
1130 | return (EReference)alsImplEClass.getEStructuralFeatures().get(0); | ||
1131 | } | ||
1132 | |||
1133 | /** | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * <!-- end-user-doc --> | ||
1136 | * @generated | ||
1137 | */ | ||
1138 | public EReference getALSImpl_RightOperand() | ||
1139 | { | ||
1140 | return (EReference)alsImplEClass.getEStructuralFeatures().get(1); | ||
1141 | } | ||
1142 | |||
1143 | /** | ||
1144 | * <!-- begin-user-doc --> | ||
1145 | * <!-- end-user-doc --> | ||
1146 | * @generated | ||
1147 | */ | ||
1148 | public EReference getALSImpl_ElseOperand() | ||
1149 | { | ||
1150 | return (EReference)alsImplEClass.getEStructuralFeatures().get(2); | ||
1151 | } | ||
1152 | |||
1153 | /** | ||
1154 | * <!-- begin-user-doc --> | ||
1155 | * <!-- end-user-doc --> | ||
1156 | * @generated | ||
1157 | */ | ||
1158 | public EClass getALSAnd() | ||
1159 | { | ||
1160 | return alsAndEClass; | ||
1161 | } | ||
1162 | |||
1163 | /** | ||
1164 | * <!-- begin-user-doc --> | ||
1165 | * <!-- end-user-doc --> | ||
1166 | * @generated | ||
1167 | */ | ||
1168 | public EReference getALSAnd_LeftOperand() | ||
1169 | { | ||
1170 | return (EReference)alsAndEClass.getEStructuralFeatures().get(0); | ||
1171 | } | ||
1172 | |||
1173 | /** | ||
1174 | * <!-- begin-user-doc --> | ||
1175 | * <!-- end-user-doc --> | ||
1176 | * @generated | ||
1177 | */ | ||
1178 | public EReference getALSAnd_RightOperand() | ||
1179 | { | ||
1180 | return (EReference)alsAndEClass.getEStructuralFeatures().get(1); | ||
1181 | } | ||
1182 | |||
1183 | /** | ||
1184 | * <!-- begin-user-doc --> | ||
1185 | * <!-- end-user-doc --> | ||
1186 | * @generated | ||
1187 | */ | ||
1188 | public EClass getALSEquals() | ||
1189 | { | ||
1190 | return alsEqualsEClass; | ||
1191 | } | ||
1192 | |||
1193 | /** | ||
1194 | * <!-- begin-user-doc --> | ||
1195 | * <!-- end-user-doc --> | ||
1196 | * @generated | ||
1197 | */ | ||
1198 | public EReference getALSEquals_LeftOperand() | ||
1199 | { | ||
1200 | return (EReference)alsEqualsEClass.getEStructuralFeatures().get(0); | ||
1201 | } | ||
1202 | |||
1203 | /** | ||
1204 | * <!-- begin-user-doc --> | ||
1205 | * <!-- end-user-doc --> | ||
1206 | * @generated | ||
1207 | */ | ||
1208 | public EReference getALSEquals_RightOperand() | ||
1209 | { | ||
1210 | return (EReference)alsEqualsEClass.getEStructuralFeatures().get(1); | ||
1211 | } | ||
1212 | |||
1213 | /** | ||
1214 | * <!-- begin-user-doc --> | ||
1215 | * <!-- end-user-doc --> | ||
1216 | * @generated | ||
1217 | */ | ||
1218 | public EClass getALSNotEquals() | ||
1219 | { | ||
1220 | return alsNotEqualsEClass; | ||
1221 | } | ||
1222 | |||
1223 | /** | ||
1224 | * <!-- begin-user-doc --> | ||
1225 | * <!-- end-user-doc --> | ||
1226 | * @generated | ||
1227 | */ | ||
1228 | public EReference getALSNotEquals_LeftOperand() | ||
1229 | { | ||
1230 | return (EReference)alsNotEqualsEClass.getEStructuralFeatures().get(0); | ||
1231 | } | ||
1232 | |||
1233 | /** | ||
1234 | * <!-- begin-user-doc --> | ||
1235 | * <!-- end-user-doc --> | ||
1236 | * @generated | ||
1237 | */ | ||
1238 | public EReference getALSNotEquals_RightOperand() | ||
1239 | { | ||
1240 | return (EReference)alsNotEqualsEClass.getEStructuralFeatures().get(1); | ||
1241 | } | ||
1242 | |||
1243 | /** | ||
1244 | * <!-- begin-user-doc --> | ||
1245 | * <!-- end-user-doc --> | ||
1246 | * @generated | ||
1247 | */ | ||
1248 | public EClass getALSSubset() | ||
1249 | { | ||
1250 | return alsSubsetEClass; | ||
1251 | } | ||
1252 | |||
1253 | /** | ||
1254 | * <!-- begin-user-doc --> | ||
1255 | * <!-- end-user-doc --> | ||
1256 | * @generated | ||
1257 | */ | ||
1258 | public EReference getALSSubset_LeftOperand() | ||
1259 | { | ||
1260 | return (EReference)alsSubsetEClass.getEStructuralFeatures().get(0); | ||
1261 | } | ||
1262 | |||
1263 | /** | ||
1264 | * <!-- begin-user-doc --> | ||
1265 | * <!-- end-user-doc --> | ||
1266 | * @generated | ||
1267 | */ | ||
1268 | public EReference getALSSubset_RightOperand() | ||
1269 | { | ||
1270 | return (EReference)alsSubsetEClass.getEStructuralFeatures().get(1); | ||
1271 | } | ||
1272 | |||
1273 | /** | ||
1274 | * <!-- begin-user-doc --> | ||
1275 | * <!-- end-user-doc --> | ||
1276 | * @generated | ||
1277 | */ | ||
1278 | public EClass getALSLess() | ||
1279 | { | ||
1280 | return alsLessEClass; | ||
1281 | } | ||
1282 | |||
1283 | /** | ||
1284 | * <!-- begin-user-doc --> | ||
1285 | * <!-- end-user-doc --> | ||
1286 | * @generated | ||
1287 | */ | ||
1288 | public EReference getALSLess_LeftOperand() | ||
1289 | { | ||
1290 | return (EReference)alsLessEClass.getEStructuralFeatures().get(0); | ||
1291 | } | ||
1292 | |||
1293 | /** | ||
1294 | * <!-- begin-user-doc --> | ||
1295 | * <!-- end-user-doc --> | ||
1296 | * @generated | ||
1297 | */ | ||
1298 | public EReference getALSLess_RightOperand() | ||
1299 | { | ||
1300 | return (EReference)alsLessEClass.getEStructuralFeatures().get(1); | ||
1301 | } | ||
1302 | |||
1303 | /** | ||
1304 | * <!-- begin-user-doc --> | ||
1305 | * <!-- end-user-doc --> | ||
1306 | * @generated | ||
1307 | */ | ||
1308 | public EClass getALSLeq() | ||
1309 | { | ||
1310 | return alsLeqEClass; | ||
1311 | } | ||
1312 | |||
1313 | /** | ||
1314 | * <!-- begin-user-doc --> | ||
1315 | * <!-- end-user-doc --> | ||
1316 | * @generated | ||
1317 | */ | ||
1318 | public EReference getALSLeq_LeftOperand() | ||
1319 | { | ||
1320 | return (EReference)alsLeqEClass.getEStructuralFeatures().get(0); | ||
1321 | } | ||
1322 | |||
1323 | /** | ||
1324 | * <!-- begin-user-doc --> | ||
1325 | * <!-- end-user-doc --> | ||
1326 | * @generated | ||
1327 | */ | ||
1328 | public EReference getALSLeq_RightOperand() | ||
1329 | { | ||
1330 | return (EReference)alsLeqEClass.getEStructuralFeatures().get(1); | ||
1331 | } | ||
1332 | |||
1333 | /** | ||
1334 | * <!-- begin-user-doc --> | ||
1335 | * <!-- end-user-doc --> | ||
1336 | * @generated | ||
1337 | */ | ||
1338 | public EClass getALSMore() | ||
1339 | { | ||
1340 | return alsMoreEClass; | ||
1341 | } | ||
1342 | |||
1343 | /** | ||
1344 | * <!-- begin-user-doc --> | ||
1345 | * <!-- end-user-doc --> | ||
1346 | * @generated | ||
1347 | */ | ||
1348 | public EReference getALSMore_LeftOperand() | ||
1349 | { | ||
1350 | return (EReference)alsMoreEClass.getEStructuralFeatures().get(0); | ||
1351 | } | ||
1352 | |||
1353 | /** | ||
1354 | * <!-- begin-user-doc --> | ||
1355 | * <!-- end-user-doc --> | ||
1356 | * @generated | ||
1357 | */ | ||
1358 | public EReference getALSMore_RightOperand() | ||
1359 | { | ||
1360 | return (EReference)alsMoreEClass.getEStructuralFeatures().get(1); | ||
1361 | } | ||
1362 | |||
1363 | /** | ||
1364 | * <!-- begin-user-doc --> | ||
1365 | * <!-- end-user-doc --> | ||
1366 | * @generated | ||
1367 | */ | ||
1368 | public EClass getALSMeq() | ||
1369 | { | ||
1370 | return alsMeqEClass; | ||
1371 | } | ||
1372 | |||
1373 | /** | ||
1374 | * <!-- begin-user-doc --> | ||
1375 | * <!-- end-user-doc --> | ||
1376 | * @generated | ||
1377 | */ | ||
1378 | public EReference getALSMeq_LeftOperand() | ||
1379 | { | ||
1380 | return (EReference)alsMeqEClass.getEStructuralFeatures().get(0); | ||
1381 | } | ||
1382 | |||
1383 | /** | ||
1384 | * <!-- begin-user-doc --> | ||
1385 | * <!-- end-user-doc --> | ||
1386 | * @generated | ||
1387 | */ | ||
1388 | public EReference getALSMeq_RightOperand() | ||
1389 | { | ||
1390 | return (EReference)alsMeqEClass.getEStructuralFeatures().get(1); | ||
1391 | } | ||
1392 | |||
1393 | /** | ||
1394 | * <!-- begin-user-doc --> | ||
1395 | * <!-- end-user-doc --> | ||
1396 | * @generated | ||
1397 | */ | ||
1398 | public EClass getALSOverride() | ||
1399 | { | ||
1400 | return alsOverrideEClass; | ||
1401 | } | ||
1402 | |||
1403 | /** | ||
1404 | * <!-- begin-user-doc --> | ||
1405 | * <!-- end-user-doc --> | ||
1406 | * @generated | ||
1407 | */ | ||
1408 | public EReference getALSOverride_LeftOperand() | ||
1409 | { | ||
1410 | return (EReference)alsOverrideEClass.getEStructuralFeatures().get(0); | ||
1411 | } | ||
1412 | |||
1413 | /** | ||
1414 | * <!-- begin-user-doc --> | ||
1415 | * <!-- end-user-doc --> | ||
1416 | * @generated | ||
1417 | */ | ||
1418 | public EReference getALSOverride_RightOperand() | ||
1419 | { | ||
1420 | return (EReference)alsOverrideEClass.getEStructuralFeatures().get(1); | ||
1421 | } | ||
1422 | |||
1423 | /** | ||
1424 | * <!-- begin-user-doc --> | ||
1425 | * <!-- end-user-doc --> | ||
1426 | * @generated | ||
1427 | */ | ||
1428 | public EClass getALSRangeRestrictionRight() | ||
1429 | { | ||
1430 | return alsRangeRestrictionRightEClass; | ||
1431 | } | ||
1432 | |||
1433 | /** | ||
1434 | * <!-- begin-user-doc --> | ||
1435 | * <!-- end-user-doc --> | ||
1436 | * @generated | ||
1437 | */ | ||
1438 | public EReference getALSRangeRestrictionRight_Relation() | ||
1439 | { | ||
1440 | return (EReference)alsRangeRestrictionRightEClass.getEStructuralFeatures().get(0); | ||
1441 | } | ||
1442 | |||
1443 | /** | ||
1444 | * <!-- begin-user-doc --> | ||
1445 | * <!-- end-user-doc --> | ||
1446 | * @generated | ||
1447 | */ | ||
1448 | public EReference getALSRangeRestrictionRight_Filter() | ||
1449 | { | ||
1450 | return (EReference)alsRangeRestrictionRightEClass.getEStructuralFeatures().get(1); | ||
1451 | } | ||
1452 | |||
1453 | /** | ||
1454 | * <!-- begin-user-doc --> | ||
1455 | * <!-- end-user-doc --> | ||
1456 | * @generated | ||
1457 | */ | ||
1458 | public EClass getALSRangeRestrictionLeft() | ||
1459 | { | ||
1460 | return alsRangeRestrictionLeftEClass; | ||
1461 | } | ||
1462 | |||
1463 | /** | ||
1464 | * <!-- begin-user-doc --> | ||
1465 | * <!-- end-user-doc --> | ||
1466 | * @generated | ||
1467 | */ | ||
1468 | public EReference getALSRangeRestrictionLeft_Filter() | ||
1469 | { | ||
1470 | return (EReference)alsRangeRestrictionLeftEClass.getEStructuralFeatures().get(0); | ||
1471 | } | ||
1472 | |||
1473 | /** | ||
1474 | * <!-- begin-user-doc --> | ||
1475 | * <!-- end-user-doc --> | ||
1476 | * @generated | ||
1477 | */ | ||
1478 | public EReference getALSRangeRestrictionLeft_Relation() | ||
1479 | { | ||
1480 | return (EReference)alsRangeRestrictionLeftEClass.getEStructuralFeatures().get(1); | ||
1481 | } | ||
1482 | |||
1483 | /** | ||
1484 | * <!-- begin-user-doc --> | ||
1485 | * <!-- end-user-doc --> | ||
1486 | * @generated | ||
1487 | */ | ||
1488 | public EClass getALSJoin() | ||
1489 | { | ||
1490 | return alsJoinEClass; | ||
1491 | } | ||
1492 | |||
1493 | /** | ||
1494 | * <!-- begin-user-doc --> | ||
1495 | * <!-- end-user-doc --> | ||
1496 | * @generated | ||
1497 | */ | ||
1498 | public EReference getALSJoin_LeftOperand() | ||
1499 | { | ||
1500 | return (EReference)alsJoinEClass.getEStructuralFeatures().get(0); | ||
1501 | } | ||
1502 | |||
1503 | /** | ||
1504 | * <!-- begin-user-doc --> | ||
1505 | * <!-- end-user-doc --> | ||
1506 | * @generated | ||
1507 | */ | ||
1508 | public EReference getALSJoin_RightOperand() | ||
1509 | { | ||
1510 | return (EReference)alsJoinEClass.getEStructuralFeatures().get(1); | ||
1511 | } | ||
1512 | |||
1513 | /** | ||
1514 | * <!-- begin-user-doc --> | ||
1515 | * <!-- end-user-doc --> | ||
1516 | * @generated | ||
1517 | */ | ||
1518 | public EClass getALSMinus() | ||
1519 | { | ||
1520 | return alsMinusEClass; | ||
1521 | } | ||
1522 | |||
1523 | /** | ||
1524 | * <!-- begin-user-doc --> | ||
1525 | * <!-- end-user-doc --> | ||
1526 | * @generated | ||
1527 | */ | ||
1528 | public EReference getALSMinus_LeftOperand() | ||
1529 | { | ||
1530 | return (EReference)alsMinusEClass.getEStructuralFeatures().get(0); | ||
1531 | } | ||
1532 | |||
1533 | /** | ||
1534 | * <!-- begin-user-doc --> | ||
1535 | * <!-- end-user-doc --> | ||
1536 | * @generated | ||
1537 | */ | ||
1538 | public EReference getALSMinus_RightOperand() | ||
1539 | { | ||
1540 | return (EReference)alsMinusEClass.getEStructuralFeatures().get(1); | ||
1541 | } | ||
1542 | |||
1543 | /** | ||
1544 | * <!-- begin-user-doc --> | ||
1545 | * <!-- end-user-doc --> | ||
1546 | * @generated | ||
1547 | */ | ||
1548 | public EClass getALSPlus() | ||
1549 | { | ||
1550 | return alsPlusEClass; | ||
1551 | } | ||
1552 | |||
1553 | /** | ||
1554 | * <!-- begin-user-doc --> | ||
1555 | * <!-- end-user-doc --> | ||
1556 | * @generated | ||
1557 | */ | ||
1558 | public EReference getALSPlus_LeftOperand() | ||
1559 | { | ||
1560 | return (EReference)alsPlusEClass.getEStructuralFeatures().get(0); | ||
1561 | } | ||
1562 | |||
1563 | /** | ||
1564 | * <!-- begin-user-doc --> | ||
1565 | * <!-- end-user-doc --> | ||
1566 | * @generated | ||
1567 | */ | ||
1568 | public EReference getALSPlus_RightOperand() | ||
1569 | { | ||
1570 | return (EReference)alsPlusEClass.getEStructuralFeatures().get(1); | ||
1571 | } | ||
1572 | |||
1573 | /** | ||
1574 | * <!-- begin-user-doc --> | ||
1575 | * <!-- end-user-doc --> | ||
1576 | * @generated | ||
1577 | */ | ||
1578 | public EClass getALSIntersection() | ||
1579 | { | ||
1580 | return alsIntersectionEClass; | ||
1581 | } | ||
1582 | |||
1583 | /** | ||
1584 | * <!-- begin-user-doc --> | ||
1585 | * <!-- end-user-doc --> | ||
1586 | * @generated | ||
1587 | */ | ||
1588 | public EReference getALSIntersection_LeftOperand() | ||
1589 | { | ||
1590 | return (EReference)alsIntersectionEClass.getEStructuralFeatures().get(0); | ||
1591 | } | ||
1592 | |||
1593 | /** | ||
1594 | * <!-- begin-user-doc --> | ||
1595 | * <!-- end-user-doc --> | ||
1596 | * @generated | ||
1597 | */ | ||
1598 | public EReference getALSIntersection_RightOperand() | ||
1599 | { | ||
1600 | return (EReference)alsIntersectionEClass.getEStructuralFeatures().get(1); | ||
1601 | } | ||
1602 | |||
1603 | /** | ||
1604 | * <!-- begin-user-doc --> | ||
1605 | * <!-- end-user-doc --> | ||
1606 | * @generated | ||
1607 | */ | ||
1608 | public EClass getALSDirectProduct() | ||
1609 | { | ||
1610 | return alsDirectProductEClass; | ||
1611 | } | ||
1612 | |||
1613 | /** | ||
1614 | * <!-- begin-user-doc --> | ||
1615 | * <!-- end-user-doc --> | ||
1616 | * @generated | ||
1617 | */ | ||
1618 | public EReference getALSDirectProduct_LeftOperand() | ||
1619 | { | ||
1620 | return (EReference)alsDirectProductEClass.getEStructuralFeatures().get(0); | ||
1621 | } | ||
1622 | |||
1623 | /** | ||
1624 | * <!-- begin-user-doc --> | ||
1625 | * <!-- end-user-doc --> | ||
1626 | * @generated | ||
1627 | */ | ||
1628 | public EAttribute getALSDirectProduct_LeftMultiplicit() | ||
1629 | { | ||
1630 | return (EAttribute)alsDirectProductEClass.getEStructuralFeatures().get(1); | ||
1631 | } | ||
1632 | |||
1633 | /** | ||
1634 | * <!-- begin-user-doc --> | ||
1635 | * <!-- end-user-doc --> | ||
1636 | * @generated | ||
1637 | */ | ||
1638 | public EAttribute getALSDirectProduct_RightMultiplicit() | ||
1639 | { | ||
1640 | return (EAttribute)alsDirectProductEClass.getEStructuralFeatures().get(2); | ||
1641 | } | ||
1642 | |||
1643 | /** | ||
1644 | * <!-- begin-user-doc --> | ||
1645 | * <!-- end-user-doc --> | ||
1646 | * @generated | ||
1647 | */ | ||
1648 | public EReference getALSDirectProduct_RightOperand() | ||
1649 | { | ||
1650 | return (EReference)alsDirectProductEClass.getEStructuralFeatures().get(3); | ||
1651 | } | ||
1652 | |||
1653 | /** | ||
1654 | * <!-- begin-user-doc --> | ||
1655 | * <!-- end-user-doc --> | ||
1656 | * @generated | ||
1657 | */ | ||
1658 | public EClass getALSNot() | ||
1659 | { | ||
1660 | return alsNotEClass; | ||
1661 | } | ||
1662 | |||
1663 | /** | ||
1664 | * <!-- begin-user-doc --> | ||
1665 | * <!-- end-user-doc --> | ||
1666 | * @generated | ||
1667 | */ | ||
1668 | public EReference getALSNot_Operand() | ||
1669 | { | ||
1670 | return (EReference)alsNotEClass.getEStructuralFeatures().get(0); | ||
1671 | } | ||
1672 | |||
1673 | /** | ||
1674 | * <!-- begin-user-doc --> | ||
1675 | * <!-- end-user-doc --> | ||
1676 | * @generated | ||
1677 | */ | ||
1678 | public EClass getALSInverseRelation() | ||
1679 | { | ||
1680 | return alsInverseRelationEClass; | ||
1681 | } | ||
1682 | |||
1683 | /** | ||
1684 | * <!-- begin-user-doc --> | ||
1685 | * <!-- end-user-doc --> | ||
1686 | * @generated | ||
1687 | */ | ||
1688 | public EReference getALSInverseRelation_Operand() | ||
1689 | { | ||
1690 | return (EReference)alsInverseRelationEClass.getEStructuralFeatures().get(0); | ||
1691 | } | ||
1692 | |||
1693 | /** | ||
1694 | * <!-- begin-user-doc --> | ||
1695 | * <!-- end-user-doc --> | ||
1696 | * @generated | ||
1697 | */ | ||
1698 | public EClass getAlSTransitiveClosure() | ||
1699 | { | ||
1700 | return alSTransitiveClosureEClass; | ||
1701 | } | ||
1702 | |||
1703 | /** | ||
1704 | * <!-- begin-user-doc --> | ||
1705 | * <!-- end-user-doc --> | ||
1706 | * @generated | ||
1707 | */ | ||
1708 | public EReference getAlSTransitiveClosure_Operand() | ||
1709 | { | ||
1710 | return (EReference)alSTransitiveClosureEClass.getEStructuralFeatures().get(0); | ||
1711 | } | ||
1712 | |||
1713 | /** | ||
1714 | * <!-- begin-user-doc --> | ||
1715 | * <!-- end-user-doc --> | ||
1716 | * @generated | ||
1717 | */ | ||
1718 | public EClass getALSReflectiveTransitiveClosure() | ||
1719 | { | ||
1720 | return alsReflectiveTransitiveClosureEClass; | ||
1721 | } | ||
1722 | |||
1723 | /** | ||
1724 | * <!-- begin-user-doc --> | ||
1725 | * <!-- end-user-doc --> | ||
1726 | * @generated | ||
1727 | */ | ||
1728 | public EReference getALSReflectiveTransitiveClosure_Operand() | ||
1729 | { | ||
1730 | return (EReference)alsReflectiveTransitiveClosureEClass.getEStructuralFeatures().get(0); | ||
1731 | } | ||
1732 | |||
1733 | /** | ||
1734 | * <!-- begin-user-doc --> | ||
1735 | * <!-- end-user-doc --> | ||
1736 | * @generated | ||
1737 | */ | ||
1738 | public EClass getALSCardinality() | ||
1739 | { | ||
1740 | return alsCardinalityEClass; | ||
1741 | } | ||
1742 | |||
1743 | /** | ||
1744 | * <!-- begin-user-doc --> | ||
1745 | * <!-- end-user-doc --> | ||
1746 | * @generated | ||
1747 | */ | ||
1748 | public EReference getALSCardinality_Operand() | ||
1749 | { | ||
1750 | return (EReference)alsCardinalityEClass.getEStructuralFeatures().get(0); | ||
1751 | } | ||
1752 | |||
1753 | /** | ||
1754 | * <!-- begin-user-doc --> | ||
1755 | * <!-- end-user-doc --> | ||
1756 | * @generated | ||
1757 | */ | ||
1758 | public EClass getALSUnaryMinus() | ||
1759 | { | ||
1760 | return alsUnaryMinusEClass; | ||
1761 | } | ||
1762 | |||
1763 | /** | ||
1764 | * <!-- begin-user-doc --> | ||
1765 | * <!-- end-user-doc --> | ||
1766 | * @generated | ||
1767 | */ | ||
1768 | public EReference getALSUnaryMinus_Operand() | ||
1769 | { | ||
1770 | return (EReference)alsUnaryMinusEClass.getEStructuralFeatures().get(0); | ||
1771 | } | ||
1772 | |||
1773 | /** | ||
1774 | * <!-- begin-user-doc --> | ||
1775 | * <!-- end-user-doc --> | ||
1776 | * @generated | ||
1777 | */ | ||
1778 | public EClass getALSSum() | ||
1779 | { | ||
1780 | return alsSumEClass; | ||
1781 | } | ||
1782 | |||
1783 | /** | ||
1784 | * <!-- begin-user-doc --> | ||
1785 | * <!-- end-user-doc --> | ||
1786 | * @generated | ||
1787 | */ | ||
1788 | public EReference getALSSum_Variables() | ||
1789 | { | ||
1790 | return (EReference)alsSumEClass.getEStructuralFeatures().get(0); | ||
1791 | } | ||
1792 | |||
1793 | /** | ||
1794 | * <!-- begin-user-doc --> | ||
1795 | * <!-- end-user-doc --> | ||
1796 | * @generated | ||
1797 | */ | ||
1798 | public EReference getALSSum_Expression() | ||
1799 | { | ||
1800 | return (EReference)alsSumEClass.getEStructuralFeatures().get(1); | ||
1801 | } | ||
1802 | |||
1803 | /** | ||
1804 | * <!-- begin-user-doc --> | ||
1805 | * <!-- end-user-doc --> | ||
1806 | * @generated | ||
1807 | */ | ||
1808 | public EClass getALSFunctionCall() | ||
1809 | { | ||
1810 | return alsFunctionCallEClass; | ||
1811 | } | ||
1812 | |||
1813 | /** | ||
1814 | * <!-- begin-user-doc --> | ||
1815 | * <!-- end-user-doc --> | ||
1816 | * @generated | ||
1817 | */ | ||
1818 | public EReference getALSFunctionCall_ReferredDefinition() | ||
1819 | { | ||
1820 | return (EReference)alsFunctionCallEClass.getEStructuralFeatures().get(0); | ||
1821 | } | ||
1822 | |||
1823 | /** | ||
1824 | * <!-- begin-user-doc --> | ||
1825 | * <!-- end-user-doc --> | ||
1826 | * @generated | ||
1827 | */ | ||
1828 | public EAttribute getALSFunctionCall_ReferredNumericOperator() | ||
1829 | { | ||
1830 | return (EAttribute)alsFunctionCallEClass.getEStructuralFeatures().get(1); | ||
1831 | } | ||
1832 | |||
1833 | /** | ||
1834 | * <!-- begin-user-doc --> | ||
1835 | * <!-- end-user-doc --> | ||
1836 | * @generated | ||
1837 | */ | ||
1838 | public EReference getALSFunctionCall_Params() | ||
1839 | { | ||
1840 | return (EReference)alsFunctionCallEClass.getEStructuralFeatures().get(2); | ||
1841 | } | ||
1842 | |||
1843 | /** | ||
1844 | * <!-- begin-user-doc --> | ||
1845 | * <!-- end-user-doc --> | ||
1846 | * @generated | ||
1847 | */ | ||
1848 | public EClass getALSNone() | ||
1849 | { | ||
1850 | return alsNoneEClass; | ||
1851 | } | ||
1852 | |||
1853 | /** | ||
1854 | * <!-- begin-user-doc --> | ||
1855 | * <!-- end-user-doc --> | ||
1856 | * @generated | ||
1857 | */ | ||
1858 | public EClass getALSIden() | ||
1859 | { | ||
1860 | return alsIdenEClass; | ||
1861 | } | ||
1862 | |||
1863 | /** | ||
1864 | * <!-- begin-user-doc --> | ||
1865 | * <!-- end-user-doc --> | ||
1866 | * @generated | ||
1867 | */ | ||
1868 | public EClass getALSUniv() | ||
1869 | { | ||
1870 | return alsUnivEClass; | ||
1871 | } | ||
1872 | |||
1873 | /** | ||
1874 | * <!-- begin-user-doc --> | ||
1875 | * <!-- end-user-doc --> | ||
1876 | * @generated | ||
1877 | */ | ||
1878 | public EClass getALSInt() | ||
1879 | { | ||
1880 | return alsIntEClass; | ||
1881 | } | ||
1882 | |||
1883 | /** | ||
1884 | * <!-- begin-user-doc --> | ||
1885 | * <!-- end-user-doc --> | ||
1886 | * @generated | ||
1887 | */ | ||
1888 | public EClass getALSString() | ||
1889 | { | ||
1890 | return alsStringEClass; | ||
1891 | } | ||
1892 | |||
1893 | /** | ||
1894 | * <!-- begin-user-doc --> | ||
1895 | * <!-- end-user-doc --> | ||
1896 | * @generated | ||
1897 | */ | ||
1898 | public EClass getALSReference() | ||
1899 | { | ||
1900 | return alsReferenceEClass; | ||
1901 | } | ||
1902 | |||
1903 | /** | ||
1904 | * <!-- begin-user-doc --> | ||
1905 | * <!-- end-user-doc --> | ||
1906 | * @generated | ||
1907 | */ | ||
1908 | public EReference getALSReference_Referred() | ||
1909 | { | ||
1910 | return (EReference)alsReferenceEClass.getEStructuralFeatures().get(0); | ||
1911 | } | ||
1912 | |||
1913 | /** | ||
1914 | * <!-- begin-user-doc --> | ||
1915 | * <!-- end-user-doc --> | ||
1916 | * @generated | ||
1917 | */ | ||
1918 | public EClass getALSNumberLiteral() | ||
1919 | { | ||
1920 | return alsNumberLiteralEClass; | ||
1921 | } | ||
1922 | |||
1923 | /** | ||
1924 | * <!-- begin-user-doc --> | ||
1925 | * <!-- end-user-doc --> | ||
1926 | * @generated | ||
1927 | */ | ||
1928 | public EAttribute getALSNumberLiteral_Value() | ||
1929 | { | ||
1930 | return (EAttribute)alsNumberLiteralEClass.getEStructuralFeatures().get(0); | ||
1931 | } | ||
1932 | |||
1933 | /** | ||
1934 | * <!-- begin-user-doc --> | ||
1935 | * <!-- end-user-doc --> | ||
1936 | * @generated | ||
1937 | */ | ||
1938 | public EClass getALSStringLiteral() | ||
1939 | { | ||
1940 | return alsStringLiteralEClass; | ||
1941 | } | ||
1942 | |||
1943 | /** | ||
1944 | * <!-- begin-user-doc --> | ||
1945 | * <!-- end-user-doc --> | ||
1946 | * @generated | ||
1947 | */ | ||
1948 | public EAttribute getALSStringLiteral_Value() | ||
1949 | { | ||
1950 | return (EAttribute)alsStringLiteralEClass.getEStructuralFeatures().get(0); | ||
1951 | } | ||
1952 | |||
1953 | /** | ||
1954 | * <!-- begin-user-doc --> | ||
1955 | * <!-- end-user-doc --> | ||
1956 | * @generated | ||
1957 | */ | ||
1958 | public EEnum getALSMultiplicity() | ||
1959 | { | ||
1960 | return alsMultiplicityEEnum; | ||
1961 | } | ||
1962 | |||
1963 | /** | ||
1964 | * <!-- begin-user-doc --> | ||
1965 | * <!-- end-user-doc --> | ||
1966 | * @generated | ||
1967 | */ | ||
1968 | public EEnum getALSNumericOperator() | ||
1969 | { | ||
1970 | return alsNumericOperatorEEnum; | ||
1971 | } | ||
1972 | |||
1973 | /** | ||
1974 | * <!-- begin-user-doc --> | ||
1975 | * <!-- end-user-doc --> | ||
1976 | * @generated | ||
1977 | */ | ||
1978 | public AlloyLanguageFactory getAlloyLanguageFactory() | ||
1979 | { | ||
1980 | return (AlloyLanguageFactory)getEFactoryInstance(); | ||
1981 | } | ||
1982 | |||
1983 | /** | ||
1984 | * <!-- begin-user-doc --> | ||
1985 | * <!-- end-user-doc --> | ||
1986 | * @generated | ||
1987 | */ | ||
1988 | private boolean isCreated = false; | ||
1989 | |||
1990 | /** | ||
1991 | * Creates the meta-model objects for the package. This method is | ||
1992 | * guarded to have no affect on any invocation but its first. | ||
1993 | * <!-- begin-user-doc --> | ||
1994 | * <!-- end-user-doc --> | ||
1995 | * @generated | ||
1996 | */ | ||
1997 | public void createPackageContents() | ||
1998 | { | ||
1999 | if (isCreated) return; | ||
2000 | isCreated = true; | ||
2001 | |||
2002 | // Create classes and their features | ||
2003 | alsDocumentEClass = createEClass(ALS_DOCUMENT); | ||
2004 | createEReference(alsDocumentEClass, ALS_DOCUMENT__ENUM_DECLARATIONS); | ||
2005 | createEReference(alsDocumentEClass, ALS_DOCUMENT__SIGNATURE_BODIES); | ||
2006 | createEReference(alsDocumentEClass, ALS_DOCUMENT__FUNCTION_DEFINITIONS); | ||
2007 | createEReference(alsDocumentEClass, ALS_DOCUMENT__RELATION_DEFINITIONS); | ||
2008 | createEReference(alsDocumentEClass, ALS_DOCUMENT__FACT_DECLARATIONS); | ||
2009 | createEReference(alsDocumentEClass, ALS_DOCUMENT__RUN_COMMAND); | ||
2010 | |||
2011 | alsRelationDeclarationEClass = createEClass(ALS_RELATION_DECLARATION); | ||
2012 | createEAttribute(alsRelationDeclarationEClass, ALS_RELATION_DECLARATION__NAME); | ||
2013 | |||
2014 | alsTypeDeclarationEClass = createEClass(ALS_TYPE_DECLARATION); | ||
2015 | |||
2016 | alsEnumDeclarationEClass = createEClass(ALS_ENUM_DECLARATION); | ||
2017 | createEReference(alsEnumDeclarationEClass, ALS_ENUM_DECLARATION__LITERAL); | ||
2018 | |||
2019 | alsEnumLiteralEClass = createEClass(ALS_ENUM_LITERAL); | ||
2020 | |||
2021 | alsSignatureDeclarationEClass = createEClass(ALS_SIGNATURE_DECLARATION); | ||
2022 | |||
2023 | alsSignatureBodyEClass = createEClass(ALS_SIGNATURE_BODY); | ||
2024 | createEAttribute(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__MULTIPLICITY); | ||
2025 | createEAttribute(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__ABSTRACT); | ||
2026 | createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__DECLARATIONS); | ||
2027 | createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__SUPERTYPE); | ||
2028 | createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__SUPERSET); | ||
2029 | createEReference(alsSignatureBodyEClass, ALS_SIGNATURE_BODY__FIELDS); | ||
2030 | |||
2031 | alsFieldDeclarationEClass = createEClass(ALS_FIELD_DECLARATION); | ||
2032 | createEAttribute(alsFieldDeclarationEClass, ALS_FIELD_DECLARATION__MULTIPLICITY); | ||
2033 | createEReference(alsFieldDeclarationEClass, ALS_FIELD_DECLARATION__TYPE); | ||
2034 | |||
2035 | alsDefinitionEClass = createEClass(ALS_DEFINITION); | ||
2036 | createEAttribute(alsDefinitionEClass, ALS_DEFINITION__NAME); | ||
2037 | createEReference(alsDefinitionEClass, ALS_DEFINITION__VARIABLES); | ||
2038 | createEReference(alsDefinitionEClass, ALS_DEFINITION__VALUE); | ||
2039 | |||
2040 | alsFunctionDefinitionEClass = createEClass(ALS_FUNCTION_DEFINITION); | ||
2041 | createEReference(alsFunctionDefinitionEClass, ALS_FUNCTION_DEFINITION__TYPE); | ||
2042 | |||
2043 | alsRelationDefinitionEClass = createEClass(ALS_RELATION_DEFINITION); | ||
2044 | |||
2045 | alsFactDeclarationEClass = createEClass(ALS_FACT_DECLARATION); | ||
2046 | createEAttribute(alsFactDeclarationEClass, ALS_FACT_DECLARATION__NAME); | ||
2047 | createEReference(alsFactDeclarationEClass, ALS_FACT_DECLARATION__TERM); | ||
2048 | |||
2049 | alsTermEClass = createEClass(ALS_TERM); | ||
2050 | |||
2051 | alsVariableDeclarationEClass = createEClass(ALS_VARIABLE_DECLARATION); | ||
2052 | createEReference(alsVariableDeclarationEClass, ALS_VARIABLE_DECLARATION__RANGE); | ||
2053 | |||
2054 | alsRunCommandEClass = createEClass(ALS_RUN_COMMAND); | ||
2055 | createEReference(alsRunCommandEClass, ALS_RUN_COMMAND__TYPE_SCOPES); | ||
2056 | |||
2057 | alsTypeScopeEClass = createEClass(ALS_TYPE_SCOPE); | ||
2058 | createEAttribute(alsTypeScopeEClass, ALS_TYPE_SCOPE__NUMBER); | ||
2059 | |||
2060 | alsSigScopeEClass = createEClass(ALS_SIG_SCOPE); | ||
2061 | createEAttribute(alsSigScopeEClass, ALS_SIG_SCOPE__EXACTLY); | ||
2062 | createEReference(alsSigScopeEClass, ALS_SIG_SCOPE__TYPE); | ||
2063 | |||
2064 | alsIntScopeEClass = createEClass(ALS_INT_SCOPE); | ||
2065 | |||
2066 | alsStringScopeEClass = createEClass(ALS_STRING_SCOPE); | ||
2067 | |||
2068 | alsQuantifiedExEClass = createEClass(ALS_QUANTIFIED_EX); | ||
2069 | createEAttribute(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__TYPE); | ||
2070 | createEAttribute(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__DISJ); | ||
2071 | createEReference(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__VARIABLES); | ||
2072 | createEReference(alsQuantifiedExEClass, ALS_QUANTIFIED_EX__EXPRESSION); | ||
2073 | |||
2074 | alsOrEClass = createEClass(ALS_OR); | ||
2075 | createEReference(alsOrEClass, ALS_OR__LEFT_OPERAND); | ||
2076 | createEReference(alsOrEClass, ALS_OR__RIGHT_OPERAND); | ||
2077 | |||
2078 | alsIffEClass = createEClass(ALS_IFF); | ||
2079 | createEReference(alsIffEClass, ALS_IFF__LEFT_OPERAND); | ||
2080 | createEReference(alsIffEClass, ALS_IFF__RIGHT_OPERAND); | ||
2081 | |||
2082 | alsImplEClass = createEClass(ALS_IMPL); | ||
2083 | createEReference(alsImplEClass, ALS_IMPL__LEFT_OPERAND); | ||
2084 | createEReference(alsImplEClass, ALS_IMPL__RIGHT_OPERAND); | ||
2085 | createEReference(alsImplEClass, ALS_IMPL__ELSE_OPERAND); | ||
2086 | |||
2087 | alsAndEClass = createEClass(ALS_AND); | ||
2088 | createEReference(alsAndEClass, ALS_AND__LEFT_OPERAND); | ||
2089 | createEReference(alsAndEClass, ALS_AND__RIGHT_OPERAND); | ||
2090 | |||
2091 | alsEqualsEClass = createEClass(ALS_EQUALS); | ||
2092 | createEReference(alsEqualsEClass, ALS_EQUALS__LEFT_OPERAND); | ||
2093 | createEReference(alsEqualsEClass, ALS_EQUALS__RIGHT_OPERAND); | ||
2094 | |||
2095 | alsNotEqualsEClass = createEClass(ALS_NOT_EQUALS); | ||
2096 | createEReference(alsNotEqualsEClass, ALS_NOT_EQUALS__LEFT_OPERAND); | ||
2097 | createEReference(alsNotEqualsEClass, ALS_NOT_EQUALS__RIGHT_OPERAND); | ||
2098 | |||
2099 | alsSubsetEClass = createEClass(ALS_SUBSET); | ||
2100 | createEReference(alsSubsetEClass, ALS_SUBSET__LEFT_OPERAND); | ||
2101 | createEReference(alsSubsetEClass, ALS_SUBSET__RIGHT_OPERAND); | ||
2102 | |||
2103 | alsLessEClass = createEClass(ALS_LESS); | ||
2104 | createEReference(alsLessEClass, ALS_LESS__LEFT_OPERAND); | ||
2105 | createEReference(alsLessEClass, ALS_LESS__RIGHT_OPERAND); | ||
2106 | |||
2107 | alsLeqEClass = createEClass(ALS_LEQ); | ||
2108 | createEReference(alsLeqEClass, ALS_LEQ__LEFT_OPERAND); | ||
2109 | createEReference(alsLeqEClass, ALS_LEQ__RIGHT_OPERAND); | ||
2110 | |||
2111 | alsMoreEClass = createEClass(ALS_MORE); | ||
2112 | createEReference(alsMoreEClass, ALS_MORE__LEFT_OPERAND); | ||
2113 | createEReference(alsMoreEClass, ALS_MORE__RIGHT_OPERAND); | ||
2114 | |||
2115 | alsMeqEClass = createEClass(ALS_MEQ); | ||
2116 | createEReference(alsMeqEClass, ALS_MEQ__LEFT_OPERAND); | ||
2117 | createEReference(alsMeqEClass, ALS_MEQ__RIGHT_OPERAND); | ||
2118 | |||
2119 | alsOverrideEClass = createEClass(ALS_OVERRIDE); | ||
2120 | createEReference(alsOverrideEClass, ALS_OVERRIDE__LEFT_OPERAND); | ||
2121 | createEReference(alsOverrideEClass, ALS_OVERRIDE__RIGHT_OPERAND); | ||
2122 | |||
2123 | alsRangeRestrictionRightEClass = createEClass(ALS_RANGE_RESTRICTION_RIGHT); | ||
2124 | createEReference(alsRangeRestrictionRightEClass, ALS_RANGE_RESTRICTION_RIGHT__RELATION); | ||
2125 | createEReference(alsRangeRestrictionRightEClass, ALS_RANGE_RESTRICTION_RIGHT__FILTER); | ||
2126 | |||
2127 | alsRangeRestrictionLeftEClass = createEClass(ALS_RANGE_RESTRICTION_LEFT); | ||
2128 | createEReference(alsRangeRestrictionLeftEClass, ALS_RANGE_RESTRICTION_LEFT__FILTER); | ||
2129 | createEReference(alsRangeRestrictionLeftEClass, ALS_RANGE_RESTRICTION_LEFT__RELATION); | ||
2130 | |||
2131 | alsJoinEClass = createEClass(ALS_JOIN); | ||
2132 | createEReference(alsJoinEClass, ALS_JOIN__LEFT_OPERAND); | ||
2133 | createEReference(alsJoinEClass, ALS_JOIN__RIGHT_OPERAND); | ||
2134 | |||
2135 | alsMinusEClass = createEClass(ALS_MINUS); | ||
2136 | createEReference(alsMinusEClass, ALS_MINUS__LEFT_OPERAND); | ||
2137 | createEReference(alsMinusEClass, ALS_MINUS__RIGHT_OPERAND); | ||
2138 | |||
2139 | alsPlusEClass = createEClass(ALS_PLUS); | ||
2140 | createEReference(alsPlusEClass, ALS_PLUS__LEFT_OPERAND); | ||
2141 | createEReference(alsPlusEClass, ALS_PLUS__RIGHT_OPERAND); | ||
2142 | |||
2143 | alsIntersectionEClass = createEClass(ALS_INTERSECTION); | ||
2144 | createEReference(alsIntersectionEClass, ALS_INTERSECTION__LEFT_OPERAND); | ||
2145 | createEReference(alsIntersectionEClass, ALS_INTERSECTION__RIGHT_OPERAND); | ||
2146 | |||
2147 | alsDirectProductEClass = createEClass(ALS_DIRECT_PRODUCT); | ||
2148 | createEReference(alsDirectProductEClass, ALS_DIRECT_PRODUCT__LEFT_OPERAND); | ||
2149 | createEAttribute(alsDirectProductEClass, ALS_DIRECT_PRODUCT__LEFT_MULTIPLICIT); | ||
2150 | createEAttribute(alsDirectProductEClass, ALS_DIRECT_PRODUCT__RIGHT_MULTIPLICIT); | ||
2151 | createEReference(alsDirectProductEClass, ALS_DIRECT_PRODUCT__RIGHT_OPERAND); | ||
2152 | |||
2153 | alsNotEClass = createEClass(ALS_NOT); | ||
2154 | createEReference(alsNotEClass, ALS_NOT__OPERAND); | ||
2155 | |||
2156 | alsInverseRelationEClass = createEClass(ALS_INVERSE_RELATION); | ||
2157 | createEReference(alsInverseRelationEClass, ALS_INVERSE_RELATION__OPERAND); | ||
2158 | |||
2159 | alSTransitiveClosureEClass = createEClass(AL_STRANSITIVE_CLOSURE); | ||
2160 | createEReference(alSTransitiveClosureEClass, AL_STRANSITIVE_CLOSURE__OPERAND); | ||
2161 | |||
2162 | alsReflectiveTransitiveClosureEClass = createEClass(ALS_REFLECTIVE_TRANSITIVE_CLOSURE); | ||
2163 | createEReference(alsReflectiveTransitiveClosureEClass, ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND); | ||
2164 | |||
2165 | alsCardinalityEClass = createEClass(ALS_CARDINALITY); | ||
2166 | createEReference(alsCardinalityEClass, ALS_CARDINALITY__OPERAND); | ||
2167 | |||
2168 | alsUnaryMinusEClass = createEClass(ALS_UNARY_MINUS); | ||
2169 | createEReference(alsUnaryMinusEClass, ALS_UNARY_MINUS__OPERAND); | ||
2170 | |||
2171 | alsSumEClass = createEClass(ALS_SUM); | ||
2172 | createEReference(alsSumEClass, ALS_SUM__VARIABLES); | ||
2173 | createEReference(alsSumEClass, ALS_SUM__EXPRESSION); | ||
2174 | |||
2175 | alsFunctionCallEClass = createEClass(ALS_FUNCTION_CALL); | ||
2176 | createEReference(alsFunctionCallEClass, ALS_FUNCTION_CALL__REFERRED_DEFINITION); | ||
2177 | createEAttribute(alsFunctionCallEClass, ALS_FUNCTION_CALL__REFERRED_NUMERIC_OPERATOR); | ||
2178 | createEReference(alsFunctionCallEClass, ALS_FUNCTION_CALL__PARAMS); | ||
2179 | |||
2180 | alsNoneEClass = createEClass(ALS_NONE); | ||
2181 | |||
2182 | alsIdenEClass = createEClass(ALS_IDEN); | ||
2183 | |||
2184 | alsUnivEClass = createEClass(ALS_UNIV); | ||
2185 | |||
2186 | alsIntEClass = createEClass(ALS_INT); | ||
2187 | |||
2188 | alsStringEClass = createEClass(ALS_STRING); | ||
2189 | |||
2190 | alsReferenceEClass = createEClass(ALS_REFERENCE); | ||
2191 | createEReference(alsReferenceEClass, ALS_REFERENCE__REFERRED); | ||
2192 | |||
2193 | alsNumberLiteralEClass = createEClass(ALS_NUMBER_LITERAL); | ||
2194 | createEAttribute(alsNumberLiteralEClass, ALS_NUMBER_LITERAL__VALUE); | ||
2195 | |||
2196 | alsStringLiteralEClass = createEClass(ALS_STRING_LITERAL); | ||
2197 | createEAttribute(alsStringLiteralEClass, ALS_STRING_LITERAL__VALUE); | ||
2198 | |||
2199 | // Create enums | ||
2200 | alsMultiplicityEEnum = createEEnum(ALS_MULTIPLICITY); | ||
2201 | alsNumericOperatorEEnum = createEEnum(ALS_NUMERIC_OPERATOR); | ||
2202 | } | ||
2203 | |||
2204 | /** | ||
2205 | * <!-- begin-user-doc --> | ||
2206 | * <!-- end-user-doc --> | ||
2207 | * @generated | ||
2208 | */ | ||
2209 | private boolean isInitialized = false; | ||
2210 | |||
2211 | /** | ||
2212 | * Complete the initialization of the package and its meta-model. This | ||
2213 | * method is guarded to have no affect on any invocation but its first. | ||
2214 | * <!-- begin-user-doc --> | ||
2215 | * <!-- end-user-doc --> | ||
2216 | * @generated | ||
2217 | */ | ||
2218 | public void initializePackageContents() | ||
2219 | { | ||
2220 | if (isInitialized) return; | ||
2221 | isInitialized = true; | ||
2222 | |||
2223 | // Initialize package | ||
2224 | setName(eNAME); | ||
2225 | setNsPrefix(eNS_PREFIX); | ||
2226 | setNsURI(eNS_URI); | ||
2227 | |||
2228 | // Create type parameters | ||
2229 | |||
2230 | // Set bounds for type parameters | ||
2231 | |||
2232 | // Add supertypes to classes | ||
2233 | alsTypeDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration()); | ||
2234 | alsEnumDeclarationEClass.getESuperTypes().add(this.getALSTypeDeclaration()); | ||
2235 | alsEnumLiteralEClass.getESuperTypes().add(this.getALSRelationDeclaration()); | ||
2236 | alsSignatureDeclarationEClass.getESuperTypes().add(this.getALSTypeDeclaration()); | ||
2237 | alsFieldDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration()); | ||
2238 | alsFunctionDefinitionEClass.getESuperTypes().add(this.getALSDefinition()); | ||
2239 | alsRelationDefinitionEClass.getESuperTypes().add(this.getALSDefinition()); | ||
2240 | alsVariableDeclarationEClass.getESuperTypes().add(this.getALSRelationDeclaration()); | ||
2241 | alsSigScopeEClass.getESuperTypes().add(this.getALSTypeScope()); | ||
2242 | alsIntScopeEClass.getESuperTypes().add(this.getALSTypeScope()); | ||
2243 | alsStringScopeEClass.getESuperTypes().add(this.getALSTypeScope()); | ||
2244 | alsQuantifiedExEClass.getESuperTypes().add(this.getALSTerm()); | ||
2245 | alsOrEClass.getESuperTypes().add(this.getALSTerm()); | ||
2246 | alsIffEClass.getESuperTypes().add(this.getALSTerm()); | ||
2247 | alsImplEClass.getESuperTypes().add(this.getALSTerm()); | ||
2248 | alsAndEClass.getESuperTypes().add(this.getALSTerm()); | ||
2249 | alsEqualsEClass.getESuperTypes().add(this.getALSTerm()); | ||
2250 | alsNotEqualsEClass.getESuperTypes().add(this.getALSTerm()); | ||
2251 | alsSubsetEClass.getESuperTypes().add(this.getALSTerm()); | ||
2252 | alsLessEClass.getESuperTypes().add(this.getALSTerm()); | ||
2253 | alsLeqEClass.getESuperTypes().add(this.getALSTerm()); | ||
2254 | alsMoreEClass.getESuperTypes().add(this.getALSTerm()); | ||
2255 | alsMeqEClass.getESuperTypes().add(this.getALSTerm()); | ||
2256 | alsOverrideEClass.getESuperTypes().add(this.getALSTerm()); | ||
2257 | alsRangeRestrictionRightEClass.getESuperTypes().add(this.getALSTerm()); | ||
2258 | alsRangeRestrictionLeftEClass.getESuperTypes().add(this.getALSTerm()); | ||
2259 | alsJoinEClass.getESuperTypes().add(this.getALSTerm()); | ||
2260 | alsMinusEClass.getESuperTypes().add(this.getALSTerm()); | ||
2261 | alsPlusEClass.getESuperTypes().add(this.getALSTerm()); | ||
2262 | alsIntersectionEClass.getESuperTypes().add(this.getALSTerm()); | ||
2263 | alsDirectProductEClass.getESuperTypes().add(this.getALSTerm()); | ||
2264 | alsNotEClass.getESuperTypes().add(this.getALSTerm()); | ||
2265 | alsInverseRelationEClass.getESuperTypes().add(this.getALSTerm()); | ||
2266 | alSTransitiveClosureEClass.getESuperTypes().add(this.getALSTerm()); | ||
2267 | alsReflectiveTransitiveClosureEClass.getESuperTypes().add(this.getALSTerm()); | ||
2268 | alsCardinalityEClass.getESuperTypes().add(this.getALSTerm()); | ||
2269 | alsUnaryMinusEClass.getESuperTypes().add(this.getALSTerm()); | ||
2270 | alsSumEClass.getESuperTypes().add(this.getALSTerm()); | ||
2271 | alsFunctionCallEClass.getESuperTypes().add(this.getALSTerm()); | ||
2272 | alsNoneEClass.getESuperTypes().add(this.getALSTerm()); | ||
2273 | alsIdenEClass.getESuperTypes().add(this.getALSTerm()); | ||
2274 | alsUnivEClass.getESuperTypes().add(this.getALSTerm()); | ||
2275 | alsIntEClass.getESuperTypes().add(this.getALSTerm()); | ||
2276 | alsStringEClass.getESuperTypes().add(this.getALSTerm()); | ||
2277 | alsReferenceEClass.getESuperTypes().add(this.getALSTerm()); | ||
2278 | alsNumberLiteralEClass.getESuperTypes().add(this.getALSTerm()); | ||
2279 | alsStringLiteralEClass.getESuperTypes().add(this.getALSTerm()); | ||
2280 | |||
2281 | // Initialize classes and features; add operations and parameters | ||
2282 | initEClass(alsDocumentEClass, ALSDocument.class, "ALSDocument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2283 | initEReference(getALSDocument_EnumDeclarations(), this.getALSEnumDeclaration(), null, "enumDeclarations", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2284 | initEReference(getALSDocument_SignatureBodies(), this.getALSSignatureBody(), null, "signatureBodies", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2285 | initEReference(getALSDocument_FunctionDefinitions(), this.getALSFunctionDefinition(), null, "functionDefinitions", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2286 | initEReference(getALSDocument_RelationDefinitions(), this.getALSRelationDefinition(), null, "relationDefinitions", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2287 | initEReference(getALSDocument_FactDeclarations(), this.getALSFactDeclaration(), null, "factDeclarations", null, 0, -1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2288 | initEReference(getALSDocument_RunCommand(), this.getALSRunCommand(), null, "runCommand", null, 0, 1, ALSDocument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2289 | |||
2290 | initEClass(alsRelationDeclarationEClass, ALSRelationDeclaration.class, "ALSRelationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2291 | initEAttribute(getALSRelationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, ALSRelationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2292 | |||
2293 | initEClass(alsTypeDeclarationEClass, ALSTypeDeclaration.class, "ALSTypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2294 | |||
2295 | initEClass(alsEnumDeclarationEClass, ALSEnumDeclaration.class, "ALSEnumDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2296 | initEReference(getALSEnumDeclaration_Literal(), this.getALSEnumLiteral(), null, "literal", null, 0, -1, ALSEnumDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2297 | |||
2298 | initEClass(alsEnumLiteralEClass, ALSEnumLiteral.class, "ALSEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2299 | |||
2300 | initEClass(alsSignatureDeclarationEClass, ALSSignatureDeclaration.class, "ALSSignatureDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2301 | |||
2302 | initEClass(alsSignatureBodyEClass, ALSSignatureBody.class, "ALSSignatureBody", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2303 | initEAttribute(getALSSignatureBody_Multiplicity(), this.getALSMultiplicity(), "multiplicity", null, 0, 1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2304 | initEAttribute(getALSSignatureBody_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2305 | initEReference(getALSSignatureBody_Declarations(), this.getALSSignatureDeclaration(), null, "declarations", null, 0, -1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2306 | initEReference(getALSSignatureBody_Supertype(), this.getALSSignatureDeclaration(), null, "supertype", null, 0, 1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2307 | initEReference(getALSSignatureBody_Superset(), this.getALSSignatureDeclaration(), null, "superset", null, 0, -1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2308 | initEReference(getALSSignatureBody_Fields(), this.getALSFieldDeclaration(), null, "fields", null, 0, -1, ALSSignatureBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2309 | |||
2310 | initEClass(alsFieldDeclarationEClass, ALSFieldDeclaration.class, "ALSFieldDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2311 | initEAttribute(getALSFieldDeclaration_Multiplicity(), this.getALSMultiplicity(), "multiplicity", null, 0, 1, ALSFieldDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2312 | initEReference(getALSFieldDeclaration_Type(), this.getALSTerm(), null, "type", null, 0, 1, ALSFieldDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2313 | |||
2314 | initEClass(alsDefinitionEClass, ALSDefinition.class, "ALSDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2315 | initEAttribute(getALSDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ALSDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2316 | initEReference(getALSDefinition_Variables(), this.getALSVariableDeclaration(), null, "variables", null, 0, -1, ALSDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2317 | initEReference(getALSDefinition_Value(), this.getALSTerm(), null, "value", null, 0, 1, ALSDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2318 | |||
2319 | initEClass(alsFunctionDefinitionEClass, ALSFunctionDefinition.class, "ALSFunctionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2320 | initEReference(getALSFunctionDefinition_Type(), this.getALSTerm(), null, "type", null, 0, 1, ALSFunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2321 | |||
2322 | initEClass(alsRelationDefinitionEClass, ALSRelationDefinition.class, "ALSRelationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2323 | |||
2324 | initEClass(alsFactDeclarationEClass, ALSFactDeclaration.class, "ALSFactDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2325 | initEAttribute(getALSFactDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, ALSFactDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2326 | initEReference(getALSFactDeclaration_Term(), this.getALSTerm(), null, "term", null, 0, 1, ALSFactDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2327 | |||
2328 | initEClass(alsTermEClass, ALSTerm.class, "ALSTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2329 | |||
2330 | initEClass(alsVariableDeclarationEClass, ALSVariableDeclaration.class, "ALSVariableDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2331 | initEReference(getALSVariableDeclaration_Range(), this.getALSTerm(), null, "range", null, 0, 1, ALSVariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2332 | |||
2333 | initEClass(alsRunCommandEClass, ALSRunCommand.class, "ALSRunCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2334 | initEReference(getALSRunCommand_TypeScopes(), this.getALSTypeScope(), null, "typeScopes", null, 0, -1, ALSRunCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2335 | |||
2336 | initEClass(alsTypeScopeEClass, ALSTypeScope.class, "ALSTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2337 | initEAttribute(getALSTypeScope_Number(), ecorePackage.getEInt(), "number", null, 0, 1, ALSTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2338 | |||
2339 | initEClass(alsSigScopeEClass, ALSSigScope.class, "ALSSigScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2340 | initEAttribute(getALSSigScope_Exactly(), ecorePackage.getEBoolean(), "exactly", null, 0, 1, ALSSigScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2341 | initEReference(getALSSigScope_Type(), this.getALSSignatureDeclaration(), null, "type", null, 0, 1, ALSSigScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2342 | |||
2343 | initEClass(alsIntScopeEClass, ALSIntScope.class, "ALSIntScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2344 | |||
2345 | initEClass(alsStringScopeEClass, ALSStringScope.class, "ALSStringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2346 | |||
2347 | initEClass(alsQuantifiedExEClass, ALSQuantifiedEx.class, "ALSQuantifiedEx", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2348 | initEAttribute(getALSQuantifiedEx_Type(), this.getALSMultiplicity(), "type", null, 0, 1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2349 | initEAttribute(getALSQuantifiedEx_Disj(), ecorePackage.getEBoolean(), "disj", null, 0, 1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2350 | initEReference(getALSQuantifiedEx_Variables(), this.getALSVariableDeclaration(), null, "variables", null, 0, -1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2351 | initEReference(getALSQuantifiedEx_Expression(), this.getALSTerm(), null, "expression", null, 0, 1, ALSQuantifiedEx.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2352 | |||
2353 | initEClass(alsOrEClass, ALSOr.class, "ALSOr", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2354 | initEReference(getALSOr_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2355 | initEReference(getALSOr_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2356 | |||
2357 | initEClass(alsIffEClass, ALSIff.class, "ALSIff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2358 | initEReference(getALSIff_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSIff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2359 | initEReference(getALSIff_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSIff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2360 | |||
2361 | initEClass(alsImplEClass, ALSImpl.class, "ALSImpl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2362 | initEReference(getALSImpl_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2363 | initEReference(getALSImpl_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2364 | initEReference(getALSImpl_ElseOperand(), this.getALSTerm(), null, "elseOperand", null, 0, 1, ALSImpl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2365 | |||
2366 | initEClass(alsAndEClass, ALSAnd.class, "ALSAnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2367 | initEReference(getALSAnd_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSAnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2368 | initEReference(getALSAnd_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSAnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2369 | |||
2370 | initEClass(alsEqualsEClass, ALSEquals.class, "ALSEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2371 | initEReference(getALSEquals_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2372 | initEReference(getALSEquals_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2373 | |||
2374 | initEClass(alsNotEqualsEClass, ALSNotEquals.class, "ALSNotEquals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2375 | initEReference(getALSNotEquals_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSNotEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2376 | initEReference(getALSNotEquals_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSNotEquals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2377 | |||
2378 | initEClass(alsSubsetEClass, ALSSubset.class, "ALSSubset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2379 | initEReference(getALSSubset_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSSubset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2380 | initEReference(getALSSubset_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSSubset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2381 | |||
2382 | initEClass(alsLessEClass, ALSLess.class, "ALSLess", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2383 | initEReference(getALSLess_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSLess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2384 | initEReference(getALSLess_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSLess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2385 | |||
2386 | initEClass(alsLeqEClass, ALSLeq.class, "ALSLeq", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2387 | initEReference(getALSLeq_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSLeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2388 | initEReference(getALSLeq_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSLeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2389 | |||
2390 | initEClass(alsMoreEClass, ALSMore.class, "ALSMore", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2391 | initEReference(getALSMore_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSMore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2392 | initEReference(getALSMore_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSMore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2393 | |||
2394 | initEClass(alsMeqEClass, ALSMeq.class, "ALSMeq", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2395 | initEReference(getALSMeq_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSMeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2396 | initEReference(getALSMeq_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSMeq.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2397 | |||
2398 | initEClass(alsOverrideEClass, ALSOverride.class, "ALSOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2399 | initEReference(getALSOverride_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2400 | initEReference(getALSOverride_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2401 | |||
2402 | initEClass(alsRangeRestrictionRightEClass, ALSRangeRestrictionRight.class, "ALSRangeRestrictionRight", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2403 | initEReference(getALSRangeRestrictionRight_Relation(), this.getALSTerm(), null, "relation", null, 0, 1, ALSRangeRestrictionRight.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2404 | initEReference(getALSRangeRestrictionRight_Filter(), this.getALSTerm(), null, "filter", null, 0, 1, ALSRangeRestrictionRight.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2405 | |||
2406 | initEClass(alsRangeRestrictionLeftEClass, ALSRangeRestrictionLeft.class, "ALSRangeRestrictionLeft", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2407 | initEReference(getALSRangeRestrictionLeft_Filter(), this.getALSTerm(), null, "filter", null, 0, 1, ALSRangeRestrictionLeft.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2408 | initEReference(getALSRangeRestrictionLeft_Relation(), this.getALSTerm(), null, "relation", null, 0, 1, ALSRangeRestrictionLeft.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2409 | |||
2410 | initEClass(alsJoinEClass, ALSJoin.class, "ALSJoin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2411 | initEReference(getALSJoin_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSJoin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2412 | initEReference(getALSJoin_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSJoin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2413 | |||
2414 | initEClass(alsMinusEClass, ALSMinus.class, "ALSMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2415 | initEReference(getALSMinus_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSMinus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2416 | initEReference(getALSMinus_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSMinus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2417 | |||
2418 | initEClass(alsPlusEClass, ALSPlus.class, "ALSPlus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2419 | initEReference(getALSPlus_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSPlus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2420 | initEReference(getALSPlus_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSPlus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2421 | |||
2422 | initEClass(alsIntersectionEClass, ALSIntersection.class, "ALSIntersection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2423 | initEReference(getALSIntersection_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSIntersection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2424 | initEReference(getALSIntersection_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSIntersection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2425 | |||
2426 | initEClass(alsDirectProductEClass, ALSDirectProduct.class, "ALSDirectProduct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2427 | initEReference(getALSDirectProduct_LeftOperand(), this.getALSTerm(), null, "leftOperand", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2428 | initEAttribute(getALSDirectProduct_LeftMultiplicit(), this.getALSMultiplicity(), "leftMultiplicit", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2429 | initEAttribute(getALSDirectProduct_RightMultiplicit(), this.getALSMultiplicity(), "rightMultiplicit", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2430 | initEReference(getALSDirectProduct_RightOperand(), this.getALSTerm(), null, "rightOperand", null, 0, 1, ALSDirectProduct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2431 | |||
2432 | initEClass(alsNotEClass, ALSNot.class, "ALSNot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2433 | initEReference(getALSNot_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSNot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2434 | |||
2435 | initEClass(alsInverseRelationEClass, ALSInverseRelation.class, "ALSInverseRelation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2436 | initEReference(getALSInverseRelation_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSInverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2437 | |||
2438 | initEClass(alSTransitiveClosureEClass, AlSTransitiveClosure.class, "AlSTransitiveClosure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2439 | initEReference(getAlSTransitiveClosure_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, AlSTransitiveClosure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2440 | |||
2441 | initEClass(alsReflectiveTransitiveClosureEClass, ALSReflectiveTransitiveClosure.class, "ALSReflectiveTransitiveClosure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2442 | initEReference(getALSReflectiveTransitiveClosure_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSReflectiveTransitiveClosure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2443 | |||
2444 | initEClass(alsCardinalityEClass, ALSCardinality.class, "ALSCardinality", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2445 | initEReference(getALSCardinality_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSCardinality.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2446 | |||
2447 | initEClass(alsUnaryMinusEClass, ALSUnaryMinus.class, "ALSUnaryMinus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2448 | initEReference(getALSUnaryMinus_Operand(), this.getALSTerm(), null, "operand", null, 0, 1, ALSUnaryMinus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2449 | |||
2450 | initEClass(alsSumEClass, ALSSum.class, "ALSSum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2451 | initEReference(getALSSum_Variables(), this.getALSVariableDeclaration(), null, "variables", null, 0, -1, ALSSum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2452 | initEReference(getALSSum_Expression(), this.getALSTerm(), null, "expression", null, 0, 1, ALSSum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2453 | |||
2454 | initEClass(alsFunctionCallEClass, ALSFunctionCall.class, "ALSFunctionCall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2455 | initEReference(getALSFunctionCall_ReferredDefinition(), this.getALSDefinition(), null, "referredDefinition", null, 0, 1, ALSFunctionCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2456 | initEAttribute(getALSFunctionCall_ReferredNumericOperator(), this.getALSNumericOperator(), "referredNumericOperator", null, 0, 1, ALSFunctionCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2457 | initEReference(getALSFunctionCall_Params(), this.getALSTerm(), null, "params", null, 0, -1, ALSFunctionCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2458 | |||
2459 | initEClass(alsNoneEClass, ALSNone.class, "ALSNone", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2460 | |||
2461 | initEClass(alsIdenEClass, ALSIden.class, "ALSIden", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2462 | |||
2463 | initEClass(alsUnivEClass, ALSUniv.class, "ALSUniv", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2464 | |||
2465 | initEClass(alsIntEClass, ALSInt.class, "ALSInt", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2466 | |||
2467 | initEClass(alsStringEClass, ALSString.class, "ALSString", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2468 | |||
2469 | initEClass(alsReferenceEClass, ALSReference.class, "ALSReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2470 | initEReference(getALSReference_Referred(), this.getALSRelationDeclaration(), null, "referred", null, 0, 1, ALSReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2471 | |||
2472 | initEClass(alsNumberLiteralEClass, ALSNumberLiteral.class, "ALSNumberLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2473 | initEAttribute(getALSNumberLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, ALSNumberLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2474 | |||
2475 | initEClass(alsStringLiteralEClass, ALSStringLiteral.class, "ALSStringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2476 | initEAttribute(getALSStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, ALSStringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2477 | |||
2478 | // Initialize enums and add enum literals | ||
2479 | initEEnum(alsMultiplicityEEnum, ALSMultiplicity.class, "ALSMultiplicity"); | ||
2480 | addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.ALL); | ||
2481 | addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.NO); | ||
2482 | addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.SOME); | ||
2483 | addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.LONE); | ||
2484 | addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.ONE); | ||
2485 | addEEnumLiteral(alsMultiplicityEEnum, ALSMultiplicity.SET); | ||
2486 | |||
2487 | initEEnum(alsNumericOperatorEEnum, ALSNumericOperator.class, "ALSNumericOperator"); | ||
2488 | addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.PLUS); | ||
2489 | addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.SUB); | ||
2490 | addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.MUL); | ||
2491 | addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.REM); | ||
2492 | addEEnumLiteral(alsNumericOperatorEEnum, ALSNumericOperator.DIV); | ||
2493 | |||
2494 | // Create resource | ||
2495 | createResource(eNS_URI); | ||
2496 | } | ||
2497 | |||
2498 | } //AlloyLanguagePackageImpl | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java new file mode 100644 index 00000000..e20bebf6 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageAdapterFactory.java | |||
@@ -0,0 +1,1212 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class AlloyLanguageAdapterFactory extends AdapterFactoryImpl | ||
23 | { | ||
24 | /** | ||
25 | * The cached model package. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | protected static AlloyLanguagePackage modelPackage; | ||
31 | |||
32 | /** | ||
33 | * Creates an instance of the adapter factory. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | public AlloyLanguageAdapterFactory() | ||
39 | { | ||
40 | if (modelPackage == null) | ||
41 | { | ||
42 | modelPackage = AlloyLanguagePackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Returns whether this factory is applicable for the type of the object. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return whether this factory is applicable for the type of the object. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | public boolean isFactoryForType(Object object) | ||
56 | { | ||
57 | if (object == modelPackage) | ||
58 | { | ||
59 | return true; | ||
60 | } | ||
61 | if (object instanceof EObject) | ||
62 | { | ||
63 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
64 | } | ||
65 | return false; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * The switch that delegates to the <code>createXXX</code> methods. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | protected AlloyLanguageSwitch<Adapter> modelSwitch = | ||
75 | new AlloyLanguageSwitch<Adapter>() | ||
76 | { | ||
77 | @Override | ||
78 | public Adapter caseALSDocument(ALSDocument object) | ||
79 | { | ||
80 | return createALSDocumentAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseALSRelationDeclaration(ALSRelationDeclaration object) | ||
84 | { | ||
85 | return createALSRelationDeclarationAdapter(); | ||
86 | } | ||
87 | @Override | ||
88 | public Adapter caseALSTypeDeclaration(ALSTypeDeclaration object) | ||
89 | { | ||
90 | return createALSTypeDeclarationAdapter(); | ||
91 | } | ||
92 | @Override | ||
93 | public Adapter caseALSEnumDeclaration(ALSEnumDeclaration object) | ||
94 | { | ||
95 | return createALSEnumDeclarationAdapter(); | ||
96 | } | ||
97 | @Override | ||
98 | public Adapter caseALSEnumLiteral(ALSEnumLiteral object) | ||
99 | { | ||
100 | return createALSEnumLiteralAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseALSSignatureDeclaration(ALSSignatureDeclaration object) | ||
104 | { | ||
105 | return createALSSignatureDeclarationAdapter(); | ||
106 | } | ||
107 | @Override | ||
108 | public Adapter caseALSSignatureBody(ALSSignatureBody object) | ||
109 | { | ||
110 | return createALSSignatureBodyAdapter(); | ||
111 | } | ||
112 | @Override | ||
113 | public Adapter caseALSFieldDeclaration(ALSFieldDeclaration object) | ||
114 | { | ||
115 | return createALSFieldDeclarationAdapter(); | ||
116 | } | ||
117 | @Override | ||
118 | public Adapter caseALSDefinition(ALSDefinition object) | ||
119 | { | ||
120 | return createALSDefinitionAdapter(); | ||
121 | } | ||
122 | @Override | ||
123 | public Adapter caseALSFunctionDefinition(ALSFunctionDefinition object) | ||
124 | { | ||
125 | return createALSFunctionDefinitionAdapter(); | ||
126 | } | ||
127 | @Override | ||
128 | public Adapter caseALSRelationDefinition(ALSRelationDefinition object) | ||
129 | { | ||
130 | return createALSRelationDefinitionAdapter(); | ||
131 | } | ||
132 | @Override | ||
133 | public Adapter caseALSFactDeclaration(ALSFactDeclaration object) | ||
134 | { | ||
135 | return createALSFactDeclarationAdapter(); | ||
136 | } | ||
137 | @Override | ||
138 | public Adapter caseALSTerm(ALSTerm object) | ||
139 | { | ||
140 | return createALSTermAdapter(); | ||
141 | } | ||
142 | @Override | ||
143 | public Adapter caseALSVariableDeclaration(ALSVariableDeclaration object) | ||
144 | { | ||
145 | return createALSVariableDeclarationAdapter(); | ||
146 | } | ||
147 | @Override | ||
148 | public Adapter caseALSRunCommand(ALSRunCommand object) | ||
149 | { | ||
150 | return createALSRunCommandAdapter(); | ||
151 | } | ||
152 | @Override | ||
153 | public Adapter caseALSTypeScope(ALSTypeScope object) | ||
154 | { | ||
155 | return createALSTypeScopeAdapter(); | ||
156 | } | ||
157 | @Override | ||
158 | public Adapter caseALSSigScope(ALSSigScope object) | ||
159 | { | ||
160 | return createALSSigScopeAdapter(); | ||
161 | } | ||
162 | @Override | ||
163 | public Adapter caseALSIntScope(ALSIntScope object) | ||
164 | { | ||
165 | return createALSIntScopeAdapter(); | ||
166 | } | ||
167 | @Override | ||
168 | public Adapter caseALSStringScope(ALSStringScope object) | ||
169 | { | ||
170 | return createALSStringScopeAdapter(); | ||
171 | } | ||
172 | @Override | ||
173 | public Adapter caseALSQuantifiedEx(ALSQuantifiedEx object) | ||
174 | { | ||
175 | return createALSQuantifiedExAdapter(); | ||
176 | } | ||
177 | @Override | ||
178 | public Adapter caseALSOr(ALSOr object) | ||
179 | { | ||
180 | return createALSOrAdapter(); | ||
181 | } | ||
182 | @Override | ||
183 | public Adapter caseALSIff(ALSIff object) | ||
184 | { | ||
185 | return createALSIffAdapter(); | ||
186 | } | ||
187 | @Override | ||
188 | public Adapter caseALSImpl(ALSImpl object) | ||
189 | { | ||
190 | return createALSImplAdapter(); | ||
191 | } | ||
192 | @Override | ||
193 | public Adapter caseALSAnd(ALSAnd object) | ||
194 | { | ||
195 | return createALSAndAdapter(); | ||
196 | } | ||
197 | @Override | ||
198 | public Adapter caseALSEquals(ALSEquals object) | ||
199 | { | ||
200 | return createALSEqualsAdapter(); | ||
201 | } | ||
202 | @Override | ||
203 | public Adapter caseALSNotEquals(ALSNotEquals object) | ||
204 | { | ||
205 | return createALSNotEqualsAdapter(); | ||
206 | } | ||
207 | @Override | ||
208 | public Adapter caseALSSubset(ALSSubset object) | ||
209 | { | ||
210 | return createALSSubsetAdapter(); | ||
211 | } | ||
212 | @Override | ||
213 | public Adapter caseALSLess(ALSLess object) | ||
214 | { | ||
215 | return createALSLessAdapter(); | ||
216 | } | ||
217 | @Override | ||
218 | public Adapter caseALSLeq(ALSLeq object) | ||
219 | { | ||
220 | return createALSLeqAdapter(); | ||
221 | } | ||
222 | @Override | ||
223 | public Adapter caseALSMore(ALSMore object) | ||
224 | { | ||
225 | return createALSMoreAdapter(); | ||
226 | } | ||
227 | @Override | ||
228 | public Adapter caseALSMeq(ALSMeq object) | ||
229 | { | ||
230 | return createALSMeqAdapter(); | ||
231 | } | ||
232 | @Override | ||
233 | public Adapter caseALSOverride(ALSOverride object) | ||
234 | { | ||
235 | return createALSOverrideAdapter(); | ||
236 | } | ||
237 | @Override | ||
238 | public Adapter caseALSRangeRestrictionRight(ALSRangeRestrictionRight object) | ||
239 | { | ||
240 | return createALSRangeRestrictionRightAdapter(); | ||
241 | } | ||
242 | @Override | ||
243 | public Adapter caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object) | ||
244 | { | ||
245 | return createALSRangeRestrictionLeftAdapter(); | ||
246 | } | ||
247 | @Override | ||
248 | public Adapter caseALSJoin(ALSJoin object) | ||
249 | { | ||
250 | return createALSJoinAdapter(); | ||
251 | } | ||
252 | @Override | ||
253 | public Adapter caseALSMinus(ALSMinus object) | ||
254 | { | ||
255 | return createALSMinusAdapter(); | ||
256 | } | ||
257 | @Override | ||
258 | public Adapter caseALSPlus(ALSPlus object) | ||
259 | { | ||
260 | return createALSPlusAdapter(); | ||
261 | } | ||
262 | @Override | ||
263 | public Adapter caseALSIntersection(ALSIntersection object) | ||
264 | { | ||
265 | return createALSIntersectionAdapter(); | ||
266 | } | ||
267 | @Override | ||
268 | public Adapter caseALSDirectProduct(ALSDirectProduct object) | ||
269 | { | ||
270 | return createALSDirectProductAdapter(); | ||
271 | } | ||
272 | @Override | ||
273 | public Adapter caseALSNot(ALSNot object) | ||
274 | { | ||
275 | return createALSNotAdapter(); | ||
276 | } | ||
277 | @Override | ||
278 | public Adapter caseALSInverseRelation(ALSInverseRelation object) | ||
279 | { | ||
280 | return createALSInverseRelationAdapter(); | ||
281 | } | ||
282 | @Override | ||
283 | public Adapter caseAlSTransitiveClosure(AlSTransitiveClosure object) | ||
284 | { | ||
285 | return createAlSTransitiveClosureAdapter(); | ||
286 | } | ||
287 | @Override | ||
288 | public Adapter caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object) | ||
289 | { | ||
290 | return createALSReflectiveTransitiveClosureAdapter(); | ||
291 | } | ||
292 | @Override | ||
293 | public Adapter caseALSCardinality(ALSCardinality object) | ||
294 | { | ||
295 | return createALSCardinalityAdapter(); | ||
296 | } | ||
297 | @Override | ||
298 | public Adapter caseALSUnaryMinus(ALSUnaryMinus object) | ||
299 | { | ||
300 | return createALSUnaryMinusAdapter(); | ||
301 | } | ||
302 | @Override | ||
303 | public Adapter caseALSSum(ALSSum object) | ||
304 | { | ||
305 | return createALSSumAdapter(); | ||
306 | } | ||
307 | @Override | ||
308 | public Adapter caseALSFunctionCall(ALSFunctionCall object) | ||
309 | { | ||
310 | return createALSFunctionCallAdapter(); | ||
311 | } | ||
312 | @Override | ||
313 | public Adapter caseALSNone(ALSNone object) | ||
314 | { | ||
315 | return createALSNoneAdapter(); | ||
316 | } | ||
317 | @Override | ||
318 | public Adapter caseALSIden(ALSIden object) | ||
319 | { | ||
320 | return createALSIdenAdapter(); | ||
321 | } | ||
322 | @Override | ||
323 | public Adapter caseALSUniv(ALSUniv object) | ||
324 | { | ||
325 | return createALSUnivAdapter(); | ||
326 | } | ||
327 | @Override | ||
328 | public Adapter caseALSInt(ALSInt object) | ||
329 | { | ||
330 | return createALSIntAdapter(); | ||
331 | } | ||
332 | @Override | ||
333 | public Adapter caseALSString(ALSString object) | ||
334 | { | ||
335 | return createALSStringAdapter(); | ||
336 | } | ||
337 | @Override | ||
338 | public Adapter caseALSReference(ALSReference object) | ||
339 | { | ||
340 | return createALSReferenceAdapter(); | ||
341 | } | ||
342 | @Override | ||
343 | public Adapter caseALSNumberLiteral(ALSNumberLiteral object) | ||
344 | { | ||
345 | return createALSNumberLiteralAdapter(); | ||
346 | } | ||
347 | @Override | ||
348 | public Adapter caseALSStringLiteral(ALSStringLiteral object) | ||
349 | { | ||
350 | return createALSStringLiteralAdapter(); | ||
351 | } | ||
352 | @Override | ||
353 | public Adapter defaultCase(EObject object) | ||
354 | { | ||
355 | return createEObjectAdapter(); | ||
356 | } | ||
357 | }; | ||
358 | |||
359 | /** | ||
360 | * Creates an adapter for the <code>target</code>. | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @param target the object to adapt. | ||
364 | * @return the adapter for the <code>target</code>. | ||
365 | * @generated | ||
366 | */ | ||
367 | @Override | ||
368 | public Adapter createAdapter(Notifier target) | ||
369 | { | ||
370 | return modelSwitch.doSwitch((EObject)target); | ||
371 | } | ||
372 | |||
373 | |||
374 | /** | ||
375 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument <em>ALS Document</em>}'. | ||
376 | * <!-- begin-user-doc --> | ||
377 | * This default implementation returns null so that we can easily ignore cases; | ||
378 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
379 | * <!-- end-user-doc --> | ||
380 | * @return the new adapter. | ||
381 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument | ||
382 | * @generated | ||
383 | */ | ||
384 | public Adapter createALSDocumentAdapter() | ||
385 | { | ||
386 | return null; | ||
387 | } | ||
388 | |||
389 | /** | ||
390 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration <em>ALS Relation Declaration</em>}'. | ||
391 | * <!-- begin-user-doc --> | ||
392 | * This default implementation returns null so that we can easily ignore cases; | ||
393 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
394 | * <!-- end-user-doc --> | ||
395 | * @return the new adapter. | ||
396 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDeclaration | ||
397 | * @generated | ||
398 | */ | ||
399 | public Adapter createALSRelationDeclarationAdapter() | ||
400 | { | ||
401 | return null; | ||
402 | } | ||
403 | |||
404 | /** | ||
405 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration <em>ALS Type Declaration</em>}'. | ||
406 | * <!-- begin-user-doc --> | ||
407 | * This default implementation returns null so that we can easily ignore cases; | ||
408 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
409 | * <!-- end-user-doc --> | ||
410 | * @return the new adapter. | ||
411 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeDeclaration | ||
412 | * @generated | ||
413 | */ | ||
414 | public Adapter createALSTypeDeclarationAdapter() | ||
415 | { | ||
416 | return null; | ||
417 | } | ||
418 | |||
419 | /** | ||
420 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration <em>ALS Enum Declaration</em>}'. | ||
421 | * <!-- begin-user-doc --> | ||
422 | * This default implementation returns null so that we can easily ignore cases; | ||
423 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
424 | * <!-- end-user-doc --> | ||
425 | * @return the new adapter. | ||
426 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration | ||
427 | * @generated | ||
428 | */ | ||
429 | public Adapter createALSEnumDeclarationAdapter() | ||
430 | { | ||
431 | return null; | ||
432 | } | ||
433 | |||
434 | /** | ||
435 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral <em>ALS Enum Literal</em>}'. | ||
436 | * <!-- begin-user-doc --> | ||
437 | * This default implementation returns null so that we can easily ignore cases; | ||
438 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
439 | * <!-- end-user-doc --> | ||
440 | * @return the new adapter. | ||
441 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral | ||
442 | * @generated | ||
443 | */ | ||
444 | public Adapter createALSEnumLiteralAdapter() | ||
445 | { | ||
446 | return null; | ||
447 | } | ||
448 | |||
449 | /** | ||
450 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration <em>ALS Signature Declaration</em>}'. | ||
451 | * <!-- begin-user-doc --> | ||
452 | * This default implementation returns null so that we can easily ignore cases; | ||
453 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
454 | * <!-- end-user-doc --> | ||
455 | * @return the new adapter. | ||
456 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration | ||
457 | * @generated | ||
458 | */ | ||
459 | public Adapter createALSSignatureDeclarationAdapter() | ||
460 | { | ||
461 | return null; | ||
462 | } | ||
463 | |||
464 | /** | ||
465 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody <em>ALS Signature Body</em>}'. | ||
466 | * <!-- begin-user-doc --> | ||
467 | * This default implementation returns null so that we can easily ignore cases; | ||
468 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
469 | * <!-- end-user-doc --> | ||
470 | * @return the new adapter. | ||
471 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody | ||
472 | * @generated | ||
473 | */ | ||
474 | public Adapter createALSSignatureBodyAdapter() | ||
475 | { | ||
476 | return null; | ||
477 | } | ||
478 | |||
479 | /** | ||
480 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration <em>ALS Field Declaration</em>}'. | ||
481 | * <!-- begin-user-doc --> | ||
482 | * This default implementation returns null so that we can easily ignore cases; | ||
483 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
484 | * <!-- end-user-doc --> | ||
485 | * @return the new adapter. | ||
486 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration | ||
487 | * @generated | ||
488 | */ | ||
489 | public Adapter createALSFieldDeclarationAdapter() | ||
490 | { | ||
491 | return null; | ||
492 | } | ||
493 | |||
494 | /** | ||
495 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition <em>ALS Definition</em>}'. | ||
496 | * <!-- begin-user-doc --> | ||
497 | * This default implementation returns null so that we can easily ignore cases; | ||
498 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
499 | * <!-- end-user-doc --> | ||
500 | * @return the new adapter. | ||
501 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDefinition | ||
502 | * @generated | ||
503 | */ | ||
504 | public Adapter createALSDefinitionAdapter() | ||
505 | { | ||
506 | return null; | ||
507 | } | ||
508 | |||
509 | /** | ||
510 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition <em>ALS Function Definition</em>}'. | ||
511 | * <!-- begin-user-doc --> | ||
512 | * This default implementation returns null so that we can easily ignore cases; | ||
513 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
514 | * <!-- end-user-doc --> | ||
515 | * @return the new adapter. | ||
516 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition | ||
517 | * @generated | ||
518 | */ | ||
519 | public Adapter createALSFunctionDefinitionAdapter() | ||
520 | { | ||
521 | return null; | ||
522 | } | ||
523 | |||
524 | /** | ||
525 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition <em>ALS Relation Definition</em>}'. | ||
526 | * <!-- begin-user-doc --> | ||
527 | * This default implementation returns null so that we can easily ignore cases; | ||
528 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
529 | * <!-- end-user-doc --> | ||
530 | * @return the new adapter. | ||
531 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition | ||
532 | * @generated | ||
533 | */ | ||
534 | public Adapter createALSRelationDefinitionAdapter() | ||
535 | { | ||
536 | return null; | ||
537 | } | ||
538 | |||
539 | /** | ||
540 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration <em>ALS Fact Declaration</em>}'. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * This default implementation returns null so that we can easily ignore cases; | ||
543 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
544 | * <!-- end-user-doc --> | ||
545 | * @return the new adapter. | ||
546 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration | ||
547 | * @generated | ||
548 | */ | ||
549 | public Adapter createALSFactDeclarationAdapter() | ||
550 | { | ||
551 | return null; | ||
552 | } | ||
553 | |||
554 | /** | ||
555 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm <em>ALS Term</em>}'. | ||
556 | * <!-- begin-user-doc --> | ||
557 | * This default implementation returns null so that we can easily ignore cases; | ||
558 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
559 | * <!-- end-user-doc --> | ||
560 | * @return the new adapter. | ||
561 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTerm | ||
562 | * @generated | ||
563 | */ | ||
564 | public Adapter createALSTermAdapter() | ||
565 | { | ||
566 | return null; | ||
567 | } | ||
568 | |||
569 | /** | ||
570 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration <em>ALS Variable Declaration</em>}'. | ||
571 | * <!-- begin-user-doc --> | ||
572 | * This default implementation returns null so that we can easily ignore cases; | ||
573 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
574 | * <!-- end-user-doc --> | ||
575 | * @return the new adapter. | ||
576 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration | ||
577 | * @generated | ||
578 | */ | ||
579 | public Adapter createALSVariableDeclarationAdapter() | ||
580 | { | ||
581 | return null; | ||
582 | } | ||
583 | |||
584 | /** | ||
585 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand <em>ALS Run Command</em>}'. | ||
586 | * <!-- begin-user-doc --> | ||
587 | * This default implementation returns null so that we can easily ignore cases; | ||
588 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
589 | * <!-- end-user-doc --> | ||
590 | * @return the new adapter. | ||
591 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand | ||
592 | * @generated | ||
593 | */ | ||
594 | public Adapter createALSRunCommandAdapter() | ||
595 | { | ||
596 | return null; | ||
597 | } | ||
598 | |||
599 | /** | ||
600 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope <em>ALS Type Scope</em>}'. | ||
601 | * <!-- begin-user-doc --> | ||
602 | * This default implementation returns null so that we can easily ignore cases; | ||
603 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
604 | * <!-- end-user-doc --> | ||
605 | * @return the new adapter. | ||
606 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSTypeScope | ||
607 | * @generated | ||
608 | */ | ||
609 | public Adapter createALSTypeScopeAdapter() | ||
610 | { | ||
611 | return null; | ||
612 | } | ||
613 | |||
614 | /** | ||
615 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope <em>ALS Sig Scope</em>}'. | ||
616 | * <!-- begin-user-doc --> | ||
617 | * This default implementation returns null so that we can easily ignore cases; | ||
618 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
619 | * <!-- end-user-doc --> | ||
620 | * @return the new adapter. | ||
621 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope | ||
622 | * @generated | ||
623 | */ | ||
624 | public Adapter createALSSigScopeAdapter() | ||
625 | { | ||
626 | return null; | ||
627 | } | ||
628 | |||
629 | /** | ||
630 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope <em>ALS Int Scope</em>}'. | ||
631 | * <!-- begin-user-doc --> | ||
632 | * This default implementation returns null so that we can easily ignore cases; | ||
633 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
634 | * <!-- end-user-doc --> | ||
635 | * @return the new adapter. | ||
636 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope | ||
637 | * @generated | ||
638 | */ | ||
639 | public Adapter createALSIntScopeAdapter() | ||
640 | { | ||
641 | return null; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope <em>ALS String Scope</em>}'. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * This default implementation returns null so that we can easily ignore cases; | ||
648 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
649 | * <!-- end-user-doc --> | ||
650 | * @return the new adapter. | ||
651 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope | ||
652 | * @generated | ||
653 | */ | ||
654 | public Adapter createALSStringScopeAdapter() | ||
655 | { | ||
656 | return null; | ||
657 | } | ||
658 | |||
659 | /** | ||
660 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx <em>ALS Quantified Ex</em>}'. | ||
661 | * <!-- begin-user-doc --> | ||
662 | * This default implementation returns null so that we can easily ignore cases; | ||
663 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
664 | * <!-- end-user-doc --> | ||
665 | * @return the new adapter. | ||
666 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx | ||
667 | * @generated | ||
668 | */ | ||
669 | public Adapter createALSQuantifiedExAdapter() | ||
670 | { | ||
671 | return null; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr <em>ALS Or</em>}'. | ||
676 | * <!-- begin-user-doc --> | ||
677 | * This default implementation returns null so that we can easily ignore cases; | ||
678 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
679 | * <!-- end-user-doc --> | ||
680 | * @return the new adapter. | ||
681 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr | ||
682 | * @generated | ||
683 | */ | ||
684 | public Adapter createALSOrAdapter() | ||
685 | { | ||
686 | return null; | ||
687 | } | ||
688 | |||
689 | /** | ||
690 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff <em>ALS Iff</em>}'. | ||
691 | * <!-- begin-user-doc --> | ||
692 | * This default implementation returns null so that we can easily ignore cases; | ||
693 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
694 | * <!-- end-user-doc --> | ||
695 | * @return the new adapter. | ||
696 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff | ||
697 | * @generated | ||
698 | */ | ||
699 | public Adapter createALSIffAdapter() | ||
700 | { | ||
701 | return null; | ||
702 | } | ||
703 | |||
704 | /** | ||
705 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl <em>ALS Impl</em>}'. | ||
706 | * <!-- begin-user-doc --> | ||
707 | * This default implementation returns null so that we can easily ignore cases; | ||
708 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
709 | * <!-- end-user-doc --> | ||
710 | * @return the new adapter. | ||
711 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl | ||
712 | * @generated | ||
713 | */ | ||
714 | public Adapter createALSImplAdapter() | ||
715 | { | ||
716 | return null; | ||
717 | } | ||
718 | |||
719 | /** | ||
720 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd <em>ALS And</em>}'. | ||
721 | * <!-- begin-user-doc --> | ||
722 | * This default implementation returns null so that we can easily ignore cases; | ||
723 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
724 | * <!-- end-user-doc --> | ||
725 | * @return the new adapter. | ||
726 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd | ||
727 | * @generated | ||
728 | */ | ||
729 | public Adapter createALSAndAdapter() | ||
730 | { | ||
731 | return null; | ||
732 | } | ||
733 | |||
734 | /** | ||
735 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals <em>ALS Equals</em>}'. | ||
736 | * <!-- begin-user-doc --> | ||
737 | * This default implementation returns null so that we can easily ignore cases; | ||
738 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
739 | * <!-- end-user-doc --> | ||
740 | * @return the new adapter. | ||
741 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals | ||
742 | * @generated | ||
743 | */ | ||
744 | public Adapter createALSEqualsAdapter() | ||
745 | { | ||
746 | return null; | ||
747 | } | ||
748 | |||
749 | /** | ||
750 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals <em>ALS Not Equals</em>}'. | ||
751 | * <!-- begin-user-doc --> | ||
752 | * This default implementation returns null so that we can easily ignore cases; | ||
753 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
754 | * <!-- end-user-doc --> | ||
755 | * @return the new adapter. | ||
756 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals | ||
757 | * @generated | ||
758 | */ | ||
759 | public Adapter createALSNotEqualsAdapter() | ||
760 | { | ||
761 | return null; | ||
762 | } | ||
763 | |||
764 | /** | ||
765 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset <em>ALS Subset</em>}'. | ||
766 | * <!-- begin-user-doc --> | ||
767 | * This default implementation returns null so that we can easily ignore cases; | ||
768 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
769 | * <!-- end-user-doc --> | ||
770 | * @return the new adapter. | ||
771 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset | ||
772 | * @generated | ||
773 | */ | ||
774 | public Adapter createALSSubsetAdapter() | ||
775 | { | ||
776 | return null; | ||
777 | } | ||
778 | |||
779 | /** | ||
780 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess <em>ALS Less</em>}'. | ||
781 | * <!-- begin-user-doc --> | ||
782 | * This default implementation returns null so that we can easily ignore cases; | ||
783 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
784 | * <!-- end-user-doc --> | ||
785 | * @return the new adapter. | ||
786 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess | ||
787 | * @generated | ||
788 | */ | ||
789 | public Adapter createALSLessAdapter() | ||
790 | { | ||
791 | return null; | ||
792 | } | ||
793 | |||
794 | /** | ||
795 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq <em>ALS Leq</em>}'. | ||
796 | * <!-- begin-user-doc --> | ||
797 | * This default implementation returns null so that we can easily ignore cases; | ||
798 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
799 | * <!-- end-user-doc --> | ||
800 | * @return the new adapter. | ||
801 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq | ||
802 | * @generated | ||
803 | */ | ||
804 | public Adapter createALSLeqAdapter() | ||
805 | { | ||
806 | return null; | ||
807 | } | ||
808 | |||
809 | /** | ||
810 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore <em>ALS More</em>}'. | ||
811 | * <!-- begin-user-doc --> | ||
812 | * This default implementation returns null so that we can easily ignore cases; | ||
813 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
814 | * <!-- end-user-doc --> | ||
815 | * @return the new adapter. | ||
816 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore | ||
817 | * @generated | ||
818 | */ | ||
819 | public Adapter createALSMoreAdapter() | ||
820 | { | ||
821 | return null; | ||
822 | } | ||
823 | |||
824 | /** | ||
825 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq <em>ALS Meq</em>}'. | ||
826 | * <!-- begin-user-doc --> | ||
827 | * This default implementation returns null so that we can easily ignore cases; | ||
828 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
829 | * <!-- end-user-doc --> | ||
830 | * @return the new adapter. | ||
831 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq | ||
832 | * @generated | ||
833 | */ | ||
834 | public Adapter createALSMeqAdapter() | ||
835 | { | ||
836 | return null; | ||
837 | } | ||
838 | |||
839 | /** | ||
840 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride <em>ALS Override</em>}'. | ||
841 | * <!-- begin-user-doc --> | ||
842 | * This default implementation returns null so that we can easily ignore cases; | ||
843 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
844 | * <!-- end-user-doc --> | ||
845 | * @return the new adapter. | ||
846 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride | ||
847 | * @generated | ||
848 | */ | ||
849 | public Adapter createALSOverrideAdapter() | ||
850 | { | ||
851 | return null; | ||
852 | } | ||
853 | |||
854 | /** | ||
855 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight <em>ALS Range Restriction Right</em>}'. | ||
856 | * <!-- begin-user-doc --> | ||
857 | * This default implementation returns null so that we can easily ignore cases; | ||
858 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
859 | * <!-- end-user-doc --> | ||
860 | * @return the new adapter. | ||
861 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight | ||
862 | * @generated | ||
863 | */ | ||
864 | public Adapter createALSRangeRestrictionRightAdapter() | ||
865 | { | ||
866 | return null; | ||
867 | } | ||
868 | |||
869 | /** | ||
870 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft <em>ALS Range Restriction Left</em>}'. | ||
871 | * <!-- begin-user-doc --> | ||
872 | * This default implementation returns null so that we can easily ignore cases; | ||
873 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
874 | * <!-- end-user-doc --> | ||
875 | * @return the new adapter. | ||
876 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft | ||
877 | * @generated | ||
878 | */ | ||
879 | public Adapter createALSRangeRestrictionLeftAdapter() | ||
880 | { | ||
881 | return null; | ||
882 | } | ||
883 | |||
884 | /** | ||
885 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin <em>ALS Join</em>}'. | ||
886 | * <!-- begin-user-doc --> | ||
887 | * This default implementation returns null so that we can easily ignore cases; | ||
888 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
889 | * <!-- end-user-doc --> | ||
890 | * @return the new adapter. | ||
891 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin | ||
892 | * @generated | ||
893 | */ | ||
894 | public Adapter createALSJoinAdapter() | ||
895 | { | ||
896 | return null; | ||
897 | } | ||
898 | |||
899 | /** | ||
900 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus <em>ALS Minus</em>}'. | ||
901 | * <!-- begin-user-doc --> | ||
902 | * This default implementation returns null so that we can easily ignore cases; | ||
903 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
904 | * <!-- end-user-doc --> | ||
905 | * @return the new adapter. | ||
906 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus | ||
907 | * @generated | ||
908 | */ | ||
909 | public Adapter createALSMinusAdapter() | ||
910 | { | ||
911 | return null; | ||
912 | } | ||
913 | |||
914 | /** | ||
915 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus <em>ALS Plus</em>}'. | ||
916 | * <!-- begin-user-doc --> | ||
917 | * This default implementation returns null so that we can easily ignore cases; | ||
918 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
919 | * <!-- end-user-doc --> | ||
920 | * @return the new adapter. | ||
921 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus | ||
922 | * @generated | ||
923 | */ | ||
924 | public Adapter createALSPlusAdapter() | ||
925 | { | ||
926 | return null; | ||
927 | } | ||
928 | |||
929 | /** | ||
930 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection <em>ALS Intersection</em>}'. | ||
931 | * <!-- begin-user-doc --> | ||
932 | * This default implementation returns null so that we can easily ignore cases; | ||
933 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
934 | * <!-- end-user-doc --> | ||
935 | * @return the new adapter. | ||
936 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection | ||
937 | * @generated | ||
938 | */ | ||
939 | public Adapter createALSIntersectionAdapter() | ||
940 | { | ||
941 | return null; | ||
942 | } | ||
943 | |||
944 | /** | ||
945 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct <em>ALS Direct Product</em>}'. | ||
946 | * <!-- begin-user-doc --> | ||
947 | * This default implementation returns null so that we can easily ignore cases; | ||
948 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
949 | * <!-- end-user-doc --> | ||
950 | * @return the new adapter. | ||
951 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct | ||
952 | * @generated | ||
953 | */ | ||
954 | public Adapter createALSDirectProductAdapter() | ||
955 | { | ||
956 | return null; | ||
957 | } | ||
958 | |||
959 | /** | ||
960 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot <em>ALS Not</em>}'. | ||
961 | * <!-- begin-user-doc --> | ||
962 | * This default implementation returns null so that we can easily ignore cases; | ||
963 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
964 | * <!-- end-user-doc --> | ||
965 | * @return the new adapter. | ||
966 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot | ||
967 | * @generated | ||
968 | */ | ||
969 | public Adapter createALSNotAdapter() | ||
970 | { | ||
971 | return null; | ||
972 | } | ||
973 | |||
974 | /** | ||
975 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation <em>ALS Inverse Relation</em>}'. | ||
976 | * <!-- begin-user-doc --> | ||
977 | * This default implementation returns null so that we can easily ignore cases; | ||
978 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
979 | * <!-- end-user-doc --> | ||
980 | * @return the new adapter. | ||
981 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation | ||
982 | * @generated | ||
983 | */ | ||
984 | public Adapter createALSInverseRelationAdapter() | ||
985 | { | ||
986 | return null; | ||
987 | } | ||
988 | |||
989 | /** | ||
990 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure <em>Al STransitive Closure</em>}'. | ||
991 | * <!-- begin-user-doc --> | ||
992 | * This default implementation returns null so that we can easily ignore cases; | ||
993 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
994 | * <!-- end-user-doc --> | ||
995 | * @return the new adapter. | ||
996 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure | ||
997 | * @generated | ||
998 | */ | ||
999 | public Adapter createAlSTransitiveClosureAdapter() | ||
1000 | { | ||
1001 | return null; | ||
1002 | } | ||
1003 | |||
1004 | /** | ||
1005 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure <em>ALS Reflective Transitive Closure</em>}'. | ||
1006 | * <!-- begin-user-doc --> | ||
1007 | * This default implementation returns null so that we can easily ignore cases; | ||
1008 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1009 | * <!-- end-user-doc --> | ||
1010 | * @return the new adapter. | ||
1011 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure | ||
1012 | * @generated | ||
1013 | */ | ||
1014 | public Adapter createALSReflectiveTransitiveClosureAdapter() | ||
1015 | { | ||
1016 | return null; | ||
1017 | } | ||
1018 | |||
1019 | /** | ||
1020 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality <em>ALS Cardinality</em>}'. | ||
1021 | * <!-- begin-user-doc --> | ||
1022 | * This default implementation returns null so that we can easily ignore cases; | ||
1023 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1024 | * <!-- end-user-doc --> | ||
1025 | * @return the new adapter. | ||
1026 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality | ||
1027 | * @generated | ||
1028 | */ | ||
1029 | public Adapter createALSCardinalityAdapter() | ||
1030 | { | ||
1031 | return null; | ||
1032 | } | ||
1033 | |||
1034 | /** | ||
1035 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus <em>ALS Unary Minus</em>}'. | ||
1036 | * <!-- begin-user-doc --> | ||
1037 | * This default implementation returns null so that we can easily ignore cases; | ||
1038 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1039 | * <!-- end-user-doc --> | ||
1040 | * @return the new adapter. | ||
1041 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus | ||
1042 | * @generated | ||
1043 | */ | ||
1044 | public Adapter createALSUnaryMinusAdapter() | ||
1045 | { | ||
1046 | return null; | ||
1047 | } | ||
1048 | |||
1049 | /** | ||
1050 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum <em>ALS Sum</em>}'. | ||
1051 | * <!-- begin-user-doc --> | ||
1052 | * This default implementation returns null so that we can easily ignore cases; | ||
1053 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1054 | * <!-- end-user-doc --> | ||
1055 | * @return the new adapter. | ||
1056 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum | ||
1057 | * @generated | ||
1058 | */ | ||
1059 | public Adapter createALSSumAdapter() | ||
1060 | { | ||
1061 | return null; | ||
1062 | } | ||
1063 | |||
1064 | /** | ||
1065 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall <em>ALS Function Call</em>}'. | ||
1066 | * <!-- begin-user-doc --> | ||
1067 | * This default implementation returns null so that we can easily ignore cases; | ||
1068 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1069 | * <!-- end-user-doc --> | ||
1070 | * @return the new adapter. | ||
1071 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall | ||
1072 | * @generated | ||
1073 | */ | ||
1074 | public Adapter createALSFunctionCallAdapter() | ||
1075 | { | ||
1076 | return null; | ||
1077 | } | ||
1078 | |||
1079 | /** | ||
1080 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone <em>ALS None</em>}'. | ||
1081 | * <!-- begin-user-doc --> | ||
1082 | * This default implementation returns null so that we can easily ignore cases; | ||
1083 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1084 | * <!-- end-user-doc --> | ||
1085 | * @return the new adapter. | ||
1086 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone | ||
1087 | * @generated | ||
1088 | */ | ||
1089 | public Adapter createALSNoneAdapter() | ||
1090 | { | ||
1091 | return null; | ||
1092 | } | ||
1093 | |||
1094 | /** | ||
1095 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden <em>ALS Iden</em>}'. | ||
1096 | * <!-- begin-user-doc --> | ||
1097 | * This default implementation returns null so that we can easily ignore cases; | ||
1098 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1099 | * <!-- end-user-doc --> | ||
1100 | * @return the new adapter. | ||
1101 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden | ||
1102 | * @generated | ||
1103 | */ | ||
1104 | public Adapter createALSIdenAdapter() | ||
1105 | { | ||
1106 | return null; | ||
1107 | } | ||
1108 | |||
1109 | /** | ||
1110 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv <em>ALS Univ</em>}'. | ||
1111 | * <!-- begin-user-doc --> | ||
1112 | * This default implementation returns null so that we can easily ignore cases; | ||
1113 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1114 | * <!-- end-user-doc --> | ||
1115 | * @return the new adapter. | ||
1116 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv | ||
1117 | * @generated | ||
1118 | */ | ||
1119 | public Adapter createALSUnivAdapter() | ||
1120 | { | ||
1121 | return null; | ||
1122 | } | ||
1123 | |||
1124 | /** | ||
1125 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt <em>ALS Int</em>}'. | ||
1126 | * <!-- begin-user-doc --> | ||
1127 | * This default implementation returns null so that we can easily ignore cases; | ||
1128 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1129 | * <!-- end-user-doc --> | ||
1130 | * @return the new adapter. | ||
1131 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt | ||
1132 | * @generated | ||
1133 | */ | ||
1134 | public Adapter createALSIntAdapter() | ||
1135 | { | ||
1136 | return null; | ||
1137 | } | ||
1138 | |||
1139 | /** | ||
1140 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString <em>ALS String</em>}'. | ||
1141 | * <!-- begin-user-doc --> | ||
1142 | * This default implementation returns null so that we can easily ignore cases; | ||
1143 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1144 | * <!-- end-user-doc --> | ||
1145 | * @return the new adapter. | ||
1146 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString | ||
1147 | * @generated | ||
1148 | */ | ||
1149 | public Adapter createALSStringAdapter() | ||
1150 | { | ||
1151 | return null; | ||
1152 | } | ||
1153 | |||
1154 | /** | ||
1155 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference <em>ALS Reference</em>}'. | ||
1156 | * <!-- begin-user-doc --> | ||
1157 | * This default implementation returns null so that we can easily ignore cases; | ||
1158 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1159 | * <!-- end-user-doc --> | ||
1160 | * @return the new adapter. | ||
1161 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference | ||
1162 | * @generated | ||
1163 | */ | ||
1164 | public Adapter createALSReferenceAdapter() | ||
1165 | { | ||
1166 | return null; | ||
1167 | } | ||
1168 | |||
1169 | /** | ||
1170 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral <em>ALS Number Literal</em>}'. | ||
1171 | * <!-- begin-user-doc --> | ||
1172 | * This default implementation returns null so that we can easily ignore cases; | ||
1173 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1174 | * <!-- end-user-doc --> | ||
1175 | * @return the new adapter. | ||
1176 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral | ||
1177 | * @generated | ||
1178 | */ | ||
1179 | public Adapter createALSNumberLiteralAdapter() | ||
1180 | { | ||
1181 | return null; | ||
1182 | } | ||
1183 | |||
1184 | /** | ||
1185 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral <em>ALS String Literal</em>}'. | ||
1186 | * <!-- begin-user-doc --> | ||
1187 | * This default implementation returns null so that we can easily ignore cases; | ||
1188 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1189 | * <!-- end-user-doc --> | ||
1190 | * @return the new adapter. | ||
1191 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral | ||
1192 | * @generated | ||
1193 | */ | ||
1194 | public Adapter createALSStringLiteralAdapter() | ||
1195 | { | ||
1196 | return null; | ||
1197 | } | ||
1198 | |||
1199 | /** | ||
1200 | * Creates a new adapter for the default case. | ||
1201 | * <!-- begin-user-doc --> | ||
1202 | * This default implementation returns null. | ||
1203 | * <!-- end-user-doc --> | ||
1204 | * @return the new adapter. | ||
1205 | * @generated | ||
1206 | */ | ||
1207 | public Adapter createEObjectAdapter() | ||
1208 | { | ||
1209 | return null; | ||
1210 | } | ||
1211 | |||
1212 | } //AlloyLanguageAdapterFactory | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java new file mode 100644 index 00000000..9c67bad7 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java | |||
@@ -0,0 +1,1410 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class AlloyLanguageSwitch<T> extends Switch<T> | ||
26 | { | ||
27 | /** | ||
28 | * The cached model package | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | protected static AlloyLanguagePackage modelPackage; | ||
34 | |||
35 | /** | ||
36 | * Creates an instance of the switch. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | public AlloyLanguageSwitch() | ||
42 | { | ||
43 | if (modelPackage == null) | ||
44 | { | ||
45 | modelPackage = AlloyLanguagePackage.eINSTANCE; | ||
46 | } | ||
47 | } | ||
48 | |||
49 | /** | ||
50 | * Checks whether this is a switch for the given package. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @param ePackage the package in question. | ||
54 | * @return whether this is a switch for the given package. | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected boolean isSwitchFor(EPackage ePackage) | ||
59 | { | ||
60 | return ePackage == modelPackage; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | protected T doSwitch(int classifierID, EObject theEObject) | ||
72 | { | ||
73 | switch (classifierID) | ||
74 | { | ||
75 | case AlloyLanguagePackage.ALS_DOCUMENT: | ||
76 | { | ||
77 | ALSDocument alsDocument = (ALSDocument)theEObject; | ||
78 | T result = caseALSDocument(alsDocument); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION: | ||
83 | { | ||
84 | ALSRelationDeclaration alsRelationDeclaration = (ALSRelationDeclaration)theEObject; | ||
85 | T result = caseALSRelationDeclaration(alsRelationDeclaration); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case AlloyLanguagePackage.ALS_TYPE_DECLARATION: | ||
90 | { | ||
91 | ALSTypeDeclaration alsTypeDeclaration = (ALSTypeDeclaration)theEObject; | ||
92 | T result = caseALSTypeDeclaration(alsTypeDeclaration); | ||
93 | if (result == null) result = caseALSRelationDeclaration(alsTypeDeclaration); | ||
94 | if (result == null) result = defaultCase(theEObject); | ||
95 | return result; | ||
96 | } | ||
97 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION: | ||
98 | { | ||
99 | ALSEnumDeclaration alsEnumDeclaration = (ALSEnumDeclaration)theEObject; | ||
100 | T result = caseALSEnumDeclaration(alsEnumDeclaration); | ||
101 | if (result == null) result = caseALSTypeDeclaration(alsEnumDeclaration); | ||
102 | if (result == null) result = caseALSRelationDeclaration(alsEnumDeclaration); | ||
103 | if (result == null) result = defaultCase(theEObject); | ||
104 | return result; | ||
105 | } | ||
106 | case AlloyLanguagePackage.ALS_ENUM_LITERAL: | ||
107 | { | ||
108 | ALSEnumLiteral alsEnumLiteral = (ALSEnumLiteral)theEObject; | ||
109 | T result = caseALSEnumLiteral(alsEnumLiteral); | ||
110 | if (result == null) result = caseALSRelationDeclaration(alsEnumLiteral); | ||
111 | if (result == null) result = defaultCase(theEObject); | ||
112 | return result; | ||
113 | } | ||
114 | case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION: | ||
115 | { | ||
116 | ALSSignatureDeclaration alsSignatureDeclaration = (ALSSignatureDeclaration)theEObject; | ||
117 | T result = caseALSSignatureDeclaration(alsSignatureDeclaration); | ||
118 | if (result == null) result = caseALSTypeDeclaration(alsSignatureDeclaration); | ||
119 | if (result == null) result = caseALSRelationDeclaration(alsSignatureDeclaration); | ||
120 | if (result == null) result = defaultCase(theEObject); | ||
121 | return result; | ||
122 | } | ||
123 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY: | ||
124 | { | ||
125 | ALSSignatureBody alsSignatureBody = (ALSSignatureBody)theEObject; | ||
126 | T result = caseALSSignatureBody(alsSignatureBody); | ||
127 | if (result == null) result = defaultCase(theEObject); | ||
128 | return result; | ||
129 | } | ||
130 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION: | ||
131 | { | ||
132 | ALSFieldDeclaration alsFieldDeclaration = (ALSFieldDeclaration)theEObject; | ||
133 | T result = caseALSFieldDeclaration(alsFieldDeclaration); | ||
134 | if (result == null) result = caseALSRelationDeclaration(alsFieldDeclaration); | ||
135 | if (result == null) result = defaultCase(theEObject); | ||
136 | return result; | ||
137 | } | ||
138 | case AlloyLanguagePackage.ALS_DEFINITION: | ||
139 | { | ||
140 | ALSDefinition alsDefinition = (ALSDefinition)theEObject; | ||
141 | T result = caseALSDefinition(alsDefinition); | ||
142 | if (result == null) result = defaultCase(theEObject); | ||
143 | return result; | ||
144 | } | ||
145 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION: | ||
146 | { | ||
147 | ALSFunctionDefinition alsFunctionDefinition = (ALSFunctionDefinition)theEObject; | ||
148 | T result = caseALSFunctionDefinition(alsFunctionDefinition); | ||
149 | if (result == null) result = caseALSDefinition(alsFunctionDefinition); | ||
150 | if (result == null) result = defaultCase(theEObject); | ||
151 | return result; | ||
152 | } | ||
153 | case AlloyLanguagePackage.ALS_RELATION_DEFINITION: | ||
154 | { | ||
155 | ALSRelationDefinition alsRelationDefinition = (ALSRelationDefinition)theEObject; | ||
156 | T result = caseALSRelationDefinition(alsRelationDefinition); | ||
157 | if (result == null) result = caseALSDefinition(alsRelationDefinition); | ||
158 | if (result == null) result = defaultCase(theEObject); | ||
159 | return result; | ||
160 | } | ||
161 | case AlloyLanguagePackage.ALS_FACT_DECLARATION: | ||
162 | { | ||
163 | ALSFactDeclaration alsFactDeclaration = (ALSFactDeclaration)theEObject; | ||
164 | T result = caseALSFactDeclaration(alsFactDeclaration); | ||
165 | if (result == null) result = defaultCase(theEObject); | ||
166 | return result; | ||
167 | } | ||
168 | case AlloyLanguagePackage.ALS_TERM: | ||
169 | { | ||
170 | ALSTerm alsTerm = (ALSTerm)theEObject; | ||
171 | T result = caseALSTerm(alsTerm); | ||
172 | if (result == null) result = defaultCase(theEObject); | ||
173 | return result; | ||
174 | } | ||
175 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION: | ||
176 | { | ||
177 | ALSVariableDeclaration alsVariableDeclaration = (ALSVariableDeclaration)theEObject; | ||
178 | T result = caseALSVariableDeclaration(alsVariableDeclaration); | ||
179 | if (result == null) result = caseALSRelationDeclaration(alsVariableDeclaration); | ||
180 | if (result == null) result = defaultCase(theEObject); | ||
181 | return result; | ||
182 | } | ||
183 | case AlloyLanguagePackage.ALS_RUN_COMMAND: | ||
184 | { | ||
185 | ALSRunCommand alsRunCommand = (ALSRunCommand)theEObject; | ||
186 | T result = caseALSRunCommand(alsRunCommand); | ||
187 | if (result == null) result = defaultCase(theEObject); | ||
188 | return result; | ||
189 | } | ||
190 | case AlloyLanguagePackage.ALS_TYPE_SCOPE: | ||
191 | { | ||
192 | ALSTypeScope alsTypeScope = (ALSTypeScope)theEObject; | ||
193 | T result = caseALSTypeScope(alsTypeScope); | ||
194 | if (result == null) result = defaultCase(theEObject); | ||
195 | return result; | ||
196 | } | ||
197 | case AlloyLanguagePackage.ALS_SIG_SCOPE: | ||
198 | { | ||
199 | ALSSigScope alsSigScope = (ALSSigScope)theEObject; | ||
200 | T result = caseALSSigScope(alsSigScope); | ||
201 | if (result == null) result = caseALSTypeScope(alsSigScope); | ||
202 | if (result == null) result = defaultCase(theEObject); | ||
203 | return result; | ||
204 | } | ||
205 | case AlloyLanguagePackage.ALS_INT_SCOPE: | ||
206 | { | ||
207 | ALSIntScope alsIntScope = (ALSIntScope)theEObject; | ||
208 | T result = caseALSIntScope(alsIntScope); | ||
209 | if (result == null) result = caseALSTypeScope(alsIntScope); | ||
210 | if (result == null) result = defaultCase(theEObject); | ||
211 | return result; | ||
212 | } | ||
213 | case AlloyLanguagePackage.ALS_STRING_SCOPE: | ||
214 | { | ||
215 | ALSStringScope alsStringScope = (ALSStringScope)theEObject; | ||
216 | T result = caseALSStringScope(alsStringScope); | ||
217 | if (result == null) result = caseALSTypeScope(alsStringScope); | ||
218 | if (result == null) result = defaultCase(theEObject); | ||
219 | return result; | ||
220 | } | ||
221 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX: | ||
222 | { | ||
223 | ALSQuantifiedEx alsQuantifiedEx = (ALSQuantifiedEx)theEObject; | ||
224 | T result = caseALSQuantifiedEx(alsQuantifiedEx); | ||
225 | if (result == null) result = caseALSTerm(alsQuantifiedEx); | ||
226 | if (result == null) result = defaultCase(theEObject); | ||
227 | return result; | ||
228 | } | ||
229 | case AlloyLanguagePackage.ALS_OR: | ||
230 | { | ||
231 | ALSOr alsOr = (ALSOr)theEObject; | ||
232 | T result = caseALSOr(alsOr); | ||
233 | if (result == null) result = caseALSTerm(alsOr); | ||
234 | if (result == null) result = defaultCase(theEObject); | ||
235 | return result; | ||
236 | } | ||
237 | case AlloyLanguagePackage.ALS_IFF: | ||
238 | { | ||
239 | ALSIff alsIff = (ALSIff)theEObject; | ||
240 | T result = caseALSIff(alsIff); | ||
241 | if (result == null) result = caseALSTerm(alsIff); | ||
242 | if (result == null) result = defaultCase(theEObject); | ||
243 | return result; | ||
244 | } | ||
245 | case AlloyLanguagePackage.ALS_IMPL: | ||
246 | { | ||
247 | ALSImpl alsImpl = (ALSImpl)theEObject; | ||
248 | T result = caseALSImpl(alsImpl); | ||
249 | if (result == null) result = caseALSTerm(alsImpl); | ||
250 | if (result == null) result = defaultCase(theEObject); | ||
251 | return result; | ||
252 | } | ||
253 | case AlloyLanguagePackage.ALS_AND: | ||
254 | { | ||
255 | ALSAnd alsAnd = (ALSAnd)theEObject; | ||
256 | T result = caseALSAnd(alsAnd); | ||
257 | if (result == null) result = caseALSTerm(alsAnd); | ||
258 | if (result == null) result = defaultCase(theEObject); | ||
259 | return result; | ||
260 | } | ||
261 | case AlloyLanguagePackage.ALS_EQUALS: | ||
262 | { | ||
263 | ALSEquals alsEquals = (ALSEquals)theEObject; | ||
264 | T result = caseALSEquals(alsEquals); | ||
265 | if (result == null) result = caseALSTerm(alsEquals); | ||
266 | if (result == null) result = defaultCase(theEObject); | ||
267 | return result; | ||
268 | } | ||
269 | case AlloyLanguagePackage.ALS_NOT_EQUALS: | ||
270 | { | ||
271 | ALSNotEquals alsNotEquals = (ALSNotEquals)theEObject; | ||
272 | T result = caseALSNotEquals(alsNotEquals); | ||
273 | if (result == null) result = caseALSTerm(alsNotEquals); | ||
274 | if (result == null) result = defaultCase(theEObject); | ||
275 | return result; | ||
276 | } | ||
277 | case AlloyLanguagePackage.ALS_SUBSET: | ||
278 | { | ||
279 | ALSSubset alsSubset = (ALSSubset)theEObject; | ||
280 | T result = caseALSSubset(alsSubset); | ||
281 | if (result == null) result = caseALSTerm(alsSubset); | ||
282 | if (result == null) result = defaultCase(theEObject); | ||
283 | return result; | ||
284 | } | ||
285 | case AlloyLanguagePackage.ALS_LESS: | ||
286 | { | ||
287 | ALSLess alsLess = (ALSLess)theEObject; | ||
288 | T result = caseALSLess(alsLess); | ||
289 | if (result == null) result = caseALSTerm(alsLess); | ||
290 | if (result == null) result = defaultCase(theEObject); | ||
291 | return result; | ||
292 | } | ||
293 | case AlloyLanguagePackage.ALS_LEQ: | ||
294 | { | ||
295 | ALSLeq alsLeq = (ALSLeq)theEObject; | ||
296 | T result = caseALSLeq(alsLeq); | ||
297 | if (result == null) result = caseALSTerm(alsLeq); | ||
298 | if (result == null) result = defaultCase(theEObject); | ||
299 | return result; | ||
300 | } | ||
301 | case AlloyLanguagePackage.ALS_MORE: | ||
302 | { | ||
303 | ALSMore alsMore = (ALSMore)theEObject; | ||
304 | T result = caseALSMore(alsMore); | ||
305 | if (result == null) result = caseALSTerm(alsMore); | ||
306 | if (result == null) result = defaultCase(theEObject); | ||
307 | return result; | ||
308 | } | ||
309 | case AlloyLanguagePackage.ALS_MEQ: | ||
310 | { | ||
311 | ALSMeq alsMeq = (ALSMeq)theEObject; | ||
312 | T result = caseALSMeq(alsMeq); | ||
313 | if (result == null) result = caseALSTerm(alsMeq); | ||
314 | if (result == null) result = defaultCase(theEObject); | ||
315 | return result; | ||
316 | } | ||
317 | case AlloyLanguagePackage.ALS_OVERRIDE: | ||
318 | { | ||
319 | ALSOverride alsOverride = (ALSOverride)theEObject; | ||
320 | T result = caseALSOverride(alsOverride); | ||
321 | if (result == null) result = caseALSTerm(alsOverride); | ||
322 | if (result == null) result = defaultCase(theEObject); | ||
323 | return result; | ||
324 | } | ||
325 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: | ||
326 | { | ||
327 | ALSRangeRestrictionRight alsRangeRestrictionRight = (ALSRangeRestrictionRight)theEObject; | ||
328 | T result = caseALSRangeRestrictionRight(alsRangeRestrictionRight); | ||
329 | if (result == null) result = caseALSTerm(alsRangeRestrictionRight); | ||
330 | if (result == null) result = defaultCase(theEObject); | ||
331 | return result; | ||
332 | } | ||
333 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: | ||
334 | { | ||
335 | ALSRangeRestrictionLeft alsRangeRestrictionLeft = (ALSRangeRestrictionLeft)theEObject; | ||
336 | T result = caseALSRangeRestrictionLeft(alsRangeRestrictionLeft); | ||
337 | if (result == null) result = caseALSTerm(alsRangeRestrictionLeft); | ||
338 | if (result == null) result = defaultCase(theEObject); | ||
339 | return result; | ||
340 | } | ||
341 | case AlloyLanguagePackage.ALS_JOIN: | ||
342 | { | ||
343 | ALSJoin alsJoin = (ALSJoin)theEObject; | ||
344 | T result = caseALSJoin(alsJoin); | ||
345 | if (result == null) result = caseALSTerm(alsJoin); | ||
346 | if (result == null) result = defaultCase(theEObject); | ||
347 | return result; | ||
348 | } | ||
349 | case AlloyLanguagePackage.ALS_MINUS: | ||
350 | { | ||
351 | ALSMinus alsMinus = (ALSMinus)theEObject; | ||
352 | T result = caseALSMinus(alsMinus); | ||
353 | if (result == null) result = caseALSTerm(alsMinus); | ||
354 | if (result == null) result = defaultCase(theEObject); | ||
355 | return result; | ||
356 | } | ||
357 | case AlloyLanguagePackage.ALS_PLUS: | ||
358 | { | ||
359 | ALSPlus alsPlus = (ALSPlus)theEObject; | ||
360 | T result = caseALSPlus(alsPlus); | ||
361 | if (result == null) result = caseALSTerm(alsPlus); | ||
362 | if (result == null) result = defaultCase(theEObject); | ||
363 | return result; | ||
364 | } | ||
365 | case AlloyLanguagePackage.ALS_INTERSECTION: | ||
366 | { | ||
367 | ALSIntersection alsIntersection = (ALSIntersection)theEObject; | ||
368 | T result = caseALSIntersection(alsIntersection); | ||
369 | if (result == null) result = caseALSTerm(alsIntersection); | ||
370 | if (result == null) result = defaultCase(theEObject); | ||
371 | return result; | ||
372 | } | ||
373 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: | ||
374 | { | ||
375 | ALSDirectProduct alsDirectProduct = (ALSDirectProduct)theEObject; | ||
376 | T result = caseALSDirectProduct(alsDirectProduct); | ||
377 | if (result == null) result = caseALSTerm(alsDirectProduct); | ||
378 | if (result == null) result = defaultCase(theEObject); | ||
379 | return result; | ||
380 | } | ||
381 | case AlloyLanguagePackage.ALS_NOT: | ||
382 | { | ||
383 | ALSNot alsNot = (ALSNot)theEObject; | ||
384 | T result = caseALSNot(alsNot); | ||
385 | if (result == null) result = caseALSTerm(alsNot); | ||
386 | if (result == null) result = defaultCase(theEObject); | ||
387 | return result; | ||
388 | } | ||
389 | case AlloyLanguagePackage.ALS_INVERSE_RELATION: | ||
390 | { | ||
391 | ALSInverseRelation alsInverseRelation = (ALSInverseRelation)theEObject; | ||
392 | T result = caseALSInverseRelation(alsInverseRelation); | ||
393 | if (result == null) result = caseALSTerm(alsInverseRelation); | ||
394 | if (result == null) result = defaultCase(theEObject); | ||
395 | return result; | ||
396 | } | ||
397 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: | ||
398 | { | ||
399 | AlSTransitiveClosure alSTransitiveClosure = (AlSTransitiveClosure)theEObject; | ||
400 | T result = caseAlSTransitiveClosure(alSTransitiveClosure); | ||
401 | if (result == null) result = caseALSTerm(alSTransitiveClosure); | ||
402 | if (result == null) result = defaultCase(theEObject); | ||
403 | return result; | ||
404 | } | ||
405 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: | ||
406 | { | ||
407 | ALSReflectiveTransitiveClosure alsReflectiveTransitiveClosure = (ALSReflectiveTransitiveClosure)theEObject; | ||
408 | T result = caseALSReflectiveTransitiveClosure(alsReflectiveTransitiveClosure); | ||
409 | if (result == null) result = caseALSTerm(alsReflectiveTransitiveClosure); | ||
410 | if (result == null) result = defaultCase(theEObject); | ||
411 | return result; | ||
412 | } | ||
413 | case AlloyLanguagePackage.ALS_CARDINALITY: | ||
414 | { | ||
415 | ALSCardinality alsCardinality = (ALSCardinality)theEObject; | ||
416 | T result = caseALSCardinality(alsCardinality); | ||
417 | if (result == null) result = caseALSTerm(alsCardinality); | ||
418 | if (result == null) result = defaultCase(theEObject); | ||
419 | return result; | ||
420 | } | ||
421 | case AlloyLanguagePackage.ALS_UNARY_MINUS: | ||
422 | { | ||
423 | ALSUnaryMinus alsUnaryMinus = (ALSUnaryMinus)theEObject; | ||
424 | T result = caseALSUnaryMinus(alsUnaryMinus); | ||
425 | if (result == null) result = caseALSTerm(alsUnaryMinus); | ||
426 | if (result == null) result = defaultCase(theEObject); | ||
427 | return result; | ||
428 | } | ||
429 | case AlloyLanguagePackage.ALS_SUM: | ||
430 | { | ||
431 | ALSSum alsSum = (ALSSum)theEObject; | ||
432 | T result = caseALSSum(alsSum); | ||
433 | if (result == null) result = caseALSTerm(alsSum); | ||
434 | if (result == null) result = defaultCase(theEObject); | ||
435 | return result; | ||
436 | } | ||
437 | case AlloyLanguagePackage.ALS_FUNCTION_CALL: | ||
438 | { | ||
439 | ALSFunctionCall alsFunctionCall = (ALSFunctionCall)theEObject; | ||
440 | T result = caseALSFunctionCall(alsFunctionCall); | ||
441 | if (result == null) result = caseALSTerm(alsFunctionCall); | ||
442 | if (result == null) result = defaultCase(theEObject); | ||
443 | return result; | ||
444 | } | ||
445 | case AlloyLanguagePackage.ALS_NONE: | ||
446 | { | ||
447 | ALSNone alsNone = (ALSNone)theEObject; | ||
448 | T result = caseALSNone(alsNone); | ||
449 | if (result == null) result = caseALSTerm(alsNone); | ||
450 | if (result == null) result = defaultCase(theEObject); | ||
451 | return result; | ||
452 | } | ||
453 | case AlloyLanguagePackage.ALS_IDEN: | ||
454 | { | ||
455 | ALSIden alsIden = (ALSIden)theEObject; | ||
456 | T result = caseALSIden(alsIden); | ||
457 | if (result == null) result = caseALSTerm(alsIden); | ||
458 | if (result == null) result = defaultCase(theEObject); | ||
459 | return result; | ||
460 | } | ||
461 | case AlloyLanguagePackage.ALS_UNIV: | ||
462 | { | ||
463 | ALSUniv alsUniv = (ALSUniv)theEObject; | ||
464 | T result = caseALSUniv(alsUniv); | ||
465 | if (result == null) result = caseALSTerm(alsUniv); | ||
466 | if (result == null) result = defaultCase(theEObject); | ||
467 | return result; | ||
468 | } | ||
469 | case AlloyLanguagePackage.ALS_INT: | ||
470 | { | ||
471 | ALSInt alsInt = (ALSInt)theEObject; | ||
472 | T result = caseALSInt(alsInt); | ||
473 | if (result == null) result = caseALSTerm(alsInt); | ||
474 | if (result == null) result = defaultCase(theEObject); | ||
475 | return result; | ||
476 | } | ||
477 | case AlloyLanguagePackage.ALS_STRING: | ||
478 | { | ||
479 | ALSString alsString = (ALSString)theEObject; | ||
480 | T result = caseALSString(alsString); | ||
481 | if (result == null) result = caseALSTerm(alsString); | ||
482 | if (result == null) result = defaultCase(theEObject); | ||
483 | return result; | ||
484 | } | ||
485 | case AlloyLanguagePackage.ALS_REFERENCE: | ||
486 | { | ||
487 | ALSReference alsReference = (ALSReference)theEObject; | ||
488 | T result = caseALSReference(alsReference); | ||
489 | if (result == null) result = caseALSTerm(alsReference); | ||
490 | if (result == null) result = defaultCase(theEObject); | ||
491 | return result; | ||
492 | } | ||
493 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL: | ||
494 | { | ||
495 | ALSNumberLiteral alsNumberLiteral = (ALSNumberLiteral)theEObject; | ||
496 | T result = caseALSNumberLiteral(alsNumberLiteral); | ||
497 | if (result == null) result = caseALSTerm(alsNumberLiteral); | ||
498 | if (result == null) result = defaultCase(theEObject); | ||
499 | return result; | ||
500 | } | ||
501 | case AlloyLanguagePackage.ALS_STRING_LITERAL: | ||
502 | { | ||
503 | ALSStringLiteral alsStringLiteral = (ALSStringLiteral)theEObject; | ||
504 | T result = caseALSStringLiteral(alsStringLiteral); | ||
505 | if (result == null) result = caseALSTerm(alsStringLiteral); | ||
506 | if (result == null) result = defaultCase(theEObject); | ||
507 | return result; | ||
508 | } | ||
509 | default: return defaultCase(theEObject); | ||
510 | } | ||
511 | } | ||
512 | |||
513 | /** | ||
514 | * Returns the result of interpreting the object as an instance of '<em>ALS Document</em>'. | ||
515 | * <!-- begin-user-doc --> | ||
516 | * This implementation returns null; | ||
517 | * returning a non-null result will terminate the switch. | ||
518 | * <!-- end-user-doc --> | ||
519 | * @param object the target of the switch. | ||
520 | * @return the result of interpreting the object as an instance of '<em>ALS Document</em>'. | ||
521 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
522 | * @generated | ||
523 | */ | ||
524 | public T caseALSDocument(ALSDocument object) | ||
525 | { | ||
526 | return null; | ||
527 | } | ||
528 | |||
529 | /** | ||
530 | * Returns the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'. | ||
531 | * <!-- begin-user-doc --> | ||
532 | * This implementation returns null; | ||
533 | * returning a non-null result will terminate the switch. | ||
534 | * <!-- end-user-doc --> | ||
535 | * @param object the target of the switch. | ||
536 | * @return the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'. | ||
537 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
538 | * @generated | ||
539 | */ | ||
540 | public T caseALSRelationDeclaration(ALSRelationDeclaration object) | ||
541 | { | ||
542 | return null; | ||
543 | } | ||
544 | |||
545 | /** | ||
546 | * Returns the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'. | ||
547 | * <!-- begin-user-doc --> | ||
548 | * This implementation returns null; | ||
549 | * returning a non-null result will terminate the switch. | ||
550 | * <!-- end-user-doc --> | ||
551 | * @param object the target of the switch. | ||
552 | * @return the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'. | ||
553 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
554 | * @generated | ||
555 | */ | ||
556 | public T caseALSTypeDeclaration(ALSTypeDeclaration object) | ||
557 | { | ||
558 | return null; | ||
559 | } | ||
560 | |||
561 | /** | ||
562 | * Returns the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'. | ||
563 | * <!-- begin-user-doc --> | ||
564 | * This implementation returns null; | ||
565 | * returning a non-null result will terminate the switch. | ||
566 | * <!-- end-user-doc --> | ||
567 | * @param object the target of the switch. | ||
568 | * @return the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'. | ||
569 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
570 | * @generated | ||
571 | */ | ||
572 | public T caseALSEnumDeclaration(ALSEnumDeclaration object) | ||
573 | { | ||
574 | return null; | ||
575 | } | ||
576 | |||
577 | /** | ||
578 | * Returns the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'. | ||
579 | * <!-- begin-user-doc --> | ||
580 | * This implementation returns null; | ||
581 | * returning a non-null result will terminate the switch. | ||
582 | * <!-- end-user-doc --> | ||
583 | * @param object the target of the switch. | ||
584 | * @return the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'. | ||
585 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
586 | * @generated | ||
587 | */ | ||
588 | public T caseALSEnumLiteral(ALSEnumLiteral object) | ||
589 | { | ||
590 | return null; | ||
591 | } | ||
592 | |||
593 | /** | ||
594 | * Returns the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'. | ||
595 | * <!-- begin-user-doc --> | ||
596 | * This implementation returns null; | ||
597 | * returning a non-null result will terminate the switch. | ||
598 | * <!-- end-user-doc --> | ||
599 | * @param object the target of the switch. | ||
600 | * @return the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'. | ||
601 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
602 | * @generated | ||
603 | */ | ||
604 | public T caseALSSignatureDeclaration(ALSSignatureDeclaration object) | ||
605 | { | ||
606 | return null; | ||
607 | } | ||
608 | |||
609 | /** | ||
610 | * Returns the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'. | ||
611 | * <!-- begin-user-doc --> | ||
612 | * This implementation returns null; | ||
613 | * returning a non-null result will terminate the switch. | ||
614 | * <!-- end-user-doc --> | ||
615 | * @param object the target of the switch. | ||
616 | * @return the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'. | ||
617 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
618 | * @generated | ||
619 | */ | ||
620 | public T caseALSSignatureBody(ALSSignatureBody object) | ||
621 | { | ||
622 | return null; | ||
623 | } | ||
624 | |||
625 | /** | ||
626 | * Returns the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'. | ||
627 | * <!-- begin-user-doc --> | ||
628 | * This implementation returns null; | ||
629 | * returning a non-null result will terminate the switch. | ||
630 | * <!-- end-user-doc --> | ||
631 | * @param object the target of the switch. | ||
632 | * @return the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'. | ||
633 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
634 | * @generated | ||
635 | */ | ||
636 | public T caseALSFieldDeclaration(ALSFieldDeclaration object) | ||
637 | { | ||
638 | return null; | ||
639 | } | ||
640 | |||
641 | /** | ||
642 | * Returns the result of interpreting the object as an instance of '<em>ALS Definition</em>'. | ||
643 | * <!-- begin-user-doc --> | ||
644 | * This implementation returns null; | ||
645 | * returning a non-null result will terminate the switch. | ||
646 | * <!-- end-user-doc --> | ||
647 | * @param object the target of the switch. | ||
648 | * @return the result of interpreting the object as an instance of '<em>ALS Definition</em>'. | ||
649 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
650 | * @generated | ||
651 | */ | ||
652 | public T caseALSDefinition(ALSDefinition object) | ||
653 | { | ||
654 | return null; | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * Returns the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'. | ||
659 | * <!-- begin-user-doc --> | ||
660 | * This implementation returns null; | ||
661 | * returning a non-null result will terminate the switch. | ||
662 | * <!-- end-user-doc --> | ||
663 | * @param object the target of the switch. | ||
664 | * @return the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'. | ||
665 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
666 | * @generated | ||
667 | */ | ||
668 | public T caseALSFunctionDefinition(ALSFunctionDefinition object) | ||
669 | { | ||
670 | return null; | ||
671 | } | ||
672 | |||
673 | /** | ||
674 | * Returns the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'. | ||
675 | * <!-- begin-user-doc --> | ||
676 | * This implementation returns null; | ||
677 | * returning a non-null result will terminate the switch. | ||
678 | * <!-- end-user-doc --> | ||
679 | * @param object the target of the switch. | ||
680 | * @return the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'. | ||
681 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
682 | * @generated | ||
683 | */ | ||
684 | public T caseALSRelationDefinition(ALSRelationDefinition object) | ||
685 | { | ||
686 | return null; | ||
687 | } | ||
688 | |||
689 | /** | ||
690 | * Returns the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'. | ||
691 | * <!-- begin-user-doc --> | ||
692 | * This implementation returns null; | ||
693 | * returning a non-null result will terminate the switch. | ||
694 | * <!-- end-user-doc --> | ||
695 | * @param object the target of the switch. | ||
696 | * @return the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'. | ||
697 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
698 | * @generated | ||
699 | */ | ||
700 | public T caseALSFactDeclaration(ALSFactDeclaration object) | ||
701 | { | ||
702 | return null; | ||
703 | } | ||
704 | |||
705 | /** | ||
706 | * Returns the result of interpreting the object as an instance of '<em>ALS Term</em>'. | ||
707 | * <!-- begin-user-doc --> | ||
708 | * This implementation returns null; | ||
709 | * returning a non-null result will terminate the switch. | ||
710 | * <!-- end-user-doc --> | ||
711 | * @param object the target of the switch. | ||
712 | * @return the result of interpreting the object as an instance of '<em>ALS Term</em>'. | ||
713 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
714 | * @generated | ||
715 | */ | ||
716 | public T caseALSTerm(ALSTerm object) | ||
717 | { | ||
718 | return null; | ||
719 | } | ||
720 | |||
721 | /** | ||
722 | * Returns the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'. | ||
723 | * <!-- begin-user-doc --> | ||
724 | * This implementation returns null; | ||
725 | * returning a non-null result will terminate the switch. | ||
726 | * <!-- end-user-doc --> | ||
727 | * @param object the target of the switch. | ||
728 | * @return the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'. | ||
729 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
730 | * @generated | ||
731 | */ | ||
732 | public T caseALSVariableDeclaration(ALSVariableDeclaration object) | ||
733 | { | ||
734 | return null; | ||
735 | } | ||
736 | |||
737 | /** | ||
738 | * Returns the result of interpreting the object as an instance of '<em>ALS Run Command</em>'. | ||
739 | * <!-- begin-user-doc --> | ||
740 | * This implementation returns null; | ||
741 | * returning a non-null result will terminate the switch. | ||
742 | * <!-- end-user-doc --> | ||
743 | * @param object the target of the switch. | ||
744 | * @return the result of interpreting the object as an instance of '<em>ALS Run Command</em>'. | ||
745 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
746 | * @generated | ||
747 | */ | ||
748 | public T caseALSRunCommand(ALSRunCommand object) | ||
749 | { | ||
750 | return null; | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * Returns the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'. | ||
755 | * <!-- begin-user-doc --> | ||
756 | * This implementation returns null; | ||
757 | * returning a non-null result will terminate the switch. | ||
758 | * <!-- end-user-doc --> | ||
759 | * @param object the target of the switch. | ||
760 | * @return the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'. | ||
761 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
762 | * @generated | ||
763 | */ | ||
764 | public T caseALSTypeScope(ALSTypeScope object) | ||
765 | { | ||
766 | return null; | ||
767 | } | ||
768 | |||
769 | /** | ||
770 | * Returns the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'. | ||
771 | * <!-- begin-user-doc --> | ||
772 | * This implementation returns null; | ||
773 | * returning a non-null result will terminate the switch. | ||
774 | * <!-- end-user-doc --> | ||
775 | * @param object the target of the switch. | ||
776 | * @return the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'. | ||
777 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
778 | * @generated | ||
779 | */ | ||
780 | public T caseALSSigScope(ALSSigScope object) | ||
781 | { | ||
782 | return null; | ||
783 | } | ||
784 | |||
785 | /** | ||
786 | * Returns the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'. | ||
787 | * <!-- begin-user-doc --> | ||
788 | * This implementation returns null; | ||
789 | * returning a non-null result will terminate the switch. | ||
790 | * <!-- end-user-doc --> | ||
791 | * @param object the target of the switch. | ||
792 | * @return the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'. | ||
793 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
794 | * @generated | ||
795 | */ | ||
796 | public T caseALSIntScope(ALSIntScope object) | ||
797 | { | ||
798 | return null; | ||
799 | } | ||
800 | |||
801 | /** | ||
802 | * Returns the result of interpreting the object as an instance of '<em>ALS String Scope</em>'. | ||
803 | * <!-- begin-user-doc --> | ||
804 | * This implementation returns null; | ||
805 | * returning a non-null result will terminate the switch. | ||
806 | * <!-- end-user-doc --> | ||
807 | * @param object the target of the switch. | ||
808 | * @return the result of interpreting the object as an instance of '<em>ALS String Scope</em>'. | ||
809 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
810 | * @generated | ||
811 | */ | ||
812 | public T caseALSStringScope(ALSStringScope object) | ||
813 | { | ||
814 | return null; | ||
815 | } | ||
816 | |||
817 | /** | ||
818 | * Returns the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'. | ||
819 | * <!-- begin-user-doc --> | ||
820 | * This implementation returns null; | ||
821 | * returning a non-null result will terminate the switch. | ||
822 | * <!-- end-user-doc --> | ||
823 | * @param object the target of the switch. | ||
824 | * @return the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'. | ||
825 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
826 | * @generated | ||
827 | */ | ||
828 | public T caseALSQuantifiedEx(ALSQuantifiedEx object) | ||
829 | { | ||
830 | return null; | ||
831 | } | ||
832 | |||
833 | /** | ||
834 | * Returns the result of interpreting the object as an instance of '<em>ALS Or</em>'. | ||
835 | * <!-- begin-user-doc --> | ||
836 | * This implementation returns null; | ||
837 | * returning a non-null result will terminate the switch. | ||
838 | * <!-- end-user-doc --> | ||
839 | * @param object the target of the switch. | ||
840 | * @return the result of interpreting the object as an instance of '<em>ALS Or</em>'. | ||
841 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
842 | * @generated | ||
843 | */ | ||
844 | public T caseALSOr(ALSOr object) | ||
845 | { | ||
846 | return null; | ||
847 | } | ||
848 | |||
849 | /** | ||
850 | * Returns the result of interpreting the object as an instance of '<em>ALS Iff</em>'. | ||
851 | * <!-- begin-user-doc --> | ||
852 | * This implementation returns null; | ||
853 | * returning a non-null result will terminate the switch. | ||
854 | * <!-- end-user-doc --> | ||
855 | * @param object the target of the switch. | ||
856 | * @return the result of interpreting the object as an instance of '<em>ALS Iff</em>'. | ||
857 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
858 | * @generated | ||
859 | */ | ||
860 | public T caseALSIff(ALSIff object) | ||
861 | { | ||
862 | return null; | ||
863 | } | ||
864 | |||
865 | /** | ||
866 | * Returns the result of interpreting the object as an instance of '<em>ALS Impl</em>'. | ||
867 | * <!-- begin-user-doc --> | ||
868 | * This implementation returns null; | ||
869 | * returning a non-null result will terminate the switch. | ||
870 | * <!-- end-user-doc --> | ||
871 | * @param object the target of the switch. | ||
872 | * @return the result of interpreting the object as an instance of '<em>ALS Impl</em>'. | ||
873 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
874 | * @generated | ||
875 | */ | ||
876 | public T caseALSImpl(ALSImpl object) | ||
877 | { | ||
878 | return null; | ||
879 | } | ||
880 | |||
881 | /** | ||
882 | * Returns the result of interpreting the object as an instance of '<em>ALS And</em>'. | ||
883 | * <!-- begin-user-doc --> | ||
884 | * This implementation returns null; | ||
885 | * returning a non-null result will terminate the switch. | ||
886 | * <!-- end-user-doc --> | ||
887 | * @param object the target of the switch. | ||
888 | * @return the result of interpreting the object as an instance of '<em>ALS And</em>'. | ||
889 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
890 | * @generated | ||
891 | */ | ||
892 | public T caseALSAnd(ALSAnd object) | ||
893 | { | ||
894 | return null; | ||
895 | } | ||
896 | |||
897 | /** | ||
898 | * Returns the result of interpreting the object as an instance of '<em>ALS Equals</em>'. | ||
899 | * <!-- begin-user-doc --> | ||
900 | * This implementation returns null; | ||
901 | * returning a non-null result will terminate the switch. | ||
902 | * <!-- end-user-doc --> | ||
903 | * @param object the target of the switch. | ||
904 | * @return the result of interpreting the object as an instance of '<em>ALS Equals</em>'. | ||
905 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
906 | * @generated | ||
907 | */ | ||
908 | public T caseALSEquals(ALSEquals object) | ||
909 | { | ||
910 | return null; | ||
911 | } | ||
912 | |||
913 | /** | ||
914 | * Returns the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'. | ||
915 | * <!-- begin-user-doc --> | ||
916 | * This implementation returns null; | ||
917 | * returning a non-null result will terminate the switch. | ||
918 | * <!-- end-user-doc --> | ||
919 | * @param object the target of the switch. | ||
920 | * @return the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'. | ||
921 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
922 | * @generated | ||
923 | */ | ||
924 | public T caseALSNotEquals(ALSNotEquals object) | ||
925 | { | ||
926 | return null; | ||
927 | } | ||
928 | |||
929 | /** | ||
930 | * Returns the result of interpreting the object as an instance of '<em>ALS Subset</em>'. | ||
931 | * <!-- begin-user-doc --> | ||
932 | * This implementation returns null; | ||
933 | * returning a non-null result will terminate the switch. | ||
934 | * <!-- end-user-doc --> | ||
935 | * @param object the target of the switch. | ||
936 | * @return the result of interpreting the object as an instance of '<em>ALS Subset</em>'. | ||
937 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
938 | * @generated | ||
939 | */ | ||
940 | public T caseALSSubset(ALSSubset object) | ||
941 | { | ||
942 | return null; | ||
943 | } | ||
944 | |||
945 | /** | ||
946 | * Returns the result of interpreting the object as an instance of '<em>ALS Less</em>'. | ||
947 | * <!-- begin-user-doc --> | ||
948 | * This implementation returns null; | ||
949 | * returning a non-null result will terminate the switch. | ||
950 | * <!-- end-user-doc --> | ||
951 | * @param object the target of the switch. | ||
952 | * @return the result of interpreting the object as an instance of '<em>ALS Less</em>'. | ||
953 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
954 | * @generated | ||
955 | */ | ||
956 | public T caseALSLess(ALSLess object) | ||
957 | { | ||
958 | return null; | ||
959 | } | ||
960 | |||
961 | /** | ||
962 | * Returns the result of interpreting the object as an instance of '<em>ALS Leq</em>'. | ||
963 | * <!-- begin-user-doc --> | ||
964 | * This implementation returns null; | ||
965 | * returning a non-null result will terminate the switch. | ||
966 | * <!-- end-user-doc --> | ||
967 | * @param object the target of the switch. | ||
968 | * @return the result of interpreting the object as an instance of '<em>ALS Leq</em>'. | ||
969 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
970 | * @generated | ||
971 | */ | ||
972 | public T caseALSLeq(ALSLeq object) | ||
973 | { | ||
974 | return null; | ||
975 | } | ||
976 | |||
977 | /** | ||
978 | * Returns the result of interpreting the object as an instance of '<em>ALS More</em>'. | ||
979 | * <!-- begin-user-doc --> | ||
980 | * This implementation returns null; | ||
981 | * returning a non-null result will terminate the switch. | ||
982 | * <!-- end-user-doc --> | ||
983 | * @param object the target of the switch. | ||
984 | * @return the result of interpreting the object as an instance of '<em>ALS More</em>'. | ||
985 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
986 | * @generated | ||
987 | */ | ||
988 | public T caseALSMore(ALSMore object) | ||
989 | { | ||
990 | return null; | ||
991 | } | ||
992 | |||
993 | /** | ||
994 | * Returns the result of interpreting the object as an instance of '<em>ALS Meq</em>'. | ||
995 | * <!-- begin-user-doc --> | ||
996 | * This implementation returns null; | ||
997 | * returning a non-null result will terminate the switch. | ||
998 | * <!-- end-user-doc --> | ||
999 | * @param object the target of the switch. | ||
1000 | * @return the result of interpreting the object as an instance of '<em>ALS Meq</em>'. | ||
1001 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1002 | * @generated | ||
1003 | */ | ||
1004 | public T caseALSMeq(ALSMeq object) | ||
1005 | { | ||
1006 | return null; | ||
1007 | } | ||
1008 | |||
1009 | /** | ||
1010 | * Returns the result of interpreting the object as an instance of '<em>ALS Override</em>'. | ||
1011 | * <!-- begin-user-doc --> | ||
1012 | * This implementation returns null; | ||
1013 | * returning a non-null result will terminate the switch. | ||
1014 | * <!-- end-user-doc --> | ||
1015 | * @param object the target of the switch. | ||
1016 | * @return the result of interpreting the object as an instance of '<em>ALS Override</em>'. | ||
1017 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1018 | * @generated | ||
1019 | */ | ||
1020 | public T caseALSOverride(ALSOverride object) | ||
1021 | { | ||
1022 | return null; | ||
1023 | } | ||
1024 | |||
1025 | /** | ||
1026 | * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'. | ||
1027 | * <!-- begin-user-doc --> | ||
1028 | * This implementation returns null; | ||
1029 | * returning a non-null result will terminate the switch. | ||
1030 | * <!-- end-user-doc --> | ||
1031 | * @param object the target of the switch. | ||
1032 | * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'. | ||
1033 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1034 | * @generated | ||
1035 | */ | ||
1036 | public T caseALSRangeRestrictionRight(ALSRangeRestrictionRight object) | ||
1037 | { | ||
1038 | return null; | ||
1039 | } | ||
1040 | |||
1041 | /** | ||
1042 | * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'. | ||
1043 | * <!-- begin-user-doc --> | ||
1044 | * This implementation returns null; | ||
1045 | * returning a non-null result will terminate the switch. | ||
1046 | * <!-- end-user-doc --> | ||
1047 | * @param object the target of the switch. | ||
1048 | * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'. | ||
1049 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1050 | * @generated | ||
1051 | */ | ||
1052 | public T caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object) | ||
1053 | { | ||
1054 | return null; | ||
1055 | } | ||
1056 | |||
1057 | /** | ||
1058 | * Returns the result of interpreting the object as an instance of '<em>ALS Join</em>'. | ||
1059 | * <!-- begin-user-doc --> | ||
1060 | * This implementation returns null; | ||
1061 | * returning a non-null result will terminate the switch. | ||
1062 | * <!-- end-user-doc --> | ||
1063 | * @param object the target of the switch. | ||
1064 | * @return the result of interpreting the object as an instance of '<em>ALS Join</em>'. | ||
1065 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | public T caseALSJoin(ALSJoin object) | ||
1069 | { | ||
1070 | return null; | ||
1071 | } | ||
1072 | |||
1073 | /** | ||
1074 | * Returns the result of interpreting the object as an instance of '<em>ALS Minus</em>'. | ||
1075 | * <!-- begin-user-doc --> | ||
1076 | * This implementation returns null; | ||
1077 | * returning a non-null result will terminate the switch. | ||
1078 | * <!-- end-user-doc --> | ||
1079 | * @param object the target of the switch. | ||
1080 | * @return the result of interpreting the object as an instance of '<em>ALS Minus</em>'. | ||
1081 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1082 | * @generated | ||
1083 | */ | ||
1084 | public T caseALSMinus(ALSMinus object) | ||
1085 | { | ||
1086 | return null; | ||
1087 | } | ||
1088 | |||
1089 | /** | ||
1090 | * Returns the result of interpreting the object as an instance of '<em>ALS Plus</em>'. | ||
1091 | * <!-- begin-user-doc --> | ||
1092 | * This implementation returns null; | ||
1093 | * returning a non-null result will terminate the switch. | ||
1094 | * <!-- end-user-doc --> | ||
1095 | * @param object the target of the switch. | ||
1096 | * @return the result of interpreting the object as an instance of '<em>ALS Plus</em>'. | ||
1097 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1098 | * @generated | ||
1099 | */ | ||
1100 | public T caseALSPlus(ALSPlus object) | ||
1101 | { | ||
1102 | return null; | ||
1103 | } | ||
1104 | |||
1105 | /** | ||
1106 | * Returns the result of interpreting the object as an instance of '<em>ALS Intersection</em>'. | ||
1107 | * <!-- begin-user-doc --> | ||
1108 | * This implementation returns null; | ||
1109 | * returning a non-null result will terminate the switch. | ||
1110 | * <!-- end-user-doc --> | ||
1111 | * @param object the target of the switch. | ||
1112 | * @return the result of interpreting the object as an instance of '<em>ALS Intersection</em>'. | ||
1113 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1114 | * @generated | ||
1115 | */ | ||
1116 | public T caseALSIntersection(ALSIntersection object) | ||
1117 | { | ||
1118 | return null; | ||
1119 | } | ||
1120 | |||
1121 | /** | ||
1122 | * Returns the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'. | ||
1123 | * <!-- begin-user-doc --> | ||
1124 | * This implementation returns null; | ||
1125 | * returning a non-null result will terminate the switch. | ||
1126 | * <!-- end-user-doc --> | ||
1127 | * @param object the target of the switch. | ||
1128 | * @return the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'. | ||
1129 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1130 | * @generated | ||
1131 | */ | ||
1132 | public T caseALSDirectProduct(ALSDirectProduct object) | ||
1133 | { | ||
1134 | return null; | ||
1135 | } | ||
1136 | |||
1137 | /** | ||
1138 | * Returns the result of interpreting the object as an instance of '<em>ALS Not</em>'. | ||
1139 | * <!-- begin-user-doc --> | ||
1140 | * This implementation returns null; | ||
1141 | * returning a non-null result will terminate the switch. | ||
1142 | * <!-- end-user-doc --> | ||
1143 | * @param object the target of the switch. | ||
1144 | * @return the result of interpreting the object as an instance of '<em>ALS Not</em>'. | ||
1145 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1146 | * @generated | ||
1147 | */ | ||
1148 | public T caseALSNot(ALSNot object) | ||
1149 | { | ||
1150 | return null; | ||
1151 | } | ||
1152 | |||
1153 | /** | ||
1154 | * Returns the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'. | ||
1155 | * <!-- begin-user-doc --> | ||
1156 | * This implementation returns null; | ||
1157 | * returning a non-null result will terminate the switch. | ||
1158 | * <!-- end-user-doc --> | ||
1159 | * @param object the target of the switch. | ||
1160 | * @return the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'. | ||
1161 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1162 | * @generated | ||
1163 | */ | ||
1164 | public T caseALSInverseRelation(ALSInverseRelation object) | ||
1165 | { | ||
1166 | return null; | ||
1167 | } | ||
1168 | |||
1169 | /** | ||
1170 | * Returns the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'. | ||
1171 | * <!-- begin-user-doc --> | ||
1172 | * This implementation returns null; | ||
1173 | * returning a non-null result will terminate the switch. | ||
1174 | * <!-- end-user-doc --> | ||
1175 | * @param object the target of the switch. | ||
1176 | * @return the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'. | ||
1177 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1178 | * @generated | ||
1179 | */ | ||
1180 | public T caseAlSTransitiveClosure(AlSTransitiveClosure object) | ||
1181 | { | ||
1182 | return null; | ||
1183 | } | ||
1184 | |||
1185 | /** | ||
1186 | * Returns the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'. | ||
1187 | * <!-- begin-user-doc --> | ||
1188 | * This implementation returns null; | ||
1189 | * returning a non-null result will terminate the switch. | ||
1190 | * <!-- end-user-doc --> | ||
1191 | * @param object the target of the switch. | ||
1192 | * @return the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'. | ||
1193 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1194 | * @generated | ||
1195 | */ | ||
1196 | public T caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object) | ||
1197 | { | ||
1198 | return null; | ||
1199 | } | ||
1200 | |||
1201 | /** | ||
1202 | * Returns the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'. | ||
1203 | * <!-- begin-user-doc --> | ||
1204 | * This implementation returns null; | ||
1205 | * returning a non-null result will terminate the switch. | ||
1206 | * <!-- end-user-doc --> | ||
1207 | * @param object the target of the switch. | ||
1208 | * @return the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'. | ||
1209 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1210 | * @generated | ||
1211 | */ | ||
1212 | public T caseALSCardinality(ALSCardinality object) | ||
1213 | { | ||
1214 | return null; | ||
1215 | } | ||
1216 | |||
1217 | /** | ||
1218 | * Returns the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'. | ||
1219 | * <!-- begin-user-doc --> | ||
1220 | * This implementation returns null; | ||
1221 | * returning a non-null result will terminate the switch. | ||
1222 | * <!-- end-user-doc --> | ||
1223 | * @param object the target of the switch. | ||
1224 | * @return the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'. | ||
1225 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1226 | * @generated | ||
1227 | */ | ||
1228 | public T caseALSUnaryMinus(ALSUnaryMinus object) | ||
1229 | { | ||
1230 | return null; | ||
1231 | } | ||
1232 | |||
1233 | /** | ||
1234 | * Returns the result of interpreting the object as an instance of '<em>ALS Sum</em>'. | ||
1235 | * <!-- begin-user-doc --> | ||
1236 | * This implementation returns null; | ||
1237 | * returning a non-null result will terminate the switch. | ||
1238 | * <!-- end-user-doc --> | ||
1239 | * @param object the target of the switch. | ||
1240 | * @return the result of interpreting the object as an instance of '<em>ALS Sum</em>'. | ||
1241 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1242 | * @generated | ||
1243 | */ | ||
1244 | public T caseALSSum(ALSSum object) | ||
1245 | { | ||
1246 | return null; | ||
1247 | } | ||
1248 | |||
1249 | /** | ||
1250 | * Returns the result of interpreting the object as an instance of '<em>ALS Function Call</em>'. | ||
1251 | * <!-- begin-user-doc --> | ||
1252 | * This implementation returns null; | ||
1253 | * returning a non-null result will terminate the switch. | ||
1254 | * <!-- end-user-doc --> | ||
1255 | * @param object the target of the switch. | ||
1256 | * @return the result of interpreting the object as an instance of '<em>ALS Function Call</em>'. | ||
1257 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1258 | * @generated | ||
1259 | */ | ||
1260 | public T caseALSFunctionCall(ALSFunctionCall object) | ||
1261 | { | ||
1262 | return null; | ||
1263 | } | ||
1264 | |||
1265 | /** | ||
1266 | * Returns the result of interpreting the object as an instance of '<em>ALS None</em>'. | ||
1267 | * <!-- begin-user-doc --> | ||
1268 | * This implementation returns null; | ||
1269 | * returning a non-null result will terminate the switch. | ||
1270 | * <!-- end-user-doc --> | ||
1271 | * @param object the target of the switch. | ||
1272 | * @return the result of interpreting the object as an instance of '<em>ALS None</em>'. | ||
1273 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1274 | * @generated | ||
1275 | */ | ||
1276 | public T caseALSNone(ALSNone object) | ||
1277 | { | ||
1278 | return null; | ||
1279 | } | ||
1280 | |||
1281 | /** | ||
1282 | * Returns the result of interpreting the object as an instance of '<em>ALS Iden</em>'. | ||
1283 | * <!-- begin-user-doc --> | ||
1284 | * This implementation returns null; | ||
1285 | * returning a non-null result will terminate the switch. | ||
1286 | * <!-- end-user-doc --> | ||
1287 | * @param object the target of the switch. | ||
1288 | * @return the result of interpreting the object as an instance of '<em>ALS Iden</em>'. | ||
1289 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1290 | * @generated | ||
1291 | */ | ||
1292 | public T caseALSIden(ALSIden object) | ||
1293 | { | ||
1294 | return null; | ||
1295 | } | ||
1296 | |||
1297 | /** | ||
1298 | * Returns the result of interpreting the object as an instance of '<em>ALS Univ</em>'. | ||
1299 | * <!-- begin-user-doc --> | ||
1300 | * This implementation returns null; | ||
1301 | * returning a non-null result will terminate the switch. | ||
1302 | * <!-- end-user-doc --> | ||
1303 | * @param object the target of the switch. | ||
1304 | * @return the result of interpreting the object as an instance of '<em>ALS Univ</em>'. | ||
1305 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1306 | * @generated | ||
1307 | */ | ||
1308 | public T caseALSUniv(ALSUniv object) | ||
1309 | { | ||
1310 | return null; | ||
1311 | } | ||
1312 | |||
1313 | /** | ||
1314 | * Returns the result of interpreting the object as an instance of '<em>ALS Int</em>'. | ||
1315 | * <!-- begin-user-doc --> | ||
1316 | * This implementation returns null; | ||
1317 | * returning a non-null result will terminate the switch. | ||
1318 | * <!-- end-user-doc --> | ||
1319 | * @param object the target of the switch. | ||
1320 | * @return the result of interpreting the object as an instance of '<em>ALS Int</em>'. | ||
1321 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1322 | * @generated | ||
1323 | */ | ||
1324 | public T caseALSInt(ALSInt object) | ||
1325 | { | ||
1326 | return null; | ||
1327 | } | ||
1328 | |||
1329 | /** | ||
1330 | * Returns the result of interpreting the object as an instance of '<em>ALS String</em>'. | ||
1331 | * <!-- begin-user-doc --> | ||
1332 | * This implementation returns null; | ||
1333 | * returning a non-null result will terminate the switch. | ||
1334 | * <!-- end-user-doc --> | ||
1335 | * @param object the target of the switch. | ||
1336 | * @return the result of interpreting the object as an instance of '<em>ALS String</em>'. | ||
1337 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1338 | * @generated | ||
1339 | */ | ||
1340 | public T caseALSString(ALSString object) | ||
1341 | { | ||
1342 | return null; | ||
1343 | } | ||
1344 | |||
1345 | /** | ||
1346 | * Returns the result of interpreting the object as an instance of '<em>ALS Reference</em>'. | ||
1347 | * <!-- begin-user-doc --> | ||
1348 | * This implementation returns null; | ||
1349 | * returning a non-null result will terminate the switch. | ||
1350 | * <!-- end-user-doc --> | ||
1351 | * @param object the target of the switch. | ||
1352 | * @return the result of interpreting the object as an instance of '<em>ALS Reference</em>'. | ||
1353 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1354 | * @generated | ||
1355 | */ | ||
1356 | public T caseALSReference(ALSReference object) | ||
1357 | { | ||
1358 | return null; | ||
1359 | } | ||
1360 | |||
1361 | /** | ||
1362 | * Returns the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'. | ||
1363 | * <!-- begin-user-doc --> | ||
1364 | * This implementation returns null; | ||
1365 | * returning a non-null result will terminate the switch. | ||
1366 | * <!-- end-user-doc --> | ||
1367 | * @param object the target of the switch. | ||
1368 | * @return the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'. | ||
1369 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1370 | * @generated | ||
1371 | */ | ||
1372 | public T caseALSNumberLiteral(ALSNumberLiteral object) | ||
1373 | { | ||
1374 | return null; | ||
1375 | } | ||
1376 | |||
1377 | /** | ||
1378 | * Returns the result of interpreting the object as an instance of '<em>ALS String Literal</em>'. | ||
1379 | * <!-- begin-user-doc --> | ||
1380 | * This implementation returns null; | ||
1381 | * returning a non-null result will terminate the switch. | ||
1382 | * <!-- end-user-doc --> | ||
1383 | * @param object the target of the switch. | ||
1384 | * @return the result of interpreting the object as an instance of '<em>ALS String Literal</em>'. | ||
1385 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1386 | * @generated | ||
1387 | */ | ||
1388 | public T caseALSStringLiteral(ALSStringLiteral object) | ||
1389 | { | ||
1390 | return null; | ||
1391 | } | ||
1392 | |||
1393 | /** | ||
1394 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1395 | * <!-- begin-user-doc --> | ||
1396 | * This implementation returns null; | ||
1397 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
1398 | * <!-- end-user-doc --> | ||
1399 | * @param object the target of the switch. | ||
1400 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1401 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
1402 | * @generated | ||
1403 | */ | ||
1404 | @Override | ||
1405 | public T defaultCase(EObject object) | ||
1406 | { | ||
1407 | return null; | ||
1408 | } | ||
1409 | |||
1410 | } //AlloyLanguageSwitch | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java new file mode 100644 index 00000000..a1a2e48a --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageAntlrTokenFileProvider.java | |||
@@ -0,0 +1,16 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.parser.antlr; | ||
5 | |||
6 | import java.io.InputStream; | ||
7 | import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; | ||
8 | |||
9 | public class AlloyLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { | ||
10 | |||
11 | @Override | ||
12 | public InputStream getAntlrTokenFile() { | ||
13 | ClassLoader classLoader = getClass().getClassLoader(); | ||
14 | return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens"); | ||
15 | } | ||
16 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java new file mode 100644 index 00000000..b1e11c01 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/AlloyLanguageParser.java | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.parser.antlr; | ||
5 | |||
6 | import com.google.inject.Inject; | ||
7 | |||
8 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | ||
9 | import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess; | ||
10 | |||
11 | public class AlloyLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { | ||
12 | |||
13 | @Inject | ||
14 | private AlloyLanguageGrammarAccess grammarAccess; | ||
15 | |||
16 | @Override | ||
17 | protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { | ||
18 | tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); | ||
19 | } | ||
20 | |||
21 | @Override | ||
22 | protected hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageParser createParser(XtextTokenStream stream) { | ||
23 | return new hu.bme.mit.inf.dslreasoner.parser.antlr.internal.InternalAlloyLanguageParser(stream, getGrammarAccess()); | ||
24 | } | ||
25 | |||
26 | @Override | ||
27 | protected String getDefaultRuleName() { | ||
28 | return "ALSDocument"; | ||
29 | } | ||
30 | |||
31 | public AlloyLanguageGrammarAccess getGrammarAccess() { | ||
32 | return this.grammarAccess; | ||
33 | } | ||
34 | |||
35 | public void setGrammarAccess(AlloyLanguageGrammarAccess grammarAccess) { | ||
36 | this.grammarAccess = grammarAccess; | ||
37 | } | ||
38 | |||
39 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g new file mode 100644 index 00000000..83f2ee24 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.g | |||
@@ -0,0 +1,3139 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | grammar InternalAlloyLanguage; | ||
5 | |||
6 | options { | ||
7 | superClass=AbstractInternalAntlrParser; | ||
8 | |||
9 | } | ||
10 | |||
11 | @lexer::header { | ||
12 | package hu.bme.mit.inf.dslreasoner.parser.antlr.internal; | ||
13 | |||
14 | // Hack: Use our own Lexer superclass by means of import. | ||
15 | // Currently there is no other way to specify the superclass for the lexer. | ||
16 | import org.eclipse.xtext.parser.antlr.Lexer; | ||
17 | } | ||
18 | |||
19 | @parser::header { | ||
20 | package hu.bme.mit.inf.dslreasoner.parser.antlr.internal; | ||
21 | |||
22 | import org.eclipse.xtext.*; | ||
23 | import org.eclipse.xtext.parser.*; | ||
24 | import org.eclipse.xtext.parser.impl.*; | ||
25 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
26 | import org.eclipse.emf.ecore.EObject; | ||
27 | import org.eclipse.emf.common.util.Enumerator; | ||
28 | import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; | ||
29 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | ||
30 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; | ||
31 | import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; | ||
32 | import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess; | ||
33 | |||
34 | } | ||
35 | |||
36 | @parser::members { | ||
37 | |||
38 | private AlloyLanguageGrammarAccess grammarAccess; | ||
39 | |||
40 | public InternalAlloyLanguageParser(TokenStream input, AlloyLanguageGrammarAccess grammarAccess) { | ||
41 | this(input); | ||
42 | this.grammarAccess = grammarAccess; | ||
43 | registerRules(grammarAccess.getGrammar()); | ||
44 | } | ||
45 | |||
46 | @Override | ||
47 | protected String getFirstRuleName() { | ||
48 | return "ALSDocument"; | ||
49 | } | ||
50 | |||
51 | @Override | ||
52 | protected AlloyLanguageGrammarAccess getGrammarAccess() { | ||
53 | return grammarAccess; | ||
54 | } | ||
55 | } | ||
56 | |||
57 | @rulecatch { | ||
58 | catch (RecognitionException re) { | ||
59 | recover(input,re); | ||
60 | appendSkippedTokens(); | ||
61 | } | ||
62 | } | ||
63 | |||
64 | |||
65 | |||
66 | |||
67 | // Entry rule entryRuleALSDocument | ||
68 | entryRuleALSDocument returns [EObject current=null] | ||
69 | : | ||
70 | { newCompositeNode(grammarAccess.getALSDocumentRule()); } | ||
71 | iv_ruleALSDocument=ruleALSDocument | ||
72 | { $current=$iv_ruleALSDocument.current; } | ||
73 | EOF | ||
74 | ; | ||
75 | |||
76 | // Rule ALSDocument | ||
77 | ruleALSDocument returns [EObject current=null] | ||
78 | @init { enterRule(); | ||
79 | } | ||
80 | @after { leaveRule(); }: | ||
81 | ((( | ||
82 | ( | ||
83 | { | ||
84 | newCompositeNode(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0()); | ||
85 | } | ||
86 | lv_enumDeclarations_0_0=ruleALSEnumDeclaration { | ||
87 | if ($current==null) { | ||
88 | $current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
89 | } | ||
90 | add( | ||
91 | $current, | ||
92 | "enumDeclarations", | ||
93 | lv_enumDeclarations_0_0, | ||
94 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration"); | ||
95 | afterParserOrEnumRuleCall(); | ||
96 | } | ||
97 | |||
98 | ) | ||
99 | ) | ||
100 | |( | ||
101 | ( | ||
102 | { | ||
103 | newCompositeNode(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0()); | ||
104 | } | ||
105 | lv_signatureBodies_1_0=ruleALSSignatureBody { | ||
106 | if ($current==null) { | ||
107 | $current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
108 | } | ||
109 | add( | ||
110 | $current, | ||
111 | "signatureBodies", | ||
112 | lv_signatureBodies_1_0, | ||
113 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody"); | ||
114 | afterParserOrEnumRuleCall(); | ||
115 | } | ||
116 | |||
117 | ) | ||
118 | ) | ||
119 | |( | ||
120 | ( | ||
121 | { | ||
122 | newCompositeNode(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0()); | ||
123 | } | ||
124 | lv_functionDefinitions_2_0=ruleALSFunctionDefinition { | ||
125 | if ($current==null) { | ||
126 | $current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
127 | } | ||
128 | add( | ||
129 | $current, | ||
130 | "functionDefinitions", | ||
131 | lv_functionDefinitions_2_0, | ||
132 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition"); | ||
133 | afterParserOrEnumRuleCall(); | ||
134 | } | ||
135 | |||
136 | ) | ||
137 | ) | ||
138 | |( | ||
139 | ( | ||
140 | { | ||
141 | newCompositeNode(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0()); | ||
142 | } | ||
143 | lv_relationDefinitions_3_0=ruleALSRelationDefinition { | ||
144 | if ($current==null) { | ||
145 | $current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
146 | } | ||
147 | add( | ||
148 | $current, | ||
149 | "relationDefinitions", | ||
150 | lv_relationDefinitions_3_0, | ||
151 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition"); | ||
152 | afterParserOrEnumRuleCall(); | ||
153 | } | ||
154 | |||
155 | ) | ||
156 | ) | ||
157 | |( | ||
158 | ( | ||
159 | { | ||
160 | newCompositeNode(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0()); | ||
161 | } | ||
162 | lv_factDeclarations_4_0=ruleALSFactDeclaration { | ||
163 | if ($current==null) { | ||
164 | $current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
165 | } | ||
166 | add( | ||
167 | $current, | ||
168 | "factDeclarations", | ||
169 | lv_factDeclarations_4_0, | ||
170 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration"); | ||
171 | afterParserOrEnumRuleCall(); | ||
172 | } | ||
173 | |||
174 | ) | ||
175 | ))+( | ||
176 | ( | ||
177 | { | ||
178 | newCompositeNode(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0()); | ||
179 | } | ||
180 | lv_runCommand_5_0=ruleALSRunCommand { | ||
181 | if ($current==null) { | ||
182 | $current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
183 | } | ||
184 | set( | ||
185 | $current, | ||
186 | "runCommand", | ||
187 | lv_runCommand_5_0, | ||
188 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand"); | ||
189 | afterParserOrEnumRuleCall(); | ||
190 | } | ||
191 | |||
192 | ) | ||
193 | )) | ||
194 | ; | ||
195 | |||
196 | |||
197 | |||
198 | |||
199 | |||
200 | // Entry rule entryRuleALSID | ||
201 | entryRuleALSID returns [String current=null] | ||
202 | : | ||
203 | { newCompositeNode(grammarAccess.getALSIDRule()); } | ||
204 | iv_ruleALSID=ruleALSID | ||
205 | { $current=$iv_ruleALSID.current.getText(); } | ||
206 | EOF | ||
207 | ; | ||
208 | |||
209 | // Rule ALSID | ||
210 | ruleALSID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
211 | @init { enterRule(); | ||
212 | } | ||
213 | @after { leaveRule(); }: | ||
214 | this_ID_0=RULE_ID { | ||
215 | $current.merge(this_ID_0); | ||
216 | } | ||
217 | |||
218 | { | ||
219 | newLeafNode(this_ID_0, grammarAccess.getALSIDAccess().getIDTerminalRuleCall()); | ||
220 | } | ||
221 | |||
222 | ; | ||
223 | |||
224 | |||
225 | |||
226 | |||
227 | |||
228 | |||
229 | |||
230 | // Entry rule entryRuleALSTypeDeclaration | ||
231 | entryRuleALSTypeDeclaration returns [EObject current=null] | ||
232 | : | ||
233 | { newCompositeNode(grammarAccess.getALSTypeDeclarationRule()); } | ||
234 | iv_ruleALSTypeDeclaration=ruleALSTypeDeclaration | ||
235 | { $current=$iv_ruleALSTypeDeclaration.current; } | ||
236 | EOF | ||
237 | ; | ||
238 | |||
239 | // Rule ALSTypeDeclaration | ||
240 | ruleALSTypeDeclaration returns [EObject current=null] | ||
241 | @init { enterRule(); | ||
242 | } | ||
243 | @after { leaveRule(); }: | ||
244 | ( | ||
245 | { | ||
246 | newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0()); | ||
247 | } | ||
248 | this_ALSEnumDeclaration_0=ruleALSEnumDeclaration | ||
249 | { | ||
250 | $current = $this_ALSEnumDeclaration_0.current; | ||
251 | afterParserOrEnumRuleCall(); | ||
252 | } | ||
253 | |||
254 | | | ||
255 | { | ||
256 | newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1()); | ||
257 | } | ||
258 | this_ALSSignatureDeclaration_1=ruleALSSignatureDeclaration | ||
259 | { | ||
260 | $current = $this_ALSSignatureDeclaration_1.current; | ||
261 | afterParserOrEnumRuleCall(); | ||
262 | } | ||
263 | ) | ||
264 | ; | ||
265 | |||
266 | |||
267 | |||
268 | |||
269 | |||
270 | // Entry rule entryRuleALSEnumDeclaration | ||
271 | entryRuleALSEnumDeclaration returns [EObject current=null] | ||
272 | : | ||
273 | { newCompositeNode(grammarAccess.getALSEnumDeclarationRule()); } | ||
274 | iv_ruleALSEnumDeclaration=ruleALSEnumDeclaration | ||
275 | { $current=$iv_ruleALSEnumDeclaration.current; } | ||
276 | EOF | ||
277 | ; | ||
278 | |||
279 | // Rule ALSEnumDeclaration | ||
280 | ruleALSEnumDeclaration returns [EObject current=null] | ||
281 | @init { enterRule(); | ||
282 | } | ||
283 | @after { leaveRule(); }: | ||
284 | ( otherlv_0='enum' | ||
285 | { | ||
286 | newLeafNode(otherlv_0, grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0()); | ||
287 | } | ||
288 | ( | ||
289 | ( | ||
290 | { | ||
291 | newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0()); | ||
292 | } | ||
293 | lv_name_1_0=ruleALSID { | ||
294 | if ($current==null) { | ||
295 | $current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule()); | ||
296 | } | ||
297 | set( | ||
298 | $current, | ||
299 | "name", | ||
300 | lv_name_1_0, | ||
301 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
302 | afterParserOrEnumRuleCall(); | ||
303 | } | ||
304 | |||
305 | ) | ||
306 | ) otherlv_2='{' | ||
307 | { | ||
308 | newLeafNode(otherlv_2, grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2()); | ||
309 | } | ||
310 | ( | ||
311 | ( | ||
312 | { | ||
313 | newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0()); | ||
314 | } | ||
315 | lv_literal_3_0=ruleALSEnumLiteral { | ||
316 | if ($current==null) { | ||
317 | $current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule()); | ||
318 | } | ||
319 | add( | ||
320 | $current, | ||
321 | "literal", | ||
322 | lv_literal_3_0, | ||
323 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral"); | ||
324 | afterParserOrEnumRuleCall(); | ||
325 | } | ||
326 | |||
327 | ) | ||
328 | )( otherlv_4=',' | ||
329 | { | ||
330 | newLeafNode(otherlv_4, grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0()); | ||
331 | } | ||
332 | ( | ||
333 | ( | ||
334 | { | ||
335 | newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0()); | ||
336 | } | ||
337 | lv_literal_5_0=ruleALSEnumLiteral { | ||
338 | if ($current==null) { | ||
339 | $current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule()); | ||
340 | } | ||
341 | add( | ||
342 | $current, | ||
343 | "literal", | ||
344 | lv_literal_5_0, | ||
345 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral"); | ||
346 | afterParserOrEnumRuleCall(); | ||
347 | } | ||
348 | |||
349 | ) | ||
350 | ))* otherlv_6='}' | ||
351 | { | ||
352 | newLeafNode(otherlv_6, grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5()); | ||
353 | } | ||
354 | ) | ||
355 | ; | ||
356 | |||
357 | |||
358 | |||
359 | |||
360 | |||
361 | // Entry rule entryRuleALSEnumLiteral | ||
362 | entryRuleALSEnumLiteral returns [EObject current=null] | ||
363 | : | ||
364 | { newCompositeNode(grammarAccess.getALSEnumLiteralRule()); } | ||
365 | iv_ruleALSEnumLiteral=ruleALSEnumLiteral | ||
366 | { $current=$iv_ruleALSEnumLiteral.current; } | ||
367 | EOF | ||
368 | ; | ||
369 | |||
370 | // Rule ALSEnumLiteral | ||
371 | ruleALSEnumLiteral returns [EObject current=null] | ||
372 | @init { enterRule(); | ||
373 | } | ||
374 | @after { leaveRule(); }: | ||
375 | ( | ||
376 | ( | ||
377 | { | ||
378 | newCompositeNode(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0()); | ||
379 | } | ||
380 | lv_name_0_0=ruleALSID { | ||
381 | if ($current==null) { | ||
382 | $current = createModelElementForParent(grammarAccess.getALSEnumLiteralRule()); | ||
383 | } | ||
384 | set( | ||
385 | $current, | ||
386 | "name", | ||
387 | lv_name_0_0, | ||
388 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
389 | afterParserOrEnumRuleCall(); | ||
390 | } | ||
391 | |||
392 | ) | ||
393 | ) | ||
394 | ; | ||
395 | |||
396 | |||
397 | |||
398 | |||
399 | |||
400 | // Entry rule entryRuleALSSignatureDeclaration | ||
401 | entryRuleALSSignatureDeclaration returns [EObject current=null] | ||
402 | : | ||
403 | { newCompositeNode(grammarAccess.getALSSignatureDeclarationRule()); } | ||
404 | iv_ruleALSSignatureDeclaration=ruleALSSignatureDeclaration | ||
405 | { $current=$iv_ruleALSSignatureDeclaration.current; } | ||
406 | EOF | ||
407 | ; | ||
408 | |||
409 | // Rule ALSSignatureDeclaration | ||
410 | ruleALSSignatureDeclaration returns [EObject current=null] | ||
411 | @init { enterRule(); | ||
412 | } | ||
413 | @after { leaveRule(); }: | ||
414 | ( | ||
415 | ( | ||
416 | { | ||
417 | newCompositeNode(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0()); | ||
418 | } | ||
419 | lv_name_0_0=ruleALSID { | ||
420 | if ($current==null) { | ||
421 | $current = createModelElementForParent(grammarAccess.getALSSignatureDeclarationRule()); | ||
422 | } | ||
423 | set( | ||
424 | $current, | ||
425 | "name", | ||
426 | lv_name_0_0, | ||
427 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
428 | afterParserOrEnumRuleCall(); | ||
429 | } | ||
430 | |||
431 | ) | ||
432 | ) | ||
433 | ; | ||
434 | |||
435 | |||
436 | |||
437 | |||
438 | |||
439 | // Entry rule entryRuleALSSignatureBody | ||
440 | entryRuleALSSignatureBody returns [EObject current=null] | ||
441 | : | ||
442 | { newCompositeNode(grammarAccess.getALSSignatureBodyRule()); } | ||
443 | iv_ruleALSSignatureBody=ruleALSSignatureBody | ||
444 | { $current=$iv_ruleALSSignatureBody.current; } | ||
445 | EOF | ||
446 | ; | ||
447 | |||
448 | // Rule ALSSignatureBody | ||
449 | ruleALSSignatureBody returns [EObject current=null] | ||
450 | @init { enterRule(); | ||
451 | } | ||
452 | @after { leaveRule(); }: | ||
453 | (( | ||
454 | |||
455 | ( | ||
456 | { | ||
457 | getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
458 | } | ||
459 | ( | ||
460 | ( | ||
461 | |||
462 | ( | ||
463 | {getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)}?=>( | ||
464 | { | ||
465 | getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0); | ||
466 | } | ||
467 | ({true}?=>( | ||
468 | ( | ||
469 | { | ||
470 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0()); | ||
471 | } | ||
472 | lv_multiplicity_1_0=ruleALSMultiplicity { | ||
473 | if ($current==null) { | ||
474 | $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
475 | } | ||
476 | set( | ||
477 | $current, | ||
478 | "multiplicity", | ||
479 | lv_multiplicity_1_0, | ||
480 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
481 | afterParserOrEnumRuleCall(); | ||
482 | } | ||
483 | |||
484 | ) | ||
485 | )) | ||
486 | { | ||
487 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
488 | } | ||
489 | ) | ||
490 | ) | | ||
491 | |||
492 | ( | ||
493 | {getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)}?=>( | ||
494 | { | ||
495 | getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1); | ||
496 | } | ||
497 | ({true}?=>( | ||
498 | ( | ||
499 | lv_abstract_2_0= 'abstract' | ||
500 | { | ||
501 | newLeafNode(lv_abstract_2_0, grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0()); | ||
502 | } | ||
503 | |||
504 | { | ||
505 | if ($current==null) { | ||
506 | $current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
507 | } | ||
508 | setWithLastConsumed($current, "abstract", true, "abstract"); | ||
509 | } | ||
510 | |||
511 | ) | ||
512 | )) | ||
513 | { | ||
514 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
515 | } | ||
516 | ) | ||
517 | ) | ||
518 | |||
519 | )* | ||
520 | ) | ||
521 | ) | ||
522 | { | ||
523 | getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
524 | } | ||
525 | |||
526 | ) otherlv_3='sig' | ||
527 | { | ||
528 | newLeafNode(otherlv_3, grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1()); | ||
529 | } | ||
530 | ( | ||
531 | ( | ||
532 | { | ||
533 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0()); | ||
534 | } | ||
535 | lv_declarations_4_0=ruleALSSignatureDeclaration { | ||
536 | if ($current==null) { | ||
537 | $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
538 | } | ||
539 | add( | ||
540 | $current, | ||
541 | "declarations", | ||
542 | lv_declarations_4_0, | ||
543 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration"); | ||
544 | afterParserOrEnumRuleCall(); | ||
545 | } | ||
546 | |||
547 | ) | ||
548 | )( otherlv_5=',' | ||
549 | { | ||
550 | newLeafNode(otherlv_5, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0()); | ||
551 | } | ||
552 | ( | ||
553 | ( | ||
554 | { | ||
555 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0()); | ||
556 | } | ||
557 | lv_declarations_6_0=ruleALSSignatureDeclaration { | ||
558 | if ($current==null) { | ||
559 | $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
560 | } | ||
561 | add( | ||
562 | $current, | ||
563 | "declarations", | ||
564 | lv_declarations_6_0, | ||
565 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration"); | ||
566 | afterParserOrEnumRuleCall(); | ||
567 | } | ||
568 | |||
569 | ) | ||
570 | ))*(( otherlv_7='extends' | ||
571 | { | ||
572 | newLeafNode(otherlv_7, grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0()); | ||
573 | } | ||
574 | ( | ||
575 | ( | ||
576 | { | ||
577 | if ($current==null) { | ||
578 | $current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
579 | } | ||
580 | } | ||
581 | otherlv_8=RULE_ID | ||
582 | { | ||
583 | newLeafNode(otherlv_8, grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0()); | ||
584 | } | ||
585 | |||
586 | ) | ||
587 | )) | ||
588 | |( otherlv_9='in' | ||
589 | { | ||
590 | newLeafNode(otherlv_9, grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0()); | ||
591 | } | ||
592 | ( | ||
593 | ( | ||
594 | { | ||
595 | if ($current==null) { | ||
596 | $current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
597 | } | ||
598 | } | ||
599 | otherlv_10=RULE_ID | ||
600 | { | ||
601 | newLeafNode(otherlv_10, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0()); | ||
602 | } | ||
603 | |||
604 | ) | ||
605 | )( otherlv_11='+' | ||
606 | { | ||
607 | newLeafNode(otherlv_11, grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0()); | ||
608 | } | ||
609 | ( | ||
610 | ( | ||
611 | { | ||
612 | if ($current==null) { | ||
613 | $current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
614 | } | ||
615 | } | ||
616 | otherlv_12=RULE_ID | ||
617 | { | ||
618 | newLeafNode(otherlv_12, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0()); | ||
619 | } | ||
620 | |||
621 | ) | ||
622 | ))*))? otherlv_13='{' | ||
623 | { | ||
624 | newLeafNode(otherlv_13, grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5()); | ||
625 | } | ||
626 | (( | ||
627 | ( | ||
628 | { | ||
629 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0()); | ||
630 | } | ||
631 | lv_fields_14_0=ruleALSFieldDeclaration { | ||
632 | if ($current==null) { | ||
633 | $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
634 | } | ||
635 | add( | ||
636 | $current, | ||
637 | "fields", | ||
638 | lv_fields_14_0, | ||
639 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration"); | ||
640 | afterParserOrEnumRuleCall(); | ||
641 | } | ||
642 | |||
643 | ) | ||
644 | )( otherlv_15=',' | ||
645 | { | ||
646 | newLeafNode(otherlv_15, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0()); | ||
647 | } | ||
648 | ( | ||
649 | ( | ||
650 | { | ||
651 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0()); | ||
652 | } | ||
653 | lv_fields_16_0=ruleALSFieldDeclaration { | ||
654 | if ($current==null) { | ||
655 | $current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
656 | } | ||
657 | add( | ||
658 | $current, | ||
659 | "fields", | ||
660 | lv_fields_16_0, | ||
661 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration"); | ||
662 | afterParserOrEnumRuleCall(); | ||
663 | } | ||
664 | |||
665 | ) | ||
666 | ))*)? otherlv_17='}' | ||
667 | { | ||
668 | newLeafNode(otherlv_17, grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7()); | ||
669 | } | ||
670 | ) | ||
671 | ; | ||
672 | |||
673 | |||
674 | |||
675 | |||
676 | |||
677 | // Entry rule entryRuleALSFieldDeclaration | ||
678 | entryRuleALSFieldDeclaration returns [EObject current=null] | ||
679 | : | ||
680 | { newCompositeNode(grammarAccess.getALSFieldDeclarationRule()); } | ||
681 | iv_ruleALSFieldDeclaration=ruleALSFieldDeclaration | ||
682 | { $current=$iv_ruleALSFieldDeclaration.current; } | ||
683 | EOF | ||
684 | ; | ||
685 | |||
686 | // Rule ALSFieldDeclaration | ||
687 | ruleALSFieldDeclaration returns [EObject current=null] | ||
688 | @init { enterRule(); | ||
689 | } | ||
690 | @after { leaveRule(); }: | ||
691 | (( | ||
692 | ( | ||
693 | { | ||
694 | newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0()); | ||
695 | } | ||
696 | lv_name_0_0=ruleALSID { | ||
697 | if ($current==null) { | ||
698 | $current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule()); | ||
699 | } | ||
700 | set( | ||
701 | $current, | ||
702 | "name", | ||
703 | lv_name_0_0, | ||
704 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
705 | afterParserOrEnumRuleCall(); | ||
706 | } | ||
707 | |||
708 | ) | ||
709 | ) otherlv_1=':' | ||
710 | { | ||
711 | newLeafNode(otherlv_1, grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1()); | ||
712 | } | ||
713 | ( | ||
714 | ( | ||
715 | { | ||
716 | newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0()); | ||
717 | } | ||
718 | lv_multiplicity_2_0=ruleALSMultiplicity { | ||
719 | if ($current==null) { | ||
720 | $current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule()); | ||
721 | } | ||
722 | set( | ||
723 | $current, | ||
724 | "multiplicity", | ||
725 | lv_multiplicity_2_0, | ||
726 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
727 | afterParserOrEnumRuleCall(); | ||
728 | } | ||
729 | |||
730 | ) | ||
731 | )?( | ||
732 | ( | ||
733 | { | ||
734 | newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0()); | ||
735 | } | ||
736 | lv_type_3_0=ruleALSTerm { | ||
737 | if ($current==null) { | ||
738 | $current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule()); | ||
739 | } | ||
740 | set( | ||
741 | $current, | ||
742 | "type", | ||
743 | lv_type_3_0, | ||
744 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
745 | afterParserOrEnumRuleCall(); | ||
746 | } | ||
747 | |||
748 | ) | ||
749 | )) | ||
750 | ; | ||
751 | |||
752 | |||
753 | |||
754 | |||
755 | |||
756 | |||
757 | |||
758 | // Entry rule entryRuleALSFunctionDefinition | ||
759 | entryRuleALSFunctionDefinition returns [EObject current=null] | ||
760 | : | ||
761 | { newCompositeNode(grammarAccess.getALSFunctionDefinitionRule()); } | ||
762 | iv_ruleALSFunctionDefinition=ruleALSFunctionDefinition | ||
763 | { $current=$iv_ruleALSFunctionDefinition.current; } | ||
764 | EOF | ||
765 | ; | ||
766 | |||
767 | // Rule ALSFunctionDefinition | ||
768 | ruleALSFunctionDefinition returns [EObject current=null] | ||
769 | @init { enterRule(); | ||
770 | } | ||
771 | @after { leaveRule(); }: | ||
772 | ( otherlv_0='fun' | ||
773 | { | ||
774 | newLeafNode(otherlv_0, grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0()); | ||
775 | } | ||
776 | ( | ||
777 | ( | ||
778 | { | ||
779 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0()); | ||
780 | } | ||
781 | lv_name_1_0=ruleALSID { | ||
782 | if ($current==null) { | ||
783 | $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
784 | } | ||
785 | set( | ||
786 | $current, | ||
787 | "name", | ||
788 | lv_name_1_0, | ||
789 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
790 | afterParserOrEnumRuleCall(); | ||
791 | } | ||
792 | |||
793 | ) | ||
794 | ) otherlv_2='[' | ||
795 | { | ||
796 | newLeafNode(otherlv_2, grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2()); | ||
797 | } | ||
798 | ( | ||
799 | ( | ||
800 | { | ||
801 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); | ||
802 | } | ||
803 | lv_variables_3_0=ruleALSVariableDeclaration { | ||
804 | if ($current==null) { | ||
805 | $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
806 | } | ||
807 | add( | ||
808 | $current, | ||
809 | "variables", | ||
810 | lv_variables_3_0, | ||
811 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
812 | afterParserOrEnumRuleCall(); | ||
813 | } | ||
814 | |||
815 | ) | ||
816 | )( otherlv_4=',' | ||
817 | { | ||
818 | newLeafNode(otherlv_4, grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0()); | ||
819 | } | ||
820 | ( | ||
821 | ( | ||
822 | { | ||
823 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); | ||
824 | } | ||
825 | lv_variables_5_0=ruleALSVariableDeclaration { | ||
826 | if ($current==null) { | ||
827 | $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
828 | } | ||
829 | add( | ||
830 | $current, | ||
831 | "variables", | ||
832 | lv_variables_5_0, | ||
833 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
834 | afterParserOrEnumRuleCall(); | ||
835 | } | ||
836 | |||
837 | ) | ||
838 | ))* otherlv_6=']' | ||
839 | { | ||
840 | newLeafNode(otherlv_6, grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5()); | ||
841 | } | ||
842 | otherlv_7=':' | ||
843 | { | ||
844 | newLeafNode(otherlv_7, grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6()); | ||
845 | } | ||
846 | ( | ||
847 | ( | ||
848 | { | ||
849 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0()); | ||
850 | } | ||
851 | lv_type_8_0=ruleALSTerm { | ||
852 | if ($current==null) { | ||
853 | $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
854 | } | ||
855 | set( | ||
856 | $current, | ||
857 | "type", | ||
858 | lv_type_8_0, | ||
859 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
860 | afterParserOrEnumRuleCall(); | ||
861 | } | ||
862 | |||
863 | ) | ||
864 | ) otherlv_9='{' | ||
865 | { | ||
866 | newLeafNode(otherlv_9, grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8()); | ||
867 | } | ||
868 | ( | ||
869 | ( | ||
870 | { | ||
871 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0()); | ||
872 | } | ||
873 | lv_value_10_0=ruleALSTerm { | ||
874 | if ($current==null) { | ||
875 | $current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
876 | } | ||
877 | set( | ||
878 | $current, | ||
879 | "value", | ||
880 | lv_value_10_0, | ||
881 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
882 | afterParserOrEnumRuleCall(); | ||
883 | } | ||
884 | |||
885 | ) | ||
886 | ) otherlv_11='}' | ||
887 | { | ||
888 | newLeafNode(otherlv_11, grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10()); | ||
889 | } | ||
890 | ) | ||
891 | ; | ||
892 | |||
893 | |||
894 | |||
895 | |||
896 | |||
897 | // Entry rule entryRuleALSRelationDefinition | ||
898 | entryRuleALSRelationDefinition returns [EObject current=null] | ||
899 | : | ||
900 | { newCompositeNode(grammarAccess.getALSRelationDefinitionRule()); } | ||
901 | iv_ruleALSRelationDefinition=ruleALSRelationDefinition | ||
902 | { $current=$iv_ruleALSRelationDefinition.current; } | ||
903 | EOF | ||
904 | ; | ||
905 | |||
906 | // Rule ALSRelationDefinition | ||
907 | ruleALSRelationDefinition returns [EObject current=null] | ||
908 | @init { enterRule(); | ||
909 | } | ||
910 | @after { leaveRule(); }: | ||
911 | ( otherlv_0='pred' | ||
912 | { | ||
913 | newLeafNode(otherlv_0, grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0()); | ||
914 | } | ||
915 | ( | ||
916 | ( | ||
917 | { | ||
918 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0()); | ||
919 | } | ||
920 | lv_name_1_0=ruleALSID { | ||
921 | if ($current==null) { | ||
922 | $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
923 | } | ||
924 | set( | ||
925 | $current, | ||
926 | "name", | ||
927 | lv_name_1_0, | ||
928 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
929 | afterParserOrEnumRuleCall(); | ||
930 | } | ||
931 | |||
932 | ) | ||
933 | ) otherlv_2='[' | ||
934 | { | ||
935 | newLeafNode(otherlv_2, grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2()); | ||
936 | } | ||
937 | ( | ||
938 | ( | ||
939 | { | ||
940 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); | ||
941 | } | ||
942 | lv_variables_3_0=ruleALSVariableDeclaration { | ||
943 | if ($current==null) { | ||
944 | $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
945 | } | ||
946 | add( | ||
947 | $current, | ||
948 | "variables", | ||
949 | lv_variables_3_0, | ||
950 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
951 | afterParserOrEnumRuleCall(); | ||
952 | } | ||
953 | |||
954 | ) | ||
955 | )( otherlv_4=',' | ||
956 | { | ||
957 | newLeafNode(otherlv_4, grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0()); | ||
958 | } | ||
959 | ( | ||
960 | ( | ||
961 | { | ||
962 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); | ||
963 | } | ||
964 | lv_variables_5_0=ruleALSVariableDeclaration { | ||
965 | if ($current==null) { | ||
966 | $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
967 | } | ||
968 | add( | ||
969 | $current, | ||
970 | "variables", | ||
971 | lv_variables_5_0, | ||
972 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
973 | afterParserOrEnumRuleCall(); | ||
974 | } | ||
975 | |||
976 | ) | ||
977 | ))* otherlv_6=']' | ||
978 | { | ||
979 | newLeafNode(otherlv_6, grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5()); | ||
980 | } | ||
981 | otherlv_7='{' | ||
982 | { | ||
983 | newLeafNode(otherlv_7, grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6()); | ||
984 | } | ||
985 | ( | ||
986 | ( | ||
987 | { | ||
988 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0()); | ||
989 | } | ||
990 | lv_value_8_0=ruleALSTerm { | ||
991 | if ($current==null) { | ||
992 | $current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
993 | } | ||
994 | set( | ||
995 | $current, | ||
996 | "value", | ||
997 | lv_value_8_0, | ||
998 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
999 | afterParserOrEnumRuleCall(); | ||
1000 | } | ||
1001 | |||
1002 | ) | ||
1003 | ) otherlv_9='}' | ||
1004 | { | ||
1005 | newLeafNode(otherlv_9, grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8()); | ||
1006 | } | ||
1007 | ) | ||
1008 | ; | ||
1009 | |||
1010 | |||
1011 | |||
1012 | |||
1013 | |||
1014 | // Entry rule entryRuleALSFactDeclaration | ||
1015 | entryRuleALSFactDeclaration returns [EObject current=null] | ||
1016 | : | ||
1017 | { newCompositeNode(grammarAccess.getALSFactDeclarationRule()); } | ||
1018 | iv_ruleALSFactDeclaration=ruleALSFactDeclaration | ||
1019 | { $current=$iv_ruleALSFactDeclaration.current; } | ||
1020 | EOF | ||
1021 | ; | ||
1022 | |||
1023 | // Rule ALSFactDeclaration | ||
1024 | ruleALSFactDeclaration returns [EObject current=null] | ||
1025 | @init { enterRule(); | ||
1026 | } | ||
1027 | @after { leaveRule(); }: | ||
1028 | (( | ||
1029 | { | ||
1030 | $current = forceCreateModelElement( | ||
1031 | grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0(), | ||
1032 | $current); | ||
1033 | } | ||
1034 | ) otherlv_1='fact' | ||
1035 | { | ||
1036 | newLeafNode(otherlv_1, grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1()); | ||
1037 | } | ||
1038 | ( | ||
1039 | ( | ||
1040 | { | ||
1041 | newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0()); | ||
1042 | } | ||
1043 | lv_name_2_0=ruleALSID { | ||
1044 | if ($current==null) { | ||
1045 | $current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule()); | ||
1046 | } | ||
1047 | set( | ||
1048 | $current, | ||
1049 | "name", | ||
1050 | lv_name_2_0, | ||
1051 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
1052 | afterParserOrEnumRuleCall(); | ||
1053 | } | ||
1054 | |||
1055 | ) | ||
1056 | )? otherlv_3='{' | ||
1057 | { | ||
1058 | newLeafNode(otherlv_3, grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3()); | ||
1059 | } | ||
1060 | ( | ||
1061 | ( | ||
1062 | { | ||
1063 | newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0()); | ||
1064 | } | ||
1065 | lv_term_4_0=ruleALSTerm { | ||
1066 | if ($current==null) { | ||
1067 | $current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule()); | ||
1068 | } | ||
1069 | set( | ||
1070 | $current, | ||
1071 | "term", | ||
1072 | lv_term_4_0, | ||
1073 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
1074 | afterParserOrEnumRuleCall(); | ||
1075 | } | ||
1076 | |||
1077 | ) | ||
1078 | ) otherlv_5='}' | ||
1079 | { | ||
1080 | newLeafNode(otherlv_5, grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5()); | ||
1081 | } | ||
1082 | ) | ||
1083 | ; | ||
1084 | |||
1085 | |||
1086 | |||
1087 | |||
1088 | |||
1089 | // Entry rule entryRuleALSTerm | ||
1090 | entryRuleALSTerm returns [EObject current=null] | ||
1091 | : | ||
1092 | { newCompositeNode(grammarAccess.getALSTermRule()); } | ||
1093 | iv_ruleALSTerm=ruleALSTerm | ||
1094 | { $current=$iv_ruleALSTerm.current; } | ||
1095 | EOF | ||
1096 | ; | ||
1097 | |||
1098 | // Rule ALSTerm | ||
1099 | ruleALSTerm returns [EObject current=null] | ||
1100 | @init { enterRule(); | ||
1101 | } | ||
1102 | @after { leaveRule(); }: | ||
1103 | |||
1104 | { | ||
1105 | newCompositeNode(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall()); | ||
1106 | } | ||
1107 | this_ALSQuantified_0=ruleALSQuantified | ||
1108 | { | ||
1109 | $current = $this_ALSQuantified_0.current; | ||
1110 | afterParserOrEnumRuleCall(); | ||
1111 | } | ||
1112 | |||
1113 | ; | ||
1114 | |||
1115 | |||
1116 | |||
1117 | |||
1118 | |||
1119 | // Entry rule entryRuleALSQuantified | ||
1120 | entryRuleALSQuantified returns [EObject current=null] | ||
1121 | : | ||
1122 | { newCompositeNode(grammarAccess.getALSQuantifiedRule()); } | ||
1123 | iv_ruleALSQuantified=ruleALSQuantified | ||
1124 | { $current=$iv_ruleALSQuantified.current; } | ||
1125 | EOF | ||
1126 | ; | ||
1127 | |||
1128 | // Rule ALSQuantified | ||
1129 | ruleALSQuantified returns [EObject current=null] | ||
1130 | @init { enterRule(); | ||
1131 | } | ||
1132 | @after { leaveRule(); }: | ||
1133 | ((( | ||
1134 | { | ||
1135 | $current = forceCreateModelElement( | ||
1136 | grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0(), | ||
1137 | $current); | ||
1138 | } | ||
1139 | )( | ||
1140 | ( | ||
1141 | { | ||
1142 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0()); | ||
1143 | } | ||
1144 | lv_type_1_0=ruleALSMultiplicity { | ||
1145 | if ($current==null) { | ||
1146 | $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
1147 | } | ||
1148 | set( | ||
1149 | $current, | ||
1150 | "type", | ||
1151 | lv_type_1_0, | ||
1152 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
1153 | afterParserOrEnumRuleCall(); | ||
1154 | } | ||
1155 | |||
1156 | ) | ||
1157 | )( | ||
1158 | ( | ||
1159 | lv_disj_2_0= 'disj' | ||
1160 | { | ||
1161 | newLeafNode(lv_disj_2_0, grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0()); | ||
1162 | } | ||
1163 | |||
1164 | { | ||
1165 | if ($current==null) { | ||
1166 | $current = createModelElement(grammarAccess.getALSQuantifiedRule()); | ||
1167 | } | ||
1168 | setWithLastConsumed($current, "disj", true, "disj"); | ||
1169 | } | ||
1170 | |||
1171 | ) | ||
1172 | )?( | ||
1173 | ( | ||
1174 | { | ||
1175 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0()); | ||
1176 | } | ||
1177 | lv_variables_3_0=ruleALSVariableDeclaration { | ||
1178 | if ($current==null) { | ||
1179 | $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
1180 | } | ||
1181 | add( | ||
1182 | $current, | ||
1183 | "variables", | ||
1184 | lv_variables_3_0, | ||
1185 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
1186 | afterParserOrEnumRuleCall(); | ||
1187 | } | ||
1188 | |||
1189 | ) | ||
1190 | )( otherlv_4=',' | ||
1191 | { | ||
1192 | newLeafNode(otherlv_4, grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0()); | ||
1193 | } | ||
1194 | ( | ||
1195 | ( | ||
1196 | { | ||
1197 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0()); | ||
1198 | } | ||
1199 | lv_variables_5_0=ruleALSVariableDeclaration { | ||
1200 | if ($current==null) { | ||
1201 | $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
1202 | } | ||
1203 | add( | ||
1204 | $current, | ||
1205 | "variables", | ||
1206 | lv_variables_5_0, | ||
1207 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
1208 | afterParserOrEnumRuleCall(); | ||
1209 | } | ||
1210 | |||
1211 | ) | ||
1212 | ))* otherlv_6='{' | ||
1213 | { | ||
1214 | newLeafNode(otherlv_6, grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5()); | ||
1215 | } | ||
1216 | ( | ||
1217 | ( | ||
1218 | { | ||
1219 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0()); | ||
1220 | } | ||
1221 | lv_expression_7_0=ruleALSTerm { | ||
1222 | if ($current==null) { | ||
1223 | $current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
1224 | } | ||
1225 | set( | ||
1226 | $current, | ||
1227 | "expression", | ||
1228 | lv_expression_7_0, | ||
1229 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
1230 | afterParserOrEnumRuleCall(); | ||
1231 | } | ||
1232 | |||
1233 | ) | ||
1234 | ) otherlv_8='}' | ||
1235 | { | ||
1236 | newLeafNode(otherlv_8, grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7()); | ||
1237 | } | ||
1238 | ) | ||
1239 | | | ||
1240 | { | ||
1241 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1()); | ||
1242 | } | ||
1243 | this_ALSOr_9=ruleALSOr | ||
1244 | { | ||
1245 | $current = $this_ALSOr_9.current; | ||
1246 | afterParserOrEnumRuleCall(); | ||
1247 | } | ||
1248 | ) | ||
1249 | ; | ||
1250 | |||
1251 | |||
1252 | |||
1253 | |||
1254 | |||
1255 | // Entry rule entryRuleALSOr | ||
1256 | entryRuleALSOr returns [EObject current=null] | ||
1257 | : | ||
1258 | { newCompositeNode(grammarAccess.getALSOrRule()); } | ||
1259 | iv_ruleALSOr=ruleALSOr | ||
1260 | { $current=$iv_ruleALSOr.current; } | ||
1261 | EOF | ||
1262 | ; | ||
1263 | |||
1264 | // Rule ALSOr | ||
1265 | ruleALSOr returns [EObject current=null] | ||
1266 | @init { enterRule(); | ||
1267 | } | ||
1268 | @after { leaveRule(); }: | ||
1269 | ( | ||
1270 | { | ||
1271 | newCompositeNode(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0()); | ||
1272 | } | ||
1273 | this_ALSIff_0=ruleALSIff | ||
1274 | { | ||
1275 | $current = $this_ALSIff_0.current; | ||
1276 | afterParserOrEnumRuleCall(); | ||
1277 | } | ||
1278 | (( | ||
1279 | { | ||
1280 | $current = forceCreateModelElementAndSet( | ||
1281 | grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(), | ||
1282 | $current); | ||
1283 | } | ||
1284 | )( otherlv_2='||' | ||
1285 | { | ||
1286 | newLeafNode(otherlv_2, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0()); | ||
1287 | } | ||
1288 | |||
1289 | | otherlv_3='or' | ||
1290 | { | ||
1291 | newLeafNode(otherlv_3, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1()); | ||
1292 | } | ||
1293 | )( | ||
1294 | ( | ||
1295 | { | ||
1296 | newCompositeNode(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0()); | ||
1297 | } | ||
1298 | lv_rightOperand_4_0=ruleALSIff { | ||
1299 | if ($current==null) { | ||
1300 | $current = createModelElementForParent(grammarAccess.getALSOrRule()); | ||
1301 | } | ||
1302 | set( | ||
1303 | $current, | ||
1304 | "rightOperand", | ||
1305 | lv_rightOperand_4_0, | ||
1306 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff"); | ||
1307 | afterParserOrEnumRuleCall(); | ||
1308 | } | ||
1309 | |||
1310 | ) | ||
1311 | ))?) | ||
1312 | ; | ||
1313 | |||
1314 | |||
1315 | |||
1316 | |||
1317 | |||
1318 | // Entry rule entryRuleALSIff | ||
1319 | entryRuleALSIff returns [EObject current=null] | ||
1320 | : | ||
1321 | { newCompositeNode(grammarAccess.getALSIffRule()); } | ||
1322 | iv_ruleALSIff=ruleALSIff | ||
1323 | { $current=$iv_ruleALSIff.current; } | ||
1324 | EOF | ||
1325 | ; | ||
1326 | |||
1327 | // Rule ALSIff | ||
1328 | ruleALSIff returns [EObject current=null] | ||
1329 | @init { enterRule(); | ||
1330 | } | ||
1331 | @after { leaveRule(); }: | ||
1332 | ( | ||
1333 | { | ||
1334 | newCompositeNode(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0()); | ||
1335 | } | ||
1336 | this_ALSImpl_0=ruleALSImpl | ||
1337 | { | ||
1338 | $current = $this_ALSImpl_0.current; | ||
1339 | afterParserOrEnumRuleCall(); | ||
1340 | } | ||
1341 | (( | ||
1342 | { | ||
1343 | $current = forceCreateModelElementAndSet( | ||
1344 | grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(), | ||
1345 | $current); | ||
1346 | } | ||
1347 | )( otherlv_2='<=>' | ||
1348 | { | ||
1349 | newLeafNode(otherlv_2, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0()); | ||
1350 | } | ||
1351 | |||
1352 | | otherlv_3='iff' | ||
1353 | { | ||
1354 | newLeafNode(otherlv_3, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1()); | ||
1355 | } | ||
1356 | )( | ||
1357 | ( | ||
1358 | { | ||
1359 | newCompositeNode(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0()); | ||
1360 | } | ||
1361 | lv_rightOperand_4_0=ruleALSImpl { | ||
1362 | if ($current==null) { | ||
1363 | $current = createModelElementForParent(grammarAccess.getALSIffRule()); | ||
1364 | } | ||
1365 | set( | ||
1366 | $current, | ||
1367 | "rightOperand", | ||
1368 | lv_rightOperand_4_0, | ||
1369 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl"); | ||
1370 | afterParserOrEnumRuleCall(); | ||
1371 | } | ||
1372 | |||
1373 | ) | ||
1374 | ))?) | ||
1375 | ; | ||
1376 | |||
1377 | |||
1378 | |||
1379 | |||
1380 | |||
1381 | // Entry rule entryRuleALSImpl | ||
1382 | entryRuleALSImpl returns [EObject current=null] | ||
1383 | : | ||
1384 | { newCompositeNode(grammarAccess.getALSImplRule()); } | ||
1385 | iv_ruleALSImpl=ruleALSImpl | ||
1386 | { $current=$iv_ruleALSImpl.current; } | ||
1387 | EOF | ||
1388 | ; | ||
1389 | |||
1390 | // Rule ALSImpl | ||
1391 | ruleALSImpl returns [EObject current=null] | ||
1392 | @init { enterRule(); | ||
1393 | } | ||
1394 | @after { leaveRule(); }: | ||
1395 | ( | ||
1396 | { | ||
1397 | newCompositeNode(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0()); | ||
1398 | } | ||
1399 | this_ALSAnd_0=ruleALSAnd | ||
1400 | { | ||
1401 | $current = $this_ALSAnd_0.current; | ||
1402 | afterParserOrEnumRuleCall(); | ||
1403 | } | ||
1404 | (( | ||
1405 | { | ||
1406 | $current = forceCreateModelElementAndSet( | ||
1407 | grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0(), | ||
1408 | $current); | ||
1409 | } | ||
1410 | )( otherlv_2='=>' | ||
1411 | { | ||
1412 | newLeafNode(otherlv_2, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0()); | ||
1413 | } | ||
1414 | |||
1415 | | otherlv_3='implies' | ||
1416 | { | ||
1417 | newLeafNode(otherlv_3, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1()); | ||
1418 | } | ||
1419 | )( | ||
1420 | ( | ||
1421 | { | ||
1422 | newCompositeNode(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0()); | ||
1423 | } | ||
1424 | lv_rightOperand_4_0=ruleALSAnd { | ||
1425 | if ($current==null) { | ||
1426 | $current = createModelElementForParent(grammarAccess.getALSImplRule()); | ||
1427 | } | ||
1428 | set( | ||
1429 | $current, | ||
1430 | "rightOperand", | ||
1431 | lv_rightOperand_4_0, | ||
1432 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd"); | ||
1433 | afterParserOrEnumRuleCall(); | ||
1434 | } | ||
1435 | |||
1436 | ) | ||
1437 | )( otherlv_5='else' | ||
1438 | { | ||
1439 | newLeafNode(otherlv_5, grammarAccess.getALSImplAccess().getElseKeyword_1_3_0()); | ||
1440 | } | ||
1441 | ( | ||
1442 | ( | ||
1443 | { | ||
1444 | newCompositeNode(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0()); | ||
1445 | } | ||
1446 | lv_elseOperand_6_0=ruleALSAnd { | ||
1447 | if ($current==null) { | ||
1448 | $current = createModelElementForParent(grammarAccess.getALSImplRule()); | ||
1449 | } | ||
1450 | set( | ||
1451 | $current, | ||
1452 | "elseOperand", | ||
1453 | lv_elseOperand_6_0, | ||
1454 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd"); | ||
1455 | afterParserOrEnumRuleCall(); | ||
1456 | } | ||
1457 | |||
1458 | ) | ||
1459 | ))?)?) | ||
1460 | ; | ||
1461 | |||
1462 | |||
1463 | |||
1464 | |||
1465 | |||
1466 | // Entry rule entryRuleALSAnd | ||
1467 | entryRuleALSAnd returns [EObject current=null] | ||
1468 | : | ||
1469 | { newCompositeNode(grammarAccess.getALSAndRule()); } | ||
1470 | iv_ruleALSAnd=ruleALSAnd | ||
1471 | { $current=$iv_ruleALSAnd.current; } | ||
1472 | EOF | ||
1473 | ; | ||
1474 | |||
1475 | // Rule ALSAnd | ||
1476 | ruleALSAnd returns [EObject current=null] | ||
1477 | @init { enterRule(); | ||
1478 | } | ||
1479 | @after { leaveRule(); }: | ||
1480 | ( | ||
1481 | { | ||
1482 | newCompositeNode(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0()); | ||
1483 | } | ||
1484 | this_ALSComparison_0=ruleALSComparison | ||
1485 | { | ||
1486 | $current = $this_ALSComparison_0.current; | ||
1487 | afterParserOrEnumRuleCall(); | ||
1488 | } | ||
1489 | (( | ||
1490 | { | ||
1491 | $current = forceCreateModelElementAndSet( | ||
1492 | grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(), | ||
1493 | $current); | ||
1494 | } | ||
1495 | )( otherlv_2='&&' | ||
1496 | { | ||
1497 | newLeafNode(otherlv_2, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0()); | ||
1498 | } | ||
1499 | |||
1500 | | otherlv_3='and' | ||
1501 | { | ||
1502 | newLeafNode(otherlv_3, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1()); | ||
1503 | } | ||
1504 | )( | ||
1505 | ( | ||
1506 | { | ||
1507 | newCompositeNode(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0()); | ||
1508 | } | ||
1509 | lv_rightOperand_4_0=ruleALSComparison { | ||
1510 | if ($current==null) { | ||
1511 | $current = createModelElementForParent(grammarAccess.getALSAndRule()); | ||
1512 | } | ||
1513 | set( | ||
1514 | $current, | ||
1515 | "rightOperand", | ||
1516 | lv_rightOperand_4_0, | ||
1517 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison"); | ||
1518 | afterParserOrEnumRuleCall(); | ||
1519 | } | ||
1520 | |||
1521 | ) | ||
1522 | ))?) | ||
1523 | ; | ||
1524 | |||
1525 | |||
1526 | |||
1527 | |||
1528 | |||
1529 | // Entry rule entryRuleALSComparison | ||
1530 | entryRuleALSComparison returns [EObject current=null] | ||
1531 | : | ||
1532 | { newCompositeNode(grammarAccess.getALSComparisonRule()); } | ||
1533 | iv_ruleALSComparison=ruleALSComparison | ||
1534 | { $current=$iv_ruleALSComparison.current; } | ||
1535 | EOF | ||
1536 | ; | ||
1537 | |||
1538 | // Rule ALSComparison | ||
1539 | ruleALSComparison returns [EObject current=null] | ||
1540 | @init { enterRule(); | ||
1541 | } | ||
1542 | @after { leaveRule(); }: | ||
1543 | ( | ||
1544 | { | ||
1545 | newCompositeNode(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0()); | ||
1546 | } | ||
1547 | this_ALSOverride_0=ruleALSOverride | ||
1548 | { | ||
1549 | $current = $this_ALSOverride_0.current; | ||
1550 | afterParserOrEnumRuleCall(); | ||
1551 | } | ||
1552 | (((( | ||
1553 | { | ||
1554 | $current = forceCreateModelElementAndSet( | ||
1555 | grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(), | ||
1556 | $current); | ||
1557 | } | ||
1558 | ) otherlv_2='=' | ||
1559 | { | ||
1560 | newLeafNode(otherlv_2, grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1()); | ||
1561 | } | ||
1562 | ) | ||
1563 | |(( | ||
1564 | { | ||
1565 | $current = forceCreateModelElementAndSet( | ||
1566 | grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(), | ||
1567 | $current); | ||
1568 | } | ||
1569 | ) otherlv_4='!=' | ||
1570 | { | ||
1571 | newLeafNode(otherlv_4, grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1()); | ||
1572 | } | ||
1573 | ) | ||
1574 | |(( | ||
1575 | { | ||
1576 | $current = forceCreateModelElementAndSet( | ||
1577 | grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(), | ||
1578 | $current); | ||
1579 | } | ||
1580 | ) otherlv_6='in' | ||
1581 | { | ||
1582 | newLeafNode(otherlv_6, grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1()); | ||
1583 | } | ||
1584 | ) | ||
1585 | |(( | ||
1586 | { | ||
1587 | $current = forceCreateModelElementAndSet( | ||
1588 | grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(), | ||
1589 | $current); | ||
1590 | } | ||
1591 | ) otherlv_8='>' | ||
1592 | { | ||
1593 | newLeafNode(otherlv_8, grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1()); | ||
1594 | } | ||
1595 | ) | ||
1596 | |(( | ||
1597 | { | ||
1598 | $current = forceCreateModelElementAndSet( | ||
1599 | grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(), | ||
1600 | $current); | ||
1601 | } | ||
1602 | ) otherlv_10='>=' | ||
1603 | { | ||
1604 | newLeafNode(otherlv_10, grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1()); | ||
1605 | } | ||
1606 | ) | ||
1607 | |(( | ||
1608 | { | ||
1609 | $current = forceCreateModelElementAndSet( | ||
1610 | grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(), | ||
1611 | $current); | ||
1612 | } | ||
1613 | ) otherlv_12='<' | ||
1614 | { | ||
1615 | newLeafNode(otherlv_12, grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1()); | ||
1616 | } | ||
1617 | ) | ||
1618 | |(( | ||
1619 | { | ||
1620 | $current = forceCreateModelElementAndSet( | ||
1621 | grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(), | ||
1622 | $current); | ||
1623 | } | ||
1624 | ) otherlv_14='<=' | ||
1625 | { | ||
1626 | newLeafNode(otherlv_14, grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1()); | ||
1627 | } | ||
1628 | ))( | ||
1629 | ( | ||
1630 | { | ||
1631 | newCompositeNode(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0()); | ||
1632 | } | ||
1633 | lv_rightOperand_15_0=ruleALSOverride { | ||
1634 | if ($current==null) { | ||
1635 | $current = createModelElementForParent(grammarAccess.getALSComparisonRule()); | ||
1636 | } | ||
1637 | set( | ||
1638 | $current, | ||
1639 | "rightOperand", | ||
1640 | lv_rightOperand_15_0, | ||
1641 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride"); | ||
1642 | afterParserOrEnumRuleCall(); | ||
1643 | } | ||
1644 | |||
1645 | ) | ||
1646 | ))?) | ||
1647 | ; | ||
1648 | |||
1649 | |||
1650 | |||
1651 | |||
1652 | |||
1653 | // Entry rule entryRuleALSOverride | ||
1654 | entryRuleALSOverride returns [EObject current=null] | ||
1655 | : | ||
1656 | { newCompositeNode(grammarAccess.getALSOverrideRule()); } | ||
1657 | iv_ruleALSOverride=ruleALSOverride | ||
1658 | { $current=$iv_ruleALSOverride.current; } | ||
1659 | EOF | ||
1660 | ; | ||
1661 | |||
1662 | // Rule ALSOverride | ||
1663 | ruleALSOverride returns [EObject current=null] | ||
1664 | @init { enterRule(); | ||
1665 | } | ||
1666 | @after { leaveRule(); }: | ||
1667 | ( | ||
1668 | { | ||
1669 | newCompositeNode(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0()); | ||
1670 | } | ||
1671 | this_ALSRangeRestrictionRight_0=ruleALSRangeRestrictionRight | ||
1672 | { | ||
1673 | $current = $this_ALSRangeRestrictionRight_0.current; | ||
1674 | afterParserOrEnumRuleCall(); | ||
1675 | } | ||
1676 | (( | ||
1677 | { | ||
1678 | $current = forceCreateModelElementAndSet( | ||
1679 | grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(), | ||
1680 | $current); | ||
1681 | } | ||
1682 | ) otherlv_2='++' | ||
1683 | { | ||
1684 | newLeafNode(otherlv_2, grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1()); | ||
1685 | } | ||
1686 | ( | ||
1687 | ( | ||
1688 | { | ||
1689 | newCompositeNode(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0()); | ||
1690 | } | ||
1691 | lv_rightOperand_3_0=ruleALSRangeRestrictionRight { | ||
1692 | if ($current==null) { | ||
1693 | $current = createModelElementForParent(grammarAccess.getALSOverrideRule()); | ||
1694 | } | ||
1695 | set( | ||
1696 | $current, | ||
1697 | "rightOperand", | ||
1698 | lv_rightOperand_3_0, | ||
1699 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight"); | ||
1700 | afterParserOrEnumRuleCall(); | ||
1701 | } | ||
1702 | |||
1703 | ) | ||
1704 | ))?) | ||
1705 | ; | ||
1706 | |||
1707 | |||
1708 | |||
1709 | |||
1710 | |||
1711 | // Entry rule entryRuleALSRangeRestrictionRight | ||
1712 | entryRuleALSRangeRestrictionRight returns [EObject current=null] | ||
1713 | : | ||
1714 | { newCompositeNode(grammarAccess.getALSRangeRestrictionRightRule()); } | ||
1715 | iv_ruleALSRangeRestrictionRight=ruleALSRangeRestrictionRight | ||
1716 | { $current=$iv_ruleALSRangeRestrictionRight.current; } | ||
1717 | EOF | ||
1718 | ; | ||
1719 | |||
1720 | // Rule ALSRangeRestrictionRight | ||
1721 | ruleALSRangeRestrictionRight returns [EObject current=null] | ||
1722 | @init { enterRule(); | ||
1723 | } | ||
1724 | @after { leaveRule(); }: | ||
1725 | ( | ||
1726 | { | ||
1727 | newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0()); | ||
1728 | } | ||
1729 | this_ALSRangeRestrictionLeft_0=ruleALSRangeRestrictionLeft | ||
1730 | { | ||
1731 | $current = $this_ALSRangeRestrictionLeft_0.current; | ||
1732 | afterParserOrEnumRuleCall(); | ||
1733 | } | ||
1734 | (( | ||
1735 | { | ||
1736 | $current = forceCreateModelElementAndSet( | ||
1737 | grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(), | ||
1738 | $current); | ||
1739 | } | ||
1740 | ) otherlv_2=':>' | ||
1741 | { | ||
1742 | newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1()); | ||
1743 | } | ||
1744 | ( | ||
1745 | ( | ||
1746 | { | ||
1747 | newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0()); | ||
1748 | } | ||
1749 | lv_filter_3_0=ruleALSRangeRestrictionLeft { | ||
1750 | if ($current==null) { | ||
1751 | $current = createModelElementForParent(grammarAccess.getALSRangeRestrictionRightRule()); | ||
1752 | } | ||
1753 | set( | ||
1754 | $current, | ||
1755 | "filter", | ||
1756 | lv_filter_3_0, | ||
1757 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft"); | ||
1758 | afterParserOrEnumRuleCall(); | ||
1759 | } | ||
1760 | |||
1761 | ) | ||
1762 | ))?) | ||
1763 | ; | ||
1764 | |||
1765 | |||
1766 | |||
1767 | |||
1768 | |||
1769 | // Entry rule entryRuleALSRangeRestrictionLeft | ||
1770 | entryRuleALSRangeRestrictionLeft returns [EObject current=null] | ||
1771 | : | ||
1772 | { newCompositeNode(grammarAccess.getALSRangeRestrictionLeftRule()); } | ||
1773 | iv_ruleALSRangeRestrictionLeft=ruleALSRangeRestrictionLeft | ||
1774 | { $current=$iv_ruleALSRangeRestrictionLeft.current; } | ||
1775 | EOF | ||
1776 | ; | ||
1777 | |||
1778 | // Rule ALSRangeRestrictionLeft | ||
1779 | ruleALSRangeRestrictionLeft returns [EObject current=null] | ||
1780 | @init { enterRule(); | ||
1781 | } | ||
1782 | @after { leaveRule(); }: | ||
1783 | ( | ||
1784 | { | ||
1785 | newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0()); | ||
1786 | } | ||
1787 | this_ALSJoin_0=ruleALSJoin | ||
1788 | { | ||
1789 | $current = $this_ALSJoin_0.current; | ||
1790 | afterParserOrEnumRuleCall(); | ||
1791 | } | ||
1792 | (( | ||
1793 | { | ||
1794 | $current = forceCreateModelElementAndSet( | ||
1795 | grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(), | ||
1796 | $current); | ||
1797 | } | ||
1798 | ) otherlv_2='<:' | ||
1799 | { | ||
1800 | newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1()); | ||
1801 | } | ||
1802 | ( | ||
1803 | ( | ||
1804 | { | ||
1805 | newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0()); | ||
1806 | } | ||
1807 | lv_relation_3_0=ruleALSJoin { | ||
1808 | if ($current==null) { | ||
1809 | $current = createModelElementForParent(grammarAccess.getALSRangeRestrictionLeftRule()); | ||
1810 | } | ||
1811 | set( | ||
1812 | $current, | ||
1813 | "relation", | ||
1814 | lv_relation_3_0, | ||
1815 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin"); | ||
1816 | afterParserOrEnumRuleCall(); | ||
1817 | } | ||
1818 | |||
1819 | ) | ||
1820 | ))?) | ||
1821 | ; | ||
1822 | |||
1823 | |||
1824 | |||
1825 | |||
1826 | |||
1827 | // Entry rule entryRuleALSJoin | ||
1828 | entryRuleALSJoin returns [EObject current=null] | ||
1829 | : | ||
1830 | { newCompositeNode(grammarAccess.getALSJoinRule()); } | ||
1831 | iv_ruleALSJoin=ruleALSJoin | ||
1832 | { $current=$iv_ruleALSJoin.current; } | ||
1833 | EOF | ||
1834 | ; | ||
1835 | |||
1836 | // Rule ALSJoin | ||
1837 | ruleALSJoin returns [EObject current=null] | ||
1838 | @init { enterRule(); | ||
1839 | } | ||
1840 | @after { leaveRule(); }: | ||
1841 | ( | ||
1842 | { | ||
1843 | newCompositeNode(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0()); | ||
1844 | } | ||
1845 | this_ALSMinus_0=ruleALSMinus | ||
1846 | { | ||
1847 | $current = $this_ALSMinus_0.current; | ||
1848 | afterParserOrEnumRuleCall(); | ||
1849 | } | ||
1850 | (( | ||
1851 | { | ||
1852 | $current = forceCreateModelElementAndSet( | ||
1853 | grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(), | ||
1854 | $current); | ||
1855 | } | ||
1856 | ) otherlv_2='.' | ||
1857 | { | ||
1858 | newLeafNode(otherlv_2, grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1()); | ||
1859 | } | ||
1860 | ( | ||
1861 | ( | ||
1862 | { | ||
1863 | newCompositeNode(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0()); | ||
1864 | } | ||
1865 | lv_rightOperand_3_0=ruleALSMinus { | ||
1866 | if ($current==null) { | ||
1867 | $current = createModelElementForParent(grammarAccess.getALSJoinRule()); | ||
1868 | } | ||
1869 | set( | ||
1870 | $current, | ||
1871 | "rightOperand", | ||
1872 | lv_rightOperand_3_0, | ||
1873 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus"); | ||
1874 | afterParserOrEnumRuleCall(); | ||
1875 | } | ||
1876 | |||
1877 | ) | ||
1878 | ))*) | ||
1879 | ; | ||
1880 | |||
1881 | |||
1882 | |||
1883 | |||
1884 | |||
1885 | // Entry rule entryRuleALSMinus | ||
1886 | entryRuleALSMinus returns [EObject current=null] | ||
1887 | : | ||
1888 | { newCompositeNode(grammarAccess.getALSMinusRule()); } | ||
1889 | iv_ruleALSMinus=ruleALSMinus | ||
1890 | { $current=$iv_ruleALSMinus.current; } | ||
1891 | EOF | ||
1892 | ; | ||
1893 | |||
1894 | // Rule ALSMinus | ||
1895 | ruleALSMinus returns [EObject current=null] | ||
1896 | @init { enterRule(); | ||
1897 | } | ||
1898 | @after { leaveRule(); }: | ||
1899 | ( | ||
1900 | { | ||
1901 | newCompositeNode(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0()); | ||
1902 | } | ||
1903 | this_ALSPlus_0=ruleALSPlus | ||
1904 | { | ||
1905 | $current = $this_ALSPlus_0.current; | ||
1906 | afterParserOrEnumRuleCall(); | ||
1907 | } | ||
1908 | (( | ||
1909 | { | ||
1910 | $current = forceCreateModelElementAndSet( | ||
1911 | grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(), | ||
1912 | $current); | ||
1913 | } | ||
1914 | ) otherlv_2='-' | ||
1915 | { | ||
1916 | newLeafNode(otherlv_2, grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1()); | ||
1917 | } | ||
1918 | ( | ||
1919 | ( | ||
1920 | { | ||
1921 | newCompositeNode(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0()); | ||
1922 | } | ||
1923 | lv_rightOperand_3_0=ruleALSPlus { | ||
1924 | if ($current==null) { | ||
1925 | $current = createModelElementForParent(grammarAccess.getALSMinusRule()); | ||
1926 | } | ||
1927 | set( | ||
1928 | $current, | ||
1929 | "rightOperand", | ||
1930 | lv_rightOperand_3_0, | ||
1931 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus"); | ||
1932 | afterParserOrEnumRuleCall(); | ||
1933 | } | ||
1934 | |||
1935 | ) | ||
1936 | ))*) | ||
1937 | ; | ||
1938 | |||
1939 | |||
1940 | |||
1941 | |||
1942 | |||
1943 | // Entry rule entryRuleALSPlus | ||
1944 | entryRuleALSPlus returns [EObject current=null] | ||
1945 | : | ||
1946 | { newCompositeNode(grammarAccess.getALSPlusRule()); } | ||
1947 | iv_ruleALSPlus=ruleALSPlus | ||
1948 | { $current=$iv_ruleALSPlus.current; } | ||
1949 | EOF | ||
1950 | ; | ||
1951 | |||
1952 | // Rule ALSPlus | ||
1953 | ruleALSPlus returns [EObject current=null] | ||
1954 | @init { enterRule(); | ||
1955 | } | ||
1956 | @after { leaveRule(); }: | ||
1957 | ( | ||
1958 | { | ||
1959 | newCompositeNode(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0()); | ||
1960 | } | ||
1961 | this_ALSIntersection_0=ruleALSIntersection | ||
1962 | { | ||
1963 | $current = $this_ALSIntersection_0.current; | ||
1964 | afterParserOrEnumRuleCall(); | ||
1965 | } | ||
1966 | (( | ||
1967 | { | ||
1968 | $current = forceCreateModelElementAndSet( | ||
1969 | grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(), | ||
1970 | $current); | ||
1971 | } | ||
1972 | ) otherlv_2='+' | ||
1973 | { | ||
1974 | newLeafNode(otherlv_2, grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1()); | ||
1975 | } | ||
1976 | ( | ||
1977 | ( | ||
1978 | { | ||
1979 | newCompositeNode(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0()); | ||
1980 | } | ||
1981 | lv_rightOperand_3_0=ruleALSIntersection { | ||
1982 | if ($current==null) { | ||
1983 | $current = createModelElementForParent(grammarAccess.getALSPlusRule()); | ||
1984 | } | ||
1985 | set( | ||
1986 | $current, | ||
1987 | "rightOperand", | ||
1988 | lv_rightOperand_3_0, | ||
1989 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection"); | ||
1990 | afterParserOrEnumRuleCall(); | ||
1991 | } | ||
1992 | |||
1993 | ) | ||
1994 | ))*) | ||
1995 | ; | ||
1996 | |||
1997 | |||
1998 | |||
1999 | |||
2000 | |||
2001 | // Entry rule entryRuleALSIntersection | ||
2002 | entryRuleALSIntersection returns [EObject current=null] | ||
2003 | : | ||
2004 | { newCompositeNode(grammarAccess.getALSIntersectionRule()); } | ||
2005 | iv_ruleALSIntersection=ruleALSIntersection | ||
2006 | { $current=$iv_ruleALSIntersection.current; } | ||
2007 | EOF | ||
2008 | ; | ||
2009 | |||
2010 | // Rule ALSIntersection | ||
2011 | ruleALSIntersection returns [EObject current=null] | ||
2012 | @init { enterRule(); | ||
2013 | } | ||
2014 | @after { leaveRule(); }: | ||
2015 | ( | ||
2016 | { | ||
2017 | newCompositeNode(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0()); | ||
2018 | } | ||
2019 | this_ALSDirectProduct_0=ruleALSDirectProduct | ||
2020 | { | ||
2021 | $current = $this_ALSDirectProduct_0.current; | ||
2022 | afterParserOrEnumRuleCall(); | ||
2023 | } | ||
2024 | (( | ||
2025 | { | ||
2026 | $current = forceCreateModelElementAndSet( | ||
2027 | grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(), | ||
2028 | $current); | ||
2029 | } | ||
2030 | ) otherlv_2='&' | ||
2031 | { | ||
2032 | newLeafNode(otherlv_2, grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1()); | ||
2033 | } | ||
2034 | ( | ||
2035 | ( | ||
2036 | { | ||
2037 | newCompositeNode(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0()); | ||
2038 | } | ||
2039 | lv_rightOperand_3_0=ruleALSDirectProduct { | ||
2040 | if ($current==null) { | ||
2041 | $current = createModelElementForParent(grammarAccess.getALSIntersectionRule()); | ||
2042 | } | ||
2043 | set( | ||
2044 | $current, | ||
2045 | "rightOperand", | ||
2046 | lv_rightOperand_3_0, | ||
2047 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct"); | ||
2048 | afterParserOrEnumRuleCall(); | ||
2049 | } | ||
2050 | |||
2051 | ) | ||
2052 | ))*) | ||
2053 | ; | ||
2054 | |||
2055 | |||
2056 | |||
2057 | |||
2058 | |||
2059 | // Entry rule entryRuleALSDirectProduct | ||
2060 | entryRuleALSDirectProduct returns [EObject current=null] | ||
2061 | : | ||
2062 | { newCompositeNode(grammarAccess.getALSDirectProductRule()); } | ||
2063 | iv_ruleALSDirectProduct=ruleALSDirectProduct | ||
2064 | { $current=$iv_ruleALSDirectProduct.current; } | ||
2065 | EOF | ||
2066 | ; | ||
2067 | |||
2068 | // Rule ALSDirectProduct | ||
2069 | ruleALSDirectProduct returns [EObject current=null] | ||
2070 | @init { enterRule(); | ||
2071 | } | ||
2072 | @after { leaveRule(); }: | ||
2073 | ( | ||
2074 | { | ||
2075 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0()); | ||
2076 | } | ||
2077 | this_ALSPreficed_0=ruleALSPreficed | ||
2078 | { | ||
2079 | $current = $this_ALSPreficed_0.current; | ||
2080 | afterParserOrEnumRuleCall(); | ||
2081 | } | ||
2082 | (( | ||
2083 | { | ||
2084 | $current = forceCreateModelElementAndSet( | ||
2085 | grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0(), | ||
2086 | $current); | ||
2087 | } | ||
2088 | )( | ||
2089 | ( | ||
2090 | { | ||
2091 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0()); | ||
2092 | } | ||
2093 | lv_leftMultiplicit_2_0=ruleALSMultiplicity { | ||
2094 | if ($current==null) { | ||
2095 | $current = createModelElementForParent(grammarAccess.getALSDirectProductRule()); | ||
2096 | } | ||
2097 | set( | ||
2098 | $current, | ||
2099 | "leftMultiplicit", | ||
2100 | lv_leftMultiplicit_2_0, | ||
2101 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
2102 | afterParserOrEnumRuleCall(); | ||
2103 | } | ||
2104 | |||
2105 | ) | ||
2106 | )? otherlv_3='->' | ||
2107 | { | ||
2108 | newLeafNode(otherlv_3, grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2()); | ||
2109 | } | ||
2110 | ( | ||
2111 | ( | ||
2112 | { | ||
2113 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0()); | ||
2114 | } | ||
2115 | lv_rightMultiplicit_4_0=ruleALSMultiplicity { | ||
2116 | if ($current==null) { | ||
2117 | $current = createModelElementForParent(grammarAccess.getALSDirectProductRule()); | ||
2118 | } | ||
2119 | set( | ||
2120 | $current, | ||
2121 | "rightMultiplicit", | ||
2122 | lv_rightMultiplicit_4_0, | ||
2123 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
2124 | afterParserOrEnumRuleCall(); | ||
2125 | } | ||
2126 | |||
2127 | ) | ||
2128 | )?( | ||
2129 | ( | ||
2130 | { | ||
2131 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0()); | ||
2132 | } | ||
2133 | lv_rightOperand_5_0=ruleALSPreficed { | ||
2134 | if ($current==null) { | ||
2135 | $current = createModelElementForParent(grammarAccess.getALSDirectProductRule()); | ||
2136 | } | ||
2137 | set( | ||
2138 | $current, | ||
2139 | "rightOperand", | ||
2140 | lv_rightOperand_5_0, | ||
2141 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed"); | ||
2142 | afterParserOrEnumRuleCall(); | ||
2143 | } | ||
2144 | |||
2145 | ) | ||
2146 | ))?) | ||
2147 | ; | ||
2148 | |||
2149 | |||
2150 | |||
2151 | |||
2152 | |||
2153 | // Entry rule entryRuleALSPreficed | ||
2154 | entryRuleALSPreficed returns [EObject current=null] | ||
2155 | : | ||
2156 | { newCompositeNode(grammarAccess.getALSPreficedRule()); } | ||
2157 | iv_ruleALSPreficed=ruleALSPreficed | ||
2158 | { $current=$iv_ruleALSPreficed.current; } | ||
2159 | EOF | ||
2160 | ; | ||
2161 | |||
2162 | // Rule ALSPreficed | ||
2163 | ruleALSPreficed returns [EObject current=null] | ||
2164 | @init { enterRule(); | ||
2165 | } | ||
2166 | @after { leaveRule(); }: | ||
2167 | ((( | ||
2168 | { | ||
2169 | $current = forceCreateModelElement( | ||
2170 | grammarAccess.getALSPreficedAccess().getALSNotAction_0_0(), | ||
2171 | $current); | ||
2172 | } | ||
2173 | )((( '!' | ||
2174 | |||
2175 | | 'not' | ||
2176 | ))=>( otherlv_1='!' | ||
2177 | { | ||
2178 | newLeafNode(otherlv_1, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0()); | ||
2179 | } | ||
2180 | |||
2181 | | otherlv_2='not' | ||
2182 | { | ||
2183 | newLeafNode(otherlv_2, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1()); | ||
2184 | } | ||
2185 | ))( | ||
2186 | ( | ||
2187 | { | ||
2188 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0()); | ||
2189 | } | ||
2190 | lv_operand_3_0=ruleALSBasicRelationTerm { | ||
2191 | if ($current==null) { | ||
2192 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2193 | } | ||
2194 | set( | ||
2195 | $current, | ||
2196 | "operand", | ||
2197 | lv_operand_3_0, | ||
2198 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
2199 | afterParserOrEnumRuleCall(); | ||
2200 | } | ||
2201 | |||
2202 | ) | ||
2203 | )) | ||
2204 | |(( | ||
2205 | { | ||
2206 | $current = forceCreateModelElement( | ||
2207 | grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0(), | ||
2208 | $current); | ||
2209 | } | ||
2210 | )(( '~' | ||
2211 | )=> otherlv_5='~' | ||
2212 | { | ||
2213 | newLeafNode(otherlv_5, grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1()); | ||
2214 | } | ||
2215 | )( | ||
2216 | ( | ||
2217 | { | ||
2218 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0()); | ||
2219 | } | ||
2220 | lv_operand_6_0=ruleALSBasicRelationTerm { | ||
2221 | if ($current==null) { | ||
2222 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2223 | } | ||
2224 | set( | ||
2225 | $current, | ||
2226 | "operand", | ||
2227 | lv_operand_6_0, | ||
2228 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
2229 | afterParserOrEnumRuleCall(); | ||
2230 | } | ||
2231 | |||
2232 | ) | ||
2233 | )) | ||
2234 | |(( | ||
2235 | { | ||
2236 | $current = forceCreateModelElement( | ||
2237 | grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0(), | ||
2238 | $current); | ||
2239 | } | ||
2240 | ) otherlv_8='^' | ||
2241 | { | ||
2242 | newLeafNode(otherlv_8, grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1()); | ||
2243 | } | ||
2244 | ( | ||
2245 | ( | ||
2246 | { | ||
2247 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0()); | ||
2248 | } | ||
2249 | lv_operand_9_0=ruleALSBasicRelationTerm { | ||
2250 | if ($current==null) { | ||
2251 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2252 | } | ||
2253 | set( | ||
2254 | $current, | ||
2255 | "operand", | ||
2256 | lv_operand_9_0, | ||
2257 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
2258 | afterParserOrEnumRuleCall(); | ||
2259 | } | ||
2260 | |||
2261 | ) | ||
2262 | )) | ||
2263 | |(( | ||
2264 | { | ||
2265 | $current = forceCreateModelElement( | ||
2266 | grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0(), | ||
2267 | $current); | ||
2268 | } | ||
2269 | ) otherlv_11='*' | ||
2270 | { | ||
2271 | newLeafNode(otherlv_11, grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1()); | ||
2272 | } | ||
2273 | ( | ||
2274 | ( | ||
2275 | { | ||
2276 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0()); | ||
2277 | } | ||
2278 | lv_operand_12_0=ruleALSBasicRelationTerm { | ||
2279 | if ($current==null) { | ||
2280 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2281 | } | ||
2282 | set( | ||
2283 | $current, | ||
2284 | "operand", | ||
2285 | lv_operand_12_0, | ||
2286 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
2287 | afterParserOrEnumRuleCall(); | ||
2288 | } | ||
2289 | |||
2290 | ) | ||
2291 | )) | ||
2292 | |(( | ||
2293 | { | ||
2294 | $current = forceCreateModelElement( | ||
2295 | grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0(), | ||
2296 | $current); | ||
2297 | } | ||
2298 | ) otherlv_14='#' | ||
2299 | { | ||
2300 | newLeafNode(otherlv_14, grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1()); | ||
2301 | } | ||
2302 | ( | ||
2303 | ( | ||
2304 | { | ||
2305 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0()); | ||
2306 | } | ||
2307 | lv_operand_15_0=ruleALSBasicRelationTerm { | ||
2308 | if ($current==null) { | ||
2309 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2310 | } | ||
2311 | set( | ||
2312 | $current, | ||
2313 | "operand", | ||
2314 | lv_operand_15_0, | ||
2315 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
2316 | afterParserOrEnumRuleCall(); | ||
2317 | } | ||
2318 | |||
2319 | ) | ||
2320 | )) | ||
2321 | |(( | ||
2322 | { | ||
2323 | $current = forceCreateModelElement( | ||
2324 | grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0(), | ||
2325 | $current); | ||
2326 | } | ||
2327 | )(( '-' | ||
2328 | )=> otherlv_17='-' | ||
2329 | { | ||
2330 | newLeafNode(otherlv_17, grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1()); | ||
2331 | } | ||
2332 | )( | ||
2333 | ( | ||
2334 | { | ||
2335 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0()); | ||
2336 | } | ||
2337 | lv_operand_18_0=ruleALSBasicRelationTerm { | ||
2338 | if ($current==null) { | ||
2339 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2340 | } | ||
2341 | set( | ||
2342 | $current, | ||
2343 | "operand", | ||
2344 | lv_operand_18_0, | ||
2345 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
2346 | afterParserOrEnumRuleCall(); | ||
2347 | } | ||
2348 | |||
2349 | ) | ||
2350 | )) | ||
2351 | |(( | ||
2352 | { | ||
2353 | $current = forceCreateModelElement( | ||
2354 | grammarAccess.getALSPreficedAccess().getALSSumAction_6_0(), | ||
2355 | $current); | ||
2356 | } | ||
2357 | ) otherlv_20='sum' | ||
2358 | { | ||
2359 | newLeafNode(otherlv_20, grammarAccess.getALSPreficedAccess().getSumKeyword_6_1()); | ||
2360 | } | ||
2361 | ( | ||
2362 | ( | ||
2363 | { | ||
2364 | newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0()); | ||
2365 | } | ||
2366 | lv_variables_21_0=ruleALSVariableDeclaration { | ||
2367 | if ($current==null) { | ||
2368 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2369 | } | ||
2370 | add( | ||
2371 | $current, | ||
2372 | "variables", | ||
2373 | lv_variables_21_0, | ||
2374 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
2375 | afterParserOrEnumRuleCall(); | ||
2376 | } | ||
2377 | |||
2378 | ) | ||
2379 | )( otherlv_22=',' | ||
2380 | { | ||
2381 | newLeafNode(otherlv_22, grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0()); | ||
2382 | } | ||
2383 | ( | ||
2384 | ( | ||
2385 | { | ||
2386 | newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0()); | ||
2387 | } | ||
2388 | lv_variables_23_0=ruleALSVariableDeclaration { | ||
2389 | if ($current==null) { | ||
2390 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2391 | } | ||
2392 | add( | ||
2393 | $current, | ||
2394 | "variables", | ||
2395 | lv_variables_23_0, | ||
2396 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
2397 | afterParserOrEnumRuleCall(); | ||
2398 | } | ||
2399 | |||
2400 | ) | ||
2401 | ))* otherlv_24='{' | ||
2402 | { | ||
2403 | newLeafNode(otherlv_24, grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4()); | ||
2404 | } | ||
2405 | ( | ||
2406 | ( | ||
2407 | { | ||
2408 | newCompositeNode(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0()); | ||
2409 | } | ||
2410 | lv_expression_25_0=ruleALSTerm { | ||
2411 | if ($current==null) { | ||
2412 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2413 | } | ||
2414 | set( | ||
2415 | $current, | ||
2416 | "expression", | ||
2417 | lv_expression_25_0, | ||
2418 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2419 | afterParserOrEnumRuleCall(); | ||
2420 | } | ||
2421 | |||
2422 | ) | ||
2423 | ) otherlv_26='}' | ||
2424 | { | ||
2425 | newLeafNode(otherlv_26, grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6()); | ||
2426 | } | ||
2427 | ) | ||
2428 | |(( | ||
2429 | { | ||
2430 | $current = forceCreateModelElement( | ||
2431 | grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0(), | ||
2432 | $current); | ||
2433 | } | ||
2434 | )(( | ||
2435 | ( | ||
2436 | { | ||
2437 | if ($current==null) { | ||
2438 | $current = createModelElement(grammarAccess.getALSPreficedRule()); | ||
2439 | } | ||
2440 | } | ||
2441 | otherlv_28=RULE_ID | ||
2442 | { | ||
2443 | newLeafNode(otherlv_28, grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0()); | ||
2444 | } | ||
2445 | |||
2446 | ) | ||
2447 | ) | ||
2448 | |( | ||
2449 | ( | ||
2450 | { | ||
2451 | newCompositeNode(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0()); | ||
2452 | } | ||
2453 | lv_referredNumericOperator_29_0=ruleALSNumericOperator { | ||
2454 | if ($current==null) { | ||
2455 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2456 | } | ||
2457 | set( | ||
2458 | $current, | ||
2459 | "referredNumericOperator", | ||
2460 | lv_referredNumericOperator_29_0, | ||
2461 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator"); | ||
2462 | afterParserOrEnumRuleCall(); | ||
2463 | } | ||
2464 | |||
2465 | ) | ||
2466 | )) otherlv_30='[' | ||
2467 | { | ||
2468 | newLeafNode(otherlv_30, grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2()); | ||
2469 | } | ||
2470 | ( | ||
2471 | ( | ||
2472 | { | ||
2473 | newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0()); | ||
2474 | } | ||
2475 | lv_params_31_0=ruleALSTerm { | ||
2476 | if ($current==null) { | ||
2477 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2478 | } | ||
2479 | add( | ||
2480 | $current, | ||
2481 | "params", | ||
2482 | lv_params_31_0, | ||
2483 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2484 | afterParserOrEnumRuleCall(); | ||
2485 | } | ||
2486 | |||
2487 | ) | ||
2488 | )( otherlv_32=',' | ||
2489 | { | ||
2490 | newLeafNode(otherlv_32, grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0()); | ||
2491 | } | ||
2492 | ( | ||
2493 | ( | ||
2494 | { | ||
2495 | newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0()); | ||
2496 | } | ||
2497 | lv_params_33_0=ruleALSTerm { | ||
2498 | if ($current==null) { | ||
2499 | $current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
2500 | } | ||
2501 | add( | ||
2502 | $current, | ||
2503 | "params", | ||
2504 | lv_params_33_0, | ||
2505 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2506 | afterParserOrEnumRuleCall(); | ||
2507 | } | ||
2508 | |||
2509 | ) | ||
2510 | ))* otherlv_34=']' | ||
2511 | { | ||
2512 | newLeafNode(otherlv_34, grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5()); | ||
2513 | } | ||
2514 | ) | ||
2515 | | | ||
2516 | { | ||
2517 | newCompositeNode(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8()); | ||
2518 | } | ||
2519 | this_ALSBasicRelationTerm_35=ruleALSBasicRelationTerm | ||
2520 | { | ||
2521 | $current = $this_ALSBasicRelationTerm_35.current; | ||
2522 | afterParserOrEnumRuleCall(); | ||
2523 | } | ||
2524 | ) | ||
2525 | ; | ||
2526 | |||
2527 | |||
2528 | |||
2529 | |||
2530 | |||
2531 | // Entry rule entryRuleALSVariableDeclaration | ||
2532 | entryRuleALSVariableDeclaration returns [EObject current=null] | ||
2533 | : | ||
2534 | { newCompositeNode(grammarAccess.getALSVariableDeclarationRule()); } | ||
2535 | iv_ruleALSVariableDeclaration=ruleALSVariableDeclaration | ||
2536 | { $current=$iv_ruleALSVariableDeclaration.current; } | ||
2537 | EOF | ||
2538 | ; | ||
2539 | |||
2540 | // Rule ALSVariableDeclaration | ||
2541 | ruleALSVariableDeclaration returns [EObject current=null] | ||
2542 | @init { enterRule(); | ||
2543 | } | ||
2544 | @after { leaveRule(); }: | ||
2545 | (( | ||
2546 | ( | ||
2547 | { | ||
2548 | newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0()); | ||
2549 | } | ||
2550 | lv_name_0_0=ruleALSID { | ||
2551 | if ($current==null) { | ||
2552 | $current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule()); | ||
2553 | } | ||
2554 | set( | ||
2555 | $current, | ||
2556 | "name", | ||
2557 | lv_name_0_0, | ||
2558 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
2559 | afterParserOrEnumRuleCall(); | ||
2560 | } | ||
2561 | |||
2562 | ) | ||
2563 | ) otherlv_1=':' | ||
2564 | { | ||
2565 | newLeafNode(otherlv_1, grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1()); | ||
2566 | } | ||
2567 | ( | ||
2568 | ( | ||
2569 | { | ||
2570 | newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0()); | ||
2571 | } | ||
2572 | lv_range_2_0=ruleALSTerm { | ||
2573 | if ($current==null) { | ||
2574 | $current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule()); | ||
2575 | } | ||
2576 | set( | ||
2577 | $current, | ||
2578 | "range", | ||
2579 | lv_range_2_0, | ||
2580 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2581 | afterParserOrEnumRuleCall(); | ||
2582 | } | ||
2583 | |||
2584 | ) | ||
2585 | )) | ||
2586 | ; | ||
2587 | |||
2588 | |||
2589 | |||
2590 | |||
2591 | |||
2592 | // Entry rule entryRuleALSBasicRelationTerm | ||
2593 | entryRuleALSBasicRelationTerm returns [EObject current=null] | ||
2594 | : | ||
2595 | { newCompositeNode(grammarAccess.getALSBasicRelationTermRule()); } | ||
2596 | iv_ruleALSBasicRelationTerm=ruleALSBasicRelationTerm | ||
2597 | { $current=$iv_ruleALSBasicRelationTerm.current; } | ||
2598 | EOF | ||
2599 | ; | ||
2600 | |||
2601 | // Rule ALSBasicRelationTerm | ||
2602 | ruleALSBasicRelationTerm returns [EObject current=null] | ||
2603 | @init { enterRule(); | ||
2604 | } | ||
2605 | @after { leaveRule(); }: | ||
2606 | ((( | ||
2607 | { | ||
2608 | $current = forceCreateModelElement( | ||
2609 | grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0(), | ||
2610 | $current); | ||
2611 | } | ||
2612 | ) otherlv_1='none' | ||
2613 | { | ||
2614 | newLeafNode(otherlv_1, grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1()); | ||
2615 | } | ||
2616 | ) | ||
2617 | |(( | ||
2618 | { | ||
2619 | $current = forceCreateModelElement( | ||
2620 | grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0(), | ||
2621 | $current); | ||
2622 | } | ||
2623 | ) otherlv_3='iden' | ||
2624 | { | ||
2625 | newLeafNode(otherlv_3, grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1()); | ||
2626 | } | ||
2627 | ) | ||
2628 | |(( | ||
2629 | { | ||
2630 | $current = forceCreateModelElement( | ||
2631 | grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0(), | ||
2632 | $current); | ||
2633 | } | ||
2634 | ) otherlv_5='univ' | ||
2635 | { | ||
2636 | newLeafNode(otherlv_5, grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1()); | ||
2637 | } | ||
2638 | ) | ||
2639 | |(( | ||
2640 | { | ||
2641 | $current = forceCreateModelElement( | ||
2642 | grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0(), | ||
2643 | $current); | ||
2644 | } | ||
2645 | ) otherlv_7='Int' | ||
2646 | { | ||
2647 | newLeafNode(otherlv_7, grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1()); | ||
2648 | } | ||
2649 | ) | ||
2650 | |(( | ||
2651 | { | ||
2652 | $current = forceCreateModelElement( | ||
2653 | grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0(), | ||
2654 | $current); | ||
2655 | } | ||
2656 | ) otherlv_9='String' | ||
2657 | { | ||
2658 | newLeafNode(otherlv_9, grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1()); | ||
2659 | } | ||
2660 | ) | ||
2661 | |(( | ||
2662 | { | ||
2663 | $current = forceCreateModelElement( | ||
2664 | grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0(), | ||
2665 | $current); | ||
2666 | } | ||
2667 | )( | ||
2668 | ( | ||
2669 | { | ||
2670 | if ($current==null) { | ||
2671 | $current = createModelElement(grammarAccess.getALSBasicRelationTermRule()); | ||
2672 | } | ||
2673 | } | ||
2674 | otherlv_11=RULE_ID | ||
2675 | { | ||
2676 | newLeafNode(otherlv_11, grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0()); | ||
2677 | } | ||
2678 | |||
2679 | ) | ||
2680 | )) | ||
2681 | |(( | ||
2682 | { | ||
2683 | $current = forceCreateModelElement( | ||
2684 | grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0(), | ||
2685 | $current); | ||
2686 | } | ||
2687 | )( | ||
2688 | ( | ||
2689 | lv_value_13_0=RULE_INT | ||
2690 | { | ||
2691 | newLeafNode(lv_value_13_0, grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0()); | ||
2692 | } | ||
2693 | { | ||
2694 | if ($current==null) { | ||
2695 | $current = createModelElement(grammarAccess.getALSBasicRelationTermRule()); | ||
2696 | } | ||
2697 | setWithLastConsumed( | ||
2698 | $current, | ||
2699 | "value", | ||
2700 | lv_value_13_0, | ||
2701 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2702 | } | ||
2703 | |||
2704 | ) | ||
2705 | )) | ||
2706 | |(( | ||
2707 | { | ||
2708 | $current = forceCreateModelElement( | ||
2709 | grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0(), | ||
2710 | $current); | ||
2711 | } | ||
2712 | )( | ||
2713 | ( | ||
2714 | lv_value_15_0=RULE_STRING | ||
2715 | { | ||
2716 | newLeafNode(lv_value_15_0, grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0()); | ||
2717 | } | ||
2718 | { | ||
2719 | if ($current==null) { | ||
2720 | $current = createModelElement(grammarAccess.getALSBasicRelationTermRule()); | ||
2721 | } | ||
2722 | setWithLastConsumed( | ||
2723 | $current, | ||
2724 | "value", | ||
2725 | lv_value_15_0, | ||
2726 | "org.eclipse.xtext.common.Terminals.STRING"); | ||
2727 | } | ||
2728 | |||
2729 | ) | ||
2730 | )) | ||
2731 | |( otherlv_16='(' | ||
2732 | { | ||
2733 | newLeafNode(otherlv_16, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0()); | ||
2734 | } | ||
2735 | |||
2736 | { | ||
2737 | newCompositeNode(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1()); | ||
2738 | } | ||
2739 | this_ALSTerm_17=ruleALSTerm | ||
2740 | { | ||
2741 | $current = $this_ALSTerm_17.current; | ||
2742 | afterParserOrEnumRuleCall(); | ||
2743 | } | ||
2744 | otherlv_18=')' | ||
2745 | { | ||
2746 | newLeafNode(otherlv_18, grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2()); | ||
2747 | } | ||
2748 | )) | ||
2749 | ; | ||
2750 | |||
2751 | |||
2752 | |||
2753 | |||
2754 | |||
2755 | // Entry rule entryRuleALSRunCommand | ||
2756 | entryRuleALSRunCommand returns [EObject current=null] | ||
2757 | : | ||
2758 | { newCompositeNode(grammarAccess.getALSRunCommandRule()); } | ||
2759 | iv_ruleALSRunCommand=ruleALSRunCommand | ||
2760 | { $current=$iv_ruleALSRunCommand.current; } | ||
2761 | EOF | ||
2762 | ; | ||
2763 | |||
2764 | // Rule ALSRunCommand | ||
2765 | ruleALSRunCommand returns [EObject current=null] | ||
2766 | @init { enterRule(); | ||
2767 | } | ||
2768 | @after { leaveRule(); }: | ||
2769 | (( | ||
2770 | { | ||
2771 | $current = forceCreateModelElement( | ||
2772 | grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0(), | ||
2773 | $current); | ||
2774 | } | ||
2775 | ) otherlv_1='run' | ||
2776 | { | ||
2777 | newLeafNode(otherlv_1, grammarAccess.getALSRunCommandAccess().getRunKeyword_1()); | ||
2778 | } | ||
2779 | otherlv_2='{' | ||
2780 | { | ||
2781 | newLeafNode(otherlv_2, grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2()); | ||
2782 | } | ||
2783 | otherlv_3='}' | ||
2784 | { | ||
2785 | newLeafNode(otherlv_3, grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3()); | ||
2786 | } | ||
2787 | ( otherlv_4='for' | ||
2788 | { | ||
2789 | newLeafNode(otherlv_4, grammarAccess.getALSRunCommandAccess().getForKeyword_4_0()); | ||
2790 | } | ||
2791 | ( | ||
2792 | ( | ||
2793 | { | ||
2794 | newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0()); | ||
2795 | } | ||
2796 | lv_typeScopes_5_0=ruleALSTypeScope { | ||
2797 | if ($current==null) { | ||
2798 | $current = createModelElementForParent(grammarAccess.getALSRunCommandRule()); | ||
2799 | } | ||
2800 | add( | ||
2801 | $current, | ||
2802 | "typeScopes", | ||
2803 | lv_typeScopes_5_0, | ||
2804 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope"); | ||
2805 | afterParserOrEnumRuleCall(); | ||
2806 | } | ||
2807 | |||
2808 | ) | ||
2809 | )( otherlv_6=',' | ||
2810 | { | ||
2811 | newLeafNode(otherlv_6, grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0()); | ||
2812 | } | ||
2813 | ( | ||
2814 | ( | ||
2815 | { | ||
2816 | newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0()); | ||
2817 | } | ||
2818 | lv_typeScopes_7_0=ruleALSTypeScope { | ||
2819 | if ($current==null) { | ||
2820 | $current = createModelElementForParent(grammarAccess.getALSRunCommandRule()); | ||
2821 | } | ||
2822 | add( | ||
2823 | $current, | ||
2824 | "typeScopes", | ||
2825 | lv_typeScopes_7_0, | ||
2826 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope"); | ||
2827 | afterParserOrEnumRuleCall(); | ||
2828 | } | ||
2829 | |||
2830 | ) | ||
2831 | ))*)?) | ||
2832 | ; | ||
2833 | |||
2834 | |||
2835 | |||
2836 | |||
2837 | |||
2838 | // Entry rule entryRuleALSTypeScope | ||
2839 | entryRuleALSTypeScope returns [EObject current=null] | ||
2840 | : | ||
2841 | { newCompositeNode(grammarAccess.getALSTypeScopeRule()); } | ||
2842 | iv_ruleALSTypeScope=ruleALSTypeScope | ||
2843 | { $current=$iv_ruleALSTypeScope.current; } | ||
2844 | EOF | ||
2845 | ; | ||
2846 | |||
2847 | // Rule ALSTypeScope | ||
2848 | ruleALSTypeScope returns [EObject current=null] | ||
2849 | @init { enterRule(); | ||
2850 | } | ||
2851 | @after { leaveRule(); }: | ||
2852 | ( | ||
2853 | { | ||
2854 | newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0()); | ||
2855 | } | ||
2856 | this_ALSSigScope_0=ruleALSSigScope | ||
2857 | { | ||
2858 | $current = $this_ALSSigScope_0.current; | ||
2859 | afterParserOrEnumRuleCall(); | ||
2860 | } | ||
2861 | |||
2862 | | | ||
2863 | { | ||
2864 | newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1()); | ||
2865 | } | ||
2866 | this_ALSIntScope_1=ruleALSIntScope | ||
2867 | { | ||
2868 | $current = $this_ALSIntScope_1.current; | ||
2869 | afterParserOrEnumRuleCall(); | ||
2870 | } | ||
2871 | |||
2872 | | | ||
2873 | { | ||
2874 | newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2()); | ||
2875 | } | ||
2876 | this_ALSStringScope_2=ruleALSStringScope | ||
2877 | { | ||
2878 | $current = $this_ALSStringScope_2.current; | ||
2879 | afterParserOrEnumRuleCall(); | ||
2880 | } | ||
2881 | ) | ||
2882 | ; | ||
2883 | |||
2884 | |||
2885 | |||
2886 | |||
2887 | |||
2888 | // Entry rule entryRuleALSSigScope | ||
2889 | entryRuleALSSigScope returns [EObject current=null] | ||
2890 | : | ||
2891 | { newCompositeNode(grammarAccess.getALSSigScopeRule()); } | ||
2892 | iv_ruleALSSigScope=ruleALSSigScope | ||
2893 | { $current=$iv_ruleALSSigScope.current; } | ||
2894 | EOF | ||
2895 | ; | ||
2896 | |||
2897 | // Rule ALSSigScope | ||
2898 | ruleALSSigScope returns [EObject current=null] | ||
2899 | @init { enterRule(); | ||
2900 | } | ||
2901 | @after { leaveRule(); }: | ||
2902 | (( | ||
2903 | ( | ||
2904 | lv_exactly_0_0= 'exactly' | ||
2905 | { | ||
2906 | newLeafNode(lv_exactly_0_0, grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0()); | ||
2907 | } | ||
2908 | |||
2909 | { | ||
2910 | if ($current==null) { | ||
2911 | $current = createModelElement(grammarAccess.getALSSigScopeRule()); | ||
2912 | } | ||
2913 | setWithLastConsumed($current, "exactly", true, "exactly"); | ||
2914 | } | ||
2915 | |||
2916 | ) | ||
2917 | )?( | ||
2918 | ( | ||
2919 | lv_number_1_0=RULE_INT | ||
2920 | { | ||
2921 | newLeafNode(lv_number_1_0, grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0()); | ||
2922 | } | ||
2923 | { | ||
2924 | if ($current==null) { | ||
2925 | $current = createModelElement(grammarAccess.getALSSigScopeRule()); | ||
2926 | } | ||
2927 | setWithLastConsumed( | ||
2928 | $current, | ||
2929 | "number", | ||
2930 | lv_number_1_0, | ||
2931 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2932 | } | ||
2933 | |||
2934 | ) | ||
2935 | )( | ||
2936 | ( | ||
2937 | { | ||
2938 | if ($current==null) { | ||
2939 | $current = createModelElement(grammarAccess.getALSSigScopeRule()); | ||
2940 | } | ||
2941 | } | ||
2942 | otherlv_2=RULE_ID | ||
2943 | { | ||
2944 | newLeafNode(otherlv_2, grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0()); | ||
2945 | } | ||
2946 | |||
2947 | ) | ||
2948 | )) | ||
2949 | ; | ||
2950 | |||
2951 | |||
2952 | |||
2953 | |||
2954 | |||
2955 | // Entry rule entryRuleALSIntScope | ||
2956 | entryRuleALSIntScope returns [EObject current=null] | ||
2957 | : | ||
2958 | { newCompositeNode(grammarAccess.getALSIntScopeRule()); } | ||
2959 | iv_ruleALSIntScope=ruleALSIntScope | ||
2960 | { $current=$iv_ruleALSIntScope.current; } | ||
2961 | EOF | ||
2962 | ; | ||
2963 | |||
2964 | // Rule ALSIntScope | ||
2965 | ruleALSIntScope returns [EObject current=null] | ||
2966 | @init { enterRule(); | ||
2967 | } | ||
2968 | @after { leaveRule(); }: | ||
2969 | (( | ||
2970 | ( | ||
2971 | lv_number_0_0=RULE_INT | ||
2972 | { | ||
2973 | newLeafNode(lv_number_0_0, grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0()); | ||
2974 | } | ||
2975 | { | ||
2976 | if ($current==null) { | ||
2977 | $current = createModelElement(grammarAccess.getALSIntScopeRule()); | ||
2978 | } | ||
2979 | setWithLastConsumed( | ||
2980 | $current, | ||
2981 | "number", | ||
2982 | lv_number_0_0, | ||
2983 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2984 | } | ||
2985 | |||
2986 | ) | ||
2987 | ) otherlv_1='Int' | ||
2988 | { | ||
2989 | newLeafNode(otherlv_1, grammarAccess.getALSIntScopeAccess().getIntKeyword_1()); | ||
2990 | } | ||
2991 | ) | ||
2992 | ; | ||
2993 | |||
2994 | |||
2995 | |||
2996 | |||
2997 | |||
2998 | // Entry rule entryRuleALSStringScope | ||
2999 | entryRuleALSStringScope returns [EObject current=null] | ||
3000 | : | ||
3001 | { newCompositeNode(grammarAccess.getALSStringScopeRule()); } | ||
3002 | iv_ruleALSStringScope=ruleALSStringScope | ||
3003 | { $current=$iv_ruleALSStringScope.current; } | ||
3004 | EOF | ||
3005 | ; | ||
3006 | |||
3007 | // Rule ALSStringScope | ||
3008 | ruleALSStringScope returns [EObject current=null] | ||
3009 | @init { enterRule(); | ||
3010 | } | ||
3011 | @after { leaveRule(); }: | ||
3012 | ( otherlv_0='exactly' | ||
3013 | { | ||
3014 | newLeafNode(otherlv_0, grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0()); | ||
3015 | } | ||
3016 | ( | ||
3017 | ( | ||
3018 | lv_number_1_0=RULE_INT | ||
3019 | { | ||
3020 | newLeafNode(lv_number_1_0, grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0()); | ||
3021 | } | ||
3022 | { | ||
3023 | if ($current==null) { | ||
3024 | $current = createModelElement(grammarAccess.getALSStringScopeRule()); | ||
3025 | } | ||
3026 | setWithLastConsumed( | ||
3027 | $current, | ||
3028 | "number", | ||
3029 | lv_number_1_0, | ||
3030 | "org.eclipse.xtext.common.Terminals.INT"); | ||
3031 | } | ||
3032 | |||
3033 | ) | ||
3034 | ) otherlv_2='String' | ||
3035 | { | ||
3036 | newLeafNode(otherlv_2, grammarAccess.getALSStringScopeAccess().getStringKeyword_2()); | ||
3037 | } | ||
3038 | ) | ||
3039 | ; | ||
3040 | |||
3041 | |||
3042 | |||
3043 | |||
3044 | |||
3045 | // Rule ALSMultiplicity | ||
3046 | ruleALSMultiplicity returns [Enumerator current=null] | ||
3047 | @init { enterRule(); } | ||
3048 | @after { leaveRule(); }: | ||
3049 | (( enumLiteral_0='all' | ||
3050 | { | ||
3051 | $current = grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | ||
3052 | newLeafNode(enumLiteral_0, grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0()); | ||
3053 | } | ||
3054 | ) | ||
3055 | |( enumLiteral_1='no' | ||
3056 | { | ||
3057 | $current = grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | ||
3058 | newLeafNode(enumLiteral_1, grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1()); | ||
3059 | } | ||
3060 | ) | ||
3061 | |( enumLiteral_2='some' | ||
3062 | { | ||
3063 | $current = grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | ||
3064 | newLeafNode(enumLiteral_2, grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2()); | ||
3065 | } | ||
3066 | ) | ||
3067 | |( enumLiteral_3='lone' | ||
3068 | { | ||
3069 | $current = grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); | ||
3070 | newLeafNode(enumLiteral_3, grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3()); | ||
3071 | } | ||
3072 | ) | ||
3073 | |( enumLiteral_4='one' | ||
3074 | { | ||
3075 | $current = grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); | ||
3076 | newLeafNode(enumLiteral_4, grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4()); | ||
3077 | } | ||
3078 | ) | ||
3079 | |( enumLiteral_5='set' | ||
3080 | { | ||
3081 | $current = grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); | ||
3082 | newLeafNode(enumLiteral_5, grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5()); | ||
3083 | } | ||
3084 | )); | ||
3085 | |||
3086 | |||
3087 | |||
3088 | // Rule ALSNumericOperator | ||
3089 | ruleALSNumericOperator returns [Enumerator current=null] | ||
3090 | @init { enterRule(); } | ||
3091 | @after { leaveRule(); }: | ||
3092 | (( enumLiteral_0='plus' | ||
3093 | { | ||
3094 | $current = grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | ||
3095 | newLeafNode(enumLiteral_0, grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0()); | ||
3096 | } | ||
3097 | ) | ||
3098 | |( enumLiteral_1='sub' | ||
3099 | { | ||
3100 | $current = grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | ||
3101 | newLeafNode(enumLiteral_1, grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1()); | ||
3102 | } | ||
3103 | ) | ||
3104 | |( enumLiteral_2='mul' | ||
3105 | { | ||
3106 | $current = grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | ||
3107 | newLeafNode(enumLiteral_2, grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2()); | ||
3108 | } | ||
3109 | ) | ||
3110 | |( enumLiteral_3='rem' | ||
3111 | { | ||
3112 | $current = grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); | ||
3113 | newLeafNode(enumLiteral_3, grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3()); | ||
3114 | } | ||
3115 | ) | ||
3116 | |( enumLiteral_4='div' | ||
3117 | { | ||
3118 | $current = grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); | ||
3119 | newLeafNode(enumLiteral_4, grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4()); | ||
3120 | } | ||
3121 | )); | ||
3122 | |||
3123 | |||
3124 | |||
3125 | RULE_ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'\''|'"'|'0'..'9')*; | ||
3126 | |||
3127 | RULE_INT : ('0'..'9')+; | ||
3128 | |||
3129 | RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); | ||
3130 | |||
3131 | RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; | ||
3132 | |||
3133 | RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; | ||
3134 | |||
3135 | RULE_WS : (' '|'\t'|'\r'|'\n')+; | ||
3136 | |||
3137 | RULE_ANY_OTHER : .; | ||
3138 | |||
3139 | |||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens new file mode 100644 index 00000000..530f7732 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguage.tokens | |||
@@ -0,0 +1,139 @@ | |||
1 | '!'=49 | ||
2 | '!='=37 | ||
3 | '#'=54 | ||
4 | '&&'=34 | ||
5 | '&'=47 | ||
6 | '('=61 | ||
7 | ')'=62 | ||
8 | '*'=53 | ||
9 | '+'=19 | ||
10 | '++'=42 | ||
11 | ','=13 | ||
12 | '-'=46 | ||
13 | '->'=48 | ||
14 | '.'=45 | ||
15 | ':'=20 | ||
16 | ':>'=43 | ||
17 | '<'=40 | ||
18 | '<:'=44 | ||
19 | '<='=41 | ||
20 | '<=>'=29 | ||
21 | '='=36 | ||
22 | '=>'=31 | ||
23 | '>'=38 | ||
24 | '>='=39 | ||
25 | 'Int'=59 | ||
26 | 'String'=60 | ||
27 | '['=22 | ||
28 | ']'=23 | ||
29 | '^'=52 | ||
30 | 'abstract'=15 | ||
31 | 'all'=66 | ||
32 | 'and'=35 | ||
33 | 'disj'=26 | ||
34 | 'div'=76 | ||
35 | 'else'=33 | ||
36 | 'enum'=11 | ||
37 | 'exactly'=65 | ||
38 | 'extends'=17 | ||
39 | 'fact'=25 | ||
40 | 'for'=64 | ||
41 | 'fun'=21 | ||
42 | 'iden'=57 | ||
43 | 'iff'=30 | ||
44 | 'implies'=32 | ||
45 | 'in'=18 | ||
46 | 'lone'=69 | ||
47 | 'mul'=74 | ||
48 | 'no'=67 | ||
49 | 'none'=56 | ||
50 | 'not'=50 | ||
51 | 'one'=70 | ||
52 | 'or'=28 | ||
53 | 'plus'=72 | ||
54 | 'pred'=24 | ||
55 | 'rem'=75 | ||
56 | 'run'=63 | ||
57 | 'set'=71 | ||
58 | 'sig'=16 | ||
59 | 'some'=68 | ||
60 | 'sub'=73 | ||
61 | 'sum'=55 | ||
62 | 'univ'=58 | ||
63 | '{'=12 | ||
64 | '||'=27 | ||
65 | '}'=14 | ||
66 | '~'=51 | ||
67 | RULE_ANY_OTHER=10 | ||
68 | RULE_ID=4 | ||
69 | RULE_INT=5 | ||
70 | RULE_ML_COMMENT=7 | ||
71 | RULE_SL_COMMENT=8 | ||
72 | RULE_STRING=6 | ||
73 | RULE_WS=9 | ||
74 | T__11=11 | ||
75 | T__12=12 | ||
76 | T__13=13 | ||
77 | T__14=14 | ||
78 | T__15=15 | ||
79 | T__16=16 | ||
80 | T__17=17 | ||
81 | T__18=18 | ||
82 | T__19=19 | ||
83 | T__20=20 | ||
84 | T__21=21 | ||
85 | T__22=22 | ||
86 | T__23=23 | ||
87 | T__24=24 | ||
88 | T__25=25 | ||
89 | T__26=26 | ||
90 | T__27=27 | ||
91 | T__28=28 | ||
92 | T__29=29 | ||
93 | T__30=30 | ||
94 | T__31=31 | ||
95 | T__32=32 | ||
96 | T__33=33 | ||
97 | T__34=34 | ||
98 | T__35=35 | ||
99 | T__36=36 | ||
100 | T__37=37 | ||
101 | T__38=38 | ||
102 | T__39=39 | ||
103 | T__40=40 | ||
104 | T__41=41 | ||
105 | T__42=42 | ||
106 | T__43=43 | ||
107 | T__44=44 | ||
108 | T__45=45 | ||
109 | T__46=46 | ||
110 | T__47=47 | ||
111 | T__48=48 | ||
112 | T__49=49 | ||
113 | T__50=50 | ||
114 | T__51=51 | ||
115 | T__52=52 | ||
116 | T__53=53 | ||
117 | T__54=54 | ||
118 | T__55=55 | ||
119 | T__56=56 | ||
120 | T__57=57 | ||
121 | T__58=58 | ||
122 | T__59=59 | ||
123 | T__60=60 | ||
124 | T__61=61 | ||
125 | T__62=62 | ||
126 | T__63=63 | ||
127 | T__64=64 | ||
128 | T__65=65 | ||
129 | T__66=66 | ||
130 | T__67=67 | ||
131 | T__68=68 | ||
132 | T__69=69 | ||
133 | T__70=70 | ||
134 | T__71=71 | ||
135 | T__72=72 | ||
136 | T__73=73 | ||
137 | T__74=74 | ||
138 | T__75=75 | ||
139 | T__76=76 | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java new file mode 100644 index 00000000..fec42235 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageLexer.java | |||
@@ -0,0 +1,2854 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.parser.antlr.internal; | ||
2 | |||
3 | // Hack: Use our own Lexer superclass by means of import. | ||
4 | // Currently there is no other way to specify the superclass for the lexer. | ||
5 | import org.eclipse.xtext.parser.antlr.Lexer; | ||
6 | |||
7 | |||
8 | import org.antlr.runtime.*; | ||
9 | import java.util.Stack; | ||
10 | import java.util.List; | ||
11 | import java.util.ArrayList; | ||
12 | |||
13 | @SuppressWarnings("all") | ||
14 | public class InternalAlloyLanguageLexer extends Lexer { | ||
15 | public static final int T__50=50; | ||
16 | public static final int T__19=19; | ||
17 | public static final int T__15=15; | ||
18 | public static final int T__59=59; | ||
19 | public static final int T__16=16; | ||
20 | public static final int T__17=17; | ||
21 | public static final int T__18=18; | ||
22 | public static final int T__11=11; | ||
23 | public static final int T__55=55; | ||
24 | public static final int T__12=12; | ||
25 | public static final int T__56=56; | ||
26 | public static final int T__13=13; | ||
27 | public static final int T__57=57; | ||
28 | public static final int T__14=14; | ||
29 | public static final int T__58=58; | ||
30 | public static final int T__51=51; | ||
31 | public static final int T__52=52; | ||
32 | public static final int T__53=53; | ||
33 | public static final int T__54=54; | ||
34 | public static final int T__60=60; | ||
35 | public static final int T__61=61; | ||
36 | public static final int RULE_ID=4; | ||
37 | public static final int T__26=26; | ||
38 | public static final int T__27=27; | ||
39 | public static final int T__28=28; | ||
40 | public static final int RULE_INT=5; | ||
41 | public static final int T__29=29; | ||
42 | public static final int T__22=22; | ||
43 | public static final int T__66=66; | ||
44 | public static final int RULE_ML_COMMENT=7; | ||
45 | public static final int T__23=23; | ||
46 | public static final int T__67=67; | ||
47 | public static final int T__24=24; | ||
48 | public static final int T__68=68; | ||
49 | public static final int T__25=25; | ||
50 | public static final int T__69=69; | ||
51 | public static final int T__62=62; | ||
52 | public static final int T__63=63; | ||
53 | public static final int T__20=20; | ||
54 | public static final int T__64=64; | ||
55 | public static final int T__21=21; | ||
56 | public static final int T__65=65; | ||
57 | public static final int T__70=70; | ||
58 | public static final int T__71=71; | ||
59 | public static final int T__72=72; | ||
60 | public static final int RULE_STRING=6; | ||
61 | public static final int RULE_SL_COMMENT=8; | ||
62 | public static final int T__37=37; | ||
63 | public static final int T__38=38; | ||
64 | public static final int T__39=39; | ||
65 | public static final int T__33=33; | ||
66 | public static final int T__34=34; | ||
67 | public static final int T__35=35; | ||
68 | public static final int T__36=36; | ||
69 | public static final int T__73=73; | ||
70 | public static final int EOF=-1; | ||
71 | public static final int T__30=30; | ||
72 | public static final int T__74=74; | ||
73 | public static final int T__31=31; | ||
74 | public static final int T__75=75; | ||
75 | public static final int T__32=32; | ||
76 | public static final int T__76=76; | ||
77 | public static final int RULE_WS=9; | ||
78 | public static final int RULE_ANY_OTHER=10; | ||
79 | public static final int T__48=48; | ||
80 | public static final int T__49=49; | ||
81 | public static final int T__44=44; | ||
82 | public static final int T__45=45; | ||
83 | public static final int T__46=46; | ||
84 | public static final int T__47=47; | ||
85 | public static final int T__40=40; | ||
86 | public static final int T__41=41; | ||
87 | public static final int T__42=42; | ||
88 | public static final int T__43=43; | ||
89 | |||
90 | // delegates | ||
91 | // delegators | ||
92 | |||
93 | public InternalAlloyLanguageLexer() {;} | ||
94 | public InternalAlloyLanguageLexer(CharStream input) { | ||
95 | this(input, new RecognizerSharedState()); | ||
96 | } | ||
97 | public InternalAlloyLanguageLexer(CharStream input, RecognizerSharedState state) { | ||
98 | super(input,state); | ||
99 | |||
100 | } | ||
101 | public String getGrammarFileName() { return "InternalAlloyLanguage.g"; } | ||
102 | |||
103 | // $ANTLR start "T__11" | ||
104 | public final void mT__11() throws RecognitionException { | ||
105 | try { | ||
106 | int _type = T__11; | ||
107 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
108 | // InternalAlloyLanguage.g:11:7: ( 'enum' ) | ||
109 | // InternalAlloyLanguage.g:11:9: 'enum' | ||
110 | { | ||
111 | match("enum"); | ||
112 | |||
113 | |||
114 | } | ||
115 | |||
116 | state.type = _type; | ||
117 | state.channel = _channel; | ||
118 | } | ||
119 | finally { | ||
120 | } | ||
121 | } | ||
122 | // $ANTLR end "T__11" | ||
123 | |||
124 | // $ANTLR start "T__12" | ||
125 | public final void mT__12() throws RecognitionException { | ||
126 | try { | ||
127 | int _type = T__12; | ||
128 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
129 | // InternalAlloyLanguage.g:12:7: ( '{' ) | ||
130 | // InternalAlloyLanguage.g:12:9: '{' | ||
131 | { | ||
132 | match('{'); | ||
133 | |||
134 | } | ||
135 | |||
136 | state.type = _type; | ||
137 | state.channel = _channel; | ||
138 | } | ||
139 | finally { | ||
140 | } | ||
141 | } | ||
142 | // $ANTLR end "T__12" | ||
143 | |||
144 | // $ANTLR start "T__13" | ||
145 | public final void mT__13() throws RecognitionException { | ||
146 | try { | ||
147 | int _type = T__13; | ||
148 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
149 | // InternalAlloyLanguage.g:13:7: ( ',' ) | ||
150 | // InternalAlloyLanguage.g:13:9: ',' | ||
151 | { | ||
152 | match(','); | ||
153 | |||
154 | } | ||
155 | |||
156 | state.type = _type; | ||
157 | state.channel = _channel; | ||
158 | } | ||
159 | finally { | ||
160 | } | ||
161 | } | ||
162 | // $ANTLR end "T__13" | ||
163 | |||
164 | // $ANTLR start "T__14" | ||
165 | public final void mT__14() throws RecognitionException { | ||
166 | try { | ||
167 | int _type = T__14; | ||
168 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
169 | // InternalAlloyLanguage.g:14:7: ( '}' ) | ||
170 | // InternalAlloyLanguage.g:14:9: '}' | ||
171 | { | ||
172 | match('}'); | ||
173 | |||
174 | } | ||
175 | |||
176 | state.type = _type; | ||
177 | state.channel = _channel; | ||
178 | } | ||
179 | finally { | ||
180 | } | ||
181 | } | ||
182 | // $ANTLR end "T__14" | ||
183 | |||
184 | // $ANTLR start "T__15" | ||
185 | public final void mT__15() throws RecognitionException { | ||
186 | try { | ||
187 | int _type = T__15; | ||
188 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
189 | // InternalAlloyLanguage.g:15:7: ( 'abstract' ) | ||
190 | // InternalAlloyLanguage.g:15:9: 'abstract' | ||
191 | { | ||
192 | match("abstract"); | ||
193 | |||
194 | |||
195 | } | ||
196 | |||
197 | state.type = _type; | ||
198 | state.channel = _channel; | ||
199 | } | ||
200 | finally { | ||
201 | } | ||
202 | } | ||
203 | // $ANTLR end "T__15" | ||
204 | |||
205 | // $ANTLR start "T__16" | ||
206 | public final void mT__16() throws RecognitionException { | ||
207 | try { | ||
208 | int _type = T__16; | ||
209 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
210 | // InternalAlloyLanguage.g:16:7: ( 'sig' ) | ||
211 | // InternalAlloyLanguage.g:16:9: 'sig' | ||
212 | { | ||
213 | match("sig"); | ||
214 | |||
215 | |||
216 | } | ||
217 | |||
218 | state.type = _type; | ||
219 | state.channel = _channel; | ||
220 | } | ||
221 | finally { | ||
222 | } | ||
223 | } | ||
224 | // $ANTLR end "T__16" | ||
225 | |||
226 | // $ANTLR start "T__17" | ||
227 | public final void mT__17() throws RecognitionException { | ||
228 | try { | ||
229 | int _type = T__17; | ||
230 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
231 | // InternalAlloyLanguage.g:17:7: ( 'extends' ) | ||
232 | // InternalAlloyLanguage.g:17:9: 'extends' | ||
233 | { | ||
234 | match("extends"); | ||
235 | |||
236 | |||
237 | } | ||
238 | |||
239 | state.type = _type; | ||
240 | state.channel = _channel; | ||
241 | } | ||
242 | finally { | ||
243 | } | ||
244 | } | ||
245 | // $ANTLR end "T__17" | ||
246 | |||
247 | // $ANTLR start "T__18" | ||
248 | public final void mT__18() throws RecognitionException { | ||
249 | try { | ||
250 | int _type = T__18; | ||
251 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
252 | // InternalAlloyLanguage.g:18:7: ( 'in' ) | ||
253 | // InternalAlloyLanguage.g:18:9: 'in' | ||
254 | { | ||
255 | match("in"); | ||
256 | |||
257 | |||
258 | } | ||
259 | |||
260 | state.type = _type; | ||
261 | state.channel = _channel; | ||
262 | } | ||
263 | finally { | ||
264 | } | ||
265 | } | ||
266 | // $ANTLR end "T__18" | ||
267 | |||
268 | // $ANTLR start "T__19" | ||
269 | public final void mT__19() throws RecognitionException { | ||
270 | try { | ||
271 | int _type = T__19; | ||
272 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
273 | // InternalAlloyLanguage.g:19:7: ( '+' ) | ||
274 | // InternalAlloyLanguage.g:19:9: '+' | ||
275 | { | ||
276 | match('+'); | ||
277 | |||
278 | } | ||
279 | |||
280 | state.type = _type; | ||
281 | state.channel = _channel; | ||
282 | } | ||
283 | finally { | ||
284 | } | ||
285 | } | ||
286 | // $ANTLR end "T__19" | ||
287 | |||
288 | // $ANTLR start "T__20" | ||
289 | public final void mT__20() throws RecognitionException { | ||
290 | try { | ||
291 | int _type = T__20; | ||
292 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
293 | // InternalAlloyLanguage.g:20:7: ( ':' ) | ||
294 | // InternalAlloyLanguage.g:20:9: ':' | ||
295 | { | ||
296 | match(':'); | ||
297 | |||
298 | } | ||
299 | |||
300 | state.type = _type; | ||
301 | state.channel = _channel; | ||
302 | } | ||
303 | finally { | ||
304 | } | ||
305 | } | ||
306 | // $ANTLR end "T__20" | ||
307 | |||
308 | // $ANTLR start "T__21" | ||
309 | public final void mT__21() throws RecognitionException { | ||
310 | try { | ||
311 | int _type = T__21; | ||
312 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
313 | // InternalAlloyLanguage.g:21:7: ( 'fun' ) | ||
314 | // InternalAlloyLanguage.g:21:9: 'fun' | ||
315 | { | ||
316 | match("fun"); | ||
317 | |||
318 | |||
319 | } | ||
320 | |||
321 | state.type = _type; | ||
322 | state.channel = _channel; | ||
323 | } | ||
324 | finally { | ||
325 | } | ||
326 | } | ||
327 | // $ANTLR end "T__21" | ||
328 | |||
329 | // $ANTLR start "T__22" | ||
330 | public final void mT__22() throws RecognitionException { | ||
331 | try { | ||
332 | int _type = T__22; | ||
333 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
334 | // InternalAlloyLanguage.g:22:7: ( '[' ) | ||
335 | // InternalAlloyLanguage.g:22:9: '[' | ||
336 | { | ||
337 | match('['); | ||
338 | |||
339 | } | ||
340 | |||
341 | state.type = _type; | ||
342 | state.channel = _channel; | ||
343 | } | ||
344 | finally { | ||
345 | } | ||
346 | } | ||
347 | // $ANTLR end "T__22" | ||
348 | |||
349 | // $ANTLR start "T__23" | ||
350 | public final void mT__23() throws RecognitionException { | ||
351 | try { | ||
352 | int _type = T__23; | ||
353 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
354 | // InternalAlloyLanguage.g:23:7: ( ']' ) | ||
355 | // InternalAlloyLanguage.g:23:9: ']' | ||
356 | { | ||
357 | match(']'); | ||
358 | |||
359 | } | ||
360 | |||
361 | state.type = _type; | ||
362 | state.channel = _channel; | ||
363 | } | ||
364 | finally { | ||
365 | } | ||
366 | } | ||
367 | // $ANTLR end "T__23" | ||
368 | |||
369 | // $ANTLR start "T__24" | ||
370 | public final void mT__24() throws RecognitionException { | ||
371 | try { | ||
372 | int _type = T__24; | ||
373 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
374 | // InternalAlloyLanguage.g:24:7: ( 'pred' ) | ||
375 | // InternalAlloyLanguage.g:24:9: 'pred' | ||
376 | { | ||
377 | match("pred"); | ||
378 | |||
379 | |||
380 | } | ||
381 | |||
382 | state.type = _type; | ||
383 | state.channel = _channel; | ||
384 | } | ||
385 | finally { | ||
386 | } | ||
387 | } | ||
388 | // $ANTLR end "T__24" | ||
389 | |||
390 | // $ANTLR start "T__25" | ||
391 | public final void mT__25() throws RecognitionException { | ||
392 | try { | ||
393 | int _type = T__25; | ||
394 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
395 | // InternalAlloyLanguage.g:25:7: ( 'fact' ) | ||
396 | // InternalAlloyLanguage.g:25:9: 'fact' | ||
397 | { | ||
398 | match("fact"); | ||
399 | |||
400 | |||
401 | } | ||
402 | |||
403 | state.type = _type; | ||
404 | state.channel = _channel; | ||
405 | } | ||
406 | finally { | ||
407 | } | ||
408 | } | ||
409 | // $ANTLR end "T__25" | ||
410 | |||
411 | // $ANTLR start "T__26" | ||
412 | public final void mT__26() throws RecognitionException { | ||
413 | try { | ||
414 | int _type = T__26; | ||
415 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
416 | // InternalAlloyLanguage.g:26:7: ( 'disj' ) | ||
417 | // InternalAlloyLanguage.g:26:9: 'disj' | ||
418 | { | ||
419 | match("disj"); | ||
420 | |||
421 | |||
422 | } | ||
423 | |||
424 | state.type = _type; | ||
425 | state.channel = _channel; | ||
426 | } | ||
427 | finally { | ||
428 | } | ||
429 | } | ||
430 | // $ANTLR end "T__26" | ||
431 | |||
432 | // $ANTLR start "T__27" | ||
433 | public final void mT__27() throws RecognitionException { | ||
434 | try { | ||
435 | int _type = T__27; | ||
436 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
437 | // InternalAlloyLanguage.g:27:7: ( '||' ) | ||
438 | // InternalAlloyLanguage.g:27:9: '||' | ||
439 | { | ||
440 | match("||"); | ||
441 | |||
442 | |||
443 | } | ||
444 | |||
445 | state.type = _type; | ||
446 | state.channel = _channel; | ||
447 | } | ||
448 | finally { | ||
449 | } | ||
450 | } | ||
451 | // $ANTLR end "T__27" | ||
452 | |||
453 | // $ANTLR start "T__28" | ||
454 | public final void mT__28() throws RecognitionException { | ||
455 | try { | ||
456 | int _type = T__28; | ||
457 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
458 | // InternalAlloyLanguage.g:28:7: ( 'or' ) | ||
459 | // InternalAlloyLanguage.g:28:9: 'or' | ||
460 | { | ||
461 | match("or"); | ||
462 | |||
463 | |||
464 | } | ||
465 | |||
466 | state.type = _type; | ||
467 | state.channel = _channel; | ||
468 | } | ||
469 | finally { | ||
470 | } | ||
471 | } | ||
472 | // $ANTLR end "T__28" | ||
473 | |||
474 | // $ANTLR start "T__29" | ||
475 | public final void mT__29() throws RecognitionException { | ||
476 | try { | ||
477 | int _type = T__29; | ||
478 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
479 | // InternalAlloyLanguage.g:29:7: ( '<=>' ) | ||
480 | // InternalAlloyLanguage.g:29:9: '<=>' | ||
481 | { | ||
482 | match("<=>"); | ||
483 | |||
484 | |||
485 | } | ||
486 | |||
487 | state.type = _type; | ||
488 | state.channel = _channel; | ||
489 | } | ||
490 | finally { | ||
491 | } | ||
492 | } | ||
493 | // $ANTLR end "T__29" | ||
494 | |||
495 | // $ANTLR start "T__30" | ||
496 | public final void mT__30() throws RecognitionException { | ||
497 | try { | ||
498 | int _type = T__30; | ||
499 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
500 | // InternalAlloyLanguage.g:30:7: ( 'iff' ) | ||
501 | // InternalAlloyLanguage.g:30:9: 'iff' | ||
502 | { | ||
503 | match("iff"); | ||
504 | |||
505 | |||
506 | } | ||
507 | |||
508 | state.type = _type; | ||
509 | state.channel = _channel; | ||
510 | } | ||
511 | finally { | ||
512 | } | ||
513 | } | ||
514 | // $ANTLR end "T__30" | ||
515 | |||
516 | // $ANTLR start "T__31" | ||
517 | public final void mT__31() throws RecognitionException { | ||
518 | try { | ||
519 | int _type = T__31; | ||
520 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
521 | // InternalAlloyLanguage.g:31:7: ( '=>' ) | ||
522 | // InternalAlloyLanguage.g:31:9: '=>' | ||
523 | { | ||
524 | match("=>"); | ||
525 | |||
526 | |||
527 | } | ||
528 | |||
529 | state.type = _type; | ||
530 | state.channel = _channel; | ||
531 | } | ||
532 | finally { | ||
533 | } | ||
534 | } | ||
535 | // $ANTLR end "T__31" | ||
536 | |||
537 | // $ANTLR start "T__32" | ||
538 | public final void mT__32() throws RecognitionException { | ||
539 | try { | ||
540 | int _type = T__32; | ||
541 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
542 | // InternalAlloyLanguage.g:32:7: ( 'implies' ) | ||
543 | // InternalAlloyLanguage.g:32:9: 'implies' | ||
544 | { | ||
545 | match("implies"); | ||
546 | |||
547 | |||
548 | } | ||
549 | |||
550 | state.type = _type; | ||
551 | state.channel = _channel; | ||
552 | } | ||
553 | finally { | ||
554 | } | ||
555 | } | ||
556 | // $ANTLR end "T__32" | ||
557 | |||
558 | // $ANTLR start "T__33" | ||
559 | public final void mT__33() throws RecognitionException { | ||
560 | try { | ||
561 | int _type = T__33; | ||
562 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
563 | // InternalAlloyLanguage.g:33:7: ( 'else' ) | ||
564 | // InternalAlloyLanguage.g:33:9: 'else' | ||
565 | { | ||
566 | match("else"); | ||
567 | |||
568 | |||
569 | } | ||
570 | |||
571 | state.type = _type; | ||
572 | state.channel = _channel; | ||
573 | } | ||
574 | finally { | ||
575 | } | ||
576 | } | ||
577 | // $ANTLR end "T__33" | ||
578 | |||
579 | // $ANTLR start "T__34" | ||
580 | public final void mT__34() throws RecognitionException { | ||
581 | try { | ||
582 | int _type = T__34; | ||
583 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
584 | // InternalAlloyLanguage.g:34:7: ( '&&' ) | ||
585 | // InternalAlloyLanguage.g:34:9: '&&' | ||
586 | { | ||
587 | match("&&"); | ||
588 | |||
589 | |||
590 | } | ||
591 | |||
592 | state.type = _type; | ||
593 | state.channel = _channel; | ||
594 | } | ||
595 | finally { | ||
596 | } | ||
597 | } | ||
598 | // $ANTLR end "T__34" | ||
599 | |||
600 | // $ANTLR start "T__35" | ||
601 | public final void mT__35() throws RecognitionException { | ||
602 | try { | ||
603 | int _type = T__35; | ||
604 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
605 | // InternalAlloyLanguage.g:35:7: ( 'and' ) | ||
606 | // InternalAlloyLanguage.g:35:9: 'and' | ||
607 | { | ||
608 | match("and"); | ||
609 | |||
610 | |||
611 | } | ||
612 | |||
613 | state.type = _type; | ||
614 | state.channel = _channel; | ||
615 | } | ||
616 | finally { | ||
617 | } | ||
618 | } | ||
619 | // $ANTLR end "T__35" | ||
620 | |||
621 | // $ANTLR start "T__36" | ||
622 | public final void mT__36() throws RecognitionException { | ||
623 | try { | ||
624 | int _type = T__36; | ||
625 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
626 | // InternalAlloyLanguage.g:36:7: ( '=' ) | ||
627 | // InternalAlloyLanguage.g:36:9: '=' | ||
628 | { | ||
629 | match('='); | ||
630 | |||
631 | } | ||
632 | |||
633 | state.type = _type; | ||
634 | state.channel = _channel; | ||
635 | } | ||
636 | finally { | ||
637 | } | ||
638 | } | ||
639 | // $ANTLR end "T__36" | ||
640 | |||
641 | // $ANTLR start "T__37" | ||
642 | public final void mT__37() throws RecognitionException { | ||
643 | try { | ||
644 | int _type = T__37; | ||
645 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
646 | // InternalAlloyLanguage.g:37:7: ( '!=' ) | ||
647 | // InternalAlloyLanguage.g:37:9: '!=' | ||
648 | { | ||
649 | match("!="); | ||
650 | |||
651 | |||
652 | } | ||
653 | |||
654 | state.type = _type; | ||
655 | state.channel = _channel; | ||
656 | } | ||
657 | finally { | ||
658 | } | ||
659 | } | ||
660 | // $ANTLR end "T__37" | ||
661 | |||
662 | // $ANTLR start "T__38" | ||
663 | public final void mT__38() throws RecognitionException { | ||
664 | try { | ||
665 | int _type = T__38; | ||
666 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
667 | // InternalAlloyLanguage.g:38:7: ( '>' ) | ||
668 | // InternalAlloyLanguage.g:38:9: '>' | ||
669 | { | ||
670 | match('>'); | ||
671 | |||
672 | } | ||
673 | |||
674 | state.type = _type; | ||
675 | state.channel = _channel; | ||
676 | } | ||
677 | finally { | ||
678 | } | ||
679 | } | ||
680 | // $ANTLR end "T__38" | ||
681 | |||
682 | // $ANTLR start "T__39" | ||
683 | public final void mT__39() throws RecognitionException { | ||
684 | try { | ||
685 | int _type = T__39; | ||
686 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
687 | // InternalAlloyLanguage.g:39:7: ( '>=' ) | ||
688 | // InternalAlloyLanguage.g:39:9: '>=' | ||
689 | { | ||
690 | match(">="); | ||
691 | |||
692 | |||
693 | } | ||
694 | |||
695 | state.type = _type; | ||
696 | state.channel = _channel; | ||
697 | } | ||
698 | finally { | ||
699 | } | ||
700 | } | ||
701 | // $ANTLR end "T__39" | ||
702 | |||
703 | // $ANTLR start "T__40" | ||
704 | public final void mT__40() throws RecognitionException { | ||
705 | try { | ||
706 | int _type = T__40; | ||
707 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
708 | // InternalAlloyLanguage.g:40:7: ( '<' ) | ||
709 | // InternalAlloyLanguage.g:40:9: '<' | ||
710 | { | ||
711 | match('<'); | ||
712 | |||
713 | } | ||
714 | |||
715 | state.type = _type; | ||
716 | state.channel = _channel; | ||
717 | } | ||
718 | finally { | ||
719 | } | ||
720 | } | ||
721 | // $ANTLR end "T__40" | ||
722 | |||
723 | // $ANTLR start "T__41" | ||
724 | public final void mT__41() throws RecognitionException { | ||
725 | try { | ||
726 | int _type = T__41; | ||
727 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
728 | // InternalAlloyLanguage.g:41:7: ( '<=' ) | ||
729 | // InternalAlloyLanguage.g:41:9: '<=' | ||
730 | { | ||
731 | match("<="); | ||
732 | |||
733 | |||
734 | } | ||
735 | |||
736 | state.type = _type; | ||
737 | state.channel = _channel; | ||
738 | } | ||
739 | finally { | ||
740 | } | ||
741 | } | ||
742 | // $ANTLR end "T__41" | ||
743 | |||
744 | // $ANTLR start "T__42" | ||
745 | public final void mT__42() throws RecognitionException { | ||
746 | try { | ||
747 | int _type = T__42; | ||
748 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
749 | // InternalAlloyLanguage.g:42:7: ( '++' ) | ||
750 | // InternalAlloyLanguage.g:42:9: '++' | ||
751 | { | ||
752 | match("++"); | ||
753 | |||
754 | |||
755 | } | ||
756 | |||
757 | state.type = _type; | ||
758 | state.channel = _channel; | ||
759 | } | ||
760 | finally { | ||
761 | } | ||
762 | } | ||
763 | // $ANTLR end "T__42" | ||
764 | |||
765 | // $ANTLR start "T__43" | ||
766 | public final void mT__43() throws RecognitionException { | ||
767 | try { | ||
768 | int _type = T__43; | ||
769 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
770 | // InternalAlloyLanguage.g:43:7: ( ':>' ) | ||
771 | // InternalAlloyLanguage.g:43:9: ':>' | ||
772 | { | ||
773 | match(":>"); | ||
774 | |||
775 | |||
776 | } | ||
777 | |||
778 | state.type = _type; | ||
779 | state.channel = _channel; | ||
780 | } | ||
781 | finally { | ||
782 | } | ||
783 | } | ||
784 | // $ANTLR end "T__43" | ||
785 | |||
786 | // $ANTLR start "T__44" | ||
787 | public final void mT__44() throws RecognitionException { | ||
788 | try { | ||
789 | int _type = T__44; | ||
790 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
791 | // InternalAlloyLanguage.g:44:7: ( '<:' ) | ||
792 | // InternalAlloyLanguage.g:44:9: '<:' | ||
793 | { | ||
794 | match("<:"); | ||
795 | |||
796 | |||
797 | } | ||
798 | |||
799 | state.type = _type; | ||
800 | state.channel = _channel; | ||
801 | } | ||
802 | finally { | ||
803 | } | ||
804 | } | ||
805 | // $ANTLR end "T__44" | ||
806 | |||
807 | // $ANTLR start "T__45" | ||
808 | public final void mT__45() throws RecognitionException { | ||
809 | try { | ||
810 | int _type = T__45; | ||
811 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
812 | // InternalAlloyLanguage.g:45:7: ( '.' ) | ||
813 | // InternalAlloyLanguage.g:45:9: '.' | ||
814 | { | ||
815 | match('.'); | ||
816 | |||
817 | } | ||
818 | |||
819 | state.type = _type; | ||
820 | state.channel = _channel; | ||
821 | } | ||
822 | finally { | ||
823 | } | ||
824 | } | ||
825 | // $ANTLR end "T__45" | ||
826 | |||
827 | // $ANTLR start "T__46" | ||
828 | public final void mT__46() throws RecognitionException { | ||
829 | try { | ||
830 | int _type = T__46; | ||
831 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
832 | // InternalAlloyLanguage.g:46:7: ( '-' ) | ||
833 | // InternalAlloyLanguage.g:46:9: '-' | ||
834 | { | ||
835 | match('-'); | ||
836 | |||
837 | } | ||
838 | |||
839 | state.type = _type; | ||
840 | state.channel = _channel; | ||
841 | } | ||
842 | finally { | ||
843 | } | ||
844 | } | ||
845 | // $ANTLR end "T__46" | ||
846 | |||
847 | // $ANTLR start "T__47" | ||
848 | public final void mT__47() throws RecognitionException { | ||
849 | try { | ||
850 | int _type = T__47; | ||
851 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
852 | // InternalAlloyLanguage.g:47:7: ( '&' ) | ||
853 | // InternalAlloyLanguage.g:47:9: '&' | ||
854 | { | ||
855 | match('&'); | ||
856 | |||
857 | } | ||
858 | |||
859 | state.type = _type; | ||
860 | state.channel = _channel; | ||
861 | } | ||
862 | finally { | ||
863 | } | ||
864 | } | ||
865 | // $ANTLR end "T__47" | ||
866 | |||
867 | // $ANTLR start "T__48" | ||
868 | public final void mT__48() throws RecognitionException { | ||
869 | try { | ||
870 | int _type = T__48; | ||
871 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
872 | // InternalAlloyLanguage.g:48:7: ( '->' ) | ||
873 | // InternalAlloyLanguage.g:48:9: '->' | ||
874 | { | ||
875 | match("->"); | ||
876 | |||
877 | |||
878 | } | ||
879 | |||
880 | state.type = _type; | ||
881 | state.channel = _channel; | ||
882 | } | ||
883 | finally { | ||
884 | } | ||
885 | } | ||
886 | // $ANTLR end "T__48" | ||
887 | |||
888 | // $ANTLR start "T__49" | ||
889 | public final void mT__49() throws RecognitionException { | ||
890 | try { | ||
891 | int _type = T__49; | ||
892 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
893 | // InternalAlloyLanguage.g:49:7: ( '!' ) | ||
894 | // InternalAlloyLanguage.g:49:9: '!' | ||
895 | { | ||
896 | match('!'); | ||
897 | |||
898 | } | ||
899 | |||
900 | state.type = _type; | ||
901 | state.channel = _channel; | ||
902 | } | ||
903 | finally { | ||
904 | } | ||
905 | } | ||
906 | // $ANTLR end "T__49" | ||
907 | |||
908 | // $ANTLR start "T__50" | ||
909 | public final void mT__50() throws RecognitionException { | ||
910 | try { | ||
911 | int _type = T__50; | ||
912 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
913 | // InternalAlloyLanguage.g:50:7: ( 'not' ) | ||
914 | // InternalAlloyLanguage.g:50:9: 'not' | ||
915 | { | ||
916 | match("not"); | ||
917 | |||
918 | |||
919 | } | ||
920 | |||
921 | state.type = _type; | ||
922 | state.channel = _channel; | ||
923 | } | ||
924 | finally { | ||
925 | } | ||
926 | } | ||
927 | // $ANTLR end "T__50" | ||
928 | |||
929 | // $ANTLR start "T__51" | ||
930 | public final void mT__51() throws RecognitionException { | ||
931 | try { | ||
932 | int _type = T__51; | ||
933 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
934 | // InternalAlloyLanguage.g:51:7: ( '~' ) | ||
935 | // InternalAlloyLanguage.g:51:9: '~' | ||
936 | { | ||
937 | match('~'); | ||
938 | |||
939 | } | ||
940 | |||
941 | state.type = _type; | ||
942 | state.channel = _channel; | ||
943 | } | ||
944 | finally { | ||
945 | } | ||
946 | } | ||
947 | // $ANTLR end "T__51" | ||
948 | |||
949 | // $ANTLR start "T__52" | ||
950 | public final void mT__52() throws RecognitionException { | ||
951 | try { | ||
952 | int _type = T__52; | ||
953 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
954 | // InternalAlloyLanguage.g:52:7: ( '^' ) | ||
955 | // InternalAlloyLanguage.g:52:9: '^' | ||
956 | { | ||
957 | match('^'); | ||
958 | |||
959 | } | ||
960 | |||
961 | state.type = _type; | ||
962 | state.channel = _channel; | ||
963 | } | ||
964 | finally { | ||
965 | } | ||
966 | } | ||
967 | // $ANTLR end "T__52" | ||
968 | |||
969 | // $ANTLR start "T__53" | ||
970 | public final void mT__53() throws RecognitionException { | ||
971 | try { | ||
972 | int _type = T__53; | ||
973 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
974 | // InternalAlloyLanguage.g:53:7: ( '*' ) | ||
975 | // InternalAlloyLanguage.g:53:9: '*' | ||
976 | { | ||
977 | match('*'); | ||
978 | |||
979 | } | ||
980 | |||
981 | state.type = _type; | ||
982 | state.channel = _channel; | ||
983 | } | ||
984 | finally { | ||
985 | } | ||
986 | } | ||
987 | // $ANTLR end "T__53" | ||
988 | |||
989 | // $ANTLR start "T__54" | ||
990 | public final void mT__54() throws RecognitionException { | ||
991 | try { | ||
992 | int _type = T__54; | ||
993 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
994 | // InternalAlloyLanguage.g:54:7: ( '#' ) | ||
995 | // InternalAlloyLanguage.g:54:9: '#' | ||
996 | { | ||
997 | match('#'); | ||
998 | |||
999 | } | ||
1000 | |||
1001 | state.type = _type; | ||
1002 | state.channel = _channel; | ||
1003 | } | ||
1004 | finally { | ||
1005 | } | ||
1006 | } | ||
1007 | // $ANTLR end "T__54" | ||
1008 | |||
1009 | // $ANTLR start "T__55" | ||
1010 | public final void mT__55() throws RecognitionException { | ||
1011 | try { | ||
1012 | int _type = T__55; | ||
1013 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1014 | // InternalAlloyLanguage.g:55:7: ( 'sum' ) | ||
1015 | // InternalAlloyLanguage.g:55:9: 'sum' | ||
1016 | { | ||
1017 | match("sum"); | ||
1018 | |||
1019 | |||
1020 | } | ||
1021 | |||
1022 | state.type = _type; | ||
1023 | state.channel = _channel; | ||
1024 | } | ||
1025 | finally { | ||
1026 | } | ||
1027 | } | ||
1028 | // $ANTLR end "T__55" | ||
1029 | |||
1030 | // $ANTLR start "T__56" | ||
1031 | public final void mT__56() throws RecognitionException { | ||
1032 | try { | ||
1033 | int _type = T__56; | ||
1034 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1035 | // InternalAlloyLanguage.g:56:7: ( 'none' ) | ||
1036 | // InternalAlloyLanguage.g:56:9: 'none' | ||
1037 | { | ||
1038 | match("none"); | ||
1039 | |||
1040 | |||
1041 | } | ||
1042 | |||
1043 | state.type = _type; | ||
1044 | state.channel = _channel; | ||
1045 | } | ||
1046 | finally { | ||
1047 | } | ||
1048 | } | ||
1049 | // $ANTLR end "T__56" | ||
1050 | |||
1051 | // $ANTLR start "T__57" | ||
1052 | public final void mT__57() throws RecognitionException { | ||
1053 | try { | ||
1054 | int _type = T__57; | ||
1055 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1056 | // InternalAlloyLanguage.g:57:7: ( 'iden' ) | ||
1057 | // InternalAlloyLanguage.g:57:9: 'iden' | ||
1058 | { | ||
1059 | match("iden"); | ||
1060 | |||
1061 | |||
1062 | } | ||
1063 | |||
1064 | state.type = _type; | ||
1065 | state.channel = _channel; | ||
1066 | } | ||
1067 | finally { | ||
1068 | } | ||
1069 | } | ||
1070 | // $ANTLR end "T__57" | ||
1071 | |||
1072 | // $ANTLR start "T__58" | ||
1073 | public final void mT__58() throws RecognitionException { | ||
1074 | try { | ||
1075 | int _type = T__58; | ||
1076 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1077 | // InternalAlloyLanguage.g:58:7: ( 'univ' ) | ||
1078 | // InternalAlloyLanguage.g:58:9: 'univ' | ||
1079 | { | ||
1080 | match("univ"); | ||
1081 | |||
1082 | |||
1083 | } | ||
1084 | |||
1085 | state.type = _type; | ||
1086 | state.channel = _channel; | ||
1087 | } | ||
1088 | finally { | ||
1089 | } | ||
1090 | } | ||
1091 | // $ANTLR end "T__58" | ||
1092 | |||
1093 | // $ANTLR start "T__59" | ||
1094 | public final void mT__59() throws RecognitionException { | ||
1095 | try { | ||
1096 | int _type = T__59; | ||
1097 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1098 | // InternalAlloyLanguage.g:59:7: ( 'Int' ) | ||
1099 | // InternalAlloyLanguage.g:59:9: 'Int' | ||
1100 | { | ||
1101 | match("Int"); | ||
1102 | |||
1103 | |||
1104 | } | ||
1105 | |||
1106 | state.type = _type; | ||
1107 | state.channel = _channel; | ||
1108 | } | ||
1109 | finally { | ||
1110 | } | ||
1111 | } | ||
1112 | // $ANTLR end "T__59" | ||
1113 | |||
1114 | // $ANTLR start "T__60" | ||
1115 | public final void mT__60() throws RecognitionException { | ||
1116 | try { | ||
1117 | int _type = T__60; | ||
1118 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1119 | // InternalAlloyLanguage.g:60:7: ( 'String' ) | ||
1120 | // InternalAlloyLanguage.g:60:9: 'String' | ||
1121 | { | ||
1122 | match("String"); | ||
1123 | |||
1124 | |||
1125 | } | ||
1126 | |||
1127 | state.type = _type; | ||
1128 | state.channel = _channel; | ||
1129 | } | ||
1130 | finally { | ||
1131 | } | ||
1132 | } | ||
1133 | // $ANTLR end "T__60" | ||
1134 | |||
1135 | // $ANTLR start "T__61" | ||
1136 | public final void mT__61() throws RecognitionException { | ||
1137 | try { | ||
1138 | int _type = T__61; | ||
1139 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1140 | // InternalAlloyLanguage.g:61:7: ( '(' ) | ||
1141 | // InternalAlloyLanguage.g:61:9: '(' | ||
1142 | { | ||
1143 | match('('); | ||
1144 | |||
1145 | } | ||
1146 | |||
1147 | state.type = _type; | ||
1148 | state.channel = _channel; | ||
1149 | } | ||
1150 | finally { | ||
1151 | } | ||
1152 | } | ||
1153 | // $ANTLR end "T__61" | ||
1154 | |||
1155 | // $ANTLR start "T__62" | ||
1156 | public final void mT__62() throws RecognitionException { | ||
1157 | try { | ||
1158 | int _type = T__62; | ||
1159 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1160 | // InternalAlloyLanguage.g:62:7: ( ')' ) | ||
1161 | // InternalAlloyLanguage.g:62:9: ')' | ||
1162 | { | ||
1163 | match(')'); | ||
1164 | |||
1165 | } | ||
1166 | |||
1167 | state.type = _type; | ||
1168 | state.channel = _channel; | ||
1169 | } | ||
1170 | finally { | ||
1171 | } | ||
1172 | } | ||
1173 | // $ANTLR end "T__62" | ||
1174 | |||
1175 | // $ANTLR start "T__63" | ||
1176 | public final void mT__63() throws RecognitionException { | ||
1177 | try { | ||
1178 | int _type = T__63; | ||
1179 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1180 | // InternalAlloyLanguage.g:63:7: ( 'run' ) | ||
1181 | // InternalAlloyLanguage.g:63:9: 'run' | ||
1182 | { | ||
1183 | match("run"); | ||
1184 | |||
1185 | |||
1186 | } | ||
1187 | |||
1188 | state.type = _type; | ||
1189 | state.channel = _channel; | ||
1190 | } | ||
1191 | finally { | ||
1192 | } | ||
1193 | } | ||
1194 | // $ANTLR end "T__63" | ||
1195 | |||
1196 | // $ANTLR start "T__64" | ||
1197 | public final void mT__64() throws RecognitionException { | ||
1198 | try { | ||
1199 | int _type = T__64; | ||
1200 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1201 | // InternalAlloyLanguage.g:64:7: ( 'for' ) | ||
1202 | // InternalAlloyLanguage.g:64:9: 'for' | ||
1203 | { | ||
1204 | match("for"); | ||
1205 | |||
1206 | |||
1207 | } | ||
1208 | |||
1209 | state.type = _type; | ||
1210 | state.channel = _channel; | ||
1211 | } | ||
1212 | finally { | ||
1213 | } | ||
1214 | } | ||
1215 | // $ANTLR end "T__64" | ||
1216 | |||
1217 | // $ANTLR start "T__65" | ||
1218 | public final void mT__65() throws RecognitionException { | ||
1219 | try { | ||
1220 | int _type = T__65; | ||
1221 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1222 | // InternalAlloyLanguage.g:65:7: ( 'exactly' ) | ||
1223 | // InternalAlloyLanguage.g:65:9: 'exactly' | ||
1224 | { | ||
1225 | match("exactly"); | ||
1226 | |||
1227 | |||
1228 | } | ||
1229 | |||
1230 | state.type = _type; | ||
1231 | state.channel = _channel; | ||
1232 | } | ||
1233 | finally { | ||
1234 | } | ||
1235 | } | ||
1236 | // $ANTLR end "T__65" | ||
1237 | |||
1238 | // $ANTLR start "T__66" | ||
1239 | public final void mT__66() throws RecognitionException { | ||
1240 | try { | ||
1241 | int _type = T__66; | ||
1242 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1243 | // InternalAlloyLanguage.g:66:7: ( 'all' ) | ||
1244 | // InternalAlloyLanguage.g:66:9: 'all' | ||
1245 | { | ||
1246 | match("all"); | ||
1247 | |||
1248 | |||
1249 | } | ||
1250 | |||
1251 | state.type = _type; | ||
1252 | state.channel = _channel; | ||
1253 | } | ||
1254 | finally { | ||
1255 | } | ||
1256 | } | ||
1257 | // $ANTLR end "T__66" | ||
1258 | |||
1259 | // $ANTLR start "T__67" | ||
1260 | public final void mT__67() throws RecognitionException { | ||
1261 | try { | ||
1262 | int _type = T__67; | ||
1263 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1264 | // InternalAlloyLanguage.g:67:7: ( 'no' ) | ||
1265 | // InternalAlloyLanguage.g:67:9: 'no' | ||
1266 | { | ||
1267 | match("no"); | ||
1268 | |||
1269 | |||
1270 | } | ||
1271 | |||
1272 | state.type = _type; | ||
1273 | state.channel = _channel; | ||
1274 | } | ||
1275 | finally { | ||
1276 | } | ||
1277 | } | ||
1278 | // $ANTLR end "T__67" | ||
1279 | |||
1280 | // $ANTLR start "T__68" | ||
1281 | public final void mT__68() throws RecognitionException { | ||
1282 | try { | ||
1283 | int _type = T__68; | ||
1284 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1285 | // InternalAlloyLanguage.g:68:7: ( 'some' ) | ||
1286 | // InternalAlloyLanguage.g:68:9: 'some' | ||
1287 | { | ||
1288 | match("some"); | ||
1289 | |||
1290 | |||
1291 | } | ||
1292 | |||
1293 | state.type = _type; | ||
1294 | state.channel = _channel; | ||
1295 | } | ||
1296 | finally { | ||
1297 | } | ||
1298 | } | ||
1299 | // $ANTLR end "T__68" | ||
1300 | |||
1301 | // $ANTLR start "T__69" | ||
1302 | public final void mT__69() throws RecognitionException { | ||
1303 | try { | ||
1304 | int _type = T__69; | ||
1305 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1306 | // InternalAlloyLanguage.g:69:7: ( 'lone' ) | ||
1307 | // InternalAlloyLanguage.g:69:9: 'lone' | ||
1308 | { | ||
1309 | match("lone"); | ||
1310 | |||
1311 | |||
1312 | } | ||
1313 | |||
1314 | state.type = _type; | ||
1315 | state.channel = _channel; | ||
1316 | } | ||
1317 | finally { | ||
1318 | } | ||
1319 | } | ||
1320 | // $ANTLR end "T__69" | ||
1321 | |||
1322 | // $ANTLR start "T__70" | ||
1323 | public final void mT__70() throws RecognitionException { | ||
1324 | try { | ||
1325 | int _type = T__70; | ||
1326 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1327 | // InternalAlloyLanguage.g:70:7: ( 'one' ) | ||
1328 | // InternalAlloyLanguage.g:70:9: 'one' | ||
1329 | { | ||
1330 | match("one"); | ||
1331 | |||
1332 | |||
1333 | } | ||
1334 | |||
1335 | state.type = _type; | ||
1336 | state.channel = _channel; | ||
1337 | } | ||
1338 | finally { | ||
1339 | } | ||
1340 | } | ||
1341 | // $ANTLR end "T__70" | ||
1342 | |||
1343 | // $ANTLR start "T__71" | ||
1344 | public final void mT__71() throws RecognitionException { | ||
1345 | try { | ||
1346 | int _type = T__71; | ||
1347 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1348 | // InternalAlloyLanguage.g:71:7: ( 'set' ) | ||
1349 | // InternalAlloyLanguage.g:71:9: 'set' | ||
1350 | { | ||
1351 | match("set"); | ||
1352 | |||
1353 | |||
1354 | } | ||
1355 | |||
1356 | state.type = _type; | ||
1357 | state.channel = _channel; | ||
1358 | } | ||
1359 | finally { | ||
1360 | } | ||
1361 | } | ||
1362 | // $ANTLR end "T__71" | ||
1363 | |||
1364 | // $ANTLR start "T__72" | ||
1365 | public final void mT__72() throws RecognitionException { | ||
1366 | try { | ||
1367 | int _type = T__72; | ||
1368 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1369 | // InternalAlloyLanguage.g:72:7: ( 'plus' ) | ||
1370 | // InternalAlloyLanguage.g:72:9: 'plus' | ||
1371 | { | ||
1372 | match("plus"); | ||
1373 | |||
1374 | |||
1375 | } | ||
1376 | |||
1377 | state.type = _type; | ||
1378 | state.channel = _channel; | ||
1379 | } | ||
1380 | finally { | ||
1381 | } | ||
1382 | } | ||
1383 | // $ANTLR end "T__72" | ||
1384 | |||
1385 | // $ANTLR start "T__73" | ||
1386 | public final void mT__73() throws RecognitionException { | ||
1387 | try { | ||
1388 | int _type = T__73; | ||
1389 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1390 | // InternalAlloyLanguage.g:73:7: ( 'sub' ) | ||
1391 | // InternalAlloyLanguage.g:73:9: 'sub' | ||
1392 | { | ||
1393 | match("sub"); | ||
1394 | |||
1395 | |||
1396 | } | ||
1397 | |||
1398 | state.type = _type; | ||
1399 | state.channel = _channel; | ||
1400 | } | ||
1401 | finally { | ||
1402 | } | ||
1403 | } | ||
1404 | // $ANTLR end "T__73" | ||
1405 | |||
1406 | // $ANTLR start "T__74" | ||
1407 | public final void mT__74() throws RecognitionException { | ||
1408 | try { | ||
1409 | int _type = T__74; | ||
1410 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1411 | // InternalAlloyLanguage.g:74:7: ( 'mul' ) | ||
1412 | // InternalAlloyLanguage.g:74:9: 'mul' | ||
1413 | { | ||
1414 | match("mul"); | ||
1415 | |||
1416 | |||
1417 | } | ||
1418 | |||
1419 | state.type = _type; | ||
1420 | state.channel = _channel; | ||
1421 | } | ||
1422 | finally { | ||
1423 | } | ||
1424 | } | ||
1425 | // $ANTLR end "T__74" | ||
1426 | |||
1427 | // $ANTLR start "T__75" | ||
1428 | public final void mT__75() throws RecognitionException { | ||
1429 | try { | ||
1430 | int _type = T__75; | ||
1431 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1432 | // InternalAlloyLanguage.g:75:7: ( 'rem' ) | ||
1433 | // InternalAlloyLanguage.g:75:9: 'rem' | ||
1434 | { | ||
1435 | match("rem"); | ||
1436 | |||
1437 | |||
1438 | } | ||
1439 | |||
1440 | state.type = _type; | ||
1441 | state.channel = _channel; | ||
1442 | } | ||
1443 | finally { | ||
1444 | } | ||
1445 | } | ||
1446 | // $ANTLR end "T__75" | ||
1447 | |||
1448 | // $ANTLR start "T__76" | ||
1449 | public final void mT__76() throws RecognitionException { | ||
1450 | try { | ||
1451 | int _type = T__76; | ||
1452 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1453 | // InternalAlloyLanguage.g:76:7: ( 'div' ) | ||
1454 | // InternalAlloyLanguage.g:76:9: 'div' | ||
1455 | { | ||
1456 | match("div"); | ||
1457 | |||
1458 | |||
1459 | } | ||
1460 | |||
1461 | state.type = _type; | ||
1462 | state.channel = _channel; | ||
1463 | } | ||
1464 | finally { | ||
1465 | } | ||
1466 | } | ||
1467 | // $ANTLR end "T__76" | ||
1468 | |||
1469 | // $ANTLR start "RULE_ID" | ||
1470 | public final void mRULE_ID() throws RecognitionException { | ||
1471 | try { | ||
1472 | int _type = RULE_ID; | ||
1473 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1474 | // InternalAlloyLanguage.g:3125:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )* ) | ||
1475 | // InternalAlloyLanguage.g:3125:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )* | ||
1476 | { | ||
1477 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | ||
1478 | input.consume(); | ||
1479 | |||
1480 | } | ||
1481 | else { | ||
1482 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1483 | recover(mse); | ||
1484 | throw mse;} | ||
1485 | |||
1486 | // InternalAlloyLanguage.g:3125:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '\\'' | '\"' | '0' .. '9' )* | ||
1487 | loop1: | ||
1488 | do { | ||
1489 | int alt1=2; | ||
1490 | int LA1_0 = input.LA(1); | ||
1491 | |||
1492 | if ( (LA1_0=='\"'||LA1_0=='\''||(LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { | ||
1493 | alt1=1; | ||
1494 | } | ||
1495 | |||
1496 | |||
1497 | switch (alt1) { | ||
1498 | case 1 : | ||
1499 | // InternalAlloyLanguage.g: | ||
1500 | { | ||
1501 | if ( input.LA(1)=='\"'||input.LA(1)=='\''||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | ||
1502 | input.consume(); | ||
1503 | |||
1504 | } | ||
1505 | else { | ||
1506 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1507 | recover(mse); | ||
1508 | throw mse;} | ||
1509 | |||
1510 | |||
1511 | } | ||
1512 | break; | ||
1513 | |||
1514 | default : | ||
1515 | break loop1; | ||
1516 | } | ||
1517 | } while (true); | ||
1518 | |||
1519 | |||
1520 | } | ||
1521 | |||
1522 | state.type = _type; | ||
1523 | state.channel = _channel; | ||
1524 | } | ||
1525 | finally { | ||
1526 | } | ||
1527 | } | ||
1528 | // $ANTLR end "RULE_ID" | ||
1529 | |||
1530 | // $ANTLR start "RULE_INT" | ||
1531 | public final void mRULE_INT() throws RecognitionException { | ||
1532 | try { | ||
1533 | int _type = RULE_INT; | ||
1534 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1535 | // InternalAlloyLanguage.g:3127:10: ( ( '0' .. '9' )+ ) | ||
1536 | // InternalAlloyLanguage.g:3127:12: ( '0' .. '9' )+ | ||
1537 | { | ||
1538 | // InternalAlloyLanguage.g:3127:12: ( '0' .. '9' )+ | ||
1539 | int cnt2=0; | ||
1540 | loop2: | ||
1541 | do { | ||
1542 | int alt2=2; | ||
1543 | int LA2_0 = input.LA(1); | ||
1544 | |||
1545 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { | ||
1546 | alt2=1; | ||
1547 | } | ||
1548 | |||
1549 | |||
1550 | switch (alt2) { | ||
1551 | case 1 : | ||
1552 | // InternalAlloyLanguage.g:3127:13: '0' .. '9' | ||
1553 | { | ||
1554 | matchRange('0','9'); | ||
1555 | |||
1556 | } | ||
1557 | break; | ||
1558 | |||
1559 | default : | ||
1560 | if ( cnt2 >= 1 ) break loop2; | ||
1561 | EarlyExitException eee = | ||
1562 | new EarlyExitException(2, input); | ||
1563 | throw eee; | ||
1564 | } | ||
1565 | cnt2++; | ||
1566 | } while (true); | ||
1567 | |||
1568 | |||
1569 | } | ||
1570 | |||
1571 | state.type = _type; | ||
1572 | state.channel = _channel; | ||
1573 | } | ||
1574 | finally { | ||
1575 | } | ||
1576 | } | ||
1577 | // $ANTLR end "RULE_INT" | ||
1578 | |||
1579 | // $ANTLR start "RULE_STRING" | ||
1580 | public final void mRULE_STRING() throws RecognitionException { | ||
1581 | try { | ||
1582 | int _type = RULE_STRING; | ||
1583 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1584 | // InternalAlloyLanguage.g:3129:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | ||
1585 | // InternalAlloyLanguage.g:3129:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | ||
1586 | { | ||
1587 | // InternalAlloyLanguage.g:3129:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | ||
1588 | int alt5=2; | ||
1589 | int LA5_0 = input.LA(1); | ||
1590 | |||
1591 | if ( (LA5_0=='\"') ) { | ||
1592 | alt5=1; | ||
1593 | } | ||
1594 | else if ( (LA5_0=='\'') ) { | ||
1595 | alt5=2; | ||
1596 | } | ||
1597 | else { | ||
1598 | NoViableAltException nvae = | ||
1599 | new NoViableAltException("", 5, 0, input); | ||
1600 | |||
1601 | throw nvae; | ||
1602 | } | ||
1603 | switch (alt5) { | ||
1604 | case 1 : | ||
1605 | // InternalAlloyLanguage.g:3129:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | ||
1606 | { | ||
1607 | match('\"'); | ||
1608 | // InternalAlloyLanguage.g:3129:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | ||
1609 | loop3: | ||
1610 | do { | ||
1611 | int alt3=3; | ||
1612 | int LA3_0 = input.LA(1); | ||
1613 | |||
1614 | if ( (LA3_0=='\\') ) { | ||
1615 | alt3=1; | ||
1616 | } | ||
1617 | else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { | ||
1618 | alt3=2; | ||
1619 | } | ||
1620 | |||
1621 | |||
1622 | switch (alt3) { | ||
1623 | case 1 : | ||
1624 | // InternalAlloyLanguage.g:3129:21: '\\\\' . | ||
1625 | { | ||
1626 | match('\\'); | ||
1627 | matchAny(); | ||
1628 | |||
1629 | } | ||
1630 | break; | ||
1631 | case 2 : | ||
1632 | // InternalAlloyLanguage.g:3129:28: ~ ( ( '\\\\' | '\"' ) ) | ||
1633 | { | ||
1634 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | ||
1635 | input.consume(); | ||
1636 | |||
1637 | } | ||
1638 | else { | ||
1639 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1640 | recover(mse); | ||
1641 | throw mse;} | ||
1642 | |||
1643 | |||
1644 | } | ||
1645 | break; | ||
1646 | |||
1647 | default : | ||
1648 | break loop3; | ||
1649 | } | ||
1650 | } while (true); | ||
1651 | |||
1652 | match('\"'); | ||
1653 | |||
1654 | } | ||
1655 | break; | ||
1656 | case 2 : | ||
1657 | // InternalAlloyLanguage.g:3129:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | ||
1658 | { | ||
1659 | match('\''); | ||
1660 | // InternalAlloyLanguage.g:3129:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | ||
1661 | loop4: | ||
1662 | do { | ||
1663 | int alt4=3; | ||
1664 | int LA4_0 = input.LA(1); | ||
1665 | |||
1666 | if ( (LA4_0=='\\') ) { | ||
1667 | alt4=1; | ||
1668 | } | ||
1669 | else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { | ||
1670 | alt4=2; | ||
1671 | } | ||
1672 | |||
1673 | |||
1674 | switch (alt4) { | ||
1675 | case 1 : | ||
1676 | // InternalAlloyLanguage.g:3129:54: '\\\\' . | ||
1677 | { | ||
1678 | match('\\'); | ||
1679 | matchAny(); | ||
1680 | |||
1681 | } | ||
1682 | break; | ||
1683 | case 2 : | ||
1684 | // InternalAlloyLanguage.g:3129:61: ~ ( ( '\\\\' | '\\'' ) ) | ||
1685 | { | ||
1686 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | ||
1687 | input.consume(); | ||
1688 | |||
1689 | } | ||
1690 | else { | ||
1691 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1692 | recover(mse); | ||
1693 | throw mse;} | ||
1694 | |||
1695 | |||
1696 | } | ||
1697 | break; | ||
1698 | |||
1699 | default : | ||
1700 | break loop4; | ||
1701 | } | ||
1702 | } while (true); | ||
1703 | |||
1704 | match('\''); | ||
1705 | |||
1706 | } | ||
1707 | break; | ||
1708 | |||
1709 | } | ||
1710 | |||
1711 | |||
1712 | } | ||
1713 | |||
1714 | state.type = _type; | ||
1715 | state.channel = _channel; | ||
1716 | } | ||
1717 | finally { | ||
1718 | } | ||
1719 | } | ||
1720 | // $ANTLR end "RULE_STRING" | ||
1721 | |||
1722 | // $ANTLR start "RULE_ML_COMMENT" | ||
1723 | public final void mRULE_ML_COMMENT() throws RecognitionException { | ||
1724 | try { | ||
1725 | int _type = RULE_ML_COMMENT; | ||
1726 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1727 | // InternalAlloyLanguage.g:3131:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | ||
1728 | // InternalAlloyLanguage.g:3131:19: '/*' ( options {greedy=false; } : . )* '*/' | ||
1729 | { | ||
1730 | match("/*"); | ||
1731 | |||
1732 | // InternalAlloyLanguage.g:3131:24: ( options {greedy=false; } : . )* | ||
1733 | loop6: | ||
1734 | do { | ||
1735 | int alt6=2; | ||
1736 | int LA6_0 = input.LA(1); | ||
1737 | |||
1738 | if ( (LA6_0=='*') ) { | ||
1739 | int LA6_1 = input.LA(2); | ||
1740 | |||
1741 | if ( (LA6_1=='/') ) { | ||
1742 | alt6=2; | ||
1743 | } | ||
1744 | else if ( ((LA6_1>='\u0000' && LA6_1<='.')||(LA6_1>='0' && LA6_1<='\uFFFF')) ) { | ||
1745 | alt6=1; | ||
1746 | } | ||
1747 | |||
1748 | |||
1749 | } | ||
1750 | else if ( ((LA6_0>='\u0000' && LA6_0<=')')||(LA6_0>='+' && LA6_0<='\uFFFF')) ) { | ||
1751 | alt6=1; | ||
1752 | } | ||
1753 | |||
1754 | |||
1755 | switch (alt6) { | ||
1756 | case 1 : | ||
1757 | // InternalAlloyLanguage.g:3131:52: . | ||
1758 | { | ||
1759 | matchAny(); | ||
1760 | |||
1761 | } | ||
1762 | break; | ||
1763 | |||
1764 | default : | ||
1765 | break loop6; | ||
1766 | } | ||
1767 | } while (true); | ||
1768 | |||
1769 | match("*/"); | ||
1770 | |||
1771 | |||
1772 | } | ||
1773 | |||
1774 | state.type = _type; | ||
1775 | state.channel = _channel; | ||
1776 | } | ||
1777 | finally { | ||
1778 | } | ||
1779 | } | ||
1780 | // $ANTLR end "RULE_ML_COMMENT" | ||
1781 | |||
1782 | // $ANTLR start "RULE_SL_COMMENT" | ||
1783 | public final void mRULE_SL_COMMENT() throws RecognitionException { | ||
1784 | try { | ||
1785 | int _type = RULE_SL_COMMENT; | ||
1786 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1787 | // InternalAlloyLanguage.g:3133:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | ||
1788 | // InternalAlloyLanguage.g:3133:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | ||
1789 | { | ||
1790 | match("//"); | ||
1791 | |||
1792 | // InternalAlloyLanguage.g:3133:24: (~ ( ( '\\n' | '\\r' ) ) )* | ||
1793 | loop7: | ||
1794 | do { | ||
1795 | int alt7=2; | ||
1796 | int LA7_0 = input.LA(1); | ||
1797 | |||
1798 | if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='\uFFFF')) ) { | ||
1799 | alt7=1; | ||
1800 | } | ||
1801 | |||
1802 | |||
1803 | switch (alt7) { | ||
1804 | case 1 : | ||
1805 | // InternalAlloyLanguage.g:3133:24: ~ ( ( '\\n' | '\\r' ) ) | ||
1806 | { | ||
1807 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | ||
1808 | input.consume(); | ||
1809 | |||
1810 | } | ||
1811 | else { | ||
1812 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1813 | recover(mse); | ||
1814 | throw mse;} | ||
1815 | |||
1816 | |||
1817 | } | ||
1818 | break; | ||
1819 | |||
1820 | default : | ||
1821 | break loop7; | ||
1822 | } | ||
1823 | } while (true); | ||
1824 | |||
1825 | // InternalAlloyLanguage.g:3133:40: ( ( '\\r' )? '\\n' )? | ||
1826 | int alt9=2; | ||
1827 | int LA9_0 = input.LA(1); | ||
1828 | |||
1829 | if ( (LA9_0=='\n'||LA9_0=='\r') ) { | ||
1830 | alt9=1; | ||
1831 | } | ||
1832 | switch (alt9) { | ||
1833 | case 1 : | ||
1834 | // InternalAlloyLanguage.g:3133:41: ( '\\r' )? '\\n' | ||
1835 | { | ||
1836 | // InternalAlloyLanguage.g:3133:41: ( '\\r' )? | ||
1837 | int alt8=2; | ||
1838 | int LA8_0 = input.LA(1); | ||
1839 | |||
1840 | if ( (LA8_0=='\r') ) { | ||
1841 | alt8=1; | ||
1842 | } | ||
1843 | switch (alt8) { | ||
1844 | case 1 : | ||
1845 | // InternalAlloyLanguage.g:3133:41: '\\r' | ||
1846 | { | ||
1847 | match('\r'); | ||
1848 | |||
1849 | } | ||
1850 | break; | ||
1851 | |||
1852 | } | ||
1853 | |||
1854 | match('\n'); | ||
1855 | |||
1856 | } | ||
1857 | break; | ||
1858 | |||
1859 | } | ||
1860 | |||
1861 | |||
1862 | } | ||
1863 | |||
1864 | state.type = _type; | ||
1865 | state.channel = _channel; | ||
1866 | } | ||
1867 | finally { | ||
1868 | } | ||
1869 | } | ||
1870 | // $ANTLR end "RULE_SL_COMMENT" | ||
1871 | |||
1872 | // $ANTLR start "RULE_WS" | ||
1873 | public final void mRULE_WS() throws RecognitionException { | ||
1874 | try { | ||
1875 | int _type = RULE_WS; | ||
1876 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1877 | // InternalAlloyLanguage.g:3135:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | ||
1878 | // InternalAlloyLanguage.g:3135:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | ||
1879 | { | ||
1880 | // InternalAlloyLanguage.g:3135:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | ||
1881 | int cnt10=0; | ||
1882 | loop10: | ||
1883 | do { | ||
1884 | int alt10=2; | ||
1885 | int LA10_0 = input.LA(1); | ||
1886 | |||
1887 | if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) { | ||
1888 | alt10=1; | ||
1889 | } | ||
1890 | |||
1891 | |||
1892 | switch (alt10) { | ||
1893 | case 1 : | ||
1894 | // InternalAlloyLanguage.g: | ||
1895 | { | ||
1896 | if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { | ||
1897 | input.consume(); | ||
1898 | |||
1899 | } | ||
1900 | else { | ||
1901 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1902 | recover(mse); | ||
1903 | throw mse;} | ||
1904 | |||
1905 | |||
1906 | } | ||
1907 | break; | ||
1908 | |||
1909 | default : | ||
1910 | if ( cnt10 >= 1 ) break loop10; | ||
1911 | EarlyExitException eee = | ||
1912 | new EarlyExitException(10, input); | ||
1913 | throw eee; | ||
1914 | } | ||
1915 | cnt10++; | ||
1916 | } while (true); | ||
1917 | |||
1918 | |||
1919 | } | ||
1920 | |||
1921 | state.type = _type; | ||
1922 | state.channel = _channel; | ||
1923 | } | ||
1924 | finally { | ||
1925 | } | ||
1926 | } | ||
1927 | // $ANTLR end "RULE_WS" | ||
1928 | |||
1929 | // $ANTLR start "RULE_ANY_OTHER" | ||
1930 | public final void mRULE_ANY_OTHER() throws RecognitionException { | ||
1931 | try { | ||
1932 | int _type = RULE_ANY_OTHER; | ||
1933 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1934 | // InternalAlloyLanguage.g:3137:16: ( . ) | ||
1935 | // InternalAlloyLanguage.g:3137:18: . | ||
1936 | { | ||
1937 | matchAny(); | ||
1938 | |||
1939 | } | ||
1940 | |||
1941 | state.type = _type; | ||
1942 | state.channel = _channel; | ||
1943 | } | ||
1944 | finally { | ||
1945 | } | ||
1946 | } | ||
1947 | // $ANTLR end "RULE_ANY_OTHER" | ||
1948 | |||
1949 | public void mTokens() throws RecognitionException { | ||
1950 | // InternalAlloyLanguage.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) | ||
1951 | int alt11=73; | ||
1952 | alt11 = dfa11.predict(input); | ||
1953 | switch (alt11) { | ||
1954 | case 1 : | ||
1955 | // InternalAlloyLanguage.g:1:10: T__11 | ||
1956 | { | ||
1957 | mT__11(); | ||
1958 | |||
1959 | } | ||
1960 | break; | ||
1961 | case 2 : | ||
1962 | // InternalAlloyLanguage.g:1:16: T__12 | ||
1963 | { | ||
1964 | mT__12(); | ||
1965 | |||
1966 | } | ||
1967 | break; | ||
1968 | case 3 : | ||
1969 | // InternalAlloyLanguage.g:1:22: T__13 | ||
1970 | { | ||
1971 | mT__13(); | ||
1972 | |||
1973 | } | ||
1974 | break; | ||
1975 | case 4 : | ||
1976 | // InternalAlloyLanguage.g:1:28: T__14 | ||
1977 | { | ||
1978 | mT__14(); | ||
1979 | |||
1980 | } | ||
1981 | break; | ||
1982 | case 5 : | ||
1983 | // InternalAlloyLanguage.g:1:34: T__15 | ||
1984 | { | ||
1985 | mT__15(); | ||
1986 | |||
1987 | } | ||
1988 | break; | ||
1989 | case 6 : | ||
1990 | // InternalAlloyLanguage.g:1:40: T__16 | ||
1991 | { | ||
1992 | mT__16(); | ||
1993 | |||
1994 | } | ||
1995 | break; | ||
1996 | case 7 : | ||
1997 | // InternalAlloyLanguage.g:1:46: T__17 | ||
1998 | { | ||
1999 | mT__17(); | ||
2000 | |||
2001 | } | ||
2002 | break; | ||
2003 | case 8 : | ||
2004 | // InternalAlloyLanguage.g:1:52: T__18 | ||
2005 | { | ||
2006 | mT__18(); | ||
2007 | |||
2008 | } | ||
2009 | break; | ||
2010 | case 9 : | ||
2011 | // InternalAlloyLanguage.g:1:58: T__19 | ||
2012 | { | ||
2013 | mT__19(); | ||
2014 | |||
2015 | } | ||
2016 | break; | ||
2017 | case 10 : | ||
2018 | // InternalAlloyLanguage.g:1:64: T__20 | ||
2019 | { | ||
2020 | mT__20(); | ||
2021 | |||
2022 | } | ||
2023 | break; | ||
2024 | case 11 : | ||
2025 | // InternalAlloyLanguage.g:1:70: T__21 | ||
2026 | { | ||
2027 | mT__21(); | ||
2028 | |||
2029 | } | ||
2030 | break; | ||
2031 | case 12 : | ||
2032 | // InternalAlloyLanguage.g:1:76: T__22 | ||
2033 | { | ||
2034 | mT__22(); | ||
2035 | |||
2036 | } | ||
2037 | break; | ||
2038 | case 13 : | ||
2039 | // InternalAlloyLanguage.g:1:82: T__23 | ||
2040 | { | ||
2041 | mT__23(); | ||
2042 | |||
2043 | } | ||
2044 | break; | ||
2045 | case 14 : | ||
2046 | // InternalAlloyLanguage.g:1:88: T__24 | ||
2047 | { | ||
2048 | mT__24(); | ||
2049 | |||
2050 | } | ||
2051 | break; | ||
2052 | case 15 : | ||
2053 | // InternalAlloyLanguage.g:1:94: T__25 | ||
2054 | { | ||
2055 | mT__25(); | ||
2056 | |||
2057 | } | ||
2058 | break; | ||
2059 | case 16 : | ||
2060 | // InternalAlloyLanguage.g:1:100: T__26 | ||
2061 | { | ||
2062 | mT__26(); | ||
2063 | |||
2064 | } | ||
2065 | break; | ||
2066 | case 17 : | ||
2067 | // InternalAlloyLanguage.g:1:106: T__27 | ||
2068 | { | ||
2069 | mT__27(); | ||
2070 | |||
2071 | } | ||
2072 | break; | ||
2073 | case 18 : | ||
2074 | // InternalAlloyLanguage.g:1:112: T__28 | ||
2075 | { | ||
2076 | mT__28(); | ||
2077 | |||
2078 | } | ||
2079 | break; | ||
2080 | case 19 : | ||
2081 | // InternalAlloyLanguage.g:1:118: T__29 | ||
2082 | { | ||
2083 | mT__29(); | ||
2084 | |||
2085 | } | ||
2086 | break; | ||
2087 | case 20 : | ||
2088 | // InternalAlloyLanguage.g:1:124: T__30 | ||
2089 | { | ||
2090 | mT__30(); | ||
2091 | |||
2092 | } | ||
2093 | break; | ||
2094 | case 21 : | ||
2095 | // InternalAlloyLanguage.g:1:130: T__31 | ||
2096 | { | ||
2097 | mT__31(); | ||
2098 | |||
2099 | } | ||
2100 | break; | ||
2101 | case 22 : | ||
2102 | // InternalAlloyLanguage.g:1:136: T__32 | ||
2103 | { | ||
2104 | mT__32(); | ||
2105 | |||
2106 | } | ||
2107 | break; | ||
2108 | case 23 : | ||
2109 | // InternalAlloyLanguage.g:1:142: T__33 | ||
2110 | { | ||
2111 | mT__33(); | ||
2112 | |||
2113 | } | ||
2114 | break; | ||
2115 | case 24 : | ||
2116 | // InternalAlloyLanguage.g:1:148: T__34 | ||
2117 | { | ||
2118 | mT__34(); | ||
2119 | |||
2120 | } | ||
2121 | break; | ||
2122 | case 25 : | ||
2123 | // InternalAlloyLanguage.g:1:154: T__35 | ||
2124 | { | ||
2125 | mT__35(); | ||
2126 | |||
2127 | } | ||
2128 | break; | ||
2129 | case 26 : | ||
2130 | // InternalAlloyLanguage.g:1:160: T__36 | ||
2131 | { | ||
2132 | mT__36(); | ||
2133 | |||
2134 | } | ||
2135 | break; | ||
2136 | case 27 : | ||
2137 | // InternalAlloyLanguage.g:1:166: T__37 | ||
2138 | { | ||
2139 | mT__37(); | ||
2140 | |||
2141 | } | ||
2142 | break; | ||
2143 | case 28 : | ||
2144 | // InternalAlloyLanguage.g:1:172: T__38 | ||
2145 | { | ||
2146 | mT__38(); | ||
2147 | |||
2148 | } | ||
2149 | break; | ||
2150 | case 29 : | ||
2151 | // InternalAlloyLanguage.g:1:178: T__39 | ||
2152 | { | ||
2153 | mT__39(); | ||
2154 | |||
2155 | } | ||
2156 | break; | ||
2157 | case 30 : | ||
2158 | // InternalAlloyLanguage.g:1:184: T__40 | ||
2159 | { | ||
2160 | mT__40(); | ||
2161 | |||
2162 | } | ||
2163 | break; | ||
2164 | case 31 : | ||
2165 | // InternalAlloyLanguage.g:1:190: T__41 | ||
2166 | { | ||
2167 | mT__41(); | ||
2168 | |||
2169 | } | ||
2170 | break; | ||
2171 | case 32 : | ||
2172 | // InternalAlloyLanguage.g:1:196: T__42 | ||
2173 | { | ||
2174 | mT__42(); | ||
2175 | |||
2176 | } | ||
2177 | break; | ||
2178 | case 33 : | ||
2179 | // InternalAlloyLanguage.g:1:202: T__43 | ||
2180 | { | ||
2181 | mT__43(); | ||
2182 | |||
2183 | } | ||
2184 | break; | ||
2185 | case 34 : | ||
2186 | // InternalAlloyLanguage.g:1:208: T__44 | ||
2187 | { | ||
2188 | mT__44(); | ||
2189 | |||
2190 | } | ||
2191 | break; | ||
2192 | case 35 : | ||
2193 | // InternalAlloyLanguage.g:1:214: T__45 | ||
2194 | { | ||
2195 | mT__45(); | ||
2196 | |||
2197 | } | ||
2198 | break; | ||
2199 | case 36 : | ||
2200 | // InternalAlloyLanguage.g:1:220: T__46 | ||
2201 | { | ||
2202 | mT__46(); | ||
2203 | |||
2204 | } | ||
2205 | break; | ||
2206 | case 37 : | ||
2207 | // InternalAlloyLanguage.g:1:226: T__47 | ||
2208 | { | ||
2209 | mT__47(); | ||
2210 | |||
2211 | } | ||
2212 | break; | ||
2213 | case 38 : | ||
2214 | // InternalAlloyLanguage.g:1:232: T__48 | ||
2215 | { | ||
2216 | mT__48(); | ||
2217 | |||
2218 | } | ||
2219 | break; | ||
2220 | case 39 : | ||
2221 | // InternalAlloyLanguage.g:1:238: T__49 | ||
2222 | { | ||
2223 | mT__49(); | ||
2224 | |||
2225 | } | ||
2226 | break; | ||
2227 | case 40 : | ||
2228 | // InternalAlloyLanguage.g:1:244: T__50 | ||
2229 | { | ||
2230 | mT__50(); | ||
2231 | |||
2232 | } | ||
2233 | break; | ||
2234 | case 41 : | ||
2235 | // InternalAlloyLanguage.g:1:250: T__51 | ||
2236 | { | ||
2237 | mT__51(); | ||
2238 | |||
2239 | } | ||
2240 | break; | ||
2241 | case 42 : | ||
2242 | // InternalAlloyLanguage.g:1:256: T__52 | ||
2243 | { | ||
2244 | mT__52(); | ||
2245 | |||
2246 | } | ||
2247 | break; | ||
2248 | case 43 : | ||
2249 | // InternalAlloyLanguage.g:1:262: T__53 | ||
2250 | { | ||
2251 | mT__53(); | ||
2252 | |||
2253 | } | ||
2254 | break; | ||
2255 | case 44 : | ||
2256 | // InternalAlloyLanguage.g:1:268: T__54 | ||
2257 | { | ||
2258 | mT__54(); | ||
2259 | |||
2260 | } | ||
2261 | break; | ||
2262 | case 45 : | ||
2263 | // InternalAlloyLanguage.g:1:274: T__55 | ||
2264 | { | ||
2265 | mT__55(); | ||
2266 | |||
2267 | } | ||
2268 | break; | ||
2269 | case 46 : | ||
2270 | // InternalAlloyLanguage.g:1:280: T__56 | ||
2271 | { | ||
2272 | mT__56(); | ||
2273 | |||
2274 | } | ||
2275 | break; | ||
2276 | case 47 : | ||
2277 | // InternalAlloyLanguage.g:1:286: T__57 | ||
2278 | { | ||
2279 | mT__57(); | ||
2280 | |||
2281 | } | ||
2282 | break; | ||
2283 | case 48 : | ||
2284 | // InternalAlloyLanguage.g:1:292: T__58 | ||
2285 | { | ||
2286 | mT__58(); | ||
2287 | |||
2288 | } | ||
2289 | break; | ||
2290 | case 49 : | ||
2291 | // InternalAlloyLanguage.g:1:298: T__59 | ||
2292 | { | ||
2293 | mT__59(); | ||
2294 | |||
2295 | } | ||
2296 | break; | ||
2297 | case 50 : | ||
2298 | // InternalAlloyLanguage.g:1:304: T__60 | ||
2299 | { | ||
2300 | mT__60(); | ||
2301 | |||
2302 | } | ||
2303 | break; | ||
2304 | case 51 : | ||
2305 | // InternalAlloyLanguage.g:1:310: T__61 | ||
2306 | { | ||
2307 | mT__61(); | ||
2308 | |||
2309 | } | ||
2310 | break; | ||
2311 | case 52 : | ||
2312 | // InternalAlloyLanguage.g:1:316: T__62 | ||
2313 | { | ||
2314 | mT__62(); | ||
2315 | |||
2316 | } | ||
2317 | break; | ||
2318 | case 53 : | ||
2319 | // InternalAlloyLanguage.g:1:322: T__63 | ||
2320 | { | ||
2321 | mT__63(); | ||
2322 | |||
2323 | } | ||
2324 | break; | ||
2325 | case 54 : | ||
2326 | // InternalAlloyLanguage.g:1:328: T__64 | ||
2327 | { | ||
2328 | mT__64(); | ||
2329 | |||
2330 | } | ||
2331 | break; | ||
2332 | case 55 : | ||
2333 | // InternalAlloyLanguage.g:1:334: T__65 | ||
2334 | { | ||
2335 | mT__65(); | ||
2336 | |||
2337 | } | ||
2338 | break; | ||
2339 | case 56 : | ||
2340 | // InternalAlloyLanguage.g:1:340: T__66 | ||
2341 | { | ||
2342 | mT__66(); | ||
2343 | |||
2344 | } | ||
2345 | break; | ||
2346 | case 57 : | ||
2347 | // InternalAlloyLanguage.g:1:346: T__67 | ||
2348 | { | ||
2349 | mT__67(); | ||
2350 | |||
2351 | } | ||
2352 | break; | ||
2353 | case 58 : | ||
2354 | // InternalAlloyLanguage.g:1:352: T__68 | ||
2355 | { | ||
2356 | mT__68(); | ||
2357 | |||
2358 | } | ||
2359 | break; | ||
2360 | case 59 : | ||
2361 | // InternalAlloyLanguage.g:1:358: T__69 | ||
2362 | { | ||
2363 | mT__69(); | ||
2364 | |||
2365 | } | ||
2366 | break; | ||
2367 | case 60 : | ||
2368 | // InternalAlloyLanguage.g:1:364: T__70 | ||
2369 | { | ||
2370 | mT__70(); | ||
2371 | |||
2372 | } | ||
2373 | break; | ||
2374 | case 61 : | ||
2375 | // InternalAlloyLanguage.g:1:370: T__71 | ||
2376 | { | ||
2377 | mT__71(); | ||
2378 | |||
2379 | } | ||
2380 | break; | ||
2381 | case 62 : | ||
2382 | // InternalAlloyLanguage.g:1:376: T__72 | ||
2383 | { | ||
2384 | mT__72(); | ||
2385 | |||
2386 | } | ||
2387 | break; | ||
2388 | case 63 : | ||
2389 | // InternalAlloyLanguage.g:1:382: T__73 | ||
2390 | { | ||
2391 | mT__73(); | ||
2392 | |||
2393 | } | ||
2394 | break; | ||
2395 | case 64 : | ||
2396 | // InternalAlloyLanguage.g:1:388: T__74 | ||
2397 | { | ||
2398 | mT__74(); | ||
2399 | |||
2400 | } | ||
2401 | break; | ||
2402 | case 65 : | ||
2403 | // InternalAlloyLanguage.g:1:394: T__75 | ||
2404 | { | ||
2405 | mT__75(); | ||
2406 | |||
2407 | } | ||
2408 | break; | ||
2409 | case 66 : | ||
2410 | // InternalAlloyLanguage.g:1:400: T__76 | ||
2411 | { | ||
2412 | mT__76(); | ||
2413 | |||
2414 | } | ||
2415 | break; | ||
2416 | case 67 : | ||
2417 | // InternalAlloyLanguage.g:1:406: RULE_ID | ||
2418 | { | ||
2419 | mRULE_ID(); | ||
2420 | |||
2421 | } | ||
2422 | break; | ||
2423 | case 68 : | ||
2424 | // InternalAlloyLanguage.g:1:414: RULE_INT | ||
2425 | { | ||
2426 | mRULE_INT(); | ||
2427 | |||
2428 | } | ||
2429 | break; | ||
2430 | case 69 : | ||
2431 | // InternalAlloyLanguage.g:1:423: RULE_STRING | ||
2432 | { | ||
2433 | mRULE_STRING(); | ||
2434 | |||
2435 | } | ||
2436 | break; | ||
2437 | case 70 : | ||
2438 | // InternalAlloyLanguage.g:1:435: RULE_ML_COMMENT | ||
2439 | { | ||
2440 | mRULE_ML_COMMENT(); | ||
2441 | |||
2442 | } | ||
2443 | break; | ||
2444 | case 71 : | ||
2445 | // InternalAlloyLanguage.g:1:451: RULE_SL_COMMENT | ||
2446 | { | ||
2447 | mRULE_SL_COMMENT(); | ||
2448 | |||
2449 | } | ||
2450 | break; | ||
2451 | case 72 : | ||
2452 | // InternalAlloyLanguage.g:1:467: RULE_WS | ||
2453 | { | ||
2454 | mRULE_WS(); | ||
2455 | |||
2456 | } | ||
2457 | break; | ||
2458 | case 73 : | ||
2459 | // InternalAlloyLanguage.g:1:475: RULE_ANY_OTHER | ||
2460 | { | ||
2461 | mRULE_ANY_OTHER(); | ||
2462 | |||
2463 | } | ||
2464 | break; | ||
2465 | |||
2466 | } | ||
2467 | |||
2468 | } | ||
2469 | |||
2470 | |||
2471 | protected DFA11 dfa11 = new DFA11(this); | ||
2472 | static final String DFA11_eotS = | ||
2473 | "\1\uffff\1\57\3\uffff\3\57\1\77\1\101\1\57\2\uffff\2\57\1\53\1\57\1\117\1\121\1\123\1\125\1\127\1\uffff\1\132\1\57\4\uffff\3\57\2\uffff\3\57\2\uffff\3\53\2\uffff\3\57\4\uffff\7\57\1\172\3\57\4\uffff\3\57\2\uffff\3\57\1\uffff\1\u0085\1\57\1\u0088\15\uffff\1\u008b\4\uffff\3\57\2\uffff\4\57\5\uffff\5\57\1\u0098\1\u0099\1\u009a\1\u009b\1\u009c\1\57\1\u009e\1\uffff\1\u009f\2\57\1\u00a2\1\57\1\u00a4\3\57\1\u00a8\1\uffff\1\u00a9\2\uffff\1\u00aa\1\57\1\uffff\1\57\1\u00ad\1\57\1\u00af\1\u00b0\1\57\1\u00b2\1\u00b3\2\57\1\u00b6\1\57\5\uffff\1\u00b8\2\uffff\1\57\1\u00ba\1\uffff\1\u00bb\1\uffff\1\u00bc\1\u00bd\1\u00be\3\uffff\1\u00bf\1\u00c0\1\uffff\1\57\2\uffff\1\u00c2\2\uffff\2\57\1\uffff\1\57\1\uffff\1\57\7\uffff\1\57\1\uffff\4\57\1\u00cc\1\u00cd\1\u00ce\1\57\1\u00d0\3\uffff\1\u00d1\2\uffff"; | ||
2474 | static final String DFA11_eofS = | ||
2475 | "\u00d2\uffff"; | ||
2476 | static final String DFA11_minS = | ||
2477 | "\1\0\1\154\3\uffff\1\142\1\145\1\144\1\53\1\76\1\141\2\uffff\1\154\1\151\1\174\1\156\1\72\1\76\1\46\2\75\1\uffff\1\76\1\157\4\uffff\2\156\1\164\2\uffff\1\145\1\157\1\165\2\uffff\2\0\1\52\2\uffff\1\165\1\141\1\163\4\uffff\1\163\1\144\1\154\1\147\1\142\1\155\1\164\1\42\1\146\1\160\1\145\4\uffff\1\156\1\143\1\162\2\uffff\1\145\1\165\1\163\1\uffff\1\42\1\145\1\76\15\uffff\1\42\4\uffff\1\151\1\164\1\162\2\uffff\1\156\1\155\1\156\1\154\5\uffff\1\155\1\145\1\143\1\145\1\164\5\42\1\145\1\42\1\uffff\1\42\1\154\1\156\1\42\1\164\1\42\1\144\1\163\1\152\1\42\1\uffff\1\42\2\uffff\1\42\1\145\1\uffff\1\166\1\42\1\151\2\42\1\145\2\42\1\156\1\164\1\42\1\162\5\uffff\1\42\2\uffff\1\151\1\42\1\uffff\1\42\1\uffff\3\42\3\uffff\2\42\1\uffff\1\156\2\uffff\1\42\2\uffff\1\144\1\154\1\uffff\1\141\1\uffff\1\145\7\uffff\1\147\1\uffff\1\163\1\171\1\143\1\163\3\42\1\164\1\42\3\uffff\1\42\2\uffff"; | ||
2478 | static final String DFA11_maxS = | ||
2479 | "\1\uffff\1\170\3\uffff\1\156\1\165\1\156\1\53\1\76\1\165\2\uffff\1\162\1\151\1\174\1\162\1\75\1\76\1\46\2\75\1\uffff\1\76\1\157\4\uffff\2\156\1\164\2\uffff\1\165\1\157\1\165\2\uffff\2\uffff\1\57\2\uffff\1\165\1\164\1\163\4\uffff\1\163\1\144\1\154\1\147\2\155\1\164\1\172\1\146\1\160\1\145\4\uffff\1\156\1\143\1\162\2\uffff\1\145\1\165\1\166\1\uffff\1\172\1\145\1\76\15\uffff\1\172\4\uffff\1\151\1\164\1\162\2\uffff\1\156\1\155\1\156\1\154\5\uffff\1\155\1\145\1\143\1\145\1\164\5\172\1\145\1\172\1\uffff\1\172\1\154\1\156\1\172\1\164\1\172\1\144\1\163\1\152\1\172\1\uffff\1\172\2\uffff\1\172\1\145\1\uffff\1\166\1\172\1\151\2\172\1\145\2\172\1\156\1\164\1\172\1\162\5\uffff\1\172\2\uffff\1\151\1\172\1\uffff\1\172\1\uffff\3\172\3\uffff\2\172\1\uffff\1\156\2\uffff\1\172\2\uffff\1\144\1\154\1\uffff\1\141\1\uffff\1\145\7\uffff\1\147\1\uffff\1\163\1\171\1\143\1\163\3\172\1\164\1\172\3\uffff\1\172\2\uffff"; | ||
2480 | static final String DFA11_acceptS = | ||
2481 | "\2\uffff\1\2\1\3\1\4\6\uffff\1\14\1\15\11\uffff\1\43\2\uffff\1\51\1\52\1\53\1\54\3\uffff\1\63\1\64\3\uffff\1\103\1\104\3\uffff\1\110\1\111\3\uffff\1\103\1\2\1\3\1\4\13\uffff\1\40\1\11\1\41\1\12\3\uffff\1\14\1\15\3\uffff\1\21\3\uffff\1\42\1\36\1\25\1\32\1\30\1\45\1\33\1\47\1\35\1\34\1\43\1\46\1\44\1\uffff\1\51\1\52\1\53\1\54\3\uffff\1\63\1\64\4\uffff\1\104\1\105\1\106\1\107\1\110\14\uffff\1\10\12\uffff\1\22\1\uffff\1\23\1\37\2\uffff\1\71\14\uffff\1\31\1\70\1\6\1\55\1\77\1\uffff\1\75\1\24\2\uffff\1\13\1\uffff\1\66\3\uffff\1\102\1\74\1\50\2\uffff\1\61\1\uffff\1\65\1\101\1\uffff\1\100\1\1\2\uffff\1\27\1\uffff\1\72\1\uffff\1\57\1\17\1\16\1\76\1\20\1\56\1\60\1\uffff\1\73\11\uffff\1\62\1\7\1\67\1\uffff\1\26\1\5"; | ||
2482 | static final String DFA11_specialS = | ||
2483 | "\1\1\46\uffff\1\2\1\0\u00a9\uffff}>"; | ||
2484 | static final String[] DFA11_transitionS = { | ||
2485 | "\11\53\2\52\2\53\1\52\22\53\1\52\1\24\1\47\1\34\2\53\1\23\1\50\1\40\1\41\1\33\1\10\1\3\1\27\1\26\1\51\12\46\1\11\1\53\1\21\1\22\1\25\2\53\10\45\1\36\11\45\1\37\7\45\1\13\1\53\1\14\1\32\1\45\1\53\1\5\2\45\1\16\1\1\1\12\2\45\1\7\2\45\1\43\1\44\1\30\1\20\1\15\1\45\1\42\1\6\1\45\1\35\5\45\1\2\1\17\1\4\1\31\uff81\53", | ||
2486 | "\1\56\1\uffff\1\54\11\uffff\1\55", | ||
2487 | "", | ||
2488 | "", | ||
2489 | "", | ||
2490 | "\1\63\11\uffff\1\65\1\uffff\1\64", | ||
2491 | "\1\71\3\uffff\1\66\5\uffff\1\70\5\uffff\1\67", | ||
2492 | "\1\75\1\uffff\1\73\6\uffff\1\74\1\72", | ||
2493 | "\1\76", | ||
2494 | "\1\100", | ||
2495 | "\1\103\15\uffff\1\104\5\uffff\1\102", | ||
2496 | "", | ||
2497 | "", | ||
2498 | "\1\110\5\uffff\1\107", | ||
2499 | "\1\111", | ||
2500 | "\1\112", | ||
2501 | "\1\114\3\uffff\1\113", | ||
2502 | "\1\116\2\uffff\1\115", | ||
2503 | "\1\120", | ||
2504 | "\1\122", | ||
2505 | "\1\124", | ||
2506 | "\1\126", | ||
2507 | "", | ||
2508 | "\1\131", | ||
2509 | "\1\133", | ||
2510 | "", | ||
2511 | "", | ||
2512 | "", | ||
2513 | "", | ||
2514 | "\1\140", | ||
2515 | "\1\141", | ||
2516 | "\1\142", | ||
2517 | "", | ||
2518 | "", | ||
2519 | "\1\146\17\uffff\1\145", | ||
2520 | "\1\147", | ||
2521 | "\1\150", | ||
2522 | "", | ||
2523 | "", | ||
2524 | "\0\152", | ||
2525 | "\0\152", | ||
2526 | "\1\153\4\uffff\1\154", | ||
2527 | "", | ||
2528 | "", | ||
2529 | "\1\156", | ||
2530 | "\1\160\22\uffff\1\157", | ||
2531 | "\1\161", | ||
2532 | "", | ||
2533 | "", | ||
2534 | "", | ||
2535 | "", | ||
2536 | "\1\162", | ||
2537 | "\1\163", | ||
2538 | "\1\164", | ||
2539 | "\1\165", | ||
2540 | "\1\167\12\uffff\1\166", | ||
2541 | "\1\170", | ||
2542 | "\1\171", | ||
2543 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2544 | "\1\173", | ||
2545 | "\1\174", | ||
2546 | "\1\175", | ||
2547 | "", | ||
2548 | "", | ||
2549 | "", | ||
2550 | "", | ||
2551 | "\1\176", | ||
2552 | "\1\177", | ||
2553 | "\1\u0080", | ||
2554 | "", | ||
2555 | "", | ||
2556 | "\1\u0081", | ||
2557 | "\1\u0082", | ||
2558 | "\1\u0083\2\uffff\1\u0084", | ||
2559 | "", | ||
2560 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2561 | "\1\u0086", | ||
2562 | "\1\u0087", | ||
2563 | "", | ||
2564 | "", | ||
2565 | "", | ||
2566 | "", | ||
2567 | "", | ||
2568 | "", | ||
2569 | "", | ||
2570 | "", | ||
2571 | "", | ||
2572 | "", | ||
2573 | "", | ||
2574 | "", | ||
2575 | "", | ||
2576 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\15\57\1\u008a\5\57\1\u0089\6\57", | ||
2577 | "", | ||
2578 | "", | ||
2579 | "", | ||
2580 | "", | ||
2581 | "\1\u008c", | ||
2582 | "\1\u008d", | ||
2583 | "\1\u008e", | ||
2584 | "", | ||
2585 | "", | ||
2586 | "\1\u008f", | ||
2587 | "\1\u0090", | ||
2588 | "\1\u0091", | ||
2589 | "\1\u0092", | ||
2590 | "", | ||
2591 | "", | ||
2592 | "", | ||
2593 | "", | ||
2594 | "", | ||
2595 | "\1\u0093", | ||
2596 | "\1\u0094", | ||
2597 | "\1\u0095", | ||
2598 | "\1\u0096", | ||
2599 | "\1\u0097", | ||
2600 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2601 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2602 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2603 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2604 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2605 | "\1\u009d", | ||
2606 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2607 | "", | ||
2608 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2609 | "\1\u00a0", | ||
2610 | "\1\u00a1", | ||
2611 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2612 | "\1\u00a3", | ||
2613 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2614 | "\1\u00a5", | ||
2615 | "\1\u00a6", | ||
2616 | "\1\u00a7", | ||
2617 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2618 | "", | ||
2619 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2620 | "", | ||
2621 | "", | ||
2622 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2623 | "\1\u00ab", | ||
2624 | "", | ||
2625 | "\1\u00ac", | ||
2626 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2627 | "\1\u00ae", | ||
2628 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2629 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2630 | "\1\u00b1", | ||
2631 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2632 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2633 | "\1\u00b4", | ||
2634 | "\1\u00b5", | ||
2635 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2636 | "\1\u00b7", | ||
2637 | "", | ||
2638 | "", | ||
2639 | "", | ||
2640 | "", | ||
2641 | "", | ||
2642 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2643 | "", | ||
2644 | "", | ||
2645 | "\1\u00b9", | ||
2646 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2647 | "", | ||
2648 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2649 | "", | ||
2650 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2651 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2652 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2653 | "", | ||
2654 | "", | ||
2655 | "", | ||
2656 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2657 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2658 | "", | ||
2659 | "\1\u00c1", | ||
2660 | "", | ||
2661 | "", | ||
2662 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2663 | "", | ||
2664 | "", | ||
2665 | "\1\u00c3", | ||
2666 | "\1\u00c4", | ||
2667 | "", | ||
2668 | "\1\u00c5", | ||
2669 | "", | ||
2670 | "\1\u00c6", | ||
2671 | "", | ||
2672 | "", | ||
2673 | "", | ||
2674 | "", | ||
2675 | "", | ||
2676 | "", | ||
2677 | "", | ||
2678 | "\1\u00c7", | ||
2679 | "", | ||
2680 | "\1\u00c8", | ||
2681 | "\1\u00c9", | ||
2682 | "\1\u00ca", | ||
2683 | "\1\u00cb", | ||
2684 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2685 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2686 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2687 | "\1\u00cf", | ||
2688 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2689 | "", | ||
2690 | "", | ||
2691 | "", | ||
2692 | "\1\57\4\uffff\1\57\10\uffff\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", | ||
2693 | "", | ||
2694 | "" | ||
2695 | }; | ||
2696 | |||
2697 | static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS); | ||
2698 | static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS); | ||
2699 | static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS); | ||
2700 | static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS); | ||
2701 | static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS); | ||
2702 | static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS); | ||
2703 | static final short[][] DFA11_transition; | ||
2704 | |||
2705 | static { | ||
2706 | int numStates = DFA11_transitionS.length; | ||
2707 | DFA11_transition = new short[numStates][]; | ||
2708 | for (int i=0; i<numStates; i++) { | ||
2709 | DFA11_transition[i] = DFA.unpackEncodedString(DFA11_transitionS[i]); | ||
2710 | } | ||
2711 | } | ||
2712 | |||
2713 | class DFA11 extends DFA { | ||
2714 | |||
2715 | public DFA11(BaseRecognizer recognizer) { | ||
2716 | this.recognizer = recognizer; | ||
2717 | this.decisionNumber = 11; | ||
2718 | this.eot = DFA11_eot; | ||
2719 | this.eof = DFA11_eof; | ||
2720 | this.min = DFA11_min; | ||
2721 | this.max = DFA11_max; | ||
2722 | this.accept = DFA11_accept; | ||
2723 | this.special = DFA11_special; | ||
2724 | this.transition = DFA11_transition; | ||
2725 | } | ||
2726 | public String getDescription() { | ||
2727 | return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | ||
2728 | } | ||
2729 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | ||
2730 | IntStream input = _input; | ||
2731 | int _s = s; | ||
2732 | switch ( s ) { | ||
2733 | case 0 : | ||
2734 | int LA11_40 = input.LA(1); | ||
2735 | |||
2736 | s = -1; | ||
2737 | if ( ((LA11_40>='\u0000' && LA11_40<='\uFFFF')) ) {s = 106;} | ||
2738 | |||
2739 | else s = 43; | ||
2740 | |||
2741 | if ( s>=0 ) return s; | ||
2742 | break; | ||
2743 | case 1 : | ||
2744 | int LA11_0 = input.LA(1); | ||
2745 | |||
2746 | s = -1; | ||
2747 | if ( (LA11_0=='e') ) {s = 1;} | ||
2748 | |||
2749 | else if ( (LA11_0=='{') ) {s = 2;} | ||
2750 | |||
2751 | else if ( (LA11_0==',') ) {s = 3;} | ||
2752 | |||
2753 | else if ( (LA11_0=='}') ) {s = 4;} | ||
2754 | |||
2755 | else if ( (LA11_0=='a') ) {s = 5;} | ||
2756 | |||
2757 | else if ( (LA11_0=='s') ) {s = 6;} | ||
2758 | |||
2759 | else if ( (LA11_0=='i') ) {s = 7;} | ||
2760 | |||
2761 | else if ( (LA11_0=='+') ) {s = 8;} | ||
2762 | |||
2763 | else if ( (LA11_0==':') ) {s = 9;} | ||
2764 | |||
2765 | else if ( (LA11_0=='f') ) {s = 10;} | ||
2766 | |||
2767 | else if ( (LA11_0=='[') ) {s = 11;} | ||
2768 | |||
2769 | else if ( (LA11_0==']') ) {s = 12;} | ||
2770 | |||
2771 | else if ( (LA11_0=='p') ) {s = 13;} | ||
2772 | |||
2773 | else if ( (LA11_0=='d') ) {s = 14;} | ||
2774 | |||
2775 | else if ( (LA11_0=='|') ) {s = 15;} | ||
2776 | |||
2777 | else if ( (LA11_0=='o') ) {s = 16;} | ||
2778 | |||
2779 | else if ( (LA11_0=='<') ) {s = 17;} | ||
2780 | |||
2781 | else if ( (LA11_0=='=') ) {s = 18;} | ||
2782 | |||
2783 | else if ( (LA11_0=='&') ) {s = 19;} | ||
2784 | |||
2785 | else if ( (LA11_0=='!') ) {s = 20;} | ||
2786 | |||
2787 | else if ( (LA11_0=='>') ) {s = 21;} | ||
2788 | |||
2789 | else if ( (LA11_0=='.') ) {s = 22;} | ||
2790 | |||
2791 | else if ( (LA11_0=='-') ) {s = 23;} | ||
2792 | |||
2793 | else if ( (LA11_0=='n') ) {s = 24;} | ||
2794 | |||
2795 | else if ( (LA11_0=='~') ) {s = 25;} | ||
2796 | |||
2797 | else if ( (LA11_0=='^') ) {s = 26;} | ||
2798 | |||
2799 | else if ( (LA11_0=='*') ) {s = 27;} | ||
2800 | |||
2801 | else if ( (LA11_0=='#') ) {s = 28;} | ||
2802 | |||
2803 | else if ( (LA11_0=='u') ) {s = 29;} | ||
2804 | |||
2805 | else if ( (LA11_0=='I') ) {s = 30;} | ||
2806 | |||
2807 | else if ( (LA11_0=='S') ) {s = 31;} | ||
2808 | |||
2809 | else if ( (LA11_0=='(') ) {s = 32;} | ||
2810 | |||
2811 | else if ( (LA11_0==')') ) {s = 33;} | ||
2812 | |||
2813 | else if ( (LA11_0=='r') ) {s = 34;} | ||
2814 | |||
2815 | else if ( (LA11_0=='l') ) {s = 35;} | ||
2816 | |||
2817 | else if ( (LA11_0=='m') ) {s = 36;} | ||
2818 | |||
2819 | else if ( ((LA11_0>='A' && LA11_0<='H')||(LA11_0>='J' && LA11_0<='R')||(LA11_0>='T' && LA11_0<='Z')||LA11_0=='_'||(LA11_0>='b' && LA11_0<='c')||(LA11_0>='g' && LA11_0<='h')||(LA11_0>='j' && LA11_0<='k')||LA11_0=='q'||LA11_0=='t'||(LA11_0>='v' && LA11_0<='z')) ) {s = 37;} | ||
2820 | |||
2821 | else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 38;} | ||
2822 | |||
2823 | else if ( (LA11_0=='\"') ) {s = 39;} | ||
2824 | |||
2825 | else if ( (LA11_0=='\'') ) {s = 40;} | ||
2826 | |||
2827 | else if ( (LA11_0=='/') ) {s = 41;} | ||
2828 | |||
2829 | else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 42;} | ||
2830 | |||
2831 | else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='$' && LA11_0<='%')||LA11_0==';'||(LA11_0>='?' && LA11_0<='@')||LA11_0=='\\'||LA11_0=='`'||(LA11_0>='\u007F' && LA11_0<='\uFFFF')) ) {s = 43;} | ||
2832 | |||
2833 | if ( s>=0 ) return s; | ||
2834 | break; | ||
2835 | case 2 : | ||
2836 | int LA11_39 = input.LA(1); | ||
2837 | |||
2838 | s = -1; | ||
2839 | if ( ((LA11_39>='\u0000' && LA11_39<='\uFFFF')) ) {s = 106;} | ||
2840 | |||
2841 | else s = 43; | ||
2842 | |||
2843 | if ( s>=0 ) return s; | ||
2844 | break; | ||
2845 | } | ||
2846 | NoViableAltException nvae = | ||
2847 | new NoViableAltException(getDescription(), 11, _s, input); | ||
2848 | error(nvae); | ||
2849 | throw nvae; | ||
2850 | } | ||
2851 | } | ||
2852 | |||
2853 | |||
2854 | } \ No newline at end of file | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java new file mode 100644 index 00000000..b0bedf50 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/parser/antlr/internal/InternalAlloyLanguageParser.java | |||
@@ -0,0 +1,9153 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.parser.antlr.internal; | ||
2 | |||
3 | import org.eclipse.xtext.*; | ||
4 | import org.eclipse.xtext.parser.*; | ||
5 | import org.eclipse.xtext.parser.impl.*; | ||
6 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.common.util.Enumerator; | ||
9 | import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; | ||
10 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | ||
11 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; | ||
12 | import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; | ||
13 | import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess; | ||
14 | |||
15 | |||
16 | |||
17 | import org.antlr.runtime.*; | ||
18 | import java.util.Stack; | ||
19 | import java.util.List; | ||
20 | import java.util.ArrayList; | ||
21 | import java.util.Map; | ||
22 | import java.util.HashMap; | ||
23 | @SuppressWarnings("all") | ||
24 | public class InternalAlloyLanguageParser extends AbstractInternalAntlrParser { | ||
25 | public static final String[] tokenNames = new String[] { | ||
26 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'enum'", "'{'", "','", "'}'", "'abstract'", "'sig'", "'extends'", "'in'", "'+'", "':'", "'fun'", "'['", "']'", "'pred'", "'fact'", "'disj'", "'||'", "'or'", "'<=>'", "'iff'", "'=>'", "'implies'", "'else'", "'&&'", "'and'", "'='", "'!='", "'>'", "'>='", "'<'", "'<='", "'++'", "':>'", "'<:'", "'.'", "'-'", "'&'", "'->'", "'!'", "'not'", "'~'", "'^'", "'*'", "'#'", "'sum'", "'none'", "'iden'", "'univ'", "'Int'", "'String'", "'('", "')'", "'run'", "'for'", "'exactly'", "'all'", "'no'", "'some'", "'lone'", "'one'", "'set'", "'plus'", "'sub'", "'mul'", "'rem'", "'div'" | ||
27 | }; | ||
28 | public static final int T__50=50; | ||
29 | public static final int T__19=19; | ||
30 | public static final int T__15=15; | ||
31 | public static final int T__59=59; | ||
32 | public static final int T__16=16; | ||
33 | public static final int T__17=17; | ||
34 | public static final int T__18=18; | ||
35 | public static final int T__11=11; | ||
36 | public static final int T__55=55; | ||
37 | public static final int T__12=12; | ||
38 | public static final int T__56=56; | ||
39 | public static final int T__13=13; | ||
40 | public static final int T__57=57; | ||
41 | public static final int T__14=14; | ||
42 | public static final int T__58=58; | ||
43 | public static final int T__51=51; | ||
44 | public static final int T__52=52; | ||
45 | public static final int T__53=53; | ||
46 | public static final int T__54=54; | ||
47 | public static final int T__60=60; | ||
48 | public static final int T__61=61; | ||
49 | public static final int RULE_ID=4; | ||
50 | public static final int T__26=26; | ||
51 | public static final int T__27=27; | ||
52 | public static final int T__28=28; | ||
53 | public static final int RULE_INT=5; | ||
54 | public static final int T__29=29; | ||
55 | public static final int T__22=22; | ||
56 | public static final int T__66=66; | ||
57 | public static final int RULE_ML_COMMENT=7; | ||
58 | public static final int T__23=23; | ||
59 | public static final int T__67=67; | ||
60 | public static final int T__24=24; | ||
61 | public static final int T__68=68; | ||
62 | public static final int T__25=25; | ||
63 | public static final int T__69=69; | ||
64 | public static final int T__62=62; | ||
65 | public static final int T__63=63; | ||
66 | public static final int T__20=20; | ||
67 | public static final int T__64=64; | ||
68 | public static final int T__21=21; | ||
69 | public static final int T__65=65; | ||
70 | public static final int T__70=70; | ||
71 | public static final int T__71=71; | ||
72 | public static final int T__72=72; | ||
73 | public static final int RULE_STRING=6; | ||
74 | public static final int RULE_SL_COMMENT=8; | ||
75 | public static final int T__37=37; | ||
76 | public static final int T__38=38; | ||
77 | public static final int T__39=39; | ||
78 | public static final int T__33=33; | ||
79 | public static final int T__34=34; | ||
80 | public static final int T__35=35; | ||
81 | public static final int T__36=36; | ||
82 | public static final int T__73=73; | ||
83 | public static final int EOF=-1; | ||
84 | public static final int T__30=30; | ||
85 | public static final int T__74=74; | ||
86 | public static final int T__31=31; | ||
87 | public static final int T__75=75; | ||
88 | public static final int T__32=32; | ||
89 | public static final int T__76=76; | ||
90 | public static final int RULE_WS=9; | ||
91 | public static final int RULE_ANY_OTHER=10; | ||
92 | public static final int T__48=48; | ||
93 | public static final int T__49=49; | ||
94 | public static final int T__44=44; | ||
95 | public static final int T__45=45; | ||
96 | public static final int T__46=46; | ||
97 | public static final int T__47=47; | ||
98 | public static final int T__40=40; | ||
99 | public static final int T__41=41; | ||
100 | public static final int T__42=42; | ||
101 | public static final int T__43=43; | ||
102 | |||
103 | // delegates | ||
104 | // delegators | ||
105 | |||
106 | |||
107 | public InternalAlloyLanguageParser(TokenStream input) { | ||
108 | this(input, new RecognizerSharedState()); | ||
109 | } | ||
110 | public InternalAlloyLanguageParser(TokenStream input, RecognizerSharedState state) { | ||
111 | super(input, state); | ||
112 | |||
113 | } | ||
114 | |||
115 | |||
116 | public String[] getTokenNames() { return InternalAlloyLanguageParser.tokenNames; } | ||
117 | public String getGrammarFileName() { return "InternalAlloyLanguage.g"; } | ||
118 | |||
119 | |||
120 | |||
121 | private AlloyLanguageGrammarAccess grammarAccess; | ||
122 | |||
123 | public InternalAlloyLanguageParser(TokenStream input, AlloyLanguageGrammarAccess grammarAccess) { | ||
124 | this(input); | ||
125 | this.grammarAccess = grammarAccess; | ||
126 | registerRules(grammarAccess.getGrammar()); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | protected String getFirstRuleName() { | ||
131 | return "ALSDocument"; | ||
132 | } | ||
133 | |||
134 | @Override | ||
135 | protected AlloyLanguageGrammarAccess getGrammarAccess() { | ||
136 | return grammarAccess; | ||
137 | } | ||
138 | |||
139 | |||
140 | |||
141 | // $ANTLR start "entryRuleALSDocument" | ||
142 | // InternalAlloyLanguage.g:68:1: entryRuleALSDocument returns [EObject current=null] : iv_ruleALSDocument= ruleALSDocument EOF ; | ||
143 | public final EObject entryRuleALSDocument() throws RecognitionException { | ||
144 | EObject current = null; | ||
145 | |||
146 | EObject iv_ruleALSDocument = null; | ||
147 | |||
148 | |||
149 | try { | ||
150 | // InternalAlloyLanguage.g:69:2: (iv_ruleALSDocument= ruleALSDocument EOF ) | ||
151 | // InternalAlloyLanguage.g:70:2: iv_ruleALSDocument= ruleALSDocument EOF | ||
152 | { | ||
153 | if ( state.backtracking==0 ) { | ||
154 | newCompositeNode(grammarAccess.getALSDocumentRule()); | ||
155 | } | ||
156 | pushFollow(FOLLOW_1); | ||
157 | iv_ruleALSDocument=ruleALSDocument(); | ||
158 | |||
159 | state._fsp--; | ||
160 | if (state.failed) return current; | ||
161 | if ( state.backtracking==0 ) { | ||
162 | current =iv_ruleALSDocument; | ||
163 | } | ||
164 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
165 | |||
166 | } | ||
167 | |||
168 | } | ||
169 | |||
170 | catch (RecognitionException re) { | ||
171 | recover(input,re); | ||
172 | appendSkippedTokens(); | ||
173 | } | ||
174 | finally { | ||
175 | } | ||
176 | return current; | ||
177 | } | ||
178 | // $ANTLR end "entryRuleALSDocument" | ||
179 | |||
180 | |||
181 | // $ANTLR start "ruleALSDocument" | ||
182 | // InternalAlloyLanguage.g:77:1: ruleALSDocument returns [EObject current=null] : ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) ) ; | ||
183 | public final EObject ruleALSDocument() throws RecognitionException { | ||
184 | EObject current = null; | ||
185 | |||
186 | EObject lv_enumDeclarations_0_0 = null; | ||
187 | |||
188 | EObject lv_signatureBodies_1_0 = null; | ||
189 | |||
190 | EObject lv_functionDefinitions_2_0 = null; | ||
191 | |||
192 | EObject lv_relationDefinitions_3_0 = null; | ||
193 | |||
194 | EObject lv_factDeclarations_4_0 = null; | ||
195 | |||
196 | EObject lv_runCommand_5_0 = null; | ||
197 | |||
198 | |||
199 | enterRule(); | ||
200 | |||
201 | try { | ||
202 | // InternalAlloyLanguage.g:80:28: ( ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) ) ) | ||
203 | // InternalAlloyLanguage.g:81:1: ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) ) | ||
204 | { | ||
205 | // InternalAlloyLanguage.g:81:1: ( ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) ) | ||
206 | // InternalAlloyLanguage.g:81:2: ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ ( (lv_runCommand_5_0= ruleALSRunCommand ) ) | ||
207 | { | ||
208 | // InternalAlloyLanguage.g:81:2: ( ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) )+ | ||
209 | int cnt1=0; | ||
210 | loop1: | ||
211 | do { | ||
212 | int alt1=6; | ||
213 | switch ( input.LA(1) ) { | ||
214 | case 11: | ||
215 | { | ||
216 | alt1=1; | ||
217 | } | ||
218 | break; | ||
219 | case 15: | ||
220 | case 16: | ||
221 | case 66: | ||
222 | case 67: | ||
223 | case 68: | ||
224 | case 69: | ||
225 | case 70: | ||
226 | case 71: | ||
227 | { | ||
228 | alt1=2; | ||
229 | } | ||
230 | break; | ||
231 | case 21: | ||
232 | { | ||
233 | alt1=3; | ||
234 | } | ||
235 | break; | ||
236 | case 24: | ||
237 | { | ||
238 | alt1=4; | ||
239 | } | ||
240 | break; | ||
241 | case 25: | ||
242 | { | ||
243 | alt1=5; | ||
244 | } | ||
245 | break; | ||
246 | |||
247 | } | ||
248 | |||
249 | switch (alt1) { | ||
250 | case 1 : | ||
251 | // InternalAlloyLanguage.g:81:3: ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ||
252 | { | ||
253 | // InternalAlloyLanguage.g:81:3: ( (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) ) | ||
254 | // InternalAlloyLanguage.g:82:1: (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) | ||
255 | { | ||
256 | // InternalAlloyLanguage.g:82:1: (lv_enumDeclarations_0_0= ruleALSEnumDeclaration ) | ||
257 | // InternalAlloyLanguage.g:83:3: lv_enumDeclarations_0_0= ruleALSEnumDeclaration | ||
258 | { | ||
259 | if ( state.backtracking==0 ) { | ||
260 | |||
261 | newCompositeNode(grammarAccess.getALSDocumentAccess().getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0()); | ||
262 | |||
263 | } | ||
264 | pushFollow(FOLLOW_3); | ||
265 | lv_enumDeclarations_0_0=ruleALSEnumDeclaration(); | ||
266 | |||
267 | state._fsp--; | ||
268 | if (state.failed) return current; | ||
269 | if ( state.backtracking==0 ) { | ||
270 | |||
271 | if (current==null) { | ||
272 | current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
273 | } | ||
274 | add( | ||
275 | current, | ||
276 | "enumDeclarations", | ||
277 | lv_enumDeclarations_0_0, | ||
278 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration"); | ||
279 | afterParserOrEnumRuleCall(); | ||
280 | |||
281 | } | ||
282 | |||
283 | } | ||
284 | |||
285 | |||
286 | } | ||
287 | |||
288 | |||
289 | } | ||
290 | break; | ||
291 | case 2 : | ||
292 | // InternalAlloyLanguage.g:100:6: ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ||
293 | { | ||
294 | // InternalAlloyLanguage.g:100:6: ( (lv_signatureBodies_1_0= ruleALSSignatureBody ) ) | ||
295 | // InternalAlloyLanguage.g:101:1: (lv_signatureBodies_1_0= ruleALSSignatureBody ) | ||
296 | { | ||
297 | // InternalAlloyLanguage.g:101:1: (lv_signatureBodies_1_0= ruleALSSignatureBody ) | ||
298 | // InternalAlloyLanguage.g:102:3: lv_signatureBodies_1_0= ruleALSSignatureBody | ||
299 | { | ||
300 | if ( state.backtracking==0 ) { | ||
301 | |||
302 | newCompositeNode(grammarAccess.getALSDocumentAccess().getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0()); | ||
303 | |||
304 | } | ||
305 | pushFollow(FOLLOW_3); | ||
306 | lv_signatureBodies_1_0=ruleALSSignatureBody(); | ||
307 | |||
308 | state._fsp--; | ||
309 | if (state.failed) return current; | ||
310 | if ( state.backtracking==0 ) { | ||
311 | |||
312 | if (current==null) { | ||
313 | current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
314 | } | ||
315 | add( | ||
316 | current, | ||
317 | "signatureBodies", | ||
318 | lv_signatureBodies_1_0, | ||
319 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody"); | ||
320 | afterParserOrEnumRuleCall(); | ||
321 | |||
322 | } | ||
323 | |||
324 | } | ||
325 | |||
326 | |||
327 | } | ||
328 | |||
329 | |||
330 | } | ||
331 | break; | ||
332 | case 3 : | ||
333 | // InternalAlloyLanguage.g:119:6: ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ||
334 | { | ||
335 | // InternalAlloyLanguage.g:119:6: ( (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) ) | ||
336 | // InternalAlloyLanguage.g:120:1: (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) | ||
337 | { | ||
338 | // InternalAlloyLanguage.g:120:1: (lv_functionDefinitions_2_0= ruleALSFunctionDefinition ) | ||
339 | // InternalAlloyLanguage.g:121:3: lv_functionDefinitions_2_0= ruleALSFunctionDefinition | ||
340 | { | ||
341 | if ( state.backtracking==0 ) { | ||
342 | |||
343 | newCompositeNode(grammarAccess.getALSDocumentAccess().getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0()); | ||
344 | |||
345 | } | ||
346 | pushFollow(FOLLOW_3); | ||
347 | lv_functionDefinitions_2_0=ruleALSFunctionDefinition(); | ||
348 | |||
349 | state._fsp--; | ||
350 | if (state.failed) return current; | ||
351 | if ( state.backtracking==0 ) { | ||
352 | |||
353 | if (current==null) { | ||
354 | current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
355 | } | ||
356 | add( | ||
357 | current, | ||
358 | "functionDefinitions", | ||
359 | lv_functionDefinitions_2_0, | ||
360 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition"); | ||
361 | afterParserOrEnumRuleCall(); | ||
362 | |||
363 | } | ||
364 | |||
365 | } | ||
366 | |||
367 | |||
368 | } | ||
369 | |||
370 | |||
371 | } | ||
372 | break; | ||
373 | case 4 : | ||
374 | // InternalAlloyLanguage.g:138:6: ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ||
375 | { | ||
376 | // InternalAlloyLanguage.g:138:6: ( (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) ) | ||
377 | // InternalAlloyLanguage.g:139:1: (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) | ||
378 | { | ||
379 | // InternalAlloyLanguage.g:139:1: (lv_relationDefinitions_3_0= ruleALSRelationDefinition ) | ||
380 | // InternalAlloyLanguage.g:140:3: lv_relationDefinitions_3_0= ruleALSRelationDefinition | ||
381 | { | ||
382 | if ( state.backtracking==0 ) { | ||
383 | |||
384 | newCompositeNode(grammarAccess.getALSDocumentAccess().getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0()); | ||
385 | |||
386 | } | ||
387 | pushFollow(FOLLOW_3); | ||
388 | lv_relationDefinitions_3_0=ruleALSRelationDefinition(); | ||
389 | |||
390 | state._fsp--; | ||
391 | if (state.failed) return current; | ||
392 | if ( state.backtracking==0 ) { | ||
393 | |||
394 | if (current==null) { | ||
395 | current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
396 | } | ||
397 | add( | ||
398 | current, | ||
399 | "relationDefinitions", | ||
400 | lv_relationDefinitions_3_0, | ||
401 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition"); | ||
402 | afterParserOrEnumRuleCall(); | ||
403 | |||
404 | } | ||
405 | |||
406 | } | ||
407 | |||
408 | |||
409 | } | ||
410 | |||
411 | |||
412 | } | ||
413 | break; | ||
414 | case 5 : | ||
415 | // InternalAlloyLanguage.g:157:6: ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) | ||
416 | { | ||
417 | // InternalAlloyLanguage.g:157:6: ( (lv_factDeclarations_4_0= ruleALSFactDeclaration ) ) | ||
418 | // InternalAlloyLanguage.g:158:1: (lv_factDeclarations_4_0= ruleALSFactDeclaration ) | ||
419 | { | ||
420 | // InternalAlloyLanguage.g:158:1: (lv_factDeclarations_4_0= ruleALSFactDeclaration ) | ||
421 | // InternalAlloyLanguage.g:159:3: lv_factDeclarations_4_0= ruleALSFactDeclaration | ||
422 | { | ||
423 | if ( state.backtracking==0 ) { | ||
424 | |||
425 | newCompositeNode(grammarAccess.getALSDocumentAccess().getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0()); | ||
426 | |||
427 | } | ||
428 | pushFollow(FOLLOW_3); | ||
429 | lv_factDeclarations_4_0=ruleALSFactDeclaration(); | ||
430 | |||
431 | state._fsp--; | ||
432 | if (state.failed) return current; | ||
433 | if ( state.backtracking==0 ) { | ||
434 | |||
435 | if (current==null) { | ||
436 | current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
437 | } | ||
438 | add( | ||
439 | current, | ||
440 | "factDeclarations", | ||
441 | lv_factDeclarations_4_0, | ||
442 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration"); | ||
443 | afterParserOrEnumRuleCall(); | ||
444 | |||
445 | } | ||
446 | |||
447 | } | ||
448 | |||
449 | |||
450 | } | ||
451 | |||
452 | |||
453 | } | ||
454 | break; | ||
455 | |||
456 | default : | ||
457 | if ( cnt1 >= 1 ) break loop1; | ||
458 | if (state.backtracking>0) {state.failed=true; return current;} | ||
459 | EarlyExitException eee = | ||
460 | new EarlyExitException(1, input); | ||
461 | throw eee; | ||
462 | } | ||
463 | cnt1++; | ||
464 | } while (true); | ||
465 | |||
466 | // InternalAlloyLanguage.g:175:4: ( (lv_runCommand_5_0= ruleALSRunCommand ) ) | ||
467 | // InternalAlloyLanguage.g:176:1: (lv_runCommand_5_0= ruleALSRunCommand ) | ||
468 | { | ||
469 | // InternalAlloyLanguage.g:176:1: (lv_runCommand_5_0= ruleALSRunCommand ) | ||
470 | // InternalAlloyLanguage.g:177:3: lv_runCommand_5_0= ruleALSRunCommand | ||
471 | { | ||
472 | if ( state.backtracking==0 ) { | ||
473 | |||
474 | newCompositeNode(grammarAccess.getALSDocumentAccess().getRunCommandALSRunCommandParserRuleCall_1_0()); | ||
475 | |||
476 | } | ||
477 | pushFollow(FOLLOW_2); | ||
478 | lv_runCommand_5_0=ruleALSRunCommand(); | ||
479 | |||
480 | state._fsp--; | ||
481 | if (state.failed) return current; | ||
482 | if ( state.backtracking==0 ) { | ||
483 | |||
484 | if (current==null) { | ||
485 | current = createModelElementForParent(grammarAccess.getALSDocumentRule()); | ||
486 | } | ||
487 | set( | ||
488 | current, | ||
489 | "runCommand", | ||
490 | lv_runCommand_5_0, | ||
491 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand"); | ||
492 | afterParserOrEnumRuleCall(); | ||
493 | |||
494 | } | ||
495 | |||
496 | } | ||
497 | |||
498 | |||
499 | } | ||
500 | |||
501 | |||
502 | } | ||
503 | |||
504 | |||
505 | } | ||
506 | |||
507 | if ( state.backtracking==0 ) { | ||
508 | leaveRule(); | ||
509 | } | ||
510 | } | ||
511 | |||
512 | catch (RecognitionException re) { | ||
513 | recover(input,re); | ||
514 | appendSkippedTokens(); | ||
515 | } | ||
516 | finally { | ||
517 | } | ||
518 | return current; | ||
519 | } | ||
520 | // $ANTLR end "ruleALSDocument" | ||
521 | |||
522 | |||
523 | // $ANTLR start "entryRuleALSID" | ||
524 | // InternalAlloyLanguage.g:201:1: entryRuleALSID returns [String current=null] : iv_ruleALSID= ruleALSID EOF ; | ||
525 | public final String entryRuleALSID() throws RecognitionException { | ||
526 | String current = null; | ||
527 | |||
528 | AntlrDatatypeRuleToken iv_ruleALSID = null; | ||
529 | |||
530 | |||
531 | try { | ||
532 | // InternalAlloyLanguage.g:202:2: (iv_ruleALSID= ruleALSID EOF ) | ||
533 | // InternalAlloyLanguage.g:203:2: iv_ruleALSID= ruleALSID EOF | ||
534 | { | ||
535 | if ( state.backtracking==0 ) { | ||
536 | newCompositeNode(grammarAccess.getALSIDRule()); | ||
537 | } | ||
538 | pushFollow(FOLLOW_1); | ||
539 | iv_ruleALSID=ruleALSID(); | ||
540 | |||
541 | state._fsp--; | ||
542 | if (state.failed) return current; | ||
543 | if ( state.backtracking==0 ) { | ||
544 | current =iv_ruleALSID.getText(); | ||
545 | } | ||
546 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
547 | |||
548 | } | ||
549 | |||
550 | } | ||
551 | |||
552 | catch (RecognitionException re) { | ||
553 | recover(input,re); | ||
554 | appendSkippedTokens(); | ||
555 | } | ||
556 | finally { | ||
557 | } | ||
558 | return current; | ||
559 | } | ||
560 | // $ANTLR end "entryRuleALSID" | ||
561 | |||
562 | |||
563 | // $ANTLR start "ruleALSID" | ||
564 | // InternalAlloyLanguage.g:210:1: ruleALSID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; | ||
565 | public final AntlrDatatypeRuleToken ruleALSID() throws RecognitionException { | ||
566 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | ||
567 | |||
568 | Token this_ID_0=null; | ||
569 | |||
570 | enterRule(); | ||
571 | |||
572 | try { | ||
573 | // InternalAlloyLanguage.g:213:28: (this_ID_0= RULE_ID ) | ||
574 | // InternalAlloyLanguage.g:214:5: this_ID_0= RULE_ID | ||
575 | { | ||
576 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
577 | if ( state.backtracking==0 ) { | ||
578 | |||
579 | current.merge(this_ID_0); | ||
580 | |||
581 | } | ||
582 | if ( state.backtracking==0 ) { | ||
583 | |||
584 | newLeafNode(this_ID_0, grammarAccess.getALSIDAccess().getIDTerminalRuleCall()); | ||
585 | |||
586 | } | ||
587 | |||
588 | } | ||
589 | |||
590 | if ( state.backtracking==0 ) { | ||
591 | leaveRule(); | ||
592 | } | ||
593 | } | ||
594 | |||
595 | catch (RecognitionException re) { | ||
596 | recover(input,re); | ||
597 | appendSkippedTokens(); | ||
598 | } | ||
599 | finally { | ||
600 | } | ||
601 | return current; | ||
602 | } | ||
603 | // $ANTLR end "ruleALSID" | ||
604 | |||
605 | |||
606 | // $ANTLR start "entryRuleALSTypeDeclaration" | ||
607 | // InternalAlloyLanguage.g:231:1: entryRuleALSTypeDeclaration returns [EObject current=null] : iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF ; | ||
608 | public final EObject entryRuleALSTypeDeclaration() throws RecognitionException { | ||
609 | EObject current = null; | ||
610 | |||
611 | EObject iv_ruleALSTypeDeclaration = null; | ||
612 | |||
613 | |||
614 | try { | ||
615 | // InternalAlloyLanguage.g:232:2: (iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF ) | ||
616 | // InternalAlloyLanguage.g:233:2: iv_ruleALSTypeDeclaration= ruleALSTypeDeclaration EOF | ||
617 | { | ||
618 | if ( state.backtracking==0 ) { | ||
619 | newCompositeNode(grammarAccess.getALSTypeDeclarationRule()); | ||
620 | } | ||
621 | pushFollow(FOLLOW_1); | ||
622 | iv_ruleALSTypeDeclaration=ruleALSTypeDeclaration(); | ||
623 | |||
624 | state._fsp--; | ||
625 | if (state.failed) return current; | ||
626 | if ( state.backtracking==0 ) { | ||
627 | current =iv_ruleALSTypeDeclaration; | ||
628 | } | ||
629 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
630 | |||
631 | } | ||
632 | |||
633 | } | ||
634 | |||
635 | catch (RecognitionException re) { | ||
636 | recover(input,re); | ||
637 | appendSkippedTokens(); | ||
638 | } | ||
639 | finally { | ||
640 | } | ||
641 | return current; | ||
642 | } | ||
643 | // $ANTLR end "entryRuleALSTypeDeclaration" | ||
644 | |||
645 | |||
646 | // $ANTLR start "ruleALSTypeDeclaration" | ||
647 | // InternalAlloyLanguage.g:240:1: ruleALSTypeDeclaration returns [EObject current=null] : (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) ; | ||
648 | public final EObject ruleALSTypeDeclaration() throws RecognitionException { | ||
649 | EObject current = null; | ||
650 | |||
651 | EObject this_ALSEnumDeclaration_0 = null; | ||
652 | |||
653 | EObject this_ALSSignatureDeclaration_1 = null; | ||
654 | |||
655 | |||
656 | enterRule(); | ||
657 | |||
658 | try { | ||
659 | // InternalAlloyLanguage.g:243:28: ( (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) ) | ||
660 | // InternalAlloyLanguage.g:244:1: (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) | ||
661 | { | ||
662 | // InternalAlloyLanguage.g:244:1: (this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration ) | ||
663 | int alt2=2; | ||
664 | int LA2_0 = input.LA(1); | ||
665 | |||
666 | if ( (LA2_0==11) ) { | ||
667 | alt2=1; | ||
668 | } | ||
669 | else if ( (LA2_0==RULE_ID) ) { | ||
670 | alt2=2; | ||
671 | } | ||
672 | else { | ||
673 | if (state.backtracking>0) {state.failed=true; return current;} | ||
674 | NoViableAltException nvae = | ||
675 | new NoViableAltException("", 2, 0, input); | ||
676 | |||
677 | throw nvae; | ||
678 | } | ||
679 | switch (alt2) { | ||
680 | case 1 : | ||
681 | // InternalAlloyLanguage.g:245:5: this_ALSEnumDeclaration_0= ruleALSEnumDeclaration | ||
682 | { | ||
683 | if ( state.backtracking==0 ) { | ||
684 | |||
685 | newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSEnumDeclarationParserRuleCall_0()); | ||
686 | |||
687 | } | ||
688 | pushFollow(FOLLOW_2); | ||
689 | this_ALSEnumDeclaration_0=ruleALSEnumDeclaration(); | ||
690 | |||
691 | state._fsp--; | ||
692 | if (state.failed) return current; | ||
693 | if ( state.backtracking==0 ) { | ||
694 | |||
695 | current = this_ALSEnumDeclaration_0; | ||
696 | afterParserOrEnumRuleCall(); | ||
697 | |||
698 | } | ||
699 | |||
700 | } | ||
701 | break; | ||
702 | case 2 : | ||
703 | // InternalAlloyLanguage.g:255:5: this_ALSSignatureDeclaration_1= ruleALSSignatureDeclaration | ||
704 | { | ||
705 | if ( state.backtracking==0 ) { | ||
706 | |||
707 | newCompositeNode(grammarAccess.getALSTypeDeclarationAccess().getALSSignatureDeclarationParserRuleCall_1()); | ||
708 | |||
709 | } | ||
710 | pushFollow(FOLLOW_2); | ||
711 | this_ALSSignatureDeclaration_1=ruleALSSignatureDeclaration(); | ||
712 | |||
713 | state._fsp--; | ||
714 | if (state.failed) return current; | ||
715 | if ( state.backtracking==0 ) { | ||
716 | |||
717 | current = this_ALSSignatureDeclaration_1; | ||
718 | afterParserOrEnumRuleCall(); | ||
719 | |||
720 | } | ||
721 | |||
722 | } | ||
723 | break; | ||
724 | |||
725 | } | ||
726 | |||
727 | |||
728 | } | ||
729 | |||
730 | if ( state.backtracking==0 ) { | ||
731 | leaveRule(); | ||
732 | } | ||
733 | } | ||
734 | |||
735 | catch (RecognitionException re) { | ||
736 | recover(input,re); | ||
737 | appendSkippedTokens(); | ||
738 | } | ||
739 | finally { | ||
740 | } | ||
741 | return current; | ||
742 | } | ||
743 | // $ANTLR end "ruleALSTypeDeclaration" | ||
744 | |||
745 | |||
746 | // $ANTLR start "entryRuleALSEnumDeclaration" | ||
747 | // InternalAlloyLanguage.g:271:1: entryRuleALSEnumDeclaration returns [EObject current=null] : iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF ; | ||
748 | public final EObject entryRuleALSEnumDeclaration() throws RecognitionException { | ||
749 | EObject current = null; | ||
750 | |||
751 | EObject iv_ruleALSEnumDeclaration = null; | ||
752 | |||
753 | |||
754 | try { | ||
755 | // InternalAlloyLanguage.g:272:2: (iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF ) | ||
756 | // InternalAlloyLanguage.g:273:2: iv_ruleALSEnumDeclaration= ruleALSEnumDeclaration EOF | ||
757 | { | ||
758 | if ( state.backtracking==0 ) { | ||
759 | newCompositeNode(grammarAccess.getALSEnumDeclarationRule()); | ||
760 | } | ||
761 | pushFollow(FOLLOW_1); | ||
762 | iv_ruleALSEnumDeclaration=ruleALSEnumDeclaration(); | ||
763 | |||
764 | state._fsp--; | ||
765 | if (state.failed) return current; | ||
766 | if ( state.backtracking==0 ) { | ||
767 | current =iv_ruleALSEnumDeclaration; | ||
768 | } | ||
769 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
770 | |||
771 | } | ||
772 | |||
773 | } | ||
774 | |||
775 | catch (RecognitionException re) { | ||
776 | recover(input,re); | ||
777 | appendSkippedTokens(); | ||
778 | } | ||
779 | finally { | ||
780 | } | ||
781 | return current; | ||
782 | } | ||
783 | // $ANTLR end "entryRuleALSEnumDeclaration" | ||
784 | |||
785 | |||
786 | // $ANTLR start "ruleALSEnumDeclaration" | ||
787 | // InternalAlloyLanguage.g:280:1: ruleALSEnumDeclaration returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' ) ; | ||
788 | public final EObject ruleALSEnumDeclaration() throws RecognitionException { | ||
789 | EObject current = null; | ||
790 | |||
791 | Token otherlv_0=null; | ||
792 | Token otherlv_2=null; | ||
793 | Token otherlv_4=null; | ||
794 | Token otherlv_6=null; | ||
795 | AntlrDatatypeRuleToken lv_name_1_0 = null; | ||
796 | |||
797 | EObject lv_literal_3_0 = null; | ||
798 | |||
799 | EObject lv_literal_5_0 = null; | ||
800 | |||
801 | |||
802 | enterRule(); | ||
803 | |||
804 | try { | ||
805 | // InternalAlloyLanguage.g:283:28: ( (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' ) ) | ||
806 | // InternalAlloyLanguage.g:284:1: (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' ) | ||
807 | { | ||
808 | // InternalAlloyLanguage.g:284:1: (otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' ) | ||
809 | // InternalAlloyLanguage.g:284:3: otherlv_0= 'enum' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '{' ( (lv_literal_3_0= ruleALSEnumLiteral ) ) (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* otherlv_6= '}' | ||
810 | { | ||
811 | otherlv_0=(Token)match(input,11,FOLLOW_4); if (state.failed) return current; | ||
812 | if ( state.backtracking==0 ) { | ||
813 | |||
814 | newLeafNode(otherlv_0, grammarAccess.getALSEnumDeclarationAccess().getEnumKeyword_0()); | ||
815 | |||
816 | } | ||
817 | // InternalAlloyLanguage.g:288:1: ( (lv_name_1_0= ruleALSID ) ) | ||
818 | // InternalAlloyLanguage.g:289:1: (lv_name_1_0= ruleALSID ) | ||
819 | { | ||
820 | // InternalAlloyLanguage.g:289:1: (lv_name_1_0= ruleALSID ) | ||
821 | // InternalAlloyLanguage.g:290:3: lv_name_1_0= ruleALSID | ||
822 | { | ||
823 | if ( state.backtracking==0 ) { | ||
824 | |||
825 | newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getNameALSIDParserRuleCall_1_0()); | ||
826 | |||
827 | } | ||
828 | pushFollow(FOLLOW_5); | ||
829 | lv_name_1_0=ruleALSID(); | ||
830 | |||
831 | state._fsp--; | ||
832 | if (state.failed) return current; | ||
833 | if ( state.backtracking==0 ) { | ||
834 | |||
835 | if (current==null) { | ||
836 | current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule()); | ||
837 | } | ||
838 | set( | ||
839 | current, | ||
840 | "name", | ||
841 | lv_name_1_0, | ||
842 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
843 | afterParserOrEnumRuleCall(); | ||
844 | |||
845 | } | ||
846 | |||
847 | } | ||
848 | |||
849 | |||
850 | } | ||
851 | |||
852 | otherlv_2=(Token)match(input,12,FOLLOW_4); if (state.failed) return current; | ||
853 | if ( state.backtracking==0 ) { | ||
854 | |||
855 | newLeafNode(otherlv_2, grammarAccess.getALSEnumDeclarationAccess().getLeftCurlyBracketKeyword_2()); | ||
856 | |||
857 | } | ||
858 | // InternalAlloyLanguage.g:310:1: ( (lv_literal_3_0= ruleALSEnumLiteral ) ) | ||
859 | // InternalAlloyLanguage.g:311:1: (lv_literal_3_0= ruleALSEnumLiteral ) | ||
860 | { | ||
861 | // InternalAlloyLanguage.g:311:1: (lv_literal_3_0= ruleALSEnumLiteral ) | ||
862 | // InternalAlloyLanguage.g:312:3: lv_literal_3_0= ruleALSEnumLiteral | ||
863 | { | ||
864 | if ( state.backtracking==0 ) { | ||
865 | |||
866 | newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_3_0()); | ||
867 | |||
868 | } | ||
869 | pushFollow(FOLLOW_6); | ||
870 | lv_literal_3_0=ruleALSEnumLiteral(); | ||
871 | |||
872 | state._fsp--; | ||
873 | if (state.failed) return current; | ||
874 | if ( state.backtracking==0 ) { | ||
875 | |||
876 | if (current==null) { | ||
877 | current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule()); | ||
878 | } | ||
879 | add( | ||
880 | current, | ||
881 | "literal", | ||
882 | lv_literal_3_0, | ||
883 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral"); | ||
884 | afterParserOrEnumRuleCall(); | ||
885 | |||
886 | } | ||
887 | |||
888 | } | ||
889 | |||
890 | |||
891 | } | ||
892 | |||
893 | // InternalAlloyLanguage.g:328:2: (otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) )* | ||
894 | loop3: | ||
895 | do { | ||
896 | int alt3=2; | ||
897 | int LA3_0 = input.LA(1); | ||
898 | |||
899 | if ( (LA3_0==13) ) { | ||
900 | alt3=1; | ||
901 | } | ||
902 | |||
903 | |||
904 | switch (alt3) { | ||
905 | case 1 : | ||
906 | // InternalAlloyLanguage.g:328:4: otherlv_4= ',' ( (lv_literal_5_0= ruleALSEnumLiteral ) ) | ||
907 | { | ||
908 | otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
909 | if ( state.backtracking==0 ) { | ||
910 | |||
911 | newLeafNode(otherlv_4, grammarAccess.getALSEnumDeclarationAccess().getCommaKeyword_4_0()); | ||
912 | |||
913 | } | ||
914 | // InternalAlloyLanguage.g:332:1: ( (lv_literal_5_0= ruleALSEnumLiteral ) ) | ||
915 | // InternalAlloyLanguage.g:333:1: (lv_literal_5_0= ruleALSEnumLiteral ) | ||
916 | { | ||
917 | // InternalAlloyLanguage.g:333:1: (lv_literal_5_0= ruleALSEnumLiteral ) | ||
918 | // InternalAlloyLanguage.g:334:3: lv_literal_5_0= ruleALSEnumLiteral | ||
919 | { | ||
920 | if ( state.backtracking==0 ) { | ||
921 | |||
922 | newCompositeNode(grammarAccess.getALSEnumDeclarationAccess().getLiteralALSEnumLiteralParserRuleCall_4_1_0()); | ||
923 | |||
924 | } | ||
925 | pushFollow(FOLLOW_6); | ||
926 | lv_literal_5_0=ruleALSEnumLiteral(); | ||
927 | |||
928 | state._fsp--; | ||
929 | if (state.failed) return current; | ||
930 | if ( state.backtracking==0 ) { | ||
931 | |||
932 | if (current==null) { | ||
933 | current = createModelElementForParent(grammarAccess.getALSEnumDeclarationRule()); | ||
934 | } | ||
935 | add( | ||
936 | current, | ||
937 | "literal", | ||
938 | lv_literal_5_0, | ||
939 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral"); | ||
940 | afterParserOrEnumRuleCall(); | ||
941 | |||
942 | } | ||
943 | |||
944 | } | ||
945 | |||
946 | |||
947 | } | ||
948 | |||
949 | |||
950 | } | ||
951 | break; | ||
952 | |||
953 | default : | ||
954 | break loop3; | ||
955 | } | ||
956 | } while (true); | ||
957 | |||
958 | otherlv_6=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
959 | if ( state.backtracking==0 ) { | ||
960 | |||
961 | newLeafNode(otherlv_6, grammarAccess.getALSEnumDeclarationAccess().getRightCurlyBracketKeyword_5()); | ||
962 | |||
963 | } | ||
964 | |||
965 | } | ||
966 | |||
967 | |||
968 | } | ||
969 | |||
970 | if ( state.backtracking==0 ) { | ||
971 | leaveRule(); | ||
972 | } | ||
973 | } | ||
974 | |||
975 | catch (RecognitionException re) { | ||
976 | recover(input,re); | ||
977 | appendSkippedTokens(); | ||
978 | } | ||
979 | finally { | ||
980 | } | ||
981 | return current; | ||
982 | } | ||
983 | // $ANTLR end "ruleALSEnumDeclaration" | ||
984 | |||
985 | |||
986 | // $ANTLR start "entryRuleALSEnumLiteral" | ||
987 | // InternalAlloyLanguage.g:362:1: entryRuleALSEnumLiteral returns [EObject current=null] : iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF ; | ||
988 | public final EObject entryRuleALSEnumLiteral() throws RecognitionException { | ||
989 | EObject current = null; | ||
990 | |||
991 | EObject iv_ruleALSEnumLiteral = null; | ||
992 | |||
993 | |||
994 | try { | ||
995 | // InternalAlloyLanguage.g:363:2: (iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF ) | ||
996 | // InternalAlloyLanguage.g:364:2: iv_ruleALSEnumLiteral= ruleALSEnumLiteral EOF | ||
997 | { | ||
998 | if ( state.backtracking==0 ) { | ||
999 | newCompositeNode(grammarAccess.getALSEnumLiteralRule()); | ||
1000 | } | ||
1001 | pushFollow(FOLLOW_1); | ||
1002 | iv_ruleALSEnumLiteral=ruleALSEnumLiteral(); | ||
1003 | |||
1004 | state._fsp--; | ||
1005 | if (state.failed) return current; | ||
1006 | if ( state.backtracking==0 ) { | ||
1007 | current =iv_ruleALSEnumLiteral; | ||
1008 | } | ||
1009 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1010 | |||
1011 | } | ||
1012 | |||
1013 | } | ||
1014 | |||
1015 | catch (RecognitionException re) { | ||
1016 | recover(input,re); | ||
1017 | appendSkippedTokens(); | ||
1018 | } | ||
1019 | finally { | ||
1020 | } | ||
1021 | return current; | ||
1022 | } | ||
1023 | // $ANTLR end "entryRuleALSEnumLiteral" | ||
1024 | |||
1025 | |||
1026 | // $ANTLR start "ruleALSEnumLiteral" | ||
1027 | // InternalAlloyLanguage.g:371:1: ruleALSEnumLiteral returns [EObject current=null] : ( (lv_name_0_0= ruleALSID ) ) ; | ||
1028 | public final EObject ruleALSEnumLiteral() throws RecognitionException { | ||
1029 | EObject current = null; | ||
1030 | |||
1031 | AntlrDatatypeRuleToken lv_name_0_0 = null; | ||
1032 | |||
1033 | |||
1034 | enterRule(); | ||
1035 | |||
1036 | try { | ||
1037 | // InternalAlloyLanguage.g:374:28: ( ( (lv_name_0_0= ruleALSID ) ) ) | ||
1038 | // InternalAlloyLanguage.g:375:1: ( (lv_name_0_0= ruleALSID ) ) | ||
1039 | { | ||
1040 | // InternalAlloyLanguage.g:375:1: ( (lv_name_0_0= ruleALSID ) ) | ||
1041 | // InternalAlloyLanguage.g:376:1: (lv_name_0_0= ruleALSID ) | ||
1042 | { | ||
1043 | // InternalAlloyLanguage.g:376:1: (lv_name_0_0= ruleALSID ) | ||
1044 | // InternalAlloyLanguage.g:377:3: lv_name_0_0= ruleALSID | ||
1045 | { | ||
1046 | if ( state.backtracking==0 ) { | ||
1047 | |||
1048 | newCompositeNode(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0()); | ||
1049 | |||
1050 | } | ||
1051 | pushFollow(FOLLOW_2); | ||
1052 | lv_name_0_0=ruleALSID(); | ||
1053 | |||
1054 | state._fsp--; | ||
1055 | if (state.failed) return current; | ||
1056 | if ( state.backtracking==0 ) { | ||
1057 | |||
1058 | if (current==null) { | ||
1059 | current = createModelElementForParent(grammarAccess.getALSEnumLiteralRule()); | ||
1060 | } | ||
1061 | set( | ||
1062 | current, | ||
1063 | "name", | ||
1064 | lv_name_0_0, | ||
1065 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
1066 | afterParserOrEnumRuleCall(); | ||
1067 | |||
1068 | } | ||
1069 | |||
1070 | } | ||
1071 | |||
1072 | |||
1073 | } | ||
1074 | |||
1075 | |||
1076 | } | ||
1077 | |||
1078 | if ( state.backtracking==0 ) { | ||
1079 | leaveRule(); | ||
1080 | } | ||
1081 | } | ||
1082 | |||
1083 | catch (RecognitionException re) { | ||
1084 | recover(input,re); | ||
1085 | appendSkippedTokens(); | ||
1086 | } | ||
1087 | finally { | ||
1088 | } | ||
1089 | return current; | ||
1090 | } | ||
1091 | // $ANTLR end "ruleALSEnumLiteral" | ||
1092 | |||
1093 | |||
1094 | // $ANTLR start "entryRuleALSSignatureDeclaration" | ||
1095 | // InternalAlloyLanguage.g:401:1: entryRuleALSSignatureDeclaration returns [EObject current=null] : iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF ; | ||
1096 | public final EObject entryRuleALSSignatureDeclaration() throws RecognitionException { | ||
1097 | EObject current = null; | ||
1098 | |||
1099 | EObject iv_ruleALSSignatureDeclaration = null; | ||
1100 | |||
1101 | |||
1102 | try { | ||
1103 | // InternalAlloyLanguage.g:402:2: (iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF ) | ||
1104 | // InternalAlloyLanguage.g:403:2: iv_ruleALSSignatureDeclaration= ruleALSSignatureDeclaration EOF | ||
1105 | { | ||
1106 | if ( state.backtracking==0 ) { | ||
1107 | newCompositeNode(grammarAccess.getALSSignatureDeclarationRule()); | ||
1108 | } | ||
1109 | pushFollow(FOLLOW_1); | ||
1110 | iv_ruleALSSignatureDeclaration=ruleALSSignatureDeclaration(); | ||
1111 | |||
1112 | state._fsp--; | ||
1113 | if (state.failed) return current; | ||
1114 | if ( state.backtracking==0 ) { | ||
1115 | current =iv_ruleALSSignatureDeclaration; | ||
1116 | } | ||
1117 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1118 | |||
1119 | } | ||
1120 | |||
1121 | } | ||
1122 | |||
1123 | catch (RecognitionException re) { | ||
1124 | recover(input,re); | ||
1125 | appendSkippedTokens(); | ||
1126 | } | ||
1127 | finally { | ||
1128 | } | ||
1129 | return current; | ||
1130 | } | ||
1131 | // $ANTLR end "entryRuleALSSignatureDeclaration" | ||
1132 | |||
1133 | |||
1134 | // $ANTLR start "ruleALSSignatureDeclaration" | ||
1135 | // InternalAlloyLanguage.g:410:1: ruleALSSignatureDeclaration returns [EObject current=null] : ( (lv_name_0_0= ruleALSID ) ) ; | ||
1136 | public final EObject ruleALSSignatureDeclaration() throws RecognitionException { | ||
1137 | EObject current = null; | ||
1138 | |||
1139 | AntlrDatatypeRuleToken lv_name_0_0 = null; | ||
1140 | |||
1141 | |||
1142 | enterRule(); | ||
1143 | |||
1144 | try { | ||
1145 | // InternalAlloyLanguage.g:413:28: ( ( (lv_name_0_0= ruleALSID ) ) ) | ||
1146 | // InternalAlloyLanguage.g:414:1: ( (lv_name_0_0= ruleALSID ) ) | ||
1147 | { | ||
1148 | // InternalAlloyLanguage.g:414:1: ( (lv_name_0_0= ruleALSID ) ) | ||
1149 | // InternalAlloyLanguage.g:415:1: (lv_name_0_0= ruleALSID ) | ||
1150 | { | ||
1151 | // InternalAlloyLanguage.g:415:1: (lv_name_0_0= ruleALSID ) | ||
1152 | // InternalAlloyLanguage.g:416:3: lv_name_0_0= ruleALSID | ||
1153 | { | ||
1154 | if ( state.backtracking==0 ) { | ||
1155 | |||
1156 | newCompositeNode(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0()); | ||
1157 | |||
1158 | } | ||
1159 | pushFollow(FOLLOW_2); | ||
1160 | lv_name_0_0=ruleALSID(); | ||
1161 | |||
1162 | state._fsp--; | ||
1163 | if (state.failed) return current; | ||
1164 | if ( state.backtracking==0 ) { | ||
1165 | |||
1166 | if (current==null) { | ||
1167 | current = createModelElementForParent(grammarAccess.getALSSignatureDeclarationRule()); | ||
1168 | } | ||
1169 | set( | ||
1170 | current, | ||
1171 | "name", | ||
1172 | lv_name_0_0, | ||
1173 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
1174 | afterParserOrEnumRuleCall(); | ||
1175 | |||
1176 | } | ||
1177 | |||
1178 | } | ||
1179 | |||
1180 | |||
1181 | } | ||
1182 | |||
1183 | |||
1184 | } | ||
1185 | |||
1186 | if ( state.backtracking==0 ) { | ||
1187 | leaveRule(); | ||
1188 | } | ||
1189 | } | ||
1190 | |||
1191 | catch (RecognitionException re) { | ||
1192 | recover(input,re); | ||
1193 | appendSkippedTokens(); | ||
1194 | } | ||
1195 | finally { | ||
1196 | } | ||
1197 | return current; | ||
1198 | } | ||
1199 | // $ANTLR end "ruleALSSignatureDeclaration" | ||
1200 | |||
1201 | |||
1202 | // $ANTLR start "entryRuleALSSignatureBody" | ||
1203 | // InternalAlloyLanguage.g:440:1: entryRuleALSSignatureBody returns [EObject current=null] : iv_ruleALSSignatureBody= ruleALSSignatureBody EOF ; | ||
1204 | public final EObject entryRuleALSSignatureBody() throws RecognitionException { | ||
1205 | EObject current = null; | ||
1206 | |||
1207 | EObject iv_ruleALSSignatureBody = null; | ||
1208 | |||
1209 | |||
1210 | try { | ||
1211 | // InternalAlloyLanguage.g:441:2: (iv_ruleALSSignatureBody= ruleALSSignatureBody EOF ) | ||
1212 | // InternalAlloyLanguage.g:442:2: iv_ruleALSSignatureBody= ruleALSSignatureBody EOF | ||
1213 | { | ||
1214 | if ( state.backtracking==0 ) { | ||
1215 | newCompositeNode(grammarAccess.getALSSignatureBodyRule()); | ||
1216 | } | ||
1217 | pushFollow(FOLLOW_1); | ||
1218 | iv_ruleALSSignatureBody=ruleALSSignatureBody(); | ||
1219 | |||
1220 | state._fsp--; | ||
1221 | if (state.failed) return current; | ||
1222 | if ( state.backtracking==0 ) { | ||
1223 | current =iv_ruleALSSignatureBody; | ||
1224 | } | ||
1225 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1226 | |||
1227 | } | ||
1228 | |||
1229 | } | ||
1230 | |||
1231 | catch (RecognitionException re) { | ||
1232 | recover(input,re); | ||
1233 | appendSkippedTokens(); | ||
1234 | } | ||
1235 | finally { | ||
1236 | } | ||
1237 | return current; | ||
1238 | } | ||
1239 | // $ANTLR end "entryRuleALSSignatureBody" | ||
1240 | |||
1241 | |||
1242 | // $ANTLR start "ruleALSSignatureBody" | ||
1243 | // InternalAlloyLanguage.g:449:1: ruleALSSignatureBody returns [EObject current=null] : ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' ) ; | ||
1244 | public final EObject ruleALSSignatureBody() throws RecognitionException { | ||
1245 | EObject current = null; | ||
1246 | |||
1247 | Token lv_abstract_2_0=null; | ||
1248 | Token otherlv_3=null; | ||
1249 | Token otherlv_5=null; | ||
1250 | Token otherlv_7=null; | ||
1251 | Token otherlv_8=null; | ||
1252 | Token otherlv_9=null; | ||
1253 | Token otherlv_10=null; | ||
1254 | Token otherlv_11=null; | ||
1255 | Token otherlv_12=null; | ||
1256 | Token otherlv_13=null; | ||
1257 | Token otherlv_15=null; | ||
1258 | Token otherlv_17=null; | ||
1259 | Enumerator lv_multiplicity_1_0 = null; | ||
1260 | |||
1261 | EObject lv_declarations_4_0 = null; | ||
1262 | |||
1263 | EObject lv_declarations_6_0 = null; | ||
1264 | |||
1265 | EObject lv_fields_14_0 = null; | ||
1266 | |||
1267 | EObject lv_fields_16_0 = null; | ||
1268 | |||
1269 | |||
1270 | enterRule(); | ||
1271 | |||
1272 | try { | ||
1273 | // InternalAlloyLanguage.g:452:28: ( ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' ) ) | ||
1274 | // InternalAlloyLanguage.g:453:1: ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' ) | ||
1275 | { | ||
1276 | // InternalAlloyLanguage.g:453:1: ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' ) | ||
1277 | // InternalAlloyLanguage.g:453:2: ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) otherlv_3= 'sig' ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? otherlv_13= '{' ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? otherlv_17= '}' | ||
1278 | { | ||
1279 | // InternalAlloyLanguage.g:453:2: ( ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) ) | ||
1280 | // InternalAlloyLanguage.g:455:1: ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) | ||
1281 | { | ||
1282 | // InternalAlloyLanguage.g:455:1: ( ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) ) | ||
1283 | // InternalAlloyLanguage.g:456:2: ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) | ||
1284 | { | ||
1285 | getUnorderedGroupHelper().enter(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
1286 | // InternalAlloyLanguage.g:459:2: ( ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* ) | ||
1287 | // InternalAlloyLanguage.g:460:3: ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* | ||
1288 | { | ||
1289 | // InternalAlloyLanguage.g:460:3: ( ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) )* | ||
1290 | loop4: | ||
1291 | do { | ||
1292 | int alt4=3; | ||
1293 | int LA4_0 = input.LA(1); | ||
1294 | |||
1295 | if ( LA4_0 >= 66 && LA4_0 <= 71 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) { | ||
1296 | alt4=1; | ||
1297 | } | ||
1298 | else if ( LA4_0 == 15 && getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) { | ||
1299 | alt4=2; | ||
1300 | } | ||
1301 | |||
1302 | |||
1303 | switch (alt4) { | ||
1304 | case 1 : | ||
1305 | // InternalAlloyLanguage.g:462:4: ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ||
1306 | { | ||
1307 | // InternalAlloyLanguage.g:462:4: ({...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) ) | ||
1308 | // InternalAlloyLanguage.g:463:5: {...}? => ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) | ||
1309 | { | ||
1310 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0) ) { | ||
1311 | if (state.backtracking>0) {state.failed=true; return current;} | ||
1312 | throw new FailedPredicateException(input, "ruleALSSignatureBody", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0)"); | ||
1313 | } | ||
1314 | // InternalAlloyLanguage.g:463:113: ( ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) ) | ||
1315 | // InternalAlloyLanguage.g:464:6: ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) | ||
1316 | { | ||
1317 | getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 0); | ||
1318 | // InternalAlloyLanguage.g:467:6: ({...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) ) | ||
1319 | // InternalAlloyLanguage.g:467:7: {...}? => ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) | ||
1320 | { | ||
1321 | if ( !((true)) ) { | ||
1322 | if (state.backtracking>0) {state.failed=true; return current;} | ||
1323 | throw new FailedPredicateException(input, "ruleALSSignatureBody", "true"); | ||
1324 | } | ||
1325 | // InternalAlloyLanguage.g:467:16: ( (lv_multiplicity_1_0= ruleALSMultiplicity ) ) | ||
1326 | // InternalAlloyLanguage.g:468:1: (lv_multiplicity_1_0= ruleALSMultiplicity ) | ||
1327 | { | ||
1328 | // InternalAlloyLanguage.g:468:1: (lv_multiplicity_1_0= ruleALSMultiplicity ) | ||
1329 | // InternalAlloyLanguage.g:469:3: lv_multiplicity_1_0= ruleALSMultiplicity | ||
1330 | { | ||
1331 | if ( state.backtracking==0 ) { | ||
1332 | |||
1333 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getMultiplicityALSMultiplicityEnumRuleCall_0_0_0()); | ||
1334 | |||
1335 | } | ||
1336 | pushFollow(FOLLOW_7); | ||
1337 | lv_multiplicity_1_0=ruleALSMultiplicity(); | ||
1338 | |||
1339 | state._fsp--; | ||
1340 | if (state.failed) return current; | ||
1341 | if ( state.backtracking==0 ) { | ||
1342 | |||
1343 | if (current==null) { | ||
1344 | current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
1345 | } | ||
1346 | set( | ||
1347 | current, | ||
1348 | "multiplicity", | ||
1349 | lv_multiplicity_1_0, | ||
1350 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
1351 | afterParserOrEnumRuleCall(); | ||
1352 | |||
1353 | } | ||
1354 | |||
1355 | } | ||
1356 | |||
1357 | |||
1358 | } | ||
1359 | |||
1360 | |||
1361 | } | ||
1362 | |||
1363 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
1364 | |||
1365 | } | ||
1366 | |||
1367 | |||
1368 | } | ||
1369 | |||
1370 | |||
1371 | } | ||
1372 | break; | ||
1373 | case 2 : | ||
1374 | // InternalAlloyLanguage.g:492:4: ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) | ||
1375 | { | ||
1376 | // InternalAlloyLanguage.g:492:4: ({...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) ) | ||
1377 | // InternalAlloyLanguage.g:493:5: {...}? => ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) | ||
1378 | { | ||
1379 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1) ) { | ||
1380 | if (state.backtracking>0) {state.failed=true; return current;} | ||
1381 | throw new FailedPredicateException(input, "ruleALSSignatureBody", "getUnorderedGroupHelper().canSelect(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1)"); | ||
1382 | } | ||
1383 | // InternalAlloyLanguage.g:493:113: ( ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) ) | ||
1384 | // InternalAlloyLanguage.g:494:6: ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) | ||
1385 | { | ||
1386 | getUnorderedGroupHelper().select(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0(), 1); | ||
1387 | // InternalAlloyLanguage.g:497:6: ({...}? => ( (lv_abstract_2_0= 'abstract' ) ) ) | ||
1388 | // InternalAlloyLanguage.g:497:7: {...}? => ( (lv_abstract_2_0= 'abstract' ) ) | ||
1389 | { | ||
1390 | if ( !((true)) ) { | ||
1391 | if (state.backtracking>0) {state.failed=true; return current;} | ||
1392 | throw new FailedPredicateException(input, "ruleALSSignatureBody", "true"); | ||
1393 | } | ||
1394 | // InternalAlloyLanguage.g:497:16: ( (lv_abstract_2_0= 'abstract' ) ) | ||
1395 | // InternalAlloyLanguage.g:498:1: (lv_abstract_2_0= 'abstract' ) | ||
1396 | { | ||
1397 | // InternalAlloyLanguage.g:498:1: (lv_abstract_2_0= 'abstract' ) | ||
1398 | // InternalAlloyLanguage.g:499:3: lv_abstract_2_0= 'abstract' | ||
1399 | { | ||
1400 | lv_abstract_2_0=(Token)match(input,15,FOLLOW_7); if (state.failed) return current; | ||
1401 | if ( state.backtracking==0 ) { | ||
1402 | |||
1403 | newLeafNode(lv_abstract_2_0, grammarAccess.getALSSignatureBodyAccess().getAbstractAbstractKeyword_0_1_0()); | ||
1404 | |||
1405 | } | ||
1406 | if ( state.backtracking==0 ) { | ||
1407 | |||
1408 | if (current==null) { | ||
1409 | current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
1410 | } | ||
1411 | setWithLastConsumed(current, "abstract", true, "abstract"); | ||
1412 | |||
1413 | } | ||
1414 | |||
1415 | } | ||
1416 | |||
1417 | |||
1418 | } | ||
1419 | |||
1420 | |||
1421 | } | ||
1422 | |||
1423 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
1424 | |||
1425 | } | ||
1426 | |||
1427 | |||
1428 | } | ||
1429 | |||
1430 | |||
1431 | } | ||
1432 | break; | ||
1433 | |||
1434 | default : | ||
1435 | break loop4; | ||
1436 | } | ||
1437 | } while (true); | ||
1438 | |||
1439 | |||
1440 | } | ||
1441 | |||
1442 | |||
1443 | } | ||
1444 | |||
1445 | getUnorderedGroupHelper().leave(grammarAccess.getALSSignatureBodyAccess().getUnorderedGroup_0()); | ||
1446 | |||
1447 | } | ||
1448 | |||
1449 | otherlv_3=(Token)match(input,16,FOLLOW_4); if (state.failed) return current; | ||
1450 | if ( state.backtracking==0 ) { | ||
1451 | |||
1452 | newLeafNode(otherlv_3, grammarAccess.getALSSignatureBodyAccess().getSigKeyword_1()); | ||
1453 | |||
1454 | } | ||
1455 | // InternalAlloyLanguage.g:530:1: ( (lv_declarations_4_0= ruleALSSignatureDeclaration ) ) | ||
1456 | // InternalAlloyLanguage.g:531:1: (lv_declarations_4_0= ruleALSSignatureDeclaration ) | ||
1457 | { | ||
1458 | // InternalAlloyLanguage.g:531:1: (lv_declarations_4_0= ruleALSSignatureDeclaration ) | ||
1459 | // InternalAlloyLanguage.g:532:3: lv_declarations_4_0= ruleALSSignatureDeclaration | ||
1460 | { | ||
1461 | if ( state.backtracking==0 ) { | ||
1462 | |||
1463 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_2_0()); | ||
1464 | |||
1465 | } | ||
1466 | pushFollow(FOLLOW_8); | ||
1467 | lv_declarations_4_0=ruleALSSignatureDeclaration(); | ||
1468 | |||
1469 | state._fsp--; | ||
1470 | if (state.failed) return current; | ||
1471 | if ( state.backtracking==0 ) { | ||
1472 | |||
1473 | if (current==null) { | ||
1474 | current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
1475 | } | ||
1476 | add( | ||
1477 | current, | ||
1478 | "declarations", | ||
1479 | lv_declarations_4_0, | ||
1480 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration"); | ||
1481 | afterParserOrEnumRuleCall(); | ||
1482 | |||
1483 | } | ||
1484 | |||
1485 | } | ||
1486 | |||
1487 | |||
1488 | } | ||
1489 | |||
1490 | // InternalAlloyLanguage.g:548:2: (otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) )* | ||
1491 | loop5: | ||
1492 | do { | ||
1493 | int alt5=2; | ||
1494 | int LA5_0 = input.LA(1); | ||
1495 | |||
1496 | if ( (LA5_0==13) ) { | ||
1497 | alt5=1; | ||
1498 | } | ||
1499 | |||
1500 | |||
1501 | switch (alt5) { | ||
1502 | case 1 : | ||
1503 | // InternalAlloyLanguage.g:548:4: otherlv_5= ',' ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) | ||
1504 | { | ||
1505 | otherlv_5=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
1506 | if ( state.backtracking==0 ) { | ||
1507 | |||
1508 | newLeafNode(otherlv_5, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_3_0()); | ||
1509 | |||
1510 | } | ||
1511 | // InternalAlloyLanguage.g:552:1: ( (lv_declarations_6_0= ruleALSSignatureDeclaration ) ) | ||
1512 | // InternalAlloyLanguage.g:553:1: (lv_declarations_6_0= ruleALSSignatureDeclaration ) | ||
1513 | { | ||
1514 | // InternalAlloyLanguage.g:553:1: (lv_declarations_6_0= ruleALSSignatureDeclaration ) | ||
1515 | // InternalAlloyLanguage.g:554:3: lv_declarations_6_0= ruleALSSignatureDeclaration | ||
1516 | { | ||
1517 | if ( state.backtracking==0 ) { | ||
1518 | |||
1519 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0()); | ||
1520 | |||
1521 | } | ||
1522 | pushFollow(FOLLOW_8); | ||
1523 | lv_declarations_6_0=ruleALSSignatureDeclaration(); | ||
1524 | |||
1525 | state._fsp--; | ||
1526 | if (state.failed) return current; | ||
1527 | if ( state.backtracking==0 ) { | ||
1528 | |||
1529 | if (current==null) { | ||
1530 | current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
1531 | } | ||
1532 | add( | ||
1533 | current, | ||
1534 | "declarations", | ||
1535 | lv_declarations_6_0, | ||
1536 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration"); | ||
1537 | afterParserOrEnumRuleCall(); | ||
1538 | |||
1539 | } | ||
1540 | |||
1541 | } | ||
1542 | |||
1543 | |||
1544 | } | ||
1545 | |||
1546 | |||
1547 | } | ||
1548 | break; | ||
1549 | |||
1550 | default : | ||
1551 | break loop5; | ||
1552 | } | ||
1553 | } while (true); | ||
1554 | |||
1555 | // InternalAlloyLanguage.g:570:4: ( (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) )? | ||
1556 | int alt7=3; | ||
1557 | int LA7_0 = input.LA(1); | ||
1558 | |||
1559 | if ( (LA7_0==17) ) { | ||
1560 | alt7=1; | ||
1561 | } | ||
1562 | else if ( (LA7_0==18) ) { | ||
1563 | alt7=2; | ||
1564 | } | ||
1565 | switch (alt7) { | ||
1566 | case 1 : | ||
1567 | // InternalAlloyLanguage.g:570:5: (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | ||
1568 | { | ||
1569 | // InternalAlloyLanguage.g:570:5: (otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) ) | ||
1570 | // InternalAlloyLanguage.g:570:7: otherlv_7= 'extends' ( (otherlv_8= RULE_ID ) ) | ||
1571 | { | ||
1572 | otherlv_7=(Token)match(input,17,FOLLOW_4); if (state.failed) return current; | ||
1573 | if ( state.backtracking==0 ) { | ||
1574 | |||
1575 | newLeafNode(otherlv_7, grammarAccess.getALSSignatureBodyAccess().getExtendsKeyword_4_0_0()); | ||
1576 | |||
1577 | } | ||
1578 | // InternalAlloyLanguage.g:574:1: ( (otherlv_8= RULE_ID ) ) | ||
1579 | // InternalAlloyLanguage.g:575:1: (otherlv_8= RULE_ID ) | ||
1580 | { | ||
1581 | // InternalAlloyLanguage.g:575:1: (otherlv_8= RULE_ID ) | ||
1582 | // InternalAlloyLanguage.g:576:3: otherlv_8= RULE_ID | ||
1583 | { | ||
1584 | if ( state.backtracking==0 ) { | ||
1585 | |||
1586 | if (current==null) { | ||
1587 | current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
1588 | } | ||
1589 | |||
1590 | } | ||
1591 | otherlv_8=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; | ||
1592 | if ( state.backtracking==0 ) { | ||
1593 | |||
1594 | newLeafNode(otherlv_8, grammarAccess.getALSSignatureBodyAccess().getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0()); | ||
1595 | |||
1596 | } | ||
1597 | |||
1598 | } | ||
1599 | |||
1600 | |||
1601 | } | ||
1602 | |||
1603 | |||
1604 | } | ||
1605 | |||
1606 | |||
1607 | } | ||
1608 | break; | ||
1609 | case 2 : | ||
1610 | // InternalAlloyLanguage.g:588:6: (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) | ||
1611 | { | ||
1612 | // InternalAlloyLanguage.g:588:6: (otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* ) | ||
1613 | // InternalAlloyLanguage.g:588:8: otherlv_9= 'in' ( (otherlv_10= RULE_ID ) ) (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* | ||
1614 | { | ||
1615 | otherlv_9=(Token)match(input,18,FOLLOW_4); if (state.failed) return current; | ||
1616 | if ( state.backtracking==0 ) { | ||
1617 | |||
1618 | newLeafNode(otherlv_9, grammarAccess.getALSSignatureBodyAccess().getInKeyword_4_1_0()); | ||
1619 | |||
1620 | } | ||
1621 | // InternalAlloyLanguage.g:592:1: ( (otherlv_10= RULE_ID ) ) | ||
1622 | // InternalAlloyLanguage.g:593:1: (otherlv_10= RULE_ID ) | ||
1623 | { | ||
1624 | // InternalAlloyLanguage.g:593:1: (otherlv_10= RULE_ID ) | ||
1625 | // InternalAlloyLanguage.g:594:3: otherlv_10= RULE_ID | ||
1626 | { | ||
1627 | if ( state.backtracking==0 ) { | ||
1628 | |||
1629 | if (current==null) { | ||
1630 | current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
1631 | } | ||
1632 | |||
1633 | } | ||
1634 | otherlv_10=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current; | ||
1635 | if ( state.backtracking==0 ) { | ||
1636 | |||
1637 | newLeafNode(otherlv_10, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_1_0()); | ||
1638 | |||
1639 | } | ||
1640 | |||
1641 | } | ||
1642 | |||
1643 | |||
1644 | } | ||
1645 | |||
1646 | // InternalAlloyLanguage.g:605:2: (otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) )* | ||
1647 | loop6: | ||
1648 | do { | ||
1649 | int alt6=2; | ||
1650 | int LA6_0 = input.LA(1); | ||
1651 | |||
1652 | if ( (LA6_0==19) ) { | ||
1653 | alt6=1; | ||
1654 | } | ||
1655 | |||
1656 | |||
1657 | switch (alt6) { | ||
1658 | case 1 : | ||
1659 | // InternalAlloyLanguage.g:605:4: otherlv_11= '+' ( (otherlv_12= RULE_ID ) ) | ||
1660 | { | ||
1661 | otherlv_11=(Token)match(input,19,FOLLOW_4); if (state.failed) return current; | ||
1662 | if ( state.backtracking==0 ) { | ||
1663 | |||
1664 | newLeafNode(otherlv_11, grammarAccess.getALSSignatureBodyAccess().getPlusSignKeyword_4_1_2_0()); | ||
1665 | |||
1666 | } | ||
1667 | // InternalAlloyLanguage.g:609:1: ( (otherlv_12= RULE_ID ) ) | ||
1668 | // InternalAlloyLanguage.g:610:1: (otherlv_12= RULE_ID ) | ||
1669 | { | ||
1670 | // InternalAlloyLanguage.g:610:1: (otherlv_12= RULE_ID ) | ||
1671 | // InternalAlloyLanguage.g:611:3: otherlv_12= RULE_ID | ||
1672 | { | ||
1673 | if ( state.backtracking==0 ) { | ||
1674 | |||
1675 | if (current==null) { | ||
1676 | current = createModelElement(grammarAccess.getALSSignatureBodyRule()); | ||
1677 | } | ||
1678 | |||
1679 | } | ||
1680 | otherlv_12=(Token)match(input,RULE_ID,FOLLOW_9); if (state.failed) return current; | ||
1681 | if ( state.backtracking==0 ) { | ||
1682 | |||
1683 | newLeafNode(otherlv_12, grammarAccess.getALSSignatureBodyAccess().getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0()); | ||
1684 | |||
1685 | } | ||
1686 | |||
1687 | } | ||
1688 | |||
1689 | |||
1690 | } | ||
1691 | |||
1692 | |||
1693 | } | ||
1694 | break; | ||
1695 | |||
1696 | default : | ||
1697 | break loop6; | ||
1698 | } | ||
1699 | } while (true); | ||
1700 | |||
1701 | |||
1702 | } | ||
1703 | |||
1704 | |||
1705 | } | ||
1706 | break; | ||
1707 | |||
1708 | } | ||
1709 | |||
1710 | otherlv_13=(Token)match(input,12,FOLLOW_10); if (state.failed) return current; | ||
1711 | if ( state.backtracking==0 ) { | ||
1712 | |||
1713 | newLeafNode(otherlv_13, grammarAccess.getALSSignatureBodyAccess().getLeftCurlyBracketKeyword_5()); | ||
1714 | |||
1715 | } | ||
1716 | // InternalAlloyLanguage.g:626:1: ( ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* )? | ||
1717 | int alt9=2; | ||
1718 | int LA9_0 = input.LA(1); | ||
1719 | |||
1720 | if ( (LA9_0==RULE_ID) ) { | ||
1721 | alt9=1; | ||
1722 | } | ||
1723 | switch (alt9) { | ||
1724 | case 1 : | ||
1725 | // InternalAlloyLanguage.g:626:2: ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* | ||
1726 | { | ||
1727 | // InternalAlloyLanguage.g:626:2: ( (lv_fields_14_0= ruleALSFieldDeclaration ) ) | ||
1728 | // InternalAlloyLanguage.g:627:1: (lv_fields_14_0= ruleALSFieldDeclaration ) | ||
1729 | { | ||
1730 | // InternalAlloyLanguage.g:627:1: (lv_fields_14_0= ruleALSFieldDeclaration ) | ||
1731 | // InternalAlloyLanguage.g:628:3: lv_fields_14_0= ruleALSFieldDeclaration | ||
1732 | { | ||
1733 | if ( state.backtracking==0 ) { | ||
1734 | |||
1735 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_0_0()); | ||
1736 | |||
1737 | } | ||
1738 | pushFollow(FOLLOW_6); | ||
1739 | lv_fields_14_0=ruleALSFieldDeclaration(); | ||
1740 | |||
1741 | state._fsp--; | ||
1742 | if (state.failed) return current; | ||
1743 | if ( state.backtracking==0 ) { | ||
1744 | |||
1745 | if (current==null) { | ||
1746 | current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
1747 | } | ||
1748 | add( | ||
1749 | current, | ||
1750 | "fields", | ||
1751 | lv_fields_14_0, | ||
1752 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration"); | ||
1753 | afterParserOrEnumRuleCall(); | ||
1754 | |||
1755 | } | ||
1756 | |||
1757 | } | ||
1758 | |||
1759 | |||
1760 | } | ||
1761 | |||
1762 | // InternalAlloyLanguage.g:644:2: (otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) )* | ||
1763 | loop8: | ||
1764 | do { | ||
1765 | int alt8=2; | ||
1766 | int LA8_0 = input.LA(1); | ||
1767 | |||
1768 | if ( (LA8_0==13) ) { | ||
1769 | alt8=1; | ||
1770 | } | ||
1771 | |||
1772 | |||
1773 | switch (alt8) { | ||
1774 | case 1 : | ||
1775 | // InternalAlloyLanguage.g:644:4: otherlv_15= ',' ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) | ||
1776 | { | ||
1777 | otherlv_15=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
1778 | if ( state.backtracking==0 ) { | ||
1779 | |||
1780 | newLeafNode(otherlv_15, grammarAccess.getALSSignatureBodyAccess().getCommaKeyword_6_1_0()); | ||
1781 | |||
1782 | } | ||
1783 | // InternalAlloyLanguage.g:648:1: ( (lv_fields_16_0= ruleALSFieldDeclaration ) ) | ||
1784 | // InternalAlloyLanguage.g:649:1: (lv_fields_16_0= ruleALSFieldDeclaration ) | ||
1785 | { | ||
1786 | // InternalAlloyLanguage.g:649:1: (lv_fields_16_0= ruleALSFieldDeclaration ) | ||
1787 | // InternalAlloyLanguage.g:650:3: lv_fields_16_0= ruleALSFieldDeclaration | ||
1788 | { | ||
1789 | if ( state.backtracking==0 ) { | ||
1790 | |||
1791 | newCompositeNode(grammarAccess.getALSSignatureBodyAccess().getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0()); | ||
1792 | |||
1793 | } | ||
1794 | pushFollow(FOLLOW_6); | ||
1795 | lv_fields_16_0=ruleALSFieldDeclaration(); | ||
1796 | |||
1797 | state._fsp--; | ||
1798 | if (state.failed) return current; | ||
1799 | if ( state.backtracking==0 ) { | ||
1800 | |||
1801 | if (current==null) { | ||
1802 | current = createModelElementForParent(grammarAccess.getALSSignatureBodyRule()); | ||
1803 | } | ||
1804 | add( | ||
1805 | current, | ||
1806 | "fields", | ||
1807 | lv_fields_16_0, | ||
1808 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration"); | ||
1809 | afterParserOrEnumRuleCall(); | ||
1810 | |||
1811 | } | ||
1812 | |||
1813 | } | ||
1814 | |||
1815 | |||
1816 | } | ||
1817 | |||
1818 | |||
1819 | } | ||
1820 | break; | ||
1821 | |||
1822 | default : | ||
1823 | break loop8; | ||
1824 | } | ||
1825 | } while (true); | ||
1826 | |||
1827 | |||
1828 | } | ||
1829 | break; | ||
1830 | |||
1831 | } | ||
1832 | |||
1833 | otherlv_17=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
1834 | if ( state.backtracking==0 ) { | ||
1835 | |||
1836 | newLeafNode(otherlv_17, grammarAccess.getALSSignatureBodyAccess().getRightCurlyBracketKeyword_7()); | ||
1837 | |||
1838 | } | ||
1839 | |||
1840 | } | ||
1841 | |||
1842 | |||
1843 | } | ||
1844 | |||
1845 | if ( state.backtracking==0 ) { | ||
1846 | leaveRule(); | ||
1847 | } | ||
1848 | } | ||
1849 | |||
1850 | catch (RecognitionException re) { | ||
1851 | recover(input,re); | ||
1852 | appendSkippedTokens(); | ||
1853 | } | ||
1854 | finally { | ||
1855 | } | ||
1856 | return current; | ||
1857 | } | ||
1858 | // $ANTLR end "ruleALSSignatureBody" | ||
1859 | |||
1860 | |||
1861 | // $ANTLR start "entryRuleALSFieldDeclaration" | ||
1862 | // InternalAlloyLanguage.g:678:1: entryRuleALSFieldDeclaration returns [EObject current=null] : iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF ; | ||
1863 | public final EObject entryRuleALSFieldDeclaration() throws RecognitionException { | ||
1864 | EObject current = null; | ||
1865 | |||
1866 | EObject iv_ruleALSFieldDeclaration = null; | ||
1867 | |||
1868 | |||
1869 | try { | ||
1870 | // InternalAlloyLanguage.g:679:2: (iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF ) | ||
1871 | // InternalAlloyLanguage.g:680:2: iv_ruleALSFieldDeclaration= ruleALSFieldDeclaration EOF | ||
1872 | { | ||
1873 | if ( state.backtracking==0 ) { | ||
1874 | newCompositeNode(grammarAccess.getALSFieldDeclarationRule()); | ||
1875 | } | ||
1876 | pushFollow(FOLLOW_1); | ||
1877 | iv_ruleALSFieldDeclaration=ruleALSFieldDeclaration(); | ||
1878 | |||
1879 | state._fsp--; | ||
1880 | if (state.failed) return current; | ||
1881 | if ( state.backtracking==0 ) { | ||
1882 | current =iv_ruleALSFieldDeclaration; | ||
1883 | } | ||
1884 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1885 | |||
1886 | } | ||
1887 | |||
1888 | } | ||
1889 | |||
1890 | catch (RecognitionException re) { | ||
1891 | recover(input,re); | ||
1892 | appendSkippedTokens(); | ||
1893 | } | ||
1894 | finally { | ||
1895 | } | ||
1896 | return current; | ||
1897 | } | ||
1898 | // $ANTLR end "entryRuleALSFieldDeclaration" | ||
1899 | |||
1900 | |||
1901 | // $ANTLR start "ruleALSFieldDeclaration" | ||
1902 | // InternalAlloyLanguage.g:687:1: ruleALSFieldDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) ; | ||
1903 | public final EObject ruleALSFieldDeclaration() throws RecognitionException { | ||
1904 | EObject current = null; | ||
1905 | |||
1906 | Token otherlv_1=null; | ||
1907 | AntlrDatatypeRuleToken lv_name_0_0 = null; | ||
1908 | |||
1909 | Enumerator lv_multiplicity_2_0 = null; | ||
1910 | |||
1911 | EObject lv_type_3_0 = null; | ||
1912 | |||
1913 | |||
1914 | enterRule(); | ||
1915 | |||
1916 | try { | ||
1917 | // InternalAlloyLanguage.g:690:28: ( ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) ) | ||
1918 | // InternalAlloyLanguage.g:691:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) | ||
1919 | { | ||
1920 | // InternalAlloyLanguage.g:691:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) ) | ||
1921 | // InternalAlloyLanguage.g:691:2: ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? ( (lv_type_3_0= ruleALSTerm ) ) | ||
1922 | { | ||
1923 | // InternalAlloyLanguage.g:691:2: ( (lv_name_0_0= ruleALSID ) ) | ||
1924 | // InternalAlloyLanguage.g:692:1: (lv_name_0_0= ruleALSID ) | ||
1925 | { | ||
1926 | // InternalAlloyLanguage.g:692:1: (lv_name_0_0= ruleALSID ) | ||
1927 | // InternalAlloyLanguage.g:693:3: lv_name_0_0= ruleALSID | ||
1928 | { | ||
1929 | if ( state.backtracking==0 ) { | ||
1930 | |||
1931 | newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getNameALSIDParserRuleCall_0_0()); | ||
1932 | |||
1933 | } | ||
1934 | pushFollow(FOLLOW_11); | ||
1935 | lv_name_0_0=ruleALSID(); | ||
1936 | |||
1937 | state._fsp--; | ||
1938 | if (state.failed) return current; | ||
1939 | if ( state.backtracking==0 ) { | ||
1940 | |||
1941 | if (current==null) { | ||
1942 | current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule()); | ||
1943 | } | ||
1944 | set( | ||
1945 | current, | ||
1946 | "name", | ||
1947 | lv_name_0_0, | ||
1948 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
1949 | afterParserOrEnumRuleCall(); | ||
1950 | |||
1951 | } | ||
1952 | |||
1953 | } | ||
1954 | |||
1955 | |||
1956 | } | ||
1957 | |||
1958 | otherlv_1=(Token)match(input,20,FOLLOW_12); if (state.failed) return current; | ||
1959 | if ( state.backtracking==0 ) { | ||
1960 | |||
1961 | newLeafNode(otherlv_1, grammarAccess.getALSFieldDeclarationAccess().getColonKeyword_1()); | ||
1962 | |||
1963 | } | ||
1964 | // InternalAlloyLanguage.g:713:1: ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )? | ||
1965 | int alt10=2; | ||
1966 | alt10 = dfa10.predict(input); | ||
1967 | switch (alt10) { | ||
1968 | case 1 : | ||
1969 | // InternalAlloyLanguage.g:714:1: (lv_multiplicity_2_0= ruleALSMultiplicity ) | ||
1970 | { | ||
1971 | // InternalAlloyLanguage.g:714:1: (lv_multiplicity_2_0= ruleALSMultiplicity ) | ||
1972 | // InternalAlloyLanguage.g:715:3: lv_multiplicity_2_0= ruleALSMultiplicity | ||
1973 | { | ||
1974 | if ( state.backtracking==0 ) { | ||
1975 | |||
1976 | newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getMultiplicityALSMultiplicityEnumRuleCall_2_0()); | ||
1977 | |||
1978 | } | ||
1979 | pushFollow(FOLLOW_12); | ||
1980 | lv_multiplicity_2_0=ruleALSMultiplicity(); | ||
1981 | |||
1982 | state._fsp--; | ||
1983 | if (state.failed) return current; | ||
1984 | if ( state.backtracking==0 ) { | ||
1985 | |||
1986 | if (current==null) { | ||
1987 | current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule()); | ||
1988 | } | ||
1989 | set( | ||
1990 | current, | ||
1991 | "multiplicity", | ||
1992 | lv_multiplicity_2_0, | ||
1993 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
1994 | afterParserOrEnumRuleCall(); | ||
1995 | |||
1996 | } | ||
1997 | |||
1998 | } | ||
1999 | |||
2000 | |||
2001 | } | ||
2002 | break; | ||
2003 | |||
2004 | } | ||
2005 | |||
2006 | // InternalAlloyLanguage.g:731:3: ( (lv_type_3_0= ruleALSTerm ) ) | ||
2007 | // InternalAlloyLanguage.g:732:1: (lv_type_3_0= ruleALSTerm ) | ||
2008 | { | ||
2009 | // InternalAlloyLanguage.g:732:1: (lv_type_3_0= ruleALSTerm ) | ||
2010 | // InternalAlloyLanguage.g:733:3: lv_type_3_0= ruleALSTerm | ||
2011 | { | ||
2012 | if ( state.backtracking==0 ) { | ||
2013 | |||
2014 | newCompositeNode(grammarAccess.getALSFieldDeclarationAccess().getTypeALSTermParserRuleCall_3_0()); | ||
2015 | |||
2016 | } | ||
2017 | pushFollow(FOLLOW_2); | ||
2018 | lv_type_3_0=ruleALSTerm(); | ||
2019 | |||
2020 | state._fsp--; | ||
2021 | if (state.failed) return current; | ||
2022 | if ( state.backtracking==0 ) { | ||
2023 | |||
2024 | if (current==null) { | ||
2025 | current = createModelElementForParent(grammarAccess.getALSFieldDeclarationRule()); | ||
2026 | } | ||
2027 | set( | ||
2028 | current, | ||
2029 | "type", | ||
2030 | lv_type_3_0, | ||
2031 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2032 | afterParserOrEnumRuleCall(); | ||
2033 | |||
2034 | } | ||
2035 | |||
2036 | } | ||
2037 | |||
2038 | |||
2039 | } | ||
2040 | |||
2041 | |||
2042 | } | ||
2043 | |||
2044 | |||
2045 | } | ||
2046 | |||
2047 | if ( state.backtracking==0 ) { | ||
2048 | leaveRule(); | ||
2049 | } | ||
2050 | } | ||
2051 | |||
2052 | catch (RecognitionException re) { | ||
2053 | recover(input,re); | ||
2054 | appendSkippedTokens(); | ||
2055 | } | ||
2056 | finally { | ||
2057 | } | ||
2058 | return current; | ||
2059 | } | ||
2060 | // $ANTLR end "ruleALSFieldDeclaration" | ||
2061 | |||
2062 | |||
2063 | // $ANTLR start "entryRuleALSFunctionDefinition" | ||
2064 | // InternalAlloyLanguage.g:759:1: entryRuleALSFunctionDefinition returns [EObject current=null] : iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF ; | ||
2065 | public final EObject entryRuleALSFunctionDefinition() throws RecognitionException { | ||
2066 | EObject current = null; | ||
2067 | |||
2068 | EObject iv_ruleALSFunctionDefinition = null; | ||
2069 | |||
2070 | |||
2071 | try { | ||
2072 | // InternalAlloyLanguage.g:760:2: (iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF ) | ||
2073 | // InternalAlloyLanguage.g:761:2: iv_ruleALSFunctionDefinition= ruleALSFunctionDefinition EOF | ||
2074 | { | ||
2075 | if ( state.backtracking==0 ) { | ||
2076 | newCompositeNode(grammarAccess.getALSFunctionDefinitionRule()); | ||
2077 | } | ||
2078 | pushFollow(FOLLOW_1); | ||
2079 | iv_ruleALSFunctionDefinition=ruleALSFunctionDefinition(); | ||
2080 | |||
2081 | state._fsp--; | ||
2082 | if (state.failed) return current; | ||
2083 | if ( state.backtracking==0 ) { | ||
2084 | current =iv_ruleALSFunctionDefinition; | ||
2085 | } | ||
2086 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2087 | |||
2088 | } | ||
2089 | |||
2090 | } | ||
2091 | |||
2092 | catch (RecognitionException re) { | ||
2093 | recover(input,re); | ||
2094 | appendSkippedTokens(); | ||
2095 | } | ||
2096 | finally { | ||
2097 | } | ||
2098 | return current; | ||
2099 | } | ||
2100 | // $ANTLR end "entryRuleALSFunctionDefinition" | ||
2101 | |||
2102 | |||
2103 | // $ANTLR start "ruleALSFunctionDefinition" | ||
2104 | // InternalAlloyLanguage.g:768:1: ruleALSFunctionDefinition returns [EObject current=null] : (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' ) ; | ||
2105 | public final EObject ruleALSFunctionDefinition() throws RecognitionException { | ||
2106 | EObject current = null; | ||
2107 | |||
2108 | Token otherlv_0=null; | ||
2109 | Token otherlv_2=null; | ||
2110 | Token otherlv_4=null; | ||
2111 | Token otherlv_6=null; | ||
2112 | Token otherlv_7=null; | ||
2113 | Token otherlv_9=null; | ||
2114 | Token otherlv_11=null; | ||
2115 | AntlrDatatypeRuleToken lv_name_1_0 = null; | ||
2116 | |||
2117 | EObject lv_variables_3_0 = null; | ||
2118 | |||
2119 | EObject lv_variables_5_0 = null; | ||
2120 | |||
2121 | EObject lv_type_8_0 = null; | ||
2122 | |||
2123 | EObject lv_value_10_0 = null; | ||
2124 | |||
2125 | |||
2126 | enterRule(); | ||
2127 | |||
2128 | try { | ||
2129 | // InternalAlloyLanguage.g:771:28: ( (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' ) ) | ||
2130 | // InternalAlloyLanguage.g:772:1: (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' ) | ||
2131 | { | ||
2132 | // InternalAlloyLanguage.g:772:1: (otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' ) | ||
2133 | // InternalAlloyLanguage.g:772:3: otherlv_0= 'fun' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= ':' ( (lv_type_8_0= ruleALSTerm ) ) otherlv_9= '{' ( (lv_value_10_0= ruleALSTerm ) ) otherlv_11= '}' | ||
2134 | { | ||
2135 | otherlv_0=(Token)match(input,21,FOLLOW_4); if (state.failed) return current; | ||
2136 | if ( state.backtracking==0 ) { | ||
2137 | |||
2138 | newLeafNode(otherlv_0, grammarAccess.getALSFunctionDefinitionAccess().getFunKeyword_0()); | ||
2139 | |||
2140 | } | ||
2141 | // InternalAlloyLanguage.g:776:1: ( (lv_name_1_0= ruleALSID ) ) | ||
2142 | // InternalAlloyLanguage.g:777:1: (lv_name_1_0= ruleALSID ) | ||
2143 | { | ||
2144 | // InternalAlloyLanguage.g:777:1: (lv_name_1_0= ruleALSID ) | ||
2145 | // InternalAlloyLanguage.g:778:3: lv_name_1_0= ruleALSID | ||
2146 | { | ||
2147 | if ( state.backtracking==0 ) { | ||
2148 | |||
2149 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getNameALSIDParserRuleCall_1_0()); | ||
2150 | |||
2151 | } | ||
2152 | pushFollow(FOLLOW_13); | ||
2153 | lv_name_1_0=ruleALSID(); | ||
2154 | |||
2155 | state._fsp--; | ||
2156 | if (state.failed) return current; | ||
2157 | if ( state.backtracking==0 ) { | ||
2158 | |||
2159 | if (current==null) { | ||
2160 | current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
2161 | } | ||
2162 | set( | ||
2163 | current, | ||
2164 | "name", | ||
2165 | lv_name_1_0, | ||
2166 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
2167 | afterParserOrEnumRuleCall(); | ||
2168 | |||
2169 | } | ||
2170 | |||
2171 | } | ||
2172 | |||
2173 | |||
2174 | } | ||
2175 | |||
2176 | otherlv_2=(Token)match(input,22,FOLLOW_4); if (state.failed) return current; | ||
2177 | if ( state.backtracking==0 ) { | ||
2178 | |||
2179 | newLeafNode(otherlv_2, grammarAccess.getALSFunctionDefinitionAccess().getLeftSquareBracketKeyword_2()); | ||
2180 | |||
2181 | } | ||
2182 | // InternalAlloyLanguage.g:798:1: ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) | ||
2183 | // InternalAlloyLanguage.g:799:1: (lv_variables_3_0= ruleALSVariableDeclaration ) | ||
2184 | { | ||
2185 | // InternalAlloyLanguage.g:799:1: (lv_variables_3_0= ruleALSVariableDeclaration ) | ||
2186 | // InternalAlloyLanguage.g:800:3: lv_variables_3_0= ruleALSVariableDeclaration | ||
2187 | { | ||
2188 | if ( state.backtracking==0 ) { | ||
2189 | |||
2190 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); | ||
2191 | |||
2192 | } | ||
2193 | pushFollow(FOLLOW_14); | ||
2194 | lv_variables_3_0=ruleALSVariableDeclaration(); | ||
2195 | |||
2196 | state._fsp--; | ||
2197 | if (state.failed) return current; | ||
2198 | if ( state.backtracking==0 ) { | ||
2199 | |||
2200 | if (current==null) { | ||
2201 | current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
2202 | } | ||
2203 | add( | ||
2204 | current, | ||
2205 | "variables", | ||
2206 | lv_variables_3_0, | ||
2207 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
2208 | afterParserOrEnumRuleCall(); | ||
2209 | |||
2210 | } | ||
2211 | |||
2212 | } | ||
2213 | |||
2214 | |||
2215 | } | ||
2216 | |||
2217 | // InternalAlloyLanguage.g:816:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* | ||
2218 | loop11: | ||
2219 | do { | ||
2220 | int alt11=2; | ||
2221 | int LA11_0 = input.LA(1); | ||
2222 | |||
2223 | if ( (LA11_0==13) ) { | ||
2224 | alt11=1; | ||
2225 | } | ||
2226 | |||
2227 | |||
2228 | switch (alt11) { | ||
2229 | case 1 : | ||
2230 | // InternalAlloyLanguage.g:816:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) | ||
2231 | { | ||
2232 | otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
2233 | if ( state.backtracking==0 ) { | ||
2234 | |||
2235 | newLeafNode(otherlv_4, grammarAccess.getALSFunctionDefinitionAccess().getCommaKeyword_4_0()); | ||
2236 | |||
2237 | } | ||
2238 | // InternalAlloyLanguage.g:820:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) | ||
2239 | // InternalAlloyLanguage.g:821:1: (lv_variables_5_0= ruleALSVariableDeclaration ) | ||
2240 | { | ||
2241 | // InternalAlloyLanguage.g:821:1: (lv_variables_5_0= ruleALSVariableDeclaration ) | ||
2242 | // InternalAlloyLanguage.g:822:3: lv_variables_5_0= ruleALSVariableDeclaration | ||
2243 | { | ||
2244 | if ( state.backtracking==0 ) { | ||
2245 | |||
2246 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); | ||
2247 | |||
2248 | } | ||
2249 | pushFollow(FOLLOW_14); | ||
2250 | lv_variables_5_0=ruleALSVariableDeclaration(); | ||
2251 | |||
2252 | state._fsp--; | ||
2253 | if (state.failed) return current; | ||
2254 | if ( state.backtracking==0 ) { | ||
2255 | |||
2256 | if (current==null) { | ||
2257 | current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
2258 | } | ||
2259 | add( | ||
2260 | current, | ||
2261 | "variables", | ||
2262 | lv_variables_5_0, | ||
2263 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
2264 | afterParserOrEnumRuleCall(); | ||
2265 | |||
2266 | } | ||
2267 | |||
2268 | } | ||
2269 | |||
2270 | |||
2271 | } | ||
2272 | |||
2273 | |||
2274 | } | ||
2275 | break; | ||
2276 | |||
2277 | default : | ||
2278 | break loop11; | ||
2279 | } | ||
2280 | } while (true); | ||
2281 | |||
2282 | otherlv_6=(Token)match(input,23,FOLLOW_11); if (state.failed) return current; | ||
2283 | if ( state.backtracking==0 ) { | ||
2284 | |||
2285 | newLeafNode(otherlv_6, grammarAccess.getALSFunctionDefinitionAccess().getRightSquareBracketKeyword_5()); | ||
2286 | |||
2287 | } | ||
2288 | otherlv_7=(Token)match(input,20,FOLLOW_12); if (state.failed) return current; | ||
2289 | if ( state.backtracking==0 ) { | ||
2290 | |||
2291 | newLeafNode(otherlv_7, grammarAccess.getALSFunctionDefinitionAccess().getColonKeyword_6()); | ||
2292 | |||
2293 | } | ||
2294 | // InternalAlloyLanguage.g:846:1: ( (lv_type_8_0= ruleALSTerm ) ) | ||
2295 | // InternalAlloyLanguage.g:847:1: (lv_type_8_0= ruleALSTerm ) | ||
2296 | { | ||
2297 | // InternalAlloyLanguage.g:847:1: (lv_type_8_0= ruleALSTerm ) | ||
2298 | // InternalAlloyLanguage.g:848:3: lv_type_8_0= ruleALSTerm | ||
2299 | { | ||
2300 | if ( state.backtracking==0 ) { | ||
2301 | |||
2302 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getTypeALSTermParserRuleCall_7_0()); | ||
2303 | |||
2304 | } | ||
2305 | pushFollow(FOLLOW_5); | ||
2306 | lv_type_8_0=ruleALSTerm(); | ||
2307 | |||
2308 | state._fsp--; | ||
2309 | if (state.failed) return current; | ||
2310 | if ( state.backtracking==0 ) { | ||
2311 | |||
2312 | if (current==null) { | ||
2313 | current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
2314 | } | ||
2315 | set( | ||
2316 | current, | ||
2317 | "type", | ||
2318 | lv_type_8_0, | ||
2319 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2320 | afterParserOrEnumRuleCall(); | ||
2321 | |||
2322 | } | ||
2323 | |||
2324 | } | ||
2325 | |||
2326 | |||
2327 | } | ||
2328 | |||
2329 | otherlv_9=(Token)match(input,12,FOLLOW_12); if (state.failed) return current; | ||
2330 | if ( state.backtracking==0 ) { | ||
2331 | |||
2332 | newLeafNode(otherlv_9, grammarAccess.getALSFunctionDefinitionAccess().getLeftCurlyBracketKeyword_8()); | ||
2333 | |||
2334 | } | ||
2335 | // InternalAlloyLanguage.g:868:1: ( (lv_value_10_0= ruleALSTerm ) ) | ||
2336 | // InternalAlloyLanguage.g:869:1: (lv_value_10_0= ruleALSTerm ) | ||
2337 | { | ||
2338 | // InternalAlloyLanguage.g:869:1: (lv_value_10_0= ruleALSTerm ) | ||
2339 | // InternalAlloyLanguage.g:870:3: lv_value_10_0= ruleALSTerm | ||
2340 | { | ||
2341 | if ( state.backtracking==0 ) { | ||
2342 | |||
2343 | newCompositeNode(grammarAccess.getALSFunctionDefinitionAccess().getValueALSTermParserRuleCall_9_0()); | ||
2344 | |||
2345 | } | ||
2346 | pushFollow(FOLLOW_15); | ||
2347 | lv_value_10_0=ruleALSTerm(); | ||
2348 | |||
2349 | state._fsp--; | ||
2350 | if (state.failed) return current; | ||
2351 | if ( state.backtracking==0 ) { | ||
2352 | |||
2353 | if (current==null) { | ||
2354 | current = createModelElementForParent(grammarAccess.getALSFunctionDefinitionRule()); | ||
2355 | } | ||
2356 | set( | ||
2357 | current, | ||
2358 | "value", | ||
2359 | lv_value_10_0, | ||
2360 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2361 | afterParserOrEnumRuleCall(); | ||
2362 | |||
2363 | } | ||
2364 | |||
2365 | } | ||
2366 | |||
2367 | |||
2368 | } | ||
2369 | |||
2370 | otherlv_11=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
2371 | if ( state.backtracking==0 ) { | ||
2372 | |||
2373 | newLeafNode(otherlv_11, grammarAccess.getALSFunctionDefinitionAccess().getRightCurlyBracketKeyword_10()); | ||
2374 | |||
2375 | } | ||
2376 | |||
2377 | } | ||
2378 | |||
2379 | |||
2380 | } | ||
2381 | |||
2382 | if ( state.backtracking==0 ) { | ||
2383 | leaveRule(); | ||
2384 | } | ||
2385 | } | ||
2386 | |||
2387 | catch (RecognitionException re) { | ||
2388 | recover(input,re); | ||
2389 | appendSkippedTokens(); | ||
2390 | } | ||
2391 | finally { | ||
2392 | } | ||
2393 | return current; | ||
2394 | } | ||
2395 | // $ANTLR end "ruleALSFunctionDefinition" | ||
2396 | |||
2397 | |||
2398 | // $ANTLR start "entryRuleALSRelationDefinition" | ||
2399 | // InternalAlloyLanguage.g:898:1: entryRuleALSRelationDefinition returns [EObject current=null] : iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF ; | ||
2400 | public final EObject entryRuleALSRelationDefinition() throws RecognitionException { | ||
2401 | EObject current = null; | ||
2402 | |||
2403 | EObject iv_ruleALSRelationDefinition = null; | ||
2404 | |||
2405 | |||
2406 | try { | ||
2407 | // InternalAlloyLanguage.g:899:2: (iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF ) | ||
2408 | // InternalAlloyLanguage.g:900:2: iv_ruleALSRelationDefinition= ruleALSRelationDefinition EOF | ||
2409 | { | ||
2410 | if ( state.backtracking==0 ) { | ||
2411 | newCompositeNode(grammarAccess.getALSRelationDefinitionRule()); | ||
2412 | } | ||
2413 | pushFollow(FOLLOW_1); | ||
2414 | iv_ruleALSRelationDefinition=ruleALSRelationDefinition(); | ||
2415 | |||
2416 | state._fsp--; | ||
2417 | if (state.failed) return current; | ||
2418 | if ( state.backtracking==0 ) { | ||
2419 | current =iv_ruleALSRelationDefinition; | ||
2420 | } | ||
2421 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2422 | |||
2423 | } | ||
2424 | |||
2425 | } | ||
2426 | |||
2427 | catch (RecognitionException re) { | ||
2428 | recover(input,re); | ||
2429 | appendSkippedTokens(); | ||
2430 | } | ||
2431 | finally { | ||
2432 | } | ||
2433 | return current; | ||
2434 | } | ||
2435 | // $ANTLR end "entryRuleALSRelationDefinition" | ||
2436 | |||
2437 | |||
2438 | // $ANTLR start "ruleALSRelationDefinition" | ||
2439 | // InternalAlloyLanguage.g:907:1: ruleALSRelationDefinition returns [EObject current=null] : (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' ) ; | ||
2440 | public final EObject ruleALSRelationDefinition() throws RecognitionException { | ||
2441 | EObject current = null; | ||
2442 | |||
2443 | Token otherlv_0=null; | ||
2444 | Token otherlv_2=null; | ||
2445 | Token otherlv_4=null; | ||
2446 | Token otherlv_6=null; | ||
2447 | Token otherlv_7=null; | ||
2448 | Token otherlv_9=null; | ||
2449 | AntlrDatatypeRuleToken lv_name_1_0 = null; | ||
2450 | |||
2451 | EObject lv_variables_3_0 = null; | ||
2452 | |||
2453 | EObject lv_variables_5_0 = null; | ||
2454 | |||
2455 | EObject lv_value_8_0 = null; | ||
2456 | |||
2457 | |||
2458 | enterRule(); | ||
2459 | |||
2460 | try { | ||
2461 | // InternalAlloyLanguage.g:910:28: ( (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' ) ) | ||
2462 | // InternalAlloyLanguage.g:911:1: (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' ) | ||
2463 | { | ||
2464 | // InternalAlloyLanguage.g:911:1: (otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' ) | ||
2465 | // InternalAlloyLanguage.g:911:3: otherlv_0= 'pred' ( (lv_name_1_0= ruleALSID ) ) otherlv_2= '[' ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= ']' otherlv_7= '{' ( (lv_value_8_0= ruleALSTerm ) ) otherlv_9= '}' | ||
2466 | { | ||
2467 | otherlv_0=(Token)match(input,24,FOLLOW_4); if (state.failed) return current; | ||
2468 | if ( state.backtracking==0 ) { | ||
2469 | |||
2470 | newLeafNode(otherlv_0, grammarAccess.getALSRelationDefinitionAccess().getPredKeyword_0()); | ||
2471 | |||
2472 | } | ||
2473 | // InternalAlloyLanguage.g:915:1: ( (lv_name_1_0= ruleALSID ) ) | ||
2474 | // InternalAlloyLanguage.g:916:1: (lv_name_1_0= ruleALSID ) | ||
2475 | { | ||
2476 | // InternalAlloyLanguage.g:916:1: (lv_name_1_0= ruleALSID ) | ||
2477 | // InternalAlloyLanguage.g:917:3: lv_name_1_0= ruleALSID | ||
2478 | { | ||
2479 | if ( state.backtracking==0 ) { | ||
2480 | |||
2481 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getNameALSIDParserRuleCall_1_0()); | ||
2482 | |||
2483 | } | ||
2484 | pushFollow(FOLLOW_13); | ||
2485 | lv_name_1_0=ruleALSID(); | ||
2486 | |||
2487 | state._fsp--; | ||
2488 | if (state.failed) return current; | ||
2489 | if ( state.backtracking==0 ) { | ||
2490 | |||
2491 | if (current==null) { | ||
2492 | current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
2493 | } | ||
2494 | set( | ||
2495 | current, | ||
2496 | "name", | ||
2497 | lv_name_1_0, | ||
2498 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
2499 | afterParserOrEnumRuleCall(); | ||
2500 | |||
2501 | } | ||
2502 | |||
2503 | } | ||
2504 | |||
2505 | |||
2506 | } | ||
2507 | |||
2508 | otherlv_2=(Token)match(input,22,FOLLOW_4); if (state.failed) return current; | ||
2509 | if ( state.backtracking==0 ) { | ||
2510 | |||
2511 | newLeafNode(otherlv_2, grammarAccess.getALSRelationDefinitionAccess().getLeftSquareBracketKeyword_2()); | ||
2512 | |||
2513 | } | ||
2514 | // InternalAlloyLanguage.g:937:1: ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) | ||
2515 | // InternalAlloyLanguage.g:938:1: (lv_variables_3_0= ruleALSVariableDeclaration ) | ||
2516 | { | ||
2517 | // InternalAlloyLanguage.g:938:1: (lv_variables_3_0= ruleALSVariableDeclaration ) | ||
2518 | // InternalAlloyLanguage.g:939:3: lv_variables_3_0= ruleALSVariableDeclaration | ||
2519 | { | ||
2520 | if ( state.backtracking==0 ) { | ||
2521 | |||
2522 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_3_0()); | ||
2523 | |||
2524 | } | ||
2525 | pushFollow(FOLLOW_14); | ||
2526 | lv_variables_3_0=ruleALSVariableDeclaration(); | ||
2527 | |||
2528 | state._fsp--; | ||
2529 | if (state.failed) return current; | ||
2530 | if ( state.backtracking==0 ) { | ||
2531 | |||
2532 | if (current==null) { | ||
2533 | current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
2534 | } | ||
2535 | add( | ||
2536 | current, | ||
2537 | "variables", | ||
2538 | lv_variables_3_0, | ||
2539 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
2540 | afterParserOrEnumRuleCall(); | ||
2541 | |||
2542 | } | ||
2543 | |||
2544 | } | ||
2545 | |||
2546 | |||
2547 | } | ||
2548 | |||
2549 | // InternalAlloyLanguage.g:955:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* | ||
2550 | loop12: | ||
2551 | do { | ||
2552 | int alt12=2; | ||
2553 | int LA12_0 = input.LA(1); | ||
2554 | |||
2555 | if ( (LA12_0==13) ) { | ||
2556 | alt12=1; | ||
2557 | } | ||
2558 | |||
2559 | |||
2560 | switch (alt12) { | ||
2561 | case 1 : | ||
2562 | // InternalAlloyLanguage.g:955:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) | ||
2563 | { | ||
2564 | otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
2565 | if ( state.backtracking==0 ) { | ||
2566 | |||
2567 | newLeafNode(otherlv_4, grammarAccess.getALSRelationDefinitionAccess().getCommaKeyword_4_0()); | ||
2568 | |||
2569 | } | ||
2570 | // InternalAlloyLanguage.g:959:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) | ||
2571 | // InternalAlloyLanguage.g:960:1: (lv_variables_5_0= ruleALSVariableDeclaration ) | ||
2572 | { | ||
2573 | // InternalAlloyLanguage.g:960:1: (lv_variables_5_0= ruleALSVariableDeclaration ) | ||
2574 | // InternalAlloyLanguage.g:961:3: lv_variables_5_0= ruleALSVariableDeclaration | ||
2575 | { | ||
2576 | if ( state.backtracking==0 ) { | ||
2577 | |||
2578 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getVariablesALSVariableDeclarationParserRuleCall_4_1_0()); | ||
2579 | |||
2580 | } | ||
2581 | pushFollow(FOLLOW_14); | ||
2582 | lv_variables_5_0=ruleALSVariableDeclaration(); | ||
2583 | |||
2584 | state._fsp--; | ||
2585 | if (state.failed) return current; | ||
2586 | if ( state.backtracking==0 ) { | ||
2587 | |||
2588 | if (current==null) { | ||
2589 | current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
2590 | } | ||
2591 | add( | ||
2592 | current, | ||
2593 | "variables", | ||
2594 | lv_variables_5_0, | ||
2595 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
2596 | afterParserOrEnumRuleCall(); | ||
2597 | |||
2598 | } | ||
2599 | |||
2600 | } | ||
2601 | |||
2602 | |||
2603 | } | ||
2604 | |||
2605 | |||
2606 | } | ||
2607 | break; | ||
2608 | |||
2609 | default : | ||
2610 | break loop12; | ||
2611 | } | ||
2612 | } while (true); | ||
2613 | |||
2614 | otherlv_6=(Token)match(input,23,FOLLOW_5); if (state.failed) return current; | ||
2615 | if ( state.backtracking==0 ) { | ||
2616 | |||
2617 | newLeafNode(otherlv_6, grammarAccess.getALSRelationDefinitionAccess().getRightSquareBracketKeyword_5()); | ||
2618 | |||
2619 | } | ||
2620 | otherlv_7=(Token)match(input,12,FOLLOW_12); if (state.failed) return current; | ||
2621 | if ( state.backtracking==0 ) { | ||
2622 | |||
2623 | newLeafNode(otherlv_7, grammarAccess.getALSRelationDefinitionAccess().getLeftCurlyBracketKeyword_6()); | ||
2624 | |||
2625 | } | ||
2626 | // InternalAlloyLanguage.g:985:1: ( (lv_value_8_0= ruleALSTerm ) ) | ||
2627 | // InternalAlloyLanguage.g:986:1: (lv_value_8_0= ruleALSTerm ) | ||
2628 | { | ||
2629 | // InternalAlloyLanguage.g:986:1: (lv_value_8_0= ruleALSTerm ) | ||
2630 | // InternalAlloyLanguage.g:987:3: lv_value_8_0= ruleALSTerm | ||
2631 | { | ||
2632 | if ( state.backtracking==0 ) { | ||
2633 | |||
2634 | newCompositeNode(grammarAccess.getALSRelationDefinitionAccess().getValueALSTermParserRuleCall_7_0()); | ||
2635 | |||
2636 | } | ||
2637 | pushFollow(FOLLOW_15); | ||
2638 | lv_value_8_0=ruleALSTerm(); | ||
2639 | |||
2640 | state._fsp--; | ||
2641 | if (state.failed) return current; | ||
2642 | if ( state.backtracking==0 ) { | ||
2643 | |||
2644 | if (current==null) { | ||
2645 | current = createModelElementForParent(grammarAccess.getALSRelationDefinitionRule()); | ||
2646 | } | ||
2647 | set( | ||
2648 | current, | ||
2649 | "value", | ||
2650 | lv_value_8_0, | ||
2651 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2652 | afterParserOrEnumRuleCall(); | ||
2653 | |||
2654 | } | ||
2655 | |||
2656 | } | ||
2657 | |||
2658 | |||
2659 | } | ||
2660 | |||
2661 | otherlv_9=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
2662 | if ( state.backtracking==0 ) { | ||
2663 | |||
2664 | newLeafNode(otherlv_9, grammarAccess.getALSRelationDefinitionAccess().getRightCurlyBracketKeyword_8()); | ||
2665 | |||
2666 | } | ||
2667 | |||
2668 | } | ||
2669 | |||
2670 | |||
2671 | } | ||
2672 | |||
2673 | if ( state.backtracking==0 ) { | ||
2674 | leaveRule(); | ||
2675 | } | ||
2676 | } | ||
2677 | |||
2678 | catch (RecognitionException re) { | ||
2679 | recover(input,re); | ||
2680 | appendSkippedTokens(); | ||
2681 | } | ||
2682 | finally { | ||
2683 | } | ||
2684 | return current; | ||
2685 | } | ||
2686 | // $ANTLR end "ruleALSRelationDefinition" | ||
2687 | |||
2688 | |||
2689 | // $ANTLR start "entryRuleALSFactDeclaration" | ||
2690 | // InternalAlloyLanguage.g:1015:1: entryRuleALSFactDeclaration returns [EObject current=null] : iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF ; | ||
2691 | public final EObject entryRuleALSFactDeclaration() throws RecognitionException { | ||
2692 | EObject current = null; | ||
2693 | |||
2694 | EObject iv_ruleALSFactDeclaration = null; | ||
2695 | |||
2696 | |||
2697 | try { | ||
2698 | // InternalAlloyLanguage.g:1016:2: (iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF ) | ||
2699 | // InternalAlloyLanguage.g:1017:2: iv_ruleALSFactDeclaration= ruleALSFactDeclaration EOF | ||
2700 | { | ||
2701 | if ( state.backtracking==0 ) { | ||
2702 | newCompositeNode(grammarAccess.getALSFactDeclarationRule()); | ||
2703 | } | ||
2704 | pushFollow(FOLLOW_1); | ||
2705 | iv_ruleALSFactDeclaration=ruleALSFactDeclaration(); | ||
2706 | |||
2707 | state._fsp--; | ||
2708 | if (state.failed) return current; | ||
2709 | if ( state.backtracking==0 ) { | ||
2710 | current =iv_ruleALSFactDeclaration; | ||
2711 | } | ||
2712 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2713 | |||
2714 | } | ||
2715 | |||
2716 | } | ||
2717 | |||
2718 | catch (RecognitionException re) { | ||
2719 | recover(input,re); | ||
2720 | appendSkippedTokens(); | ||
2721 | } | ||
2722 | finally { | ||
2723 | } | ||
2724 | return current; | ||
2725 | } | ||
2726 | // $ANTLR end "entryRuleALSFactDeclaration" | ||
2727 | |||
2728 | |||
2729 | // $ANTLR start "ruleALSFactDeclaration" | ||
2730 | // InternalAlloyLanguage.g:1024:1: ruleALSFactDeclaration returns [EObject current=null] : ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) ; | ||
2731 | public final EObject ruleALSFactDeclaration() throws RecognitionException { | ||
2732 | EObject current = null; | ||
2733 | |||
2734 | Token otherlv_1=null; | ||
2735 | Token otherlv_3=null; | ||
2736 | Token otherlv_5=null; | ||
2737 | AntlrDatatypeRuleToken lv_name_2_0 = null; | ||
2738 | |||
2739 | EObject lv_term_4_0 = null; | ||
2740 | |||
2741 | |||
2742 | enterRule(); | ||
2743 | |||
2744 | try { | ||
2745 | // InternalAlloyLanguage.g:1027:28: ( ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) ) | ||
2746 | // InternalAlloyLanguage.g:1028:1: ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) | ||
2747 | { | ||
2748 | // InternalAlloyLanguage.g:1028:1: ( () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' ) | ||
2749 | // InternalAlloyLanguage.g:1028:2: () otherlv_1= 'fact' ( (lv_name_2_0= ruleALSID ) )? otherlv_3= '{' ( (lv_term_4_0= ruleALSTerm ) ) otherlv_5= '}' | ||
2750 | { | ||
2751 | // InternalAlloyLanguage.g:1028:2: () | ||
2752 | // InternalAlloyLanguage.g:1029:5: | ||
2753 | { | ||
2754 | if ( state.backtracking==0 ) { | ||
2755 | |||
2756 | current = forceCreateModelElement( | ||
2757 | grammarAccess.getALSFactDeclarationAccess().getALSFactDeclarationAction_0(), | ||
2758 | current); | ||
2759 | |||
2760 | } | ||
2761 | |||
2762 | } | ||
2763 | |||
2764 | otherlv_1=(Token)match(input,25,FOLLOW_16); if (state.failed) return current; | ||
2765 | if ( state.backtracking==0 ) { | ||
2766 | |||
2767 | newLeafNode(otherlv_1, grammarAccess.getALSFactDeclarationAccess().getFactKeyword_1()); | ||
2768 | |||
2769 | } | ||
2770 | // InternalAlloyLanguage.g:1038:1: ( (lv_name_2_0= ruleALSID ) )? | ||
2771 | int alt13=2; | ||
2772 | int LA13_0 = input.LA(1); | ||
2773 | |||
2774 | if ( (LA13_0==RULE_ID) ) { | ||
2775 | alt13=1; | ||
2776 | } | ||
2777 | switch (alt13) { | ||
2778 | case 1 : | ||
2779 | // InternalAlloyLanguage.g:1039:1: (lv_name_2_0= ruleALSID ) | ||
2780 | { | ||
2781 | // InternalAlloyLanguage.g:1039:1: (lv_name_2_0= ruleALSID ) | ||
2782 | // InternalAlloyLanguage.g:1040:3: lv_name_2_0= ruleALSID | ||
2783 | { | ||
2784 | if ( state.backtracking==0 ) { | ||
2785 | |||
2786 | newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getNameALSIDParserRuleCall_2_0()); | ||
2787 | |||
2788 | } | ||
2789 | pushFollow(FOLLOW_5); | ||
2790 | lv_name_2_0=ruleALSID(); | ||
2791 | |||
2792 | state._fsp--; | ||
2793 | if (state.failed) return current; | ||
2794 | if ( state.backtracking==0 ) { | ||
2795 | |||
2796 | if (current==null) { | ||
2797 | current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule()); | ||
2798 | } | ||
2799 | set( | ||
2800 | current, | ||
2801 | "name", | ||
2802 | lv_name_2_0, | ||
2803 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
2804 | afterParserOrEnumRuleCall(); | ||
2805 | |||
2806 | } | ||
2807 | |||
2808 | } | ||
2809 | |||
2810 | |||
2811 | } | ||
2812 | break; | ||
2813 | |||
2814 | } | ||
2815 | |||
2816 | otherlv_3=(Token)match(input,12,FOLLOW_12); if (state.failed) return current; | ||
2817 | if ( state.backtracking==0 ) { | ||
2818 | |||
2819 | newLeafNode(otherlv_3, grammarAccess.getALSFactDeclarationAccess().getLeftCurlyBracketKeyword_3()); | ||
2820 | |||
2821 | } | ||
2822 | // InternalAlloyLanguage.g:1060:1: ( (lv_term_4_0= ruleALSTerm ) ) | ||
2823 | // InternalAlloyLanguage.g:1061:1: (lv_term_4_0= ruleALSTerm ) | ||
2824 | { | ||
2825 | // InternalAlloyLanguage.g:1061:1: (lv_term_4_0= ruleALSTerm ) | ||
2826 | // InternalAlloyLanguage.g:1062:3: lv_term_4_0= ruleALSTerm | ||
2827 | { | ||
2828 | if ( state.backtracking==0 ) { | ||
2829 | |||
2830 | newCompositeNode(grammarAccess.getALSFactDeclarationAccess().getTermALSTermParserRuleCall_4_0()); | ||
2831 | |||
2832 | } | ||
2833 | pushFollow(FOLLOW_15); | ||
2834 | lv_term_4_0=ruleALSTerm(); | ||
2835 | |||
2836 | state._fsp--; | ||
2837 | if (state.failed) return current; | ||
2838 | if ( state.backtracking==0 ) { | ||
2839 | |||
2840 | if (current==null) { | ||
2841 | current = createModelElementForParent(grammarAccess.getALSFactDeclarationRule()); | ||
2842 | } | ||
2843 | set( | ||
2844 | current, | ||
2845 | "term", | ||
2846 | lv_term_4_0, | ||
2847 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
2848 | afterParserOrEnumRuleCall(); | ||
2849 | |||
2850 | } | ||
2851 | |||
2852 | } | ||
2853 | |||
2854 | |||
2855 | } | ||
2856 | |||
2857 | otherlv_5=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
2858 | if ( state.backtracking==0 ) { | ||
2859 | |||
2860 | newLeafNode(otherlv_5, grammarAccess.getALSFactDeclarationAccess().getRightCurlyBracketKeyword_5()); | ||
2861 | |||
2862 | } | ||
2863 | |||
2864 | } | ||
2865 | |||
2866 | |||
2867 | } | ||
2868 | |||
2869 | if ( state.backtracking==0 ) { | ||
2870 | leaveRule(); | ||
2871 | } | ||
2872 | } | ||
2873 | |||
2874 | catch (RecognitionException re) { | ||
2875 | recover(input,re); | ||
2876 | appendSkippedTokens(); | ||
2877 | } | ||
2878 | finally { | ||
2879 | } | ||
2880 | return current; | ||
2881 | } | ||
2882 | // $ANTLR end "ruleALSFactDeclaration" | ||
2883 | |||
2884 | |||
2885 | // $ANTLR start "entryRuleALSTerm" | ||
2886 | // InternalAlloyLanguage.g:1090:1: entryRuleALSTerm returns [EObject current=null] : iv_ruleALSTerm= ruleALSTerm EOF ; | ||
2887 | public final EObject entryRuleALSTerm() throws RecognitionException { | ||
2888 | EObject current = null; | ||
2889 | |||
2890 | EObject iv_ruleALSTerm = null; | ||
2891 | |||
2892 | |||
2893 | try { | ||
2894 | // InternalAlloyLanguage.g:1091:2: (iv_ruleALSTerm= ruleALSTerm EOF ) | ||
2895 | // InternalAlloyLanguage.g:1092:2: iv_ruleALSTerm= ruleALSTerm EOF | ||
2896 | { | ||
2897 | if ( state.backtracking==0 ) { | ||
2898 | newCompositeNode(grammarAccess.getALSTermRule()); | ||
2899 | } | ||
2900 | pushFollow(FOLLOW_1); | ||
2901 | iv_ruleALSTerm=ruleALSTerm(); | ||
2902 | |||
2903 | state._fsp--; | ||
2904 | if (state.failed) return current; | ||
2905 | if ( state.backtracking==0 ) { | ||
2906 | current =iv_ruleALSTerm; | ||
2907 | } | ||
2908 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2909 | |||
2910 | } | ||
2911 | |||
2912 | } | ||
2913 | |||
2914 | catch (RecognitionException re) { | ||
2915 | recover(input,re); | ||
2916 | appendSkippedTokens(); | ||
2917 | } | ||
2918 | finally { | ||
2919 | } | ||
2920 | return current; | ||
2921 | } | ||
2922 | // $ANTLR end "entryRuleALSTerm" | ||
2923 | |||
2924 | |||
2925 | // $ANTLR start "ruleALSTerm" | ||
2926 | // InternalAlloyLanguage.g:1099:1: ruleALSTerm returns [EObject current=null] : this_ALSQuantified_0= ruleALSQuantified ; | ||
2927 | public final EObject ruleALSTerm() throws RecognitionException { | ||
2928 | EObject current = null; | ||
2929 | |||
2930 | EObject this_ALSQuantified_0 = null; | ||
2931 | |||
2932 | |||
2933 | enterRule(); | ||
2934 | |||
2935 | try { | ||
2936 | // InternalAlloyLanguage.g:1102:28: (this_ALSQuantified_0= ruleALSQuantified ) | ||
2937 | // InternalAlloyLanguage.g:1104:5: this_ALSQuantified_0= ruleALSQuantified | ||
2938 | { | ||
2939 | if ( state.backtracking==0 ) { | ||
2940 | |||
2941 | newCompositeNode(grammarAccess.getALSTermAccess().getALSQuantifiedParserRuleCall()); | ||
2942 | |||
2943 | } | ||
2944 | pushFollow(FOLLOW_2); | ||
2945 | this_ALSQuantified_0=ruleALSQuantified(); | ||
2946 | |||
2947 | state._fsp--; | ||
2948 | if (state.failed) return current; | ||
2949 | if ( state.backtracking==0 ) { | ||
2950 | |||
2951 | current = this_ALSQuantified_0; | ||
2952 | afterParserOrEnumRuleCall(); | ||
2953 | |||
2954 | } | ||
2955 | |||
2956 | } | ||
2957 | |||
2958 | if ( state.backtracking==0 ) { | ||
2959 | leaveRule(); | ||
2960 | } | ||
2961 | } | ||
2962 | |||
2963 | catch (RecognitionException re) { | ||
2964 | recover(input,re); | ||
2965 | appendSkippedTokens(); | ||
2966 | } | ||
2967 | finally { | ||
2968 | } | ||
2969 | return current; | ||
2970 | } | ||
2971 | // $ANTLR end "ruleALSTerm" | ||
2972 | |||
2973 | |||
2974 | // $ANTLR start "entryRuleALSQuantified" | ||
2975 | // InternalAlloyLanguage.g:1120:1: entryRuleALSQuantified returns [EObject current=null] : iv_ruleALSQuantified= ruleALSQuantified EOF ; | ||
2976 | public final EObject entryRuleALSQuantified() throws RecognitionException { | ||
2977 | EObject current = null; | ||
2978 | |||
2979 | EObject iv_ruleALSQuantified = null; | ||
2980 | |||
2981 | |||
2982 | try { | ||
2983 | // InternalAlloyLanguage.g:1121:2: (iv_ruleALSQuantified= ruleALSQuantified EOF ) | ||
2984 | // InternalAlloyLanguage.g:1122:2: iv_ruleALSQuantified= ruleALSQuantified EOF | ||
2985 | { | ||
2986 | if ( state.backtracking==0 ) { | ||
2987 | newCompositeNode(grammarAccess.getALSQuantifiedRule()); | ||
2988 | } | ||
2989 | pushFollow(FOLLOW_1); | ||
2990 | iv_ruleALSQuantified=ruleALSQuantified(); | ||
2991 | |||
2992 | state._fsp--; | ||
2993 | if (state.failed) return current; | ||
2994 | if ( state.backtracking==0 ) { | ||
2995 | current =iv_ruleALSQuantified; | ||
2996 | } | ||
2997 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2998 | |||
2999 | } | ||
3000 | |||
3001 | } | ||
3002 | |||
3003 | catch (RecognitionException re) { | ||
3004 | recover(input,re); | ||
3005 | appendSkippedTokens(); | ||
3006 | } | ||
3007 | finally { | ||
3008 | } | ||
3009 | return current; | ||
3010 | } | ||
3011 | // $ANTLR end "entryRuleALSQuantified" | ||
3012 | |||
3013 | |||
3014 | // $ANTLR start "ruleALSQuantified" | ||
3015 | // InternalAlloyLanguage.g:1129:1: ruleALSQuantified returns [EObject current=null] : ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr ) ; | ||
3016 | public final EObject ruleALSQuantified() throws RecognitionException { | ||
3017 | EObject current = null; | ||
3018 | |||
3019 | Token lv_disj_2_0=null; | ||
3020 | Token otherlv_4=null; | ||
3021 | Token otherlv_6=null; | ||
3022 | Token otherlv_8=null; | ||
3023 | Enumerator lv_type_1_0 = null; | ||
3024 | |||
3025 | EObject lv_variables_3_0 = null; | ||
3026 | |||
3027 | EObject lv_variables_5_0 = null; | ||
3028 | |||
3029 | EObject lv_expression_7_0 = null; | ||
3030 | |||
3031 | EObject this_ALSOr_9 = null; | ||
3032 | |||
3033 | |||
3034 | enterRule(); | ||
3035 | |||
3036 | try { | ||
3037 | // InternalAlloyLanguage.g:1132:28: ( ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr ) ) | ||
3038 | // InternalAlloyLanguage.g:1133:1: ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr ) | ||
3039 | { | ||
3040 | // InternalAlloyLanguage.g:1133:1: ( ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | this_ALSOr_9= ruleALSOr ) | ||
3041 | int alt16=2; | ||
3042 | int LA16_0 = input.LA(1); | ||
3043 | |||
3044 | if ( ((LA16_0>=66 && LA16_0<=71)) ) { | ||
3045 | alt16=1; | ||
3046 | } | ||
3047 | else if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_STRING)||LA16_0==46||(LA16_0>=49 && LA16_0<=61)||(LA16_0>=72 && LA16_0<=76)) ) { | ||
3048 | alt16=2; | ||
3049 | } | ||
3050 | else { | ||
3051 | if (state.backtracking>0) {state.failed=true; return current;} | ||
3052 | NoViableAltException nvae = | ||
3053 | new NoViableAltException("", 16, 0, input); | ||
3054 | |||
3055 | throw nvae; | ||
3056 | } | ||
3057 | switch (alt16) { | ||
3058 | case 1 : | ||
3059 | // InternalAlloyLanguage.g:1133:2: ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | ||
3060 | { | ||
3061 | // InternalAlloyLanguage.g:1133:2: ( () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' ) | ||
3062 | // InternalAlloyLanguage.g:1133:3: () ( (lv_type_1_0= ruleALSMultiplicity ) ) ( (lv_disj_2_0= 'disj' ) )? ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* otherlv_6= '{' ( (lv_expression_7_0= ruleALSTerm ) ) otherlv_8= '}' | ||
3063 | { | ||
3064 | // InternalAlloyLanguage.g:1133:3: () | ||
3065 | // InternalAlloyLanguage.g:1134:5: | ||
3066 | { | ||
3067 | if ( state.backtracking==0 ) { | ||
3068 | |||
3069 | current = forceCreateModelElement( | ||
3070 | grammarAccess.getALSQuantifiedAccess().getALSQuantifiedExAction_0_0(), | ||
3071 | current); | ||
3072 | |||
3073 | } | ||
3074 | |||
3075 | } | ||
3076 | |||
3077 | // InternalAlloyLanguage.g:1139:2: ( (lv_type_1_0= ruleALSMultiplicity ) ) | ||
3078 | // InternalAlloyLanguage.g:1140:1: (lv_type_1_0= ruleALSMultiplicity ) | ||
3079 | { | ||
3080 | // InternalAlloyLanguage.g:1140:1: (lv_type_1_0= ruleALSMultiplicity ) | ||
3081 | // InternalAlloyLanguage.g:1141:3: lv_type_1_0= ruleALSMultiplicity | ||
3082 | { | ||
3083 | if ( state.backtracking==0 ) { | ||
3084 | |||
3085 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getTypeALSMultiplicityEnumRuleCall_0_1_0()); | ||
3086 | |||
3087 | } | ||
3088 | pushFollow(FOLLOW_17); | ||
3089 | lv_type_1_0=ruleALSMultiplicity(); | ||
3090 | |||
3091 | state._fsp--; | ||
3092 | if (state.failed) return current; | ||
3093 | if ( state.backtracking==0 ) { | ||
3094 | |||
3095 | if (current==null) { | ||
3096 | current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
3097 | } | ||
3098 | set( | ||
3099 | current, | ||
3100 | "type", | ||
3101 | lv_type_1_0, | ||
3102 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
3103 | afterParserOrEnumRuleCall(); | ||
3104 | |||
3105 | } | ||
3106 | |||
3107 | } | ||
3108 | |||
3109 | |||
3110 | } | ||
3111 | |||
3112 | // InternalAlloyLanguage.g:1157:2: ( (lv_disj_2_0= 'disj' ) )? | ||
3113 | int alt14=2; | ||
3114 | int LA14_0 = input.LA(1); | ||
3115 | |||
3116 | if ( (LA14_0==26) ) { | ||
3117 | alt14=1; | ||
3118 | } | ||
3119 | switch (alt14) { | ||
3120 | case 1 : | ||
3121 | // InternalAlloyLanguage.g:1158:1: (lv_disj_2_0= 'disj' ) | ||
3122 | { | ||
3123 | // InternalAlloyLanguage.g:1158:1: (lv_disj_2_0= 'disj' ) | ||
3124 | // InternalAlloyLanguage.g:1159:3: lv_disj_2_0= 'disj' | ||
3125 | { | ||
3126 | lv_disj_2_0=(Token)match(input,26,FOLLOW_4); if (state.failed) return current; | ||
3127 | if ( state.backtracking==0 ) { | ||
3128 | |||
3129 | newLeafNode(lv_disj_2_0, grammarAccess.getALSQuantifiedAccess().getDisjDisjKeyword_0_2_0()); | ||
3130 | |||
3131 | } | ||
3132 | if ( state.backtracking==0 ) { | ||
3133 | |||
3134 | if (current==null) { | ||
3135 | current = createModelElement(grammarAccess.getALSQuantifiedRule()); | ||
3136 | } | ||
3137 | setWithLastConsumed(current, "disj", true, "disj"); | ||
3138 | |||
3139 | } | ||
3140 | |||
3141 | } | ||
3142 | |||
3143 | |||
3144 | } | ||
3145 | break; | ||
3146 | |||
3147 | } | ||
3148 | |||
3149 | // InternalAlloyLanguage.g:1172:3: ( (lv_variables_3_0= ruleALSVariableDeclaration ) ) | ||
3150 | // InternalAlloyLanguage.g:1173:1: (lv_variables_3_0= ruleALSVariableDeclaration ) | ||
3151 | { | ||
3152 | // InternalAlloyLanguage.g:1173:1: (lv_variables_3_0= ruleALSVariableDeclaration ) | ||
3153 | // InternalAlloyLanguage.g:1174:3: lv_variables_3_0= ruleALSVariableDeclaration | ||
3154 | { | ||
3155 | if ( state.backtracking==0 ) { | ||
3156 | |||
3157 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_3_0()); | ||
3158 | |||
3159 | } | ||
3160 | pushFollow(FOLLOW_18); | ||
3161 | lv_variables_3_0=ruleALSVariableDeclaration(); | ||
3162 | |||
3163 | state._fsp--; | ||
3164 | if (state.failed) return current; | ||
3165 | if ( state.backtracking==0 ) { | ||
3166 | |||
3167 | if (current==null) { | ||
3168 | current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
3169 | } | ||
3170 | add( | ||
3171 | current, | ||
3172 | "variables", | ||
3173 | lv_variables_3_0, | ||
3174 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
3175 | afterParserOrEnumRuleCall(); | ||
3176 | |||
3177 | } | ||
3178 | |||
3179 | } | ||
3180 | |||
3181 | |||
3182 | } | ||
3183 | |||
3184 | // InternalAlloyLanguage.g:1190:2: (otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) )* | ||
3185 | loop15: | ||
3186 | do { | ||
3187 | int alt15=2; | ||
3188 | int LA15_0 = input.LA(1); | ||
3189 | |||
3190 | if ( (LA15_0==13) ) { | ||
3191 | alt15=1; | ||
3192 | } | ||
3193 | |||
3194 | |||
3195 | switch (alt15) { | ||
3196 | case 1 : | ||
3197 | // InternalAlloyLanguage.g:1190:4: otherlv_4= ',' ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) | ||
3198 | { | ||
3199 | otherlv_4=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
3200 | if ( state.backtracking==0 ) { | ||
3201 | |||
3202 | newLeafNode(otherlv_4, grammarAccess.getALSQuantifiedAccess().getCommaKeyword_0_4_0()); | ||
3203 | |||
3204 | } | ||
3205 | // InternalAlloyLanguage.g:1194:1: ( (lv_variables_5_0= ruleALSVariableDeclaration ) ) | ||
3206 | // InternalAlloyLanguage.g:1195:1: (lv_variables_5_0= ruleALSVariableDeclaration ) | ||
3207 | { | ||
3208 | // InternalAlloyLanguage.g:1195:1: (lv_variables_5_0= ruleALSVariableDeclaration ) | ||
3209 | // InternalAlloyLanguage.g:1196:3: lv_variables_5_0= ruleALSVariableDeclaration | ||
3210 | { | ||
3211 | if ( state.backtracking==0 ) { | ||
3212 | |||
3213 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0()); | ||
3214 | |||
3215 | } | ||
3216 | pushFollow(FOLLOW_18); | ||
3217 | lv_variables_5_0=ruleALSVariableDeclaration(); | ||
3218 | |||
3219 | state._fsp--; | ||
3220 | if (state.failed) return current; | ||
3221 | if ( state.backtracking==0 ) { | ||
3222 | |||
3223 | if (current==null) { | ||
3224 | current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
3225 | } | ||
3226 | add( | ||
3227 | current, | ||
3228 | "variables", | ||
3229 | lv_variables_5_0, | ||
3230 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
3231 | afterParserOrEnumRuleCall(); | ||
3232 | |||
3233 | } | ||
3234 | |||
3235 | } | ||
3236 | |||
3237 | |||
3238 | } | ||
3239 | |||
3240 | |||
3241 | } | ||
3242 | break; | ||
3243 | |||
3244 | default : | ||
3245 | break loop15; | ||
3246 | } | ||
3247 | } while (true); | ||
3248 | |||
3249 | otherlv_6=(Token)match(input,12,FOLLOW_12); if (state.failed) return current; | ||
3250 | if ( state.backtracking==0 ) { | ||
3251 | |||
3252 | newLeafNode(otherlv_6, grammarAccess.getALSQuantifiedAccess().getLeftCurlyBracketKeyword_0_5()); | ||
3253 | |||
3254 | } | ||
3255 | // InternalAlloyLanguage.g:1216:1: ( (lv_expression_7_0= ruleALSTerm ) ) | ||
3256 | // InternalAlloyLanguage.g:1217:1: (lv_expression_7_0= ruleALSTerm ) | ||
3257 | { | ||
3258 | // InternalAlloyLanguage.g:1217:1: (lv_expression_7_0= ruleALSTerm ) | ||
3259 | // InternalAlloyLanguage.g:1218:3: lv_expression_7_0= ruleALSTerm | ||
3260 | { | ||
3261 | if ( state.backtracking==0 ) { | ||
3262 | |||
3263 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getExpressionALSTermParserRuleCall_0_6_0()); | ||
3264 | |||
3265 | } | ||
3266 | pushFollow(FOLLOW_15); | ||
3267 | lv_expression_7_0=ruleALSTerm(); | ||
3268 | |||
3269 | state._fsp--; | ||
3270 | if (state.failed) return current; | ||
3271 | if ( state.backtracking==0 ) { | ||
3272 | |||
3273 | if (current==null) { | ||
3274 | current = createModelElementForParent(grammarAccess.getALSQuantifiedRule()); | ||
3275 | } | ||
3276 | set( | ||
3277 | current, | ||
3278 | "expression", | ||
3279 | lv_expression_7_0, | ||
3280 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
3281 | afterParserOrEnumRuleCall(); | ||
3282 | |||
3283 | } | ||
3284 | |||
3285 | } | ||
3286 | |||
3287 | |||
3288 | } | ||
3289 | |||
3290 | otherlv_8=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
3291 | if ( state.backtracking==0 ) { | ||
3292 | |||
3293 | newLeafNode(otherlv_8, grammarAccess.getALSQuantifiedAccess().getRightCurlyBracketKeyword_0_7()); | ||
3294 | |||
3295 | } | ||
3296 | |||
3297 | } | ||
3298 | |||
3299 | |||
3300 | } | ||
3301 | break; | ||
3302 | case 2 : | ||
3303 | // InternalAlloyLanguage.g:1240:5: this_ALSOr_9= ruleALSOr | ||
3304 | { | ||
3305 | if ( state.backtracking==0 ) { | ||
3306 | |||
3307 | newCompositeNode(grammarAccess.getALSQuantifiedAccess().getALSOrParserRuleCall_1()); | ||
3308 | |||
3309 | } | ||
3310 | pushFollow(FOLLOW_2); | ||
3311 | this_ALSOr_9=ruleALSOr(); | ||
3312 | |||
3313 | state._fsp--; | ||
3314 | if (state.failed) return current; | ||
3315 | if ( state.backtracking==0 ) { | ||
3316 | |||
3317 | current = this_ALSOr_9; | ||
3318 | afterParserOrEnumRuleCall(); | ||
3319 | |||
3320 | } | ||
3321 | |||
3322 | } | ||
3323 | break; | ||
3324 | |||
3325 | } | ||
3326 | |||
3327 | |||
3328 | } | ||
3329 | |||
3330 | if ( state.backtracking==0 ) { | ||
3331 | leaveRule(); | ||
3332 | } | ||
3333 | } | ||
3334 | |||
3335 | catch (RecognitionException re) { | ||
3336 | recover(input,re); | ||
3337 | appendSkippedTokens(); | ||
3338 | } | ||
3339 | finally { | ||
3340 | } | ||
3341 | return current; | ||
3342 | } | ||
3343 | // $ANTLR end "ruleALSQuantified" | ||
3344 | |||
3345 | |||
3346 | // $ANTLR start "entryRuleALSOr" | ||
3347 | // InternalAlloyLanguage.g:1256:1: entryRuleALSOr returns [EObject current=null] : iv_ruleALSOr= ruleALSOr EOF ; | ||
3348 | public final EObject entryRuleALSOr() throws RecognitionException { | ||
3349 | EObject current = null; | ||
3350 | |||
3351 | EObject iv_ruleALSOr = null; | ||
3352 | |||
3353 | |||
3354 | try { | ||
3355 | // InternalAlloyLanguage.g:1257:2: (iv_ruleALSOr= ruleALSOr EOF ) | ||
3356 | // InternalAlloyLanguage.g:1258:2: iv_ruleALSOr= ruleALSOr EOF | ||
3357 | { | ||
3358 | if ( state.backtracking==0 ) { | ||
3359 | newCompositeNode(grammarAccess.getALSOrRule()); | ||
3360 | } | ||
3361 | pushFollow(FOLLOW_1); | ||
3362 | iv_ruleALSOr=ruleALSOr(); | ||
3363 | |||
3364 | state._fsp--; | ||
3365 | if (state.failed) return current; | ||
3366 | if ( state.backtracking==0 ) { | ||
3367 | current =iv_ruleALSOr; | ||
3368 | } | ||
3369 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3370 | |||
3371 | } | ||
3372 | |||
3373 | } | ||
3374 | |||
3375 | catch (RecognitionException re) { | ||
3376 | recover(input,re); | ||
3377 | appendSkippedTokens(); | ||
3378 | } | ||
3379 | finally { | ||
3380 | } | ||
3381 | return current; | ||
3382 | } | ||
3383 | // $ANTLR end "entryRuleALSOr" | ||
3384 | |||
3385 | |||
3386 | // $ANTLR start "ruleALSOr" | ||
3387 | // InternalAlloyLanguage.g:1265:1: ruleALSOr returns [EObject current=null] : (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) ; | ||
3388 | public final EObject ruleALSOr() throws RecognitionException { | ||
3389 | EObject current = null; | ||
3390 | |||
3391 | Token otherlv_2=null; | ||
3392 | Token otherlv_3=null; | ||
3393 | EObject this_ALSIff_0 = null; | ||
3394 | |||
3395 | EObject lv_rightOperand_4_0 = null; | ||
3396 | |||
3397 | |||
3398 | enterRule(); | ||
3399 | |||
3400 | try { | ||
3401 | // InternalAlloyLanguage.g:1268:28: ( (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) ) | ||
3402 | // InternalAlloyLanguage.g:1269:1: (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) | ||
3403 | { | ||
3404 | // InternalAlloyLanguage.g:1269:1: (this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? ) | ||
3405 | // InternalAlloyLanguage.g:1270:5: this_ALSIff_0= ruleALSIff ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? | ||
3406 | { | ||
3407 | if ( state.backtracking==0 ) { | ||
3408 | |||
3409 | newCompositeNode(grammarAccess.getALSOrAccess().getALSIffParserRuleCall_0()); | ||
3410 | |||
3411 | } | ||
3412 | pushFollow(FOLLOW_19); | ||
3413 | this_ALSIff_0=ruleALSIff(); | ||
3414 | |||
3415 | state._fsp--; | ||
3416 | if (state.failed) return current; | ||
3417 | if ( state.backtracking==0 ) { | ||
3418 | |||
3419 | current = this_ALSIff_0; | ||
3420 | afterParserOrEnumRuleCall(); | ||
3421 | |||
3422 | } | ||
3423 | // InternalAlloyLanguage.g:1278:1: ( () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) )? | ||
3424 | int alt18=2; | ||
3425 | int LA18_0 = input.LA(1); | ||
3426 | |||
3427 | if ( ((LA18_0>=27 && LA18_0<=28)) ) { | ||
3428 | alt18=1; | ||
3429 | } | ||
3430 | switch (alt18) { | ||
3431 | case 1 : | ||
3432 | // InternalAlloyLanguage.g:1278:2: () (otherlv_2= '||' | otherlv_3= 'or' ) ( (lv_rightOperand_4_0= ruleALSIff ) ) | ||
3433 | { | ||
3434 | // InternalAlloyLanguage.g:1278:2: () | ||
3435 | // InternalAlloyLanguage.g:1279:5: | ||
3436 | { | ||
3437 | if ( state.backtracking==0 ) { | ||
3438 | |||
3439 | current = forceCreateModelElementAndSet( | ||
3440 | grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(), | ||
3441 | current); | ||
3442 | |||
3443 | } | ||
3444 | |||
3445 | } | ||
3446 | |||
3447 | // InternalAlloyLanguage.g:1284:2: (otherlv_2= '||' | otherlv_3= 'or' ) | ||
3448 | int alt17=2; | ||
3449 | int LA17_0 = input.LA(1); | ||
3450 | |||
3451 | if ( (LA17_0==27) ) { | ||
3452 | alt17=1; | ||
3453 | } | ||
3454 | else if ( (LA17_0==28) ) { | ||
3455 | alt17=2; | ||
3456 | } | ||
3457 | else { | ||
3458 | if (state.backtracking>0) {state.failed=true; return current;} | ||
3459 | NoViableAltException nvae = | ||
3460 | new NoViableAltException("", 17, 0, input); | ||
3461 | |||
3462 | throw nvae; | ||
3463 | } | ||
3464 | switch (alt17) { | ||
3465 | case 1 : | ||
3466 | // InternalAlloyLanguage.g:1284:4: otherlv_2= '||' | ||
3467 | { | ||
3468 | otherlv_2=(Token)match(input,27,FOLLOW_12); if (state.failed) return current; | ||
3469 | if ( state.backtracking==0 ) { | ||
3470 | |||
3471 | newLeafNode(otherlv_2, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0()); | ||
3472 | |||
3473 | } | ||
3474 | |||
3475 | } | ||
3476 | break; | ||
3477 | case 2 : | ||
3478 | // InternalAlloyLanguage.g:1289:7: otherlv_3= 'or' | ||
3479 | { | ||
3480 | otherlv_3=(Token)match(input,28,FOLLOW_12); if (state.failed) return current; | ||
3481 | if ( state.backtracking==0 ) { | ||
3482 | |||
3483 | newLeafNode(otherlv_3, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1()); | ||
3484 | |||
3485 | } | ||
3486 | |||
3487 | } | ||
3488 | break; | ||
3489 | |||
3490 | } | ||
3491 | |||
3492 | // InternalAlloyLanguage.g:1293:2: ( (lv_rightOperand_4_0= ruleALSIff ) ) | ||
3493 | // InternalAlloyLanguage.g:1294:1: (lv_rightOperand_4_0= ruleALSIff ) | ||
3494 | { | ||
3495 | // InternalAlloyLanguage.g:1294:1: (lv_rightOperand_4_0= ruleALSIff ) | ||
3496 | // InternalAlloyLanguage.g:1295:3: lv_rightOperand_4_0= ruleALSIff | ||
3497 | { | ||
3498 | if ( state.backtracking==0 ) { | ||
3499 | |||
3500 | newCompositeNode(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0()); | ||
3501 | |||
3502 | } | ||
3503 | pushFollow(FOLLOW_2); | ||
3504 | lv_rightOperand_4_0=ruleALSIff(); | ||
3505 | |||
3506 | state._fsp--; | ||
3507 | if (state.failed) return current; | ||
3508 | if ( state.backtracking==0 ) { | ||
3509 | |||
3510 | if (current==null) { | ||
3511 | current = createModelElementForParent(grammarAccess.getALSOrRule()); | ||
3512 | } | ||
3513 | set( | ||
3514 | current, | ||
3515 | "rightOperand", | ||
3516 | lv_rightOperand_4_0, | ||
3517 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff"); | ||
3518 | afterParserOrEnumRuleCall(); | ||
3519 | |||
3520 | } | ||
3521 | |||
3522 | } | ||
3523 | |||
3524 | |||
3525 | } | ||
3526 | |||
3527 | |||
3528 | } | ||
3529 | break; | ||
3530 | |||
3531 | } | ||
3532 | |||
3533 | |||
3534 | } | ||
3535 | |||
3536 | |||
3537 | } | ||
3538 | |||
3539 | if ( state.backtracking==0 ) { | ||
3540 | leaveRule(); | ||
3541 | } | ||
3542 | } | ||
3543 | |||
3544 | catch (RecognitionException re) { | ||
3545 | recover(input,re); | ||
3546 | appendSkippedTokens(); | ||
3547 | } | ||
3548 | finally { | ||
3549 | } | ||
3550 | return current; | ||
3551 | } | ||
3552 | // $ANTLR end "ruleALSOr" | ||
3553 | |||
3554 | |||
3555 | // $ANTLR start "entryRuleALSIff" | ||
3556 | // InternalAlloyLanguage.g:1319:1: entryRuleALSIff returns [EObject current=null] : iv_ruleALSIff= ruleALSIff EOF ; | ||
3557 | public final EObject entryRuleALSIff() throws RecognitionException { | ||
3558 | EObject current = null; | ||
3559 | |||
3560 | EObject iv_ruleALSIff = null; | ||
3561 | |||
3562 | |||
3563 | try { | ||
3564 | // InternalAlloyLanguage.g:1320:2: (iv_ruleALSIff= ruleALSIff EOF ) | ||
3565 | // InternalAlloyLanguage.g:1321:2: iv_ruleALSIff= ruleALSIff EOF | ||
3566 | { | ||
3567 | if ( state.backtracking==0 ) { | ||
3568 | newCompositeNode(grammarAccess.getALSIffRule()); | ||
3569 | } | ||
3570 | pushFollow(FOLLOW_1); | ||
3571 | iv_ruleALSIff=ruleALSIff(); | ||
3572 | |||
3573 | state._fsp--; | ||
3574 | if (state.failed) return current; | ||
3575 | if ( state.backtracking==0 ) { | ||
3576 | current =iv_ruleALSIff; | ||
3577 | } | ||
3578 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3579 | |||
3580 | } | ||
3581 | |||
3582 | } | ||
3583 | |||
3584 | catch (RecognitionException re) { | ||
3585 | recover(input,re); | ||
3586 | appendSkippedTokens(); | ||
3587 | } | ||
3588 | finally { | ||
3589 | } | ||
3590 | return current; | ||
3591 | } | ||
3592 | // $ANTLR end "entryRuleALSIff" | ||
3593 | |||
3594 | |||
3595 | // $ANTLR start "ruleALSIff" | ||
3596 | // InternalAlloyLanguage.g:1328:1: ruleALSIff returns [EObject current=null] : (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) ; | ||
3597 | public final EObject ruleALSIff() throws RecognitionException { | ||
3598 | EObject current = null; | ||
3599 | |||
3600 | Token otherlv_2=null; | ||
3601 | Token otherlv_3=null; | ||
3602 | EObject this_ALSImpl_0 = null; | ||
3603 | |||
3604 | EObject lv_rightOperand_4_0 = null; | ||
3605 | |||
3606 | |||
3607 | enterRule(); | ||
3608 | |||
3609 | try { | ||
3610 | // InternalAlloyLanguage.g:1331:28: ( (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) ) | ||
3611 | // InternalAlloyLanguage.g:1332:1: (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) | ||
3612 | { | ||
3613 | // InternalAlloyLanguage.g:1332:1: (this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? ) | ||
3614 | // InternalAlloyLanguage.g:1333:5: this_ALSImpl_0= ruleALSImpl ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? | ||
3615 | { | ||
3616 | if ( state.backtracking==0 ) { | ||
3617 | |||
3618 | newCompositeNode(grammarAccess.getALSIffAccess().getALSImplParserRuleCall_0()); | ||
3619 | |||
3620 | } | ||
3621 | pushFollow(FOLLOW_20); | ||
3622 | this_ALSImpl_0=ruleALSImpl(); | ||
3623 | |||
3624 | state._fsp--; | ||
3625 | if (state.failed) return current; | ||
3626 | if ( state.backtracking==0 ) { | ||
3627 | |||
3628 | current = this_ALSImpl_0; | ||
3629 | afterParserOrEnumRuleCall(); | ||
3630 | |||
3631 | } | ||
3632 | // InternalAlloyLanguage.g:1341:1: ( () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) )? | ||
3633 | int alt20=2; | ||
3634 | int LA20_0 = input.LA(1); | ||
3635 | |||
3636 | if ( ((LA20_0>=29 && LA20_0<=30)) ) { | ||
3637 | alt20=1; | ||
3638 | } | ||
3639 | switch (alt20) { | ||
3640 | case 1 : | ||
3641 | // InternalAlloyLanguage.g:1341:2: () (otherlv_2= '<=>' | otherlv_3= 'iff' ) ( (lv_rightOperand_4_0= ruleALSImpl ) ) | ||
3642 | { | ||
3643 | // InternalAlloyLanguage.g:1341:2: () | ||
3644 | // InternalAlloyLanguage.g:1342:5: | ||
3645 | { | ||
3646 | if ( state.backtracking==0 ) { | ||
3647 | |||
3648 | current = forceCreateModelElementAndSet( | ||
3649 | grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(), | ||
3650 | current); | ||
3651 | |||
3652 | } | ||
3653 | |||
3654 | } | ||
3655 | |||
3656 | // InternalAlloyLanguage.g:1347:2: (otherlv_2= '<=>' | otherlv_3= 'iff' ) | ||
3657 | int alt19=2; | ||
3658 | int LA19_0 = input.LA(1); | ||
3659 | |||
3660 | if ( (LA19_0==29) ) { | ||
3661 | alt19=1; | ||
3662 | } | ||
3663 | else if ( (LA19_0==30) ) { | ||
3664 | alt19=2; | ||
3665 | } | ||
3666 | else { | ||
3667 | if (state.backtracking>0) {state.failed=true; return current;} | ||
3668 | NoViableAltException nvae = | ||
3669 | new NoViableAltException("", 19, 0, input); | ||
3670 | |||
3671 | throw nvae; | ||
3672 | } | ||
3673 | switch (alt19) { | ||
3674 | case 1 : | ||
3675 | // InternalAlloyLanguage.g:1347:4: otherlv_2= '<=>' | ||
3676 | { | ||
3677 | otherlv_2=(Token)match(input,29,FOLLOW_12); if (state.failed) return current; | ||
3678 | if ( state.backtracking==0 ) { | ||
3679 | |||
3680 | newLeafNode(otherlv_2, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0()); | ||
3681 | |||
3682 | } | ||
3683 | |||
3684 | } | ||
3685 | break; | ||
3686 | case 2 : | ||
3687 | // InternalAlloyLanguage.g:1352:7: otherlv_3= 'iff' | ||
3688 | { | ||
3689 | otherlv_3=(Token)match(input,30,FOLLOW_12); if (state.failed) return current; | ||
3690 | if ( state.backtracking==0 ) { | ||
3691 | |||
3692 | newLeafNode(otherlv_3, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1()); | ||
3693 | |||
3694 | } | ||
3695 | |||
3696 | } | ||
3697 | break; | ||
3698 | |||
3699 | } | ||
3700 | |||
3701 | // InternalAlloyLanguage.g:1356:2: ( (lv_rightOperand_4_0= ruleALSImpl ) ) | ||
3702 | // InternalAlloyLanguage.g:1357:1: (lv_rightOperand_4_0= ruleALSImpl ) | ||
3703 | { | ||
3704 | // InternalAlloyLanguage.g:1357:1: (lv_rightOperand_4_0= ruleALSImpl ) | ||
3705 | // InternalAlloyLanguage.g:1358:3: lv_rightOperand_4_0= ruleALSImpl | ||
3706 | { | ||
3707 | if ( state.backtracking==0 ) { | ||
3708 | |||
3709 | newCompositeNode(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0()); | ||
3710 | |||
3711 | } | ||
3712 | pushFollow(FOLLOW_2); | ||
3713 | lv_rightOperand_4_0=ruleALSImpl(); | ||
3714 | |||
3715 | state._fsp--; | ||
3716 | if (state.failed) return current; | ||
3717 | if ( state.backtracking==0 ) { | ||
3718 | |||
3719 | if (current==null) { | ||
3720 | current = createModelElementForParent(grammarAccess.getALSIffRule()); | ||
3721 | } | ||
3722 | set( | ||
3723 | current, | ||
3724 | "rightOperand", | ||
3725 | lv_rightOperand_4_0, | ||
3726 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl"); | ||
3727 | afterParserOrEnumRuleCall(); | ||
3728 | |||
3729 | } | ||
3730 | |||
3731 | } | ||
3732 | |||
3733 | |||
3734 | } | ||
3735 | |||
3736 | |||
3737 | } | ||
3738 | break; | ||
3739 | |||
3740 | } | ||
3741 | |||
3742 | |||
3743 | } | ||
3744 | |||
3745 | |||
3746 | } | ||
3747 | |||
3748 | if ( state.backtracking==0 ) { | ||
3749 | leaveRule(); | ||
3750 | } | ||
3751 | } | ||
3752 | |||
3753 | catch (RecognitionException re) { | ||
3754 | recover(input,re); | ||
3755 | appendSkippedTokens(); | ||
3756 | } | ||
3757 | finally { | ||
3758 | } | ||
3759 | return current; | ||
3760 | } | ||
3761 | // $ANTLR end "ruleALSIff" | ||
3762 | |||
3763 | |||
3764 | // $ANTLR start "entryRuleALSImpl" | ||
3765 | // InternalAlloyLanguage.g:1382:1: entryRuleALSImpl returns [EObject current=null] : iv_ruleALSImpl= ruleALSImpl EOF ; | ||
3766 | public final EObject entryRuleALSImpl() throws RecognitionException { | ||
3767 | EObject current = null; | ||
3768 | |||
3769 | EObject iv_ruleALSImpl = null; | ||
3770 | |||
3771 | |||
3772 | try { | ||
3773 | // InternalAlloyLanguage.g:1383:2: (iv_ruleALSImpl= ruleALSImpl EOF ) | ||
3774 | // InternalAlloyLanguage.g:1384:2: iv_ruleALSImpl= ruleALSImpl EOF | ||
3775 | { | ||
3776 | if ( state.backtracking==0 ) { | ||
3777 | newCompositeNode(grammarAccess.getALSImplRule()); | ||
3778 | } | ||
3779 | pushFollow(FOLLOW_1); | ||
3780 | iv_ruleALSImpl=ruleALSImpl(); | ||
3781 | |||
3782 | state._fsp--; | ||
3783 | if (state.failed) return current; | ||
3784 | if ( state.backtracking==0 ) { | ||
3785 | current =iv_ruleALSImpl; | ||
3786 | } | ||
3787 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3788 | |||
3789 | } | ||
3790 | |||
3791 | } | ||
3792 | |||
3793 | catch (RecognitionException re) { | ||
3794 | recover(input,re); | ||
3795 | appendSkippedTokens(); | ||
3796 | } | ||
3797 | finally { | ||
3798 | } | ||
3799 | return current; | ||
3800 | } | ||
3801 | // $ANTLR end "entryRuleALSImpl" | ||
3802 | |||
3803 | |||
3804 | // $ANTLR start "ruleALSImpl" | ||
3805 | // InternalAlloyLanguage.g:1391:1: ruleALSImpl returns [EObject current=null] : (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? ) ; | ||
3806 | public final EObject ruleALSImpl() throws RecognitionException { | ||
3807 | EObject current = null; | ||
3808 | |||
3809 | Token otherlv_2=null; | ||
3810 | Token otherlv_3=null; | ||
3811 | Token otherlv_5=null; | ||
3812 | EObject this_ALSAnd_0 = null; | ||
3813 | |||
3814 | EObject lv_rightOperand_4_0 = null; | ||
3815 | |||
3816 | EObject lv_elseOperand_6_0 = null; | ||
3817 | |||
3818 | |||
3819 | enterRule(); | ||
3820 | |||
3821 | try { | ||
3822 | // InternalAlloyLanguage.g:1394:28: ( (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? ) ) | ||
3823 | // InternalAlloyLanguage.g:1395:1: (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? ) | ||
3824 | { | ||
3825 | // InternalAlloyLanguage.g:1395:1: (this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? ) | ||
3826 | // InternalAlloyLanguage.g:1396:5: this_ALSAnd_0= ruleALSAnd ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? | ||
3827 | { | ||
3828 | if ( state.backtracking==0 ) { | ||
3829 | |||
3830 | newCompositeNode(grammarAccess.getALSImplAccess().getALSAndParserRuleCall_0()); | ||
3831 | |||
3832 | } | ||
3833 | pushFollow(FOLLOW_21); | ||
3834 | this_ALSAnd_0=ruleALSAnd(); | ||
3835 | |||
3836 | state._fsp--; | ||
3837 | if (state.failed) return current; | ||
3838 | if ( state.backtracking==0 ) { | ||
3839 | |||
3840 | current = this_ALSAnd_0; | ||
3841 | afterParserOrEnumRuleCall(); | ||
3842 | |||
3843 | } | ||
3844 | // InternalAlloyLanguage.g:1404:1: ( () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? )? | ||
3845 | int alt23=2; | ||
3846 | int LA23_0 = input.LA(1); | ||
3847 | |||
3848 | if ( ((LA23_0>=31 && LA23_0<=32)) ) { | ||
3849 | alt23=1; | ||
3850 | } | ||
3851 | switch (alt23) { | ||
3852 | case 1 : | ||
3853 | // InternalAlloyLanguage.g:1404:2: () (otherlv_2= '=>' | otherlv_3= 'implies' ) ( (lv_rightOperand_4_0= ruleALSAnd ) ) (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? | ||
3854 | { | ||
3855 | // InternalAlloyLanguage.g:1404:2: () | ||
3856 | // InternalAlloyLanguage.g:1405:5: | ||
3857 | { | ||
3858 | if ( state.backtracking==0 ) { | ||
3859 | |||
3860 | current = forceCreateModelElementAndSet( | ||
3861 | grammarAccess.getALSImplAccess().getALSImplLeftOperandAction_1_0(), | ||
3862 | current); | ||
3863 | |||
3864 | } | ||
3865 | |||
3866 | } | ||
3867 | |||
3868 | // InternalAlloyLanguage.g:1410:2: (otherlv_2= '=>' | otherlv_3= 'implies' ) | ||
3869 | int alt21=2; | ||
3870 | int LA21_0 = input.LA(1); | ||
3871 | |||
3872 | if ( (LA21_0==31) ) { | ||
3873 | alt21=1; | ||
3874 | } | ||
3875 | else if ( (LA21_0==32) ) { | ||
3876 | alt21=2; | ||
3877 | } | ||
3878 | else { | ||
3879 | if (state.backtracking>0) {state.failed=true; return current;} | ||
3880 | NoViableAltException nvae = | ||
3881 | new NoViableAltException("", 21, 0, input); | ||
3882 | |||
3883 | throw nvae; | ||
3884 | } | ||
3885 | switch (alt21) { | ||
3886 | case 1 : | ||
3887 | // InternalAlloyLanguage.g:1410:4: otherlv_2= '=>' | ||
3888 | { | ||
3889 | otherlv_2=(Token)match(input,31,FOLLOW_12); if (state.failed) return current; | ||
3890 | if ( state.backtracking==0 ) { | ||
3891 | |||
3892 | newLeafNode(otherlv_2, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0()); | ||
3893 | |||
3894 | } | ||
3895 | |||
3896 | } | ||
3897 | break; | ||
3898 | case 2 : | ||
3899 | // InternalAlloyLanguage.g:1415:7: otherlv_3= 'implies' | ||
3900 | { | ||
3901 | otherlv_3=(Token)match(input,32,FOLLOW_12); if (state.failed) return current; | ||
3902 | if ( state.backtracking==0 ) { | ||
3903 | |||
3904 | newLeafNode(otherlv_3, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1()); | ||
3905 | |||
3906 | } | ||
3907 | |||
3908 | } | ||
3909 | break; | ||
3910 | |||
3911 | } | ||
3912 | |||
3913 | // InternalAlloyLanguage.g:1419:2: ( (lv_rightOperand_4_0= ruleALSAnd ) ) | ||
3914 | // InternalAlloyLanguage.g:1420:1: (lv_rightOperand_4_0= ruleALSAnd ) | ||
3915 | { | ||
3916 | // InternalAlloyLanguage.g:1420:1: (lv_rightOperand_4_0= ruleALSAnd ) | ||
3917 | // InternalAlloyLanguage.g:1421:3: lv_rightOperand_4_0= ruleALSAnd | ||
3918 | { | ||
3919 | if ( state.backtracking==0 ) { | ||
3920 | |||
3921 | newCompositeNode(grammarAccess.getALSImplAccess().getRightOperandALSAndParserRuleCall_1_2_0()); | ||
3922 | |||
3923 | } | ||
3924 | pushFollow(FOLLOW_22); | ||
3925 | lv_rightOperand_4_0=ruleALSAnd(); | ||
3926 | |||
3927 | state._fsp--; | ||
3928 | if (state.failed) return current; | ||
3929 | if ( state.backtracking==0 ) { | ||
3930 | |||
3931 | if (current==null) { | ||
3932 | current = createModelElementForParent(grammarAccess.getALSImplRule()); | ||
3933 | } | ||
3934 | set( | ||
3935 | current, | ||
3936 | "rightOperand", | ||
3937 | lv_rightOperand_4_0, | ||
3938 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd"); | ||
3939 | afterParserOrEnumRuleCall(); | ||
3940 | |||
3941 | } | ||
3942 | |||
3943 | } | ||
3944 | |||
3945 | |||
3946 | } | ||
3947 | |||
3948 | // InternalAlloyLanguage.g:1437:2: (otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) )? | ||
3949 | int alt22=2; | ||
3950 | int LA22_0 = input.LA(1); | ||
3951 | |||
3952 | if ( (LA22_0==33) ) { | ||
3953 | alt22=1; | ||
3954 | } | ||
3955 | switch (alt22) { | ||
3956 | case 1 : | ||
3957 | // InternalAlloyLanguage.g:1437:4: otherlv_5= 'else' ( (lv_elseOperand_6_0= ruleALSAnd ) ) | ||
3958 | { | ||
3959 | otherlv_5=(Token)match(input,33,FOLLOW_12); if (state.failed) return current; | ||
3960 | if ( state.backtracking==0 ) { | ||
3961 | |||
3962 | newLeafNode(otherlv_5, grammarAccess.getALSImplAccess().getElseKeyword_1_3_0()); | ||
3963 | |||
3964 | } | ||
3965 | // InternalAlloyLanguage.g:1441:1: ( (lv_elseOperand_6_0= ruleALSAnd ) ) | ||
3966 | // InternalAlloyLanguage.g:1442:1: (lv_elseOperand_6_0= ruleALSAnd ) | ||
3967 | { | ||
3968 | // InternalAlloyLanguage.g:1442:1: (lv_elseOperand_6_0= ruleALSAnd ) | ||
3969 | // InternalAlloyLanguage.g:1443:3: lv_elseOperand_6_0= ruleALSAnd | ||
3970 | { | ||
3971 | if ( state.backtracking==0 ) { | ||
3972 | |||
3973 | newCompositeNode(grammarAccess.getALSImplAccess().getElseOperandALSAndParserRuleCall_1_3_1_0()); | ||
3974 | |||
3975 | } | ||
3976 | pushFollow(FOLLOW_2); | ||
3977 | lv_elseOperand_6_0=ruleALSAnd(); | ||
3978 | |||
3979 | state._fsp--; | ||
3980 | if (state.failed) return current; | ||
3981 | if ( state.backtracking==0 ) { | ||
3982 | |||
3983 | if (current==null) { | ||
3984 | current = createModelElementForParent(grammarAccess.getALSImplRule()); | ||
3985 | } | ||
3986 | set( | ||
3987 | current, | ||
3988 | "elseOperand", | ||
3989 | lv_elseOperand_6_0, | ||
3990 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd"); | ||
3991 | afterParserOrEnumRuleCall(); | ||
3992 | |||
3993 | } | ||
3994 | |||
3995 | } | ||
3996 | |||
3997 | |||
3998 | } | ||
3999 | |||
4000 | |||
4001 | } | ||
4002 | break; | ||
4003 | |||
4004 | } | ||
4005 | |||
4006 | |||
4007 | } | ||
4008 | break; | ||
4009 | |||
4010 | } | ||
4011 | |||
4012 | |||
4013 | } | ||
4014 | |||
4015 | |||
4016 | } | ||
4017 | |||
4018 | if ( state.backtracking==0 ) { | ||
4019 | leaveRule(); | ||
4020 | } | ||
4021 | } | ||
4022 | |||
4023 | catch (RecognitionException re) { | ||
4024 | recover(input,re); | ||
4025 | appendSkippedTokens(); | ||
4026 | } | ||
4027 | finally { | ||
4028 | } | ||
4029 | return current; | ||
4030 | } | ||
4031 | // $ANTLR end "ruleALSImpl" | ||
4032 | |||
4033 | |||
4034 | // $ANTLR start "entryRuleALSAnd" | ||
4035 | // InternalAlloyLanguage.g:1467:1: entryRuleALSAnd returns [EObject current=null] : iv_ruleALSAnd= ruleALSAnd EOF ; | ||
4036 | public final EObject entryRuleALSAnd() throws RecognitionException { | ||
4037 | EObject current = null; | ||
4038 | |||
4039 | EObject iv_ruleALSAnd = null; | ||
4040 | |||
4041 | |||
4042 | try { | ||
4043 | // InternalAlloyLanguage.g:1468:2: (iv_ruleALSAnd= ruleALSAnd EOF ) | ||
4044 | // InternalAlloyLanguage.g:1469:2: iv_ruleALSAnd= ruleALSAnd EOF | ||
4045 | { | ||
4046 | if ( state.backtracking==0 ) { | ||
4047 | newCompositeNode(grammarAccess.getALSAndRule()); | ||
4048 | } | ||
4049 | pushFollow(FOLLOW_1); | ||
4050 | iv_ruleALSAnd=ruleALSAnd(); | ||
4051 | |||
4052 | state._fsp--; | ||
4053 | if (state.failed) return current; | ||
4054 | if ( state.backtracking==0 ) { | ||
4055 | current =iv_ruleALSAnd; | ||
4056 | } | ||
4057 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4058 | |||
4059 | } | ||
4060 | |||
4061 | } | ||
4062 | |||
4063 | catch (RecognitionException re) { | ||
4064 | recover(input,re); | ||
4065 | appendSkippedTokens(); | ||
4066 | } | ||
4067 | finally { | ||
4068 | } | ||
4069 | return current; | ||
4070 | } | ||
4071 | // $ANTLR end "entryRuleALSAnd" | ||
4072 | |||
4073 | |||
4074 | // $ANTLR start "ruleALSAnd" | ||
4075 | // InternalAlloyLanguage.g:1476:1: ruleALSAnd returns [EObject current=null] : (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) ; | ||
4076 | public final EObject ruleALSAnd() throws RecognitionException { | ||
4077 | EObject current = null; | ||
4078 | |||
4079 | Token otherlv_2=null; | ||
4080 | Token otherlv_3=null; | ||
4081 | EObject this_ALSComparison_0 = null; | ||
4082 | |||
4083 | EObject lv_rightOperand_4_0 = null; | ||
4084 | |||
4085 | |||
4086 | enterRule(); | ||
4087 | |||
4088 | try { | ||
4089 | // InternalAlloyLanguage.g:1479:28: ( (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) ) | ||
4090 | // InternalAlloyLanguage.g:1480:1: (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) | ||
4091 | { | ||
4092 | // InternalAlloyLanguage.g:1480:1: (this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? ) | ||
4093 | // InternalAlloyLanguage.g:1481:5: this_ALSComparison_0= ruleALSComparison ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? | ||
4094 | { | ||
4095 | if ( state.backtracking==0 ) { | ||
4096 | |||
4097 | newCompositeNode(grammarAccess.getALSAndAccess().getALSComparisonParserRuleCall_0()); | ||
4098 | |||
4099 | } | ||
4100 | pushFollow(FOLLOW_23); | ||
4101 | this_ALSComparison_0=ruleALSComparison(); | ||
4102 | |||
4103 | state._fsp--; | ||
4104 | if (state.failed) return current; | ||
4105 | if ( state.backtracking==0 ) { | ||
4106 | |||
4107 | current = this_ALSComparison_0; | ||
4108 | afterParserOrEnumRuleCall(); | ||
4109 | |||
4110 | } | ||
4111 | // InternalAlloyLanguage.g:1489:1: ( () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) )? | ||
4112 | int alt25=2; | ||
4113 | int LA25_0 = input.LA(1); | ||
4114 | |||
4115 | if ( ((LA25_0>=34 && LA25_0<=35)) ) { | ||
4116 | alt25=1; | ||
4117 | } | ||
4118 | switch (alt25) { | ||
4119 | case 1 : | ||
4120 | // InternalAlloyLanguage.g:1489:2: () (otherlv_2= '&&' | otherlv_3= 'and' ) ( (lv_rightOperand_4_0= ruleALSComparison ) ) | ||
4121 | { | ||
4122 | // InternalAlloyLanguage.g:1489:2: () | ||
4123 | // InternalAlloyLanguage.g:1490:5: | ||
4124 | { | ||
4125 | if ( state.backtracking==0 ) { | ||
4126 | |||
4127 | current = forceCreateModelElementAndSet( | ||
4128 | grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(), | ||
4129 | current); | ||
4130 | |||
4131 | } | ||
4132 | |||
4133 | } | ||
4134 | |||
4135 | // InternalAlloyLanguage.g:1495:2: (otherlv_2= '&&' | otherlv_3= 'and' ) | ||
4136 | int alt24=2; | ||
4137 | int LA24_0 = input.LA(1); | ||
4138 | |||
4139 | if ( (LA24_0==34) ) { | ||
4140 | alt24=1; | ||
4141 | } | ||
4142 | else if ( (LA24_0==35) ) { | ||
4143 | alt24=2; | ||
4144 | } | ||
4145 | else { | ||
4146 | if (state.backtracking>0) {state.failed=true; return current;} | ||
4147 | NoViableAltException nvae = | ||
4148 | new NoViableAltException("", 24, 0, input); | ||
4149 | |||
4150 | throw nvae; | ||
4151 | } | ||
4152 | switch (alt24) { | ||
4153 | case 1 : | ||
4154 | // InternalAlloyLanguage.g:1495:4: otherlv_2= '&&' | ||
4155 | { | ||
4156 | otherlv_2=(Token)match(input,34,FOLLOW_12); if (state.failed) return current; | ||
4157 | if ( state.backtracking==0 ) { | ||
4158 | |||
4159 | newLeafNode(otherlv_2, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0()); | ||
4160 | |||
4161 | } | ||
4162 | |||
4163 | } | ||
4164 | break; | ||
4165 | case 2 : | ||
4166 | // InternalAlloyLanguage.g:1500:7: otherlv_3= 'and' | ||
4167 | { | ||
4168 | otherlv_3=(Token)match(input,35,FOLLOW_12); if (state.failed) return current; | ||
4169 | if ( state.backtracking==0 ) { | ||
4170 | |||
4171 | newLeafNode(otherlv_3, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1()); | ||
4172 | |||
4173 | } | ||
4174 | |||
4175 | } | ||
4176 | break; | ||
4177 | |||
4178 | } | ||
4179 | |||
4180 | // InternalAlloyLanguage.g:1504:2: ( (lv_rightOperand_4_0= ruleALSComparison ) ) | ||
4181 | // InternalAlloyLanguage.g:1505:1: (lv_rightOperand_4_0= ruleALSComparison ) | ||
4182 | { | ||
4183 | // InternalAlloyLanguage.g:1505:1: (lv_rightOperand_4_0= ruleALSComparison ) | ||
4184 | // InternalAlloyLanguage.g:1506:3: lv_rightOperand_4_0= ruleALSComparison | ||
4185 | { | ||
4186 | if ( state.backtracking==0 ) { | ||
4187 | |||
4188 | newCompositeNode(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0()); | ||
4189 | |||
4190 | } | ||
4191 | pushFollow(FOLLOW_2); | ||
4192 | lv_rightOperand_4_0=ruleALSComparison(); | ||
4193 | |||
4194 | state._fsp--; | ||
4195 | if (state.failed) return current; | ||
4196 | if ( state.backtracking==0 ) { | ||
4197 | |||
4198 | if (current==null) { | ||
4199 | current = createModelElementForParent(grammarAccess.getALSAndRule()); | ||
4200 | } | ||
4201 | set( | ||
4202 | current, | ||
4203 | "rightOperand", | ||
4204 | lv_rightOperand_4_0, | ||
4205 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison"); | ||
4206 | afterParserOrEnumRuleCall(); | ||
4207 | |||
4208 | } | ||
4209 | |||
4210 | } | ||
4211 | |||
4212 | |||
4213 | } | ||
4214 | |||
4215 | |||
4216 | } | ||
4217 | break; | ||
4218 | |||
4219 | } | ||
4220 | |||
4221 | |||
4222 | } | ||
4223 | |||
4224 | |||
4225 | } | ||
4226 | |||
4227 | if ( state.backtracking==0 ) { | ||
4228 | leaveRule(); | ||
4229 | } | ||
4230 | } | ||
4231 | |||
4232 | catch (RecognitionException re) { | ||
4233 | recover(input,re); | ||
4234 | appendSkippedTokens(); | ||
4235 | } | ||
4236 | finally { | ||
4237 | } | ||
4238 | return current; | ||
4239 | } | ||
4240 | // $ANTLR end "ruleALSAnd" | ||
4241 | |||
4242 | |||
4243 | // $ANTLR start "entryRuleALSComparison" | ||
4244 | // InternalAlloyLanguage.g:1530:1: entryRuleALSComparison returns [EObject current=null] : iv_ruleALSComparison= ruleALSComparison EOF ; | ||
4245 | public final EObject entryRuleALSComparison() throws RecognitionException { | ||
4246 | EObject current = null; | ||
4247 | |||
4248 | EObject iv_ruleALSComparison = null; | ||
4249 | |||
4250 | |||
4251 | try { | ||
4252 | // InternalAlloyLanguage.g:1531:2: (iv_ruleALSComparison= ruleALSComparison EOF ) | ||
4253 | // InternalAlloyLanguage.g:1532:2: iv_ruleALSComparison= ruleALSComparison EOF | ||
4254 | { | ||
4255 | if ( state.backtracking==0 ) { | ||
4256 | newCompositeNode(grammarAccess.getALSComparisonRule()); | ||
4257 | } | ||
4258 | pushFollow(FOLLOW_1); | ||
4259 | iv_ruleALSComparison=ruleALSComparison(); | ||
4260 | |||
4261 | state._fsp--; | ||
4262 | if (state.failed) return current; | ||
4263 | if ( state.backtracking==0 ) { | ||
4264 | current =iv_ruleALSComparison; | ||
4265 | } | ||
4266 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4267 | |||
4268 | } | ||
4269 | |||
4270 | } | ||
4271 | |||
4272 | catch (RecognitionException re) { | ||
4273 | recover(input,re); | ||
4274 | appendSkippedTokens(); | ||
4275 | } | ||
4276 | finally { | ||
4277 | } | ||
4278 | return current; | ||
4279 | } | ||
4280 | // $ANTLR end "entryRuleALSComparison" | ||
4281 | |||
4282 | |||
4283 | // $ANTLR start "ruleALSComparison" | ||
4284 | // InternalAlloyLanguage.g:1539:1: ruleALSComparison returns [EObject current=null] : (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? ) ; | ||
4285 | public final EObject ruleALSComparison() throws RecognitionException { | ||
4286 | EObject current = null; | ||
4287 | |||
4288 | Token otherlv_2=null; | ||
4289 | Token otherlv_4=null; | ||
4290 | Token otherlv_6=null; | ||
4291 | Token otherlv_8=null; | ||
4292 | Token otherlv_10=null; | ||
4293 | Token otherlv_12=null; | ||
4294 | Token otherlv_14=null; | ||
4295 | EObject this_ALSOverride_0 = null; | ||
4296 | |||
4297 | EObject lv_rightOperand_15_0 = null; | ||
4298 | |||
4299 | |||
4300 | enterRule(); | ||
4301 | |||
4302 | try { | ||
4303 | // InternalAlloyLanguage.g:1542:28: ( (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? ) ) | ||
4304 | // InternalAlloyLanguage.g:1543:1: (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? ) | ||
4305 | { | ||
4306 | // InternalAlloyLanguage.g:1543:1: (this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? ) | ||
4307 | // InternalAlloyLanguage.g:1544:5: this_ALSOverride_0= ruleALSOverride ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? | ||
4308 | { | ||
4309 | if ( state.backtracking==0 ) { | ||
4310 | |||
4311 | newCompositeNode(grammarAccess.getALSComparisonAccess().getALSOverrideParserRuleCall_0()); | ||
4312 | |||
4313 | } | ||
4314 | pushFollow(FOLLOW_24); | ||
4315 | this_ALSOverride_0=ruleALSOverride(); | ||
4316 | |||
4317 | state._fsp--; | ||
4318 | if (state.failed) return current; | ||
4319 | if ( state.backtracking==0 ) { | ||
4320 | |||
4321 | current = this_ALSOverride_0; | ||
4322 | afterParserOrEnumRuleCall(); | ||
4323 | |||
4324 | } | ||
4325 | // InternalAlloyLanguage.g:1552:1: ( ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) )? | ||
4326 | int alt27=2; | ||
4327 | int LA27_0 = input.LA(1); | ||
4328 | |||
4329 | if ( (LA27_0==18||(LA27_0>=36 && LA27_0<=41)) ) { | ||
4330 | alt27=1; | ||
4331 | } | ||
4332 | switch (alt27) { | ||
4333 | case 1 : | ||
4334 | // InternalAlloyLanguage.g:1552:2: ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) ( (lv_rightOperand_15_0= ruleALSOverride ) ) | ||
4335 | { | ||
4336 | // InternalAlloyLanguage.g:1552:2: ( ( () otherlv_2= '=' ) | ( () otherlv_4= '!=' ) | ( () otherlv_6= 'in' ) | ( () otherlv_8= '>' ) | ( () otherlv_10= '>=' ) | ( () otherlv_12= '<' ) | ( () otherlv_14= '<=' ) ) | ||
4337 | int alt26=7; | ||
4338 | switch ( input.LA(1) ) { | ||
4339 | case 36: | ||
4340 | { | ||
4341 | alt26=1; | ||
4342 | } | ||
4343 | break; | ||
4344 | case 37: | ||
4345 | { | ||
4346 | alt26=2; | ||
4347 | } | ||
4348 | break; | ||
4349 | case 18: | ||
4350 | { | ||
4351 | alt26=3; | ||
4352 | } | ||
4353 | break; | ||
4354 | case 38: | ||
4355 | { | ||
4356 | alt26=4; | ||
4357 | } | ||
4358 | break; | ||
4359 | case 39: | ||
4360 | { | ||
4361 | alt26=5; | ||
4362 | } | ||
4363 | break; | ||
4364 | case 40: | ||
4365 | { | ||
4366 | alt26=6; | ||
4367 | } | ||
4368 | break; | ||
4369 | case 41: | ||
4370 | { | ||
4371 | alt26=7; | ||
4372 | } | ||
4373 | break; | ||
4374 | default: | ||
4375 | if (state.backtracking>0) {state.failed=true; return current;} | ||
4376 | NoViableAltException nvae = | ||
4377 | new NoViableAltException("", 26, 0, input); | ||
4378 | |||
4379 | throw nvae; | ||
4380 | } | ||
4381 | |||
4382 | switch (alt26) { | ||
4383 | case 1 : | ||
4384 | // InternalAlloyLanguage.g:1552:3: ( () otherlv_2= '=' ) | ||
4385 | { | ||
4386 | // InternalAlloyLanguage.g:1552:3: ( () otherlv_2= '=' ) | ||
4387 | // InternalAlloyLanguage.g:1552:4: () otherlv_2= '=' | ||
4388 | { | ||
4389 | // InternalAlloyLanguage.g:1552:4: () | ||
4390 | // InternalAlloyLanguage.g:1553:5: | ||
4391 | { | ||
4392 | if ( state.backtracking==0 ) { | ||
4393 | |||
4394 | current = forceCreateModelElementAndSet( | ||
4395 | grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(), | ||
4396 | current); | ||
4397 | |||
4398 | } | ||
4399 | |||
4400 | } | ||
4401 | |||
4402 | otherlv_2=(Token)match(input,36,FOLLOW_12); if (state.failed) return current; | ||
4403 | if ( state.backtracking==0 ) { | ||
4404 | |||
4405 | newLeafNode(otherlv_2, grammarAccess.getALSComparisonAccess().getEqualsSignKeyword_1_0_0_1()); | ||
4406 | |||
4407 | } | ||
4408 | |||
4409 | } | ||
4410 | |||
4411 | |||
4412 | } | ||
4413 | break; | ||
4414 | case 2 : | ||
4415 | // InternalAlloyLanguage.g:1563:6: ( () otherlv_4= '!=' ) | ||
4416 | { | ||
4417 | // InternalAlloyLanguage.g:1563:6: ( () otherlv_4= '!=' ) | ||
4418 | // InternalAlloyLanguage.g:1563:7: () otherlv_4= '!=' | ||
4419 | { | ||
4420 | // InternalAlloyLanguage.g:1563:7: () | ||
4421 | // InternalAlloyLanguage.g:1564:5: | ||
4422 | { | ||
4423 | if ( state.backtracking==0 ) { | ||
4424 | |||
4425 | current = forceCreateModelElementAndSet( | ||
4426 | grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(), | ||
4427 | current); | ||
4428 | |||
4429 | } | ||
4430 | |||
4431 | } | ||
4432 | |||
4433 | otherlv_4=(Token)match(input,37,FOLLOW_12); if (state.failed) return current; | ||
4434 | if ( state.backtracking==0 ) { | ||
4435 | |||
4436 | newLeafNode(otherlv_4, grammarAccess.getALSComparisonAccess().getExclamationMarkEqualsSignKeyword_1_0_1_1()); | ||
4437 | |||
4438 | } | ||
4439 | |||
4440 | } | ||
4441 | |||
4442 | |||
4443 | } | ||
4444 | break; | ||
4445 | case 3 : | ||
4446 | // InternalAlloyLanguage.g:1574:6: ( () otherlv_6= 'in' ) | ||
4447 | { | ||
4448 | // InternalAlloyLanguage.g:1574:6: ( () otherlv_6= 'in' ) | ||
4449 | // InternalAlloyLanguage.g:1574:7: () otherlv_6= 'in' | ||
4450 | { | ||
4451 | // InternalAlloyLanguage.g:1574:7: () | ||
4452 | // InternalAlloyLanguage.g:1575:5: | ||
4453 | { | ||
4454 | if ( state.backtracking==0 ) { | ||
4455 | |||
4456 | current = forceCreateModelElementAndSet( | ||
4457 | grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(), | ||
4458 | current); | ||
4459 | |||
4460 | } | ||
4461 | |||
4462 | } | ||
4463 | |||
4464 | otherlv_6=(Token)match(input,18,FOLLOW_12); if (state.failed) return current; | ||
4465 | if ( state.backtracking==0 ) { | ||
4466 | |||
4467 | newLeafNode(otherlv_6, grammarAccess.getALSComparisonAccess().getInKeyword_1_0_2_1()); | ||
4468 | |||
4469 | } | ||
4470 | |||
4471 | } | ||
4472 | |||
4473 | |||
4474 | } | ||
4475 | break; | ||
4476 | case 4 : | ||
4477 | // InternalAlloyLanguage.g:1585:6: ( () otherlv_8= '>' ) | ||
4478 | { | ||
4479 | // InternalAlloyLanguage.g:1585:6: ( () otherlv_8= '>' ) | ||
4480 | // InternalAlloyLanguage.g:1585:7: () otherlv_8= '>' | ||
4481 | { | ||
4482 | // InternalAlloyLanguage.g:1585:7: () | ||
4483 | // InternalAlloyLanguage.g:1586:5: | ||
4484 | { | ||
4485 | if ( state.backtracking==0 ) { | ||
4486 | |||
4487 | current = forceCreateModelElementAndSet( | ||
4488 | grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(), | ||
4489 | current); | ||
4490 | |||
4491 | } | ||
4492 | |||
4493 | } | ||
4494 | |||
4495 | otherlv_8=(Token)match(input,38,FOLLOW_12); if (state.failed) return current; | ||
4496 | if ( state.backtracking==0 ) { | ||
4497 | |||
4498 | newLeafNode(otherlv_8, grammarAccess.getALSComparisonAccess().getGreaterThanSignKeyword_1_0_3_1()); | ||
4499 | |||
4500 | } | ||
4501 | |||
4502 | } | ||
4503 | |||
4504 | |||
4505 | } | ||
4506 | break; | ||
4507 | case 5 : | ||
4508 | // InternalAlloyLanguage.g:1596:6: ( () otherlv_10= '>=' ) | ||
4509 | { | ||
4510 | // InternalAlloyLanguage.g:1596:6: ( () otherlv_10= '>=' ) | ||
4511 | // InternalAlloyLanguage.g:1596:7: () otherlv_10= '>=' | ||
4512 | { | ||
4513 | // InternalAlloyLanguage.g:1596:7: () | ||
4514 | // InternalAlloyLanguage.g:1597:5: | ||
4515 | { | ||
4516 | if ( state.backtracking==0 ) { | ||
4517 | |||
4518 | current = forceCreateModelElementAndSet( | ||
4519 | grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(), | ||
4520 | current); | ||
4521 | |||
4522 | } | ||
4523 | |||
4524 | } | ||
4525 | |||
4526 | otherlv_10=(Token)match(input,39,FOLLOW_12); if (state.failed) return current; | ||
4527 | if ( state.backtracking==0 ) { | ||
4528 | |||
4529 | newLeafNode(otherlv_10, grammarAccess.getALSComparisonAccess().getGreaterThanSignEqualsSignKeyword_1_0_4_1()); | ||
4530 | |||
4531 | } | ||
4532 | |||
4533 | } | ||
4534 | |||
4535 | |||
4536 | } | ||
4537 | break; | ||
4538 | case 6 : | ||
4539 | // InternalAlloyLanguage.g:1607:6: ( () otherlv_12= '<' ) | ||
4540 | { | ||
4541 | // InternalAlloyLanguage.g:1607:6: ( () otherlv_12= '<' ) | ||
4542 | // InternalAlloyLanguage.g:1607:7: () otherlv_12= '<' | ||
4543 | { | ||
4544 | // InternalAlloyLanguage.g:1607:7: () | ||
4545 | // InternalAlloyLanguage.g:1608:5: | ||
4546 | { | ||
4547 | if ( state.backtracking==0 ) { | ||
4548 | |||
4549 | current = forceCreateModelElementAndSet( | ||
4550 | grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(), | ||
4551 | current); | ||
4552 | |||
4553 | } | ||
4554 | |||
4555 | } | ||
4556 | |||
4557 | otherlv_12=(Token)match(input,40,FOLLOW_12); if (state.failed) return current; | ||
4558 | if ( state.backtracking==0 ) { | ||
4559 | |||
4560 | newLeafNode(otherlv_12, grammarAccess.getALSComparisonAccess().getLessThanSignKeyword_1_0_5_1()); | ||
4561 | |||
4562 | } | ||
4563 | |||
4564 | } | ||
4565 | |||
4566 | |||
4567 | } | ||
4568 | break; | ||
4569 | case 7 : | ||
4570 | // InternalAlloyLanguage.g:1618:6: ( () otherlv_14= '<=' ) | ||
4571 | { | ||
4572 | // InternalAlloyLanguage.g:1618:6: ( () otherlv_14= '<=' ) | ||
4573 | // InternalAlloyLanguage.g:1618:7: () otherlv_14= '<=' | ||
4574 | { | ||
4575 | // InternalAlloyLanguage.g:1618:7: () | ||
4576 | // InternalAlloyLanguage.g:1619:5: | ||
4577 | { | ||
4578 | if ( state.backtracking==0 ) { | ||
4579 | |||
4580 | current = forceCreateModelElementAndSet( | ||
4581 | grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(), | ||
4582 | current); | ||
4583 | |||
4584 | } | ||
4585 | |||
4586 | } | ||
4587 | |||
4588 | otherlv_14=(Token)match(input,41,FOLLOW_12); if (state.failed) return current; | ||
4589 | if ( state.backtracking==0 ) { | ||
4590 | |||
4591 | newLeafNode(otherlv_14, grammarAccess.getALSComparisonAccess().getLessThanSignEqualsSignKeyword_1_0_6_1()); | ||
4592 | |||
4593 | } | ||
4594 | |||
4595 | } | ||
4596 | |||
4597 | |||
4598 | } | ||
4599 | break; | ||
4600 | |||
4601 | } | ||
4602 | |||
4603 | // InternalAlloyLanguage.g:1628:3: ( (lv_rightOperand_15_0= ruleALSOverride ) ) | ||
4604 | // InternalAlloyLanguage.g:1629:1: (lv_rightOperand_15_0= ruleALSOverride ) | ||
4605 | { | ||
4606 | // InternalAlloyLanguage.g:1629:1: (lv_rightOperand_15_0= ruleALSOverride ) | ||
4607 | // InternalAlloyLanguage.g:1630:3: lv_rightOperand_15_0= ruleALSOverride | ||
4608 | { | ||
4609 | if ( state.backtracking==0 ) { | ||
4610 | |||
4611 | newCompositeNode(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0()); | ||
4612 | |||
4613 | } | ||
4614 | pushFollow(FOLLOW_2); | ||
4615 | lv_rightOperand_15_0=ruleALSOverride(); | ||
4616 | |||
4617 | state._fsp--; | ||
4618 | if (state.failed) return current; | ||
4619 | if ( state.backtracking==0 ) { | ||
4620 | |||
4621 | if (current==null) { | ||
4622 | current = createModelElementForParent(grammarAccess.getALSComparisonRule()); | ||
4623 | } | ||
4624 | set( | ||
4625 | current, | ||
4626 | "rightOperand", | ||
4627 | lv_rightOperand_15_0, | ||
4628 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride"); | ||
4629 | afterParserOrEnumRuleCall(); | ||
4630 | |||
4631 | } | ||
4632 | |||
4633 | } | ||
4634 | |||
4635 | |||
4636 | } | ||
4637 | |||
4638 | |||
4639 | } | ||
4640 | break; | ||
4641 | |||
4642 | } | ||
4643 | |||
4644 | |||
4645 | } | ||
4646 | |||
4647 | |||
4648 | } | ||
4649 | |||
4650 | if ( state.backtracking==0 ) { | ||
4651 | leaveRule(); | ||
4652 | } | ||
4653 | } | ||
4654 | |||
4655 | catch (RecognitionException re) { | ||
4656 | recover(input,re); | ||
4657 | appendSkippedTokens(); | ||
4658 | } | ||
4659 | finally { | ||
4660 | } | ||
4661 | return current; | ||
4662 | } | ||
4663 | // $ANTLR end "ruleALSComparison" | ||
4664 | |||
4665 | |||
4666 | // $ANTLR start "entryRuleALSOverride" | ||
4667 | // InternalAlloyLanguage.g:1654:1: entryRuleALSOverride returns [EObject current=null] : iv_ruleALSOverride= ruleALSOverride EOF ; | ||
4668 | public final EObject entryRuleALSOverride() throws RecognitionException { | ||
4669 | EObject current = null; | ||
4670 | |||
4671 | EObject iv_ruleALSOverride = null; | ||
4672 | |||
4673 | |||
4674 | try { | ||
4675 | // InternalAlloyLanguage.g:1655:2: (iv_ruleALSOverride= ruleALSOverride EOF ) | ||
4676 | // InternalAlloyLanguage.g:1656:2: iv_ruleALSOverride= ruleALSOverride EOF | ||
4677 | { | ||
4678 | if ( state.backtracking==0 ) { | ||
4679 | newCompositeNode(grammarAccess.getALSOverrideRule()); | ||
4680 | } | ||
4681 | pushFollow(FOLLOW_1); | ||
4682 | iv_ruleALSOverride=ruleALSOverride(); | ||
4683 | |||
4684 | state._fsp--; | ||
4685 | if (state.failed) return current; | ||
4686 | if ( state.backtracking==0 ) { | ||
4687 | current =iv_ruleALSOverride; | ||
4688 | } | ||
4689 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4690 | |||
4691 | } | ||
4692 | |||
4693 | } | ||
4694 | |||
4695 | catch (RecognitionException re) { | ||
4696 | recover(input,re); | ||
4697 | appendSkippedTokens(); | ||
4698 | } | ||
4699 | finally { | ||
4700 | } | ||
4701 | return current; | ||
4702 | } | ||
4703 | // $ANTLR end "entryRuleALSOverride" | ||
4704 | |||
4705 | |||
4706 | // $ANTLR start "ruleALSOverride" | ||
4707 | // InternalAlloyLanguage.g:1663:1: ruleALSOverride returns [EObject current=null] : (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) ; | ||
4708 | public final EObject ruleALSOverride() throws RecognitionException { | ||
4709 | EObject current = null; | ||
4710 | |||
4711 | Token otherlv_2=null; | ||
4712 | EObject this_ALSRangeRestrictionRight_0 = null; | ||
4713 | |||
4714 | EObject lv_rightOperand_3_0 = null; | ||
4715 | |||
4716 | |||
4717 | enterRule(); | ||
4718 | |||
4719 | try { | ||
4720 | // InternalAlloyLanguage.g:1666:28: ( (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) ) | ||
4721 | // InternalAlloyLanguage.g:1667:1: (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) | ||
4722 | { | ||
4723 | // InternalAlloyLanguage.g:1667:1: (this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? ) | ||
4724 | // InternalAlloyLanguage.g:1668:5: this_ALSRangeRestrictionRight_0= ruleALSRangeRestrictionRight ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? | ||
4725 | { | ||
4726 | if ( state.backtracking==0 ) { | ||
4727 | |||
4728 | newCompositeNode(grammarAccess.getALSOverrideAccess().getALSRangeRestrictionRightParserRuleCall_0()); | ||
4729 | |||
4730 | } | ||
4731 | pushFollow(FOLLOW_25); | ||
4732 | this_ALSRangeRestrictionRight_0=ruleALSRangeRestrictionRight(); | ||
4733 | |||
4734 | state._fsp--; | ||
4735 | if (state.failed) return current; | ||
4736 | if ( state.backtracking==0 ) { | ||
4737 | |||
4738 | current = this_ALSRangeRestrictionRight_0; | ||
4739 | afterParserOrEnumRuleCall(); | ||
4740 | |||
4741 | } | ||
4742 | // InternalAlloyLanguage.g:1676:1: ( () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) )? | ||
4743 | int alt28=2; | ||
4744 | int LA28_0 = input.LA(1); | ||
4745 | |||
4746 | if ( (LA28_0==42) ) { | ||
4747 | alt28=1; | ||
4748 | } | ||
4749 | switch (alt28) { | ||
4750 | case 1 : | ||
4751 | // InternalAlloyLanguage.g:1676:2: () otherlv_2= '++' ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) | ||
4752 | { | ||
4753 | // InternalAlloyLanguage.g:1676:2: () | ||
4754 | // InternalAlloyLanguage.g:1677:5: | ||
4755 | { | ||
4756 | if ( state.backtracking==0 ) { | ||
4757 | |||
4758 | current = forceCreateModelElementAndSet( | ||
4759 | grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(), | ||
4760 | current); | ||
4761 | |||
4762 | } | ||
4763 | |||
4764 | } | ||
4765 | |||
4766 | otherlv_2=(Token)match(input,42,FOLLOW_12); if (state.failed) return current; | ||
4767 | if ( state.backtracking==0 ) { | ||
4768 | |||
4769 | newLeafNode(otherlv_2, grammarAccess.getALSOverrideAccess().getPlusSignPlusSignKeyword_1_1()); | ||
4770 | |||
4771 | } | ||
4772 | // InternalAlloyLanguage.g:1686:1: ( (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) ) | ||
4773 | // InternalAlloyLanguage.g:1687:1: (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) | ||
4774 | { | ||
4775 | // InternalAlloyLanguage.g:1687:1: (lv_rightOperand_3_0= ruleALSRangeRestrictionRight ) | ||
4776 | // InternalAlloyLanguage.g:1688:3: lv_rightOperand_3_0= ruleALSRangeRestrictionRight | ||
4777 | { | ||
4778 | if ( state.backtracking==0 ) { | ||
4779 | |||
4780 | newCompositeNode(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0()); | ||
4781 | |||
4782 | } | ||
4783 | pushFollow(FOLLOW_2); | ||
4784 | lv_rightOperand_3_0=ruleALSRangeRestrictionRight(); | ||
4785 | |||
4786 | state._fsp--; | ||
4787 | if (state.failed) return current; | ||
4788 | if ( state.backtracking==0 ) { | ||
4789 | |||
4790 | if (current==null) { | ||
4791 | current = createModelElementForParent(grammarAccess.getALSOverrideRule()); | ||
4792 | } | ||
4793 | set( | ||
4794 | current, | ||
4795 | "rightOperand", | ||
4796 | lv_rightOperand_3_0, | ||
4797 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight"); | ||
4798 | afterParserOrEnumRuleCall(); | ||
4799 | |||
4800 | } | ||
4801 | |||
4802 | } | ||
4803 | |||
4804 | |||
4805 | } | ||
4806 | |||
4807 | |||
4808 | } | ||
4809 | break; | ||
4810 | |||
4811 | } | ||
4812 | |||
4813 | |||
4814 | } | ||
4815 | |||
4816 | |||
4817 | } | ||
4818 | |||
4819 | if ( state.backtracking==0 ) { | ||
4820 | leaveRule(); | ||
4821 | } | ||
4822 | } | ||
4823 | |||
4824 | catch (RecognitionException re) { | ||
4825 | recover(input,re); | ||
4826 | appendSkippedTokens(); | ||
4827 | } | ||
4828 | finally { | ||
4829 | } | ||
4830 | return current; | ||
4831 | } | ||
4832 | // $ANTLR end "ruleALSOverride" | ||
4833 | |||
4834 | |||
4835 | // $ANTLR start "entryRuleALSRangeRestrictionRight" | ||
4836 | // InternalAlloyLanguage.g:1712:1: entryRuleALSRangeRestrictionRight returns [EObject current=null] : iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF ; | ||
4837 | public final EObject entryRuleALSRangeRestrictionRight() throws RecognitionException { | ||
4838 | EObject current = null; | ||
4839 | |||
4840 | EObject iv_ruleALSRangeRestrictionRight = null; | ||
4841 | |||
4842 | |||
4843 | try { | ||
4844 | // InternalAlloyLanguage.g:1713:2: (iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF ) | ||
4845 | // InternalAlloyLanguage.g:1714:2: iv_ruleALSRangeRestrictionRight= ruleALSRangeRestrictionRight EOF | ||
4846 | { | ||
4847 | if ( state.backtracking==0 ) { | ||
4848 | newCompositeNode(grammarAccess.getALSRangeRestrictionRightRule()); | ||
4849 | } | ||
4850 | pushFollow(FOLLOW_1); | ||
4851 | iv_ruleALSRangeRestrictionRight=ruleALSRangeRestrictionRight(); | ||
4852 | |||
4853 | state._fsp--; | ||
4854 | if (state.failed) return current; | ||
4855 | if ( state.backtracking==0 ) { | ||
4856 | current =iv_ruleALSRangeRestrictionRight; | ||
4857 | } | ||
4858 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4859 | |||
4860 | } | ||
4861 | |||
4862 | } | ||
4863 | |||
4864 | catch (RecognitionException re) { | ||
4865 | recover(input,re); | ||
4866 | appendSkippedTokens(); | ||
4867 | } | ||
4868 | finally { | ||
4869 | } | ||
4870 | return current; | ||
4871 | } | ||
4872 | // $ANTLR end "entryRuleALSRangeRestrictionRight" | ||
4873 | |||
4874 | |||
4875 | // $ANTLR start "ruleALSRangeRestrictionRight" | ||
4876 | // InternalAlloyLanguage.g:1721:1: ruleALSRangeRestrictionRight returns [EObject current=null] : (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) ; | ||
4877 | public final EObject ruleALSRangeRestrictionRight() throws RecognitionException { | ||
4878 | EObject current = null; | ||
4879 | |||
4880 | Token otherlv_2=null; | ||
4881 | EObject this_ALSRangeRestrictionLeft_0 = null; | ||
4882 | |||
4883 | EObject lv_filter_3_0 = null; | ||
4884 | |||
4885 | |||
4886 | enterRule(); | ||
4887 | |||
4888 | try { | ||
4889 | // InternalAlloyLanguage.g:1724:28: ( (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) ) | ||
4890 | // InternalAlloyLanguage.g:1725:1: (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) | ||
4891 | { | ||
4892 | // InternalAlloyLanguage.g:1725:1: (this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? ) | ||
4893 | // InternalAlloyLanguage.g:1726:5: this_ALSRangeRestrictionLeft_0= ruleALSRangeRestrictionLeft ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? | ||
4894 | { | ||
4895 | if ( state.backtracking==0 ) { | ||
4896 | |||
4897 | newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionLeftParserRuleCall_0()); | ||
4898 | |||
4899 | } | ||
4900 | pushFollow(FOLLOW_26); | ||
4901 | this_ALSRangeRestrictionLeft_0=ruleALSRangeRestrictionLeft(); | ||
4902 | |||
4903 | state._fsp--; | ||
4904 | if (state.failed) return current; | ||
4905 | if ( state.backtracking==0 ) { | ||
4906 | |||
4907 | current = this_ALSRangeRestrictionLeft_0; | ||
4908 | afterParserOrEnumRuleCall(); | ||
4909 | |||
4910 | } | ||
4911 | // InternalAlloyLanguage.g:1734:1: ( () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) )? | ||
4912 | int alt29=2; | ||
4913 | int LA29_0 = input.LA(1); | ||
4914 | |||
4915 | if ( (LA29_0==43) ) { | ||
4916 | alt29=1; | ||
4917 | } | ||
4918 | switch (alt29) { | ||
4919 | case 1 : | ||
4920 | // InternalAlloyLanguage.g:1734:2: () otherlv_2= ':>' ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) | ||
4921 | { | ||
4922 | // InternalAlloyLanguage.g:1734:2: () | ||
4923 | // InternalAlloyLanguage.g:1735:5: | ||
4924 | { | ||
4925 | if ( state.backtracking==0 ) { | ||
4926 | |||
4927 | current = forceCreateModelElementAndSet( | ||
4928 | grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(), | ||
4929 | current); | ||
4930 | |||
4931 | } | ||
4932 | |||
4933 | } | ||
4934 | |||
4935 | otherlv_2=(Token)match(input,43,FOLLOW_12); if (state.failed) return current; | ||
4936 | if ( state.backtracking==0 ) { | ||
4937 | |||
4938 | newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionRightAccess().getColonGreaterThanSignKeyword_1_1()); | ||
4939 | |||
4940 | } | ||
4941 | // InternalAlloyLanguage.g:1744:1: ( (lv_filter_3_0= ruleALSRangeRestrictionLeft ) ) | ||
4942 | // InternalAlloyLanguage.g:1745:1: (lv_filter_3_0= ruleALSRangeRestrictionLeft ) | ||
4943 | { | ||
4944 | // InternalAlloyLanguage.g:1745:1: (lv_filter_3_0= ruleALSRangeRestrictionLeft ) | ||
4945 | // InternalAlloyLanguage.g:1746:3: lv_filter_3_0= ruleALSRangeRestrictionLeft | ||
4946 | { | ||
4947 | if ( state.backtracking==0 ) { | ||
4948 | |||
4949 | newCompositeNode(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0()); | ||
4950 | |||
4951 | } | ||
4952 | pushFollow(FOLLOW_2); | ||
4953 | lv_filter_3_0=ruleALSRangeRestrictionLeft(); | ||
4954 | |||
4955 | state._fsp--; | ||
4956 | if (state.failed) return current; | ||
4957 | if ( state.backtracking==0 ) { | ||
4958 | |||
4959 | if (current==null) { | ||
4960 | current = createModelElementForParent(grammarAccess.getALSRangeRestrictionRightRule()); | ||
4961 | } | ||
4962 | set( | ||
4963 | current, | ||
4964 | "filter", | ||
4965 | lv_filter_3_0, | ||
4966 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft"); | ||
4967 | afterParserOrEnumRuleCall(); | ||
4968 | |||
4969 | } | ||
4970 | |||
4971 | } | ||
4972 | |||
4973 | |||
4974 | } | ||
4975 | |||
4976 | |||
4977 | } | ||
4978 | break; | ||
4979 | |||
4980 | } | ||
4981 | |||
4982 | |||
4983 | } | ||
4984 | |||
4985 | |||
4986 | } | ||
4987 | |||
4988 | if ( state.backtracking==0 ) { | ||
4989 | leaveRule(); | ||
4990 | } | ||
4991 | } | ||
4992 | |||
4993 | catch (RecognitionException re) { | ||
4994 | recover(input,re); | ||
4995 | appendSkippedTokens(); | ||
4996 | } | ||
4997 | finally { | ||
4998 | } | ||
4999 | return current; | ||
5000 | } | ||
5001 | // $ANTLR end "ruleALSRangeRestrictionRight" | ||
5002 | |||
5003 | |||
5004 | // $ANTLR start "entryRuleALSRangeRestrictionLeft" | ||
5005 | // InternalAlloyLanguage.g:1770:1: entryRuleALSRangeRestrictionLeft returns [EObject current=null] : iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF ; | ||
5006 | public final EObject entryRuleALSRangeRestrictionLeft() throws RecognitionException { | ||
5007 | EObject current = null; | ||
5008 | |||
5009 | EObject iv_ruleALSRangeRestrictionLeft = null; | ||
5010 | |||
5011 | |||
5012 | try { | ||
5013 | // InternalAlloyLanguage.g:1771:2: (iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF ) | ||
5014 | // InternalAlloyLanguage.g:1772:2: iv_ruleALSRangeRestrictionLeft= ruleALSRangeRestrictionLeft EOF | ||
5015 | { | ||
5016 | if ( state.backtracking==0 ) { | ||
5017 | newCompositeNode(grammarAccess.getALSRangeRestrictionLeftRule()); | ||
5018 | } | ||
5019 | pushFollow(FOLLOW_1); | ||
5020 | iv_ruleALSRangeRestrictionLeft=ruleALSRangeRestrictionLeft(); | ||
5021 | |||
5022 | state._fsp--; | ||
5023 | if (state.failed) return current; | ||
5024 | if ( state.backtracking==0 ) { | ||
5025 | current =iv_ruleALSRangeRestrictionLeft; | ||
5026 | } | ||
5027 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5028 | |||
5029 | } | ||
5030 | |||
5031 | } | ||
5032 | |||
5033 | catch (RecognitionException re) { | ||
5034 | recover(input,re); | ||
5035 | appendSkippedTokens(); | ||
5036 | } | ||
5037 | finally { | ||
5038 | } | ||
5039 | return current; | ||
5040 | } | ||
5041 | // $ANTLR end "entryRuleALSRangeRestrictionLeft" | ||
5042 | |||
5043 | |||
5044 | // $ANTLR start "ruleALSRangeRestrictionLeft" | ||
5045 | // InternalAlloyLanguage.g:1779:1: ruleALSRangeRestrictionLeft returns [EObject current=null] : (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) ; | ||
5046 | public final EObject ruleALSRangeRestrictionLeft() throws RecognitionException { | ||
5047 | EObject current = null; | ||
5048 | |||
5049 | Token otherlv_2=null; | ||
5050 | EObject this_ALSJoin_0 = null; | ||
5051 | |||
5052 | EObject lv_relation_3_0 = null; | ||
5053 | |||
5054 | |||
5055 | enterRule(); | ||
5056 | |||
5057 | try { | ||
5058 | // InternalAlloyLanguage.g:1782:28: ( (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) ) | ||
5059 | // InternalAlloyLanguage.g:1783:1: (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) | ||
5060 | { | ||
5061 | // InternalAlloyLanguage.g:1783:1: (this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? ) | ||
5062 | // InternalAlloyLanguage.g:1784:5: this_ALSJoin_0= ruleALSJoin ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? | ||
5063 | { | ||
5064 | if ( state.backtracking==0 ) { | ||
5065 | |||
5066 | newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getALSJoinParserRuleCall_0()); | ||
5067 | |||
5068 | } | ||
5069 | pushFollow(FOLLOW_27); | ||
5070 | this_ALSJoin_0=ruleALSJoin(); | ||
5071 | |||
5072 | state._fsp--; | ||
5073 | if (state.failed) return current; | ||
5074 | if ( state.backtracking==0 ) { | ||
5075 | |||
5076 | current = this_ALSJoin_0; | ||
5077 | afterParserOrEnumRuleCall(); | ||
5078 | |||
5079 | } | ||
5080 | // InternalAlloyLanguage.g:1792:1: ( () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) )? | ||
5081 | int alt30=2; | ||
5082 | int LA30_0 = input.LA(1); | ||
5083 | |||
5084 | if ( (LA30_0==44) ) { | ||
5085 | alt30=1; | ||
5086 | } | ||
5087 | switch (alt30) { | ||
5088 | case 1 : | ||
5089 | // InternalAlloyLanguage.g:1792:2: () otherlv_2= '<:' ( (lv_relation_3_0= ruleALSJoin ) ) | ||
5090 | { | ||
5091 | // InternalAlloyLanguage.g:1792:2: () | ||
5092 | // InternalAlloyLanguage.g:1793:5: | ||
5093 | { | ||
5094 | if ( state.backtracking==0 ) { | ||
5095 | |||
5096 | current = forceCreateModelElementAndSet( | ||
5097 | grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(), | ||
5098 | current); | ||
5099 | |||
5100 | } | ||
5101 | |||
5102 | } | ||
5103 | |||
5104 | otherlv_2=(Token)match(input,44,FOLLOW_12); if (state.failed) return current; | ||
5105 | if ( state.backtracking==0 ) { | ||
5106 | |||
5107 | newLeafNode(otherlv_2, grammarAccess.getALSRangeRestrictionLeftAccess().getLessThanSignColonKeyword_1_1()); | ||
5108 | |||
5109 | } | ||
5110 | // InternalAlloyLanguage.g:1802:1: ( (lv_relation_3_0= ruleALSJoin ) ) | ||
5111 | // InternalAlloyLanguage.g:1803:1: (lv_relation_3_0= ruleALSJoin ) | ||
5112 | { | ||
5113 | // InternalAlloyLanguage.g:1803:1: (lv_relation_3_0= ruleALSJoin ) | ||
5114 | // InternalAlloyLanguage.g:1804:3: lv_relation_3_0= ruleALSJoin | ||
5115 | { | ||
5116 | if ( state.backtracking==0 ) { | ||
5117 | |||
5118 | newCompositeNode(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0()); | ||
5119 | |||
5120 | } | ||
5121 | pushFollow(FOLLOW_2); | ||
5122 | lv_relation_3_0=ruleALSJoin(); | ||
5123 | |||
5124 | state._fsp--; | ||
5125 | if (state.failed) return current; | ||
5126 | if ( state.backtracking==0 ) { | ||
5127 | |||
5128 | if (current==null) { | ||
5129 | current = createModelElementForParent(grammarAccess.getALSRangeRestrictionLeftRule()); | ||
5130 | } | ||
5131 | set( | ||
5132 | current, | ||
5133 | "relation", | ||
5134 | lv_relation_3_0, | ||
5135 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin"); | ||
5136 | afterParserOrEnumRuleCall(); | ||
5137 | |||
5138 | } | ||
5139 | |||
5140 | } | ||
5141 | |||
5142 | |||
5143 | } | ||
5144 | |||
5145 | |||
5146 | } | ||
5147 | break; | ||
5148 | |||
5149 | } | ||
5150 | |||
5151 | |||
5152 | } | ||
5153 | |||
5154 | |||
5155 | } | ||
5156 | |||
5157 | if ( state.backtracking==0 ) { | ||
5158 | leaveRule(); | ||
5159 | } | ||
5160 | } | ||
5161 | |||
5162 | catch (RecognitionException re) { | ||
5163 | recover(input,re); | ||
5164 | appendSkippedTokens(); | ||
5165 | } | ||
5166 | finally { | ||
5167 | } | ||
5168 | return current; | ||
5169 | } | ||
5170 | // $ANTLR end "ruleALSRangeRestrictionLeft" | ||
5171 | |||
5172 | |||
5173 | // $ANTLR start "entryRuleALSJoin" | ||
5174 | // InternalAlloyLanguage.g:1828:1: entryRuleALSJoin returns [EObject current=null] : iv_ruleALSJoin= ruleALSJoin EOF ; | ||
5175 | public final EObject entryRuleALSJoin() throws RecognitionException { | ||
5176 | EObject current = null; | ||
5177 | |||
5178 | EObject iv_ruleALSJoin = null; | ||
5179 | |||
5180 | |||
5181 | try { | ||
5182 | // InternalAlloyLanguage.g:1829:2: (iv_ruleALSJoin= ruleALSJoin EOF ) | ||
5183 | // InternalAlloyLanguage.g:1830:2: iv_ruleALSJoin= ruleALSJoin EOF | ||
5184 | { | ||
5185 | if ( state.backtracking==0 ) { | ||
5186 | newCompositeNode(grammarAccess.getALSJoinRule()); | ||
5187 | } | ||
5188 | pushFollow(FOLLOW_1); | ||
5189 | iv_ruleALSJoin=ruleALSJoin(); | ||
5190 | |||
5191 | state._fsp--; | ||
5192 | if (state.failed) return current; | ||
5193 | if ( state.backtracking==0 ) { | ||
5194 | current =iv_ruleALSJoin; | ||
5195 | } | ||
5196 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5197 | |||
5198 | } | ||
5199 | |||
5200 | } | ||
5201 | |||
5202 | catch (RecognitionException re) { | ||
5203 | recover(input,re); | ||
5204 | appendSkippedTokens(); | ||
5205 | } | ||
5206 | finally { | ||
5207 | } | ||
5208 | return current; | ||
5209 | } | ||
5210 | // $ANTLR end "entryRuleALSJoin" | ||
5211 | |||
5212 | |||
5213 | // $ANTLR start "ruleALSJoin" | ||
5214 | // InternalAlloyLanguage.g:1837:1: ruleALSJoin returns [EObject current=null] : (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) ; | ||
5215 | public final EObject ruleALSJoin() throws RecognitionException { | ||
5216 | EObject current = null; | ||
5217 | |||
5218 | Token otherlv_2=null; | ||
5219 | EObject this_ALSMinus_0 = null; | ||
5220 | |||
5221 | EObject lv_rightOperand_3_0 = null; | ||
5222 | |||
5223 | |||
5224 | enterRule(); | ||
5225 | |||
5226 | try { | ||
5227 | // InternalAlloyLanguage.g:1840:28: ( (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) ) | ||
5228 | // InternalAlloyLanguage.g:1841:1: (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) | ||
5229 | { | ||
5230 | // InternalAlloyLanguage.g:1841:1: (this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* ) | ||
5231 | // InternalAlloyLanguage.g:1842:5: this_ALSMinus_0= ruleALSMinus ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* | ||
5232 | { | ||
5233 | if ( state.backtracking==0 ) { | ||
5234 | |||
5235 | newCompositeNode(grammarAccess.getALSJoinAccess().getALSMinusParserRuleCall_0()); | ||
5236 | |||
5237 | } | ||
5238 | pushFollow(FOLLOW_28); | ||
5239 | this_ALSMinus_0=ruleALSMinus(); | ||
5240 | |||
5241 | state._fsp--; | ||
5242 | if (state.failed) return current; | ||
5243 | if ( state.backtracking==0 ) { | ||
5244 | |||
5245 | current = this_ALSMinus_0; | ||
5246 | afterParserOrEnumRuleCall(); | ||
5247 | |||
5248 | } | ||
5249 | // InternalAlloyLanguage.g:1850:1: ( () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) )* | ||
5250 | loop31: | ||
5251 | do { | ||
5252 | int alt31=2; | ||
5253 | int LA31_0 = input.LA(1); | ||
5254 | |||
5255 | if ( (LA31_0==45) ) { | ||
5256 | alt31=1; | ||
5257 | } | ||
5258 | |||
5259 | |||
5260 | switch (alt31) { | ||
5261 | case 1 : | ||
5262 | // InternalAlloyLanguage.g:1850:2: () otherlv_2= '.' ( (lv_rightOperand_3_0= ruleALSMinus ) ) | ||
5263 | { | ||
5264 | // InternalAlloyLanguage.g:1850:2: () | ||
5265 | // InternalAlloyLanguage.g:1851:5: | ||
5266 | { | ||
5267 | if ( state.backtracking==0 ) { | ||
5268 | |||
5269 | current = forceCreateModelElementAndSet( | ||
5270 | grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(), | ||
5271 | current); | ||
5272 | |||
5273 | } | ||
5274 | |||
5275 | } | ||
5276 | |||
5277 | otherlv_2=(Token)match(input,45,FOLLOW_12); if (state.failed) return current; | ||
5278 | if ( state.backtracking==0 ) { | ||
5279 | |||
5280 | newLeafNode(otherlv_2, grammarAccess.getALSJoinAccess().getFullStopKeyword_1_1()); | ||
5281 | |||
5282 | } | ||
5283 | // InternalAlloyLanguage.g:1860:1: ( (lv_rightOperand_3_0= ruleALSMinus ) ) | ||
5284 | // InternalAlloyLanguage.g:1861:1: (lv_rightOperand_3_0= ruleALSMinus ) | ||
5285 | { | ||
5286 | // InternalAlloyLanguage.g:1861:1: (lv_rightOperand_3_0= ruleALSMinus ) | ||
5287 | // InternalAlloyLanguage.g:1862:3: lv_rightOperand_3_0= ruleALSMinus | ||
5288 | { | ||
5289 | if ( state.backtracking==0 ) { | ||
5290 | |||
5291 | newCompositeNode(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0()); | ||
5292 | |||
5293 | } | ||
5294 | pushFollow(FOLLOW_28); | ||
5295 | lv_rightOperand_3_0=ruleALSMinus(); | ||
5296 | |||
5297 | state._fsp--; | ||
5298 | if (state.failed) return current; | ||
5299 | if ( state.backtracking==0 ) { | ||
5300 | |||
5301 | if (current==null) { | ||
5302 | current = createModelElementForParent(grammarAccess.getALSJoinRule()); | ||
5303 | } | ||
5304 | set( | ||
5305 | current, | ||
5306 | "rightOperand", | ||
5307 | lv_rightOperand_3_0, | ||
5308 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus"); | ||
5309 | afterParserOrEnumRuleCall(); | ||
5310 | |||
5311 | } | ||
5312 | |||
5313 | } | ||
5314 | |||
5315 | |||
5316 | } | ||
5317 | |||
5318 | |||
5319 | } | ||
5320 | break; | ||
5321 | |||
5322 | default : | ||
5323 | break loop31; | ||
5324 | } | ||
5325 | } while (true); | ||
5326 | |||
5327 | |||
5328 | } | ||
5329 | |||
5330 | |||
5331 | } | ||
5332 | |||
5333 | if ( state.backtracking==0 ) { | ||
5334 | leaveRule(); | ||
5335 | } | ||
5336 | } | ||
5337 | |||
5338 | catch (RecognitionException re) { | ||
5339 | recover(input,re); | ||
5340 | appendSkippedTokens(); | ||
5341 | } | ||
5342 | finally { | ||
5343 | } | ||
5344 | return current; | ||
5345 | } | ||
5346 | // $ANTLR end "ruleALSJoin" | ||
5347 | |||
5348 | |||
5349 | // $ANTLR start "entryRuleALSMinus" | ||
5350 | // InternalAlloyLanguage.g:1886:1: entryRuleALSMinus returns [EObject current=null] : iv_ruleALSMinus= ruleALSMinus EOF ; | ||
5351 | public final EObject entryRuleALSMinus() throws RecognitionException { | ||
5352 | EObject current = null; | ||
5353 | |||
5354 | EObject iv_ruleALSMinus = null; | ||
5355 | |||
5356 | |||
5357 | try { | ||
5358 | // InternalAlloyLanguage.g:1887:2: (iv_ruleALSMinus= ruleALSMinus EOF ) | ||
5359 | // InternalAlloyLanguage.g:1888:2: iv_ruleALSMinus= ruleALSMinus EOF | ||
5360 | { | ||
5361 | if ( state.backtracking==0 ) { | ||
5362 | newCompositeNode(grammarAccess.getALSMinusRule()); | ||
5363 | } | ||
5364 | pushFollow(FOLLOW_1); | ||
5365 | iv_ruleALSMinus=ruleALSMinus(); | ||
5366 | |||
5367 | state._fsp--; | ||
5368 | if (state.failed) return current; | ||
5369 | if ( state.backtracking==0 ) { | ||
5370 | current =iv_ruleALSMinus; | ||
5371 | } | ||
5372 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5373 | |||
5374 | } | ||
5375 | |||
5376 | } | ||
5377 | |||
5378 | catch (RecognitionException re) { | ||
5379 | recover(input,re); | ||
5380 | appendSkippedTokens(); | ||
5381 | } | ||
5382 | finally { | ||
5383 | } | ||
5384 | return current; | ||
5385 | } | ||
5386 | // $ANTLR end "entryRuleALSMinus" | ||
5387 | |||
5388 | |||
5389 | // $ANTLR start "ruleALSMinus" | ||
5390 | // InternalAlloyLanguage.g:1895:1: ruleALSMinus returns [EObject current=null] : (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) ; | ||
5391 | public final EObject ruleALSMinus() throws RecognitionException { | ||
5392 | EObject current = null; | ||
5393 | |||
5394 | Token otherlv_2=null; | ||
5395 | EObject this_ALSPlus_0 = null; | ||
5396 | |||
5397 | EObject lv_rightOperand_3_0 = null; | ||
5398 | |||
5399 | |||
5400 | enterRule(); | ||
5401 | |||
5402 | try { | ||
5403 | // InternalAlloyLanguage.g:1898:28: ( (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) ) | ||
5404 | // InternalAlloyLanguage.g:1899:1: (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) | ||
5405 | { | ||
5406 | // InternalAlloyLanguage.g:1899:1: (this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* ) | ||
5407 | // InternalAlloyLanguage.g:1900:5: this_ALSPlus_0= ruleALSPlus ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* | ||
5408 | { | ||
5409 | if ( state.backtracking==0 ) { | ||
5410 | |||
5411 | newCompositeNode(grammarAccess.getALSMinusAccess().getALSPlusParserRuleCall_0()); | ||
5412 | |||
5413 | } | ||
5414 | pushFollow(FOLLOW_29); | ||
5415 | this_ALSPlus_0=ruleALSPlus(); | ||
5416 | |||
5417 | state._fsp--; | ||
5418 | if (state.failed) return current; | ||
5419 | if ( state.backtracking==0 ) { | ||
5420 | |||
5421 | current = this_ALSPlus_0; | ||
5422 | afterParserOrEnumRuleCall(); | ||
5423 | |||
5424 | } | ||
5425 | // InternalAlloyLanguage.g:1908:1: ( () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) )* | ||
5426 | loop32: | ||
5427 | do { | ||
5428 | int alt32=2; | ||
5429 | int LA32_0 = input.LA(1); | ||
5430 | |||
5431 | if ( (LA32_0==46) ) { | ||
5432 | alt32=1; | ||
5433 | } | ||
5434 | |||
5435 | |||
5436 | switch (alt32) { | ||
5437 | case 1 : | ||
5438 | // InternalAlloyLanguage.g:1908:2: () otherlv_2= '-' ( (lv_rightOperand_3_0= ruleALSPlus ) ) | ||
5439 | { | ||
5440 | // InternalAlloyLanguage.g:1908:2: () | ||
5441 | // InternalAlloyLanguage.g:1909:5: | ||
5442 | { | ||
5443 | if ( state.backtracking==0 ) { | ||
5444 | |||
5445 | current = forceCreateModelElementAndSet( | ||
5446 | grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(), | ||
5447 | current); | ||
5448 | |||
5449 | } | ||
5450 | |||
5451 | } | ||
5452 | |||
5453 | otherlv_2=(Token)match(input,46,FOLLOW_12); if (state.failed) return current; | ||
5454 | if ( state.backtracking==0 ) { | ||
5455 | |||
5456 | newLeafNode(otherlv_2, grammarAccess.getALSMinusAccess().getHyphenMinusKeyword_1_1()); | ||
5457 | |||
5458 | } | ||
5459 | // InternalAlloyLanguage.g:1918:1: ( (lv_rightOperand_3_0= ruleALSPlus ) ) | ||
5460 | // InternalAlloyLanguage.g:1919:1: (lv_rightOperand_3_0= ruleALSPlus ) | ||
5461 | { | ||
5462 | // InternalAlloyLanguage.g:1919:1: (lv_rightOperand_3_0= ruleALSPlus ) | ||
5463 | // InternalAlloyLanguage.g:1920:3: lv_rightOperand_3_0= ruleALSPlus | ||
5464 | { | ||
5465 | if ( state.backtracking==0 ) { | ||
5466 | |||
5467 | newCompositeNode(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0()); | ||
5468 | |||
5469 | } | ||
5470 | pushFollow(FOLLOW_29); | ||
5471 | lv_rightOperand_3_0=ruleALSPlus(); | ||
5472 | |||
5473 | state._fsp--; | ||
5474 | if (state.failed) return current; | ||
5475 | if ( state.backtracking==0 ) { | ||
5476 | |||
5477 | if (current==null) { | ||
5478 | current = createModelElementForParent(grammarAccess.getALSMinusRule()); | ||
5479 | } | ||
5480 | set( | ||
5481 | current, | ||
5482 | "rightOperand", | ||
5483 | lv_rightOperand_3_0, | ||
5484 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus"); | ||
5485 | afterParserOrEnumRuleCall(); | ||
5486 | |||
5487 | } | ||
5488 | |||
5489 | } | ||
5490 | |||
5491 | |||
5492 | } | ||
5493 | |||
5494 | |||
5495 | } | ||
5496 | break; | ||
5497 | |||
5498 | default : | ||
5499 | break loop32; | ||
5500 | } | ||
5501 | } while (true); | ||
5502 | |||
5503 | |||
5504 | } | ||
5505 | |||
5506 | |||
5507 | } | ||
5508 | |||
5509 | if ( state.backtracking==0 ) { | ||
5510 | leaveRule(); | ||
5511 | } | ||
5512 | } | ||
5513 | |||
5514 | catch (RecognitionException re) { | ||
5515 | recover(input,re); | ||
5516 | appendSkippedTokens(); | ||
5517 | } | ||
5518 | finally { | ||
5519 | } | ||
5520 | return current; | ||
5521 | } | ||
5522 | // $ANTLR end "ruleALSMinus" | ||
5523 | |||
5524 | |||
5525 | // $ANTLR start "entryRuleALSPlus" | ||
5526 | // InternalAlloyLanguage.g:1944:1: entryRuleALSPlus returns [EObject current=null] : iv_ruleALSPlus= ruleALSPlus EOF ; | ||
5527 | public final EObject entryRuleALSPlus() throws RecognitionException { | ||
5528 | EObject current = null; | ||
5529 | |||
5530 | EObject iv_ruleALSPlus = null; | ||
5531 | |||
5532 | |||
5533 | try { | ||
5534 | // InternalAlloyLanguage.g:1945:2: (iv_ruleALSPlus= ruleALSPlus EOF ) | ||
5535 | // InternalAlloyLanguage.g:1946:2: iv_ruleALSPlus= ruleALSPlus EOF | ||
5536 | { | ||
5537 | if ( state.backtracking==0 ) { | ||
5538 | newCompositeNode(grammarAccess.getALSPlusRule()); | ||
5539 | } | ||
5540 | pushFollow(FOLLOW_1); | ||
5541 | iv_ruleALSPlus=ruleALSPlus(); | ||
5542 | |||
5543 | state._fsp--; | ||
5544 | if (state.failed) return current; | ||
5545 | if ( state.backtracking==0 ) { | ||
5546 | current =iv_ruleALSPlus; | ||
5547 | } | ||
5548 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5549 | |||
5550 | } | ||
5551 | |||
5552 | } | ||
5553 | |||
5554 | catch (RecognitionException re) { | ||
5555 | recover(input,re); | ||
5556 | appendSkippedTokens(); | ||
5557 | } | ||
5558 | finally { | ||
5559 | } | ||
5560 | return current; | ||
5561 | } | ||
5562 | // $ANTLR end "entryRuleALSPlus" | ||
5563 | |||
5564 | |||
5565 | // $ANTLR start "ruleALSPlus" | ||
5566 | // InternalAlloyLanguage.g:1953:1: ruleALSPlus returns [EObject current=null] : (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) ; | ||
5567 | public final EObject ruleALSPlus() throws RecognitionException { | ||
5568 | EObject current = null; | ||
5569 | |||
5570 | Token otherlv_2=null; | ||
5571 | EObject this_ALSIntersection_0 = null; | ||
5572 | |||
5573 | EObject lv_rightOperand_3_0 = null; | ||
5574 | |||
5575 | |||
5576 | enterRule(); | ||
5577 | |||
5578 | try { | ||
5579 | // InternalAlloyLanguage.g:1956:28: ( (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) ) | ||
5580 | // InternalAlloyLanguage.g:1957:1: (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) | ||
5581 | { | ||
5582 | // InternalAlloyLanguage.g:1957:1: (this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* ) | ||
5583 | // InternalAlloyLanguage.g:1958:5: this_ALSIntersection_0= ruleALSIntersection ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* | ||
5584 | { | ||
5585 | if ( state.backtracking==0 ) { | ||
5586 | |||
5587 | newCompositeNode(grammarAccess.getALSPlusAccess().getALSIntersectionParserRuleCall_0()); | ||
5588 | |||
5589 | } | ||
5590 | pushFollow(FOLLOW_30); | ||
5591 | this_ALSIntersection_0=ruleALSIntersection(); | ||
5592 | |||
5593 | state._fsp--; | ||
5594 | if (state.failed) return current; | ||
5595 | if ( state.backtracking==0 ) { | ||
5596 | |||
5597 | current = this_ALSIntersection_0; | ||
5598 | afterParserOrEnumRuleCall(); | ||
5599 | |||
5600 | } | ||
5601 | // InternalAlloyLanguage.g:1966:1: ( () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) )* | ||
5602 | loop33: | ||
5603 | do { | ||
5604 | int alt33=2; | ||
5605 | int LA33_0 = input.LA(1); | ||
5606 | |||
5607 | if ( (LA33_0==19) ) { | ||
5608 | alt33=1; | ||
5609 | } | ||
5610 | |||
5611 | |||
5612 | switch (alt33) { | ||
5613 | case 1 : | ||
5614 | // InternalAlloyLanguage.g:1966:2: () otherlv_2= '+' ( (lv_rightOperand_3_0= ruleALSIntersection ) ) | ||
5615 | { | ||
5616 | // InternalAlloyLanguage.g:1966:2: () | ||
5617 | // InternalAlloyLanguage.g:1967:5: | ||
5618 | { | ||
5619 | if ( state.backtracking==0 ) { | ||
5620 | |||
5621 | current = forceCreateModelElementAndSet( | ||
5622 | grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(), | ||
5623 | current); | ||
5624 | |||
5625 | } | ||
5626 | |||
5627 | } | ||
5628 | |||
5629 | otherlv_2=(Token)match(input,19,FOLLOW_12); if (state.failed) return current; | ||
5630 | if ( state.backtracking==0 ) { | ||
5631 | |||
5632 | newLeafNode(otherlv_2, grammarAccess.getALSPlusAccess().getPlusSignKeyword_1_1()); | ||
5633 | |||
5634 | } | ||
5635 | // InternalAlloyLanguage.g:1976:1: ( (lv_rightOperand_3_0= ruleALSIntersection ) ) | ||
5636 | // InternalAlloyLanguage.g:1977:1: (lv_rightOperand_3_0= ruleALSIntersection ) | ||
5637 | { | ||
5638 | // InternalAlloyLanguage.g:1977:1: (lv_rightOperand_3_0= ruleALSIntersection ) | ||
5639 | // InternalAlloyLanguage.g:1978:3: lv_rightOperand_3_0= ruleALSIntersection | ||
5640 | { | ||
5641 | if ( state.backtracking==0 ) { | ||
5642 | |||
5643 | newCompositeNode(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0()); | ||
5644 | |||
5645 | } | ||
5646 | pushFollow(FOLLOW_30); | ||
5647 | lv_rightOperand_3_0=ruleALSIntersection(); | ||
5648 | |||
5649 | state._fsp--; | ||
5650 | if (state.failed) return current; | ||
5651 | if ( state.backtracking==0 ) { | ||
5652 | |||
5653 | if (current==null) { | ||
5654 | current = createModelElementForParent(grammarAccess.getALSPlusRule()); | ||
5655 | } | ||
5656 | set( | ||
5657 | current, | ||
5658 | "rightOperand", | ||
5659 | lv_rightOperand_3_0, | ||
5660 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection"); | ||
5661 | afterParserOrEnumRuleCall(); | ||
5662 | |||
5663 | } | ||
5664 | |||
5665 | } | ||
5666 | |||
5667 | |||
5668 | } | ||
5669 | |||
5670 | |||
5671 | } | ||
5672 | break; | ||
5673 | |||
5674 | default : | ||
5675 | break loop33; | ||
5676 | } | ||
5677 | } while (true); | ||
5678 | |||
5679 | |||
5680 | } | ||
5681 | |||
5682 | |||
5683 | } | ||
5684 | |||
5685 | if ( state.backtracking==0 ) { | ||
5686 | leaveRule(); | ||
5687 | } | ||
5688 | } | ||
5689 | |||
5690 | catch (RecognitionException re) { | ||
5691 | recover(input,re); | ||
5692 | appendSkippedTokens(); | ||
5693 | } | ||
5694 | finally { | ||
5695 | } | ||
5696 | return current; | ||
5697 | } | ||
5698 | // $ANTLR end "ruleALSPlus" | ||
5699 | |||
5700 | |||
5701 | // $ANTLR start "entryRuleALSIntersection" | ||
5702 | // InternalAlloyLanguage.g:2002:1: entryRuleALSIntersection returns [EObject current=null] : iv_ruleALSIntersection= ruleALSIntersection EOF ; | ||
5703 | public final EObject entryRuleALSIntersection() throws RecognitionException { | ||
5704 | EObject current = null; | ||
5705 | |||
5706 | EObject iv_ruleALSIntersection = null; | ||
5707 | |||
5708 | |||
5709 | try { | ||
5710 | // InternalAlloyLanguage.g:2003:2: (iv_ruleALSIntersection= ruleALSIntersection EOF ) | ||
5711 | // InternalAlloyLanguage.g:2004:2: iv_ruleALSIntersection= ruleALSIntersection EOF | ||
5712 | { | ||
5713 | if ( state.backtracking==0 ) { | ||
5714 | newCompositeNode(grammarAccess.getALSIntersectionRule()); | ||
5715 | } | ||
5716 | pushFollow(FOLLOW_1); | ||
5717 | iv_ruleALSIntersection=ruleALSIntersection(); | ||
5718 | |||
5719 | state._fsp--; | ||
5720 | if (state.failed) return current; | ||
5721 | if ( state.backtracking==0 ) { | ||
5722 | current =iv_ruleALSIntersection; | ||
5723 | } | ||
5724 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5725 | |||
5726 | } | ||
5727 | |||
5728 | } | ||
5729 | |||
5730 | catch (RecognitionException re) { | ||
5731 | recover(input,re); | ||
5732 | appendSkippedTokens(); | ||
5733 | } | ||
5734 | finally { | ||
5735 | } | ||
5736 | return current; | ||
5737 | } | ||
5738 | // $ANTLR end "entryRuleALSIntersection" | ||
5739 | |||
5740 | |||
5741 | // $ANTLR start "ruleALSIntersection" | ||
5742 | // InternalAlloyLanguage.g:2011:1: ruleALSIntersection returns [EObject current=null] : (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) ; | ||
5743 | public final EObject ruleALSIntersection() throws RecognitionException { | ||
5744 | EObject current = null; | ||
5745 | |||
5746 | Token otherlv_2=null; | ||
5747 | EObject this_ALSDirectProduct_0 = null; | ||
5748 | |||
5749 | EObject lv_rightOperand_3_0 = null; | ||
5750 | |||
5751 | |||
5752 | enterRule(); | ||
5753 | |||
5754 | try { | ||
5755 | // InternalAlloyLanguage.g:2014:28: ( (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) ) | ||
5756 | // InternalAlloyLanguage.g:2015:1: (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) | ||
5757 | { | ||
5758 | // InternalAlloyLanguage.g:2015:1: (this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* ) | ||
5759 | // InternalAlloyLanguage.g:2016:5: this_ALSDirectProduct_0= ruleALSDirectProduct ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* | ||
5760 | { | ||
5761 | if ( state.backtracking==0 ) { | ||
5762 | |||
5763 | newCompositeNode(grammarAccess.getALSIntersectionAccess().getALSDirectProductParserRuleCall_0()); | ||
5764 | |||
5765 | } | ||
5766 | pushFollow(FOLLOW_31); | ||
5767 | this_ALSDirectProduct_0=ruleALSDirectProduct(); | ||
5768 | |||
5769 | state._fsp--; | ||
5770 | if (state.failed) return current; | ||
5771 | if ( state.backtracking==0 ) { | ||
5772 | |||
5773 | current = this_ALSDirectProduct_0; | ||
5774 | afterParserOrEnumRuleCall(); | ||
5775 | |||
5776 | } | ||
5777 | // InternalAlloyLanguage.g:2024:1: ( () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) )* | ||
5778 | loop34: | ||
5779 | do { | ||
5780 | int alt34=2; | ||
5781 | int LA34_0 = input.LA(1); | ||
5782 | |||
5783 | if ( (LA34_0==47) ) { | ||
5784 | alt34=1; | ||
5785 | } | ||
5786 | |||
5787 | |||
5788 | switch (alt34) { | ||
5789 | case 1 : | ||
5790 | // InternalAlloyLanguage.g:2024:2: () otherlv_2= '&' ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) | ||
5791 | { | ||
5792 | // InternalAlloyLanguage.g:2024:2: () | ||
5793 | // InternalAlloyLanguage.g:2025:5: | ||
5794 | { | ||
5795 | if ( state.backtracking==0 ) { | ||
5796 | |||
5797 | current = forceCreateModelElementAndSet( | ||
5798 | grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(), | ||
5799 | current); | ||
5800 | |||
5801 | } | ||
5802 | |||
5803 | } | ||
5804 | |||
5805 | otherlv_2=(Token)match(input,47,FOLLOW_12); if (state.failed) return current; | ||
5806 | if ( state.backtracking==0 ) { | ||
5807 | |||
5808 | newLeafNode(otherlv_2, grammarAccess.getALSIntersectionAccess().getAmpersandKeyword_1_1()); | ||
5809 | |||
5810 | } | ||
5811 | // InternalAlloyLanguage.g:2034:1: ( (lv_rightOperand_3_0= ruleALSDirectProduct ) ) | ||
5812 | // InternalAlloyLanguage.g:2035:1: (lv_rightOperand_3_0= ruleALSDirectProduct ) | ||
5813 | { | ||
5814 | // InternalAlloyLanguage.g:2035:1: (lv_rightOperand_3_0= ruleALSDirectProduct ) | ||
5815 | // InternalAlloyLanguage.g:2036:3: lv_rightOperand_3_0= ruleALSDirectProduct | ||
5816 | { | ||
5817 | if ( state.backtracking==0 ) { | ||
5818 | |||
5819 | newCompositeNode(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0()); | ||
5820 | |||
5821 | } | ||
5822 | pushFollow(FOLLOW_31); | ||
5823 | lv_rightOperand_3_0=ruleALSDirectProduct(); | ||
5824 | |||
5825 | state._fsp--; | ||
5826 | if (state.failed) return current; | ||
5827 | if ( state.backtracking==0 ) { | ||
5828 | |||
5829 | if (current==null) { | ||
5830 | current = createModelElementForParent(grammarAccess.getALSIntersectionRule()); | ||
5831 | } | ||
5832 | set( | ||
5833 | current, | ||
5834 | "rightOperand", | ||
5835 | lv_rightOperand_3_0, | ||
5836 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct"); | ||
5837 | afterParserOrEnumRuleCall(); | ||
5838 | |||
5839 | } | ||
5840 | |||
5841 | } | ||
5842 | |||
5843 | |||
5844 | } | ||
5845 | |||
5846 | |||
5847 | } | ||
5848 | break; | ||
5849 | |||
5850 | default : | ||
5851 | break loop34; | ||
5852 | } | ||
5853 | } while (true); | ||
5854 | |||
5855 | |||
5856 | } | ||
5857 | |||
5858 | |||
5859 | } | ||
5860 | |||
5861 | if ( state.backtracking==0 ) { | ||
5862 | leaveRule(); | ||
5863 | } | ||
5864 | } | ||
5865 | |||
5866 | catch (RecognitionException re) { | ||
5867 | recover(input,re); | ||
5868 | appendSkippedTokens(); | ||
5869 | } | ||
5870 | finally { | ||
5871 | } | ||
5872 | return current; | ||
5873 | } | ||
5874 | // $ANTLR end "ruleALSIntersection" | ||
5875 | |||
5876 | |||
5877 | // $ANTLR start "entryRuleALSDirectProduct" | ||
5878 | // InternalAlloyLanguage.g:2060:1: entryRuleALSDirectProduct returns [EObject current=null] : iv_ruleALSDirectProduct= ruleALSDirectProduct EOF ; | ||
5879 | public final EObject entryRuleALSDirectProduct() throws RecognitionException { | ||
5880 | EObject current = null; | ||
5881 | |||
5882 | EObject iv_ruleALSDirectProduct = null; | ||
5883 | |||
5884 | |||
5885 | try { | ||
5886 | // InternalAlloyLanguage.g:2061:2: (iv_ruleALSDirectProduct= ruleALSDirectProduct EOF ) | ||
5887 | // InternalAlloyLanguage.g:2062:2: iv_ruleALSDirectProduct= ruleALSDirectProduct EOF | ||
5888 | { | ||
5889 | if ( state.backtracking==0 ) { | ||
5890 | newCompositeNode(grammarAccess.getALSDirectProductRule()); | ||
5891 | } | ||
5892 | pushFollow(FOLLOW_1); | ||
5893 | iv_ruleALSDirectProduct=ruleALSDirectProduct(); | ||
5894 | |||
5895 | state._fsp--; | ||
5896 | if (state.failed) return current; | ||
5897 | if ( state.backtracking==0 ) { | ||
5898 | current =iv_ruleALSDirectProduct; | ||
5899 | } | ||
5900 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5901 | |||
5902 | } | ||
5903 | |||
5904 | } | ||
5905 | |||
5906 | catch (RecognitionException re) { | ||
5907 | recover(input,re); | ||
5908 | appendSkippedTokens(); | ||
5909 | } | ||
5910 | finally { | ||
5911 | } | ||
5912 | return current; | ||
5913 | } | ||
5914 | // $ANTLR end "entryRuleALSDirectProduct" | ||
5915 | |||
5916 | |||
5917 | // $ANTLR start "ruleALSDirectProduct" | ||
5918 | // InternalAlloyLanguage.g:2069:1: ruleALSDirectProduct returns [EObject current=null] : (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? ) ; | ||
5919 | public final EObject ruleALSDirectProduct() throws RecognitionException { | ||
5920 | EObject current = null; | ||
5921 | |||
5922 | Token otherlv_3=null; | ||
5923 | EObject this_ALSPreficed_0 = null; | ||
5924 | |||
5925 | Enumerator lv_leftMultiplicit_2_0 = null; | ||
5926 | |||
5927 | Enumerator lv_rightMultiplicit_4_0 = null; | ||
5928 | |||
5929 | EObject lv_rightOperand_5_0 = null; | ||
5930 | |||
5931 | |||
5932 | enterRule(); | ||
5933 | |||
5934 | try { | ||
5935 | // InternalAlloyLanguage.g:2072:28: ( (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? ) ) | ||
5936 | // InternalAlloyLanguage.g:2073:1: (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? ) | ||
5937 | { | ||
5938 | // InternalAlloyLanguage.g:2073:1: (this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? ) | ||
5939 | // InternalAlloyLanguage.g:2074:5: this_ALSPreficed_0= ruleALSPreficed ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? | ||
5940 | { | ||
5941 | if ( state.backtracking==0 ) { | ||
5942 | |||
5943 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getALSPreficedParserRuleCall_0()); | ||
5944 | |||
5945 | } | ||
5946 | pushFollow(FOLLOW_32); | ||
5947 | this_ALSPreficed_0=ruleALSPreficed(); | ||
5948 | |||
5949 | state._fsp--; | ||
5950 | if (state.failed) return current; | ||
5951 | if ( state.backtracking==0 ) { | ||
5952 | |||
5953 | current = this_ALSPreficed_0; | ||
5954 | afterParserOrEnumRuleCall(); | ||
5955 | |||
5956 | } | ||
5957 | // InternalAlloyLanguage.g:2082:1: ( () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) )? | ||
5958 | int alt37=2; | ||
5959 | int LA37_0 = input.LA(1); | ||
5960 | |||
5961 | if ( (LA37_0==48||(LA37_0>=66 && LA37_0<=71)) ) { | ||
5962 | alt37=1; | ||
5963 | } | ||
5964 | switch (alt37) { | ||
5965 | case 1 : | ||
5966 | // InternalAlloyLanguage.g:2082:2: () ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? otherlv_3= '->' ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? ( (lv_rightOperand_5_0= ruleALSPreficed ) ) | ||
5967 | { | ||
5968 | // InternalAlloyLanguage.g:2082:2: () | ||
5969 | // InternalAlloyLanguage.g:2083:5: | ||
5970 | { | ||
5971 | if ( state.backtracking==0 ) { | ||
5972 | |||
5973 | current = forceCreateModelElementAndSet( | ||
5974 | grammarAccess.getALSDirectProductAccess().getALSDirectProductLeftOperandAction_1_0(), | ||
5975 | current); | ||
5976 | |||
5977 | } | ||
5978 | |||
5979 | } | ||
5980 | |||
5981 | // InternalAlloyLanguage.g:2088:2: ( (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) )? | ||
5982 | int alt35=2; | ||
5983 | int LA35_0 = input.LA(1); | ||
5984 | |||
5985 | if ( ((LA35_0>=66 && LA35_0<=71)) ) { | ||
5986 | alt35=1; | ||
5987 | } | ||
5988 | switch (alt35) { | ||
5989 | case 1 : | ||
5990 | // InternalAlloyLanguage.g:2089:1: (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) | ||
5991 | { | ||
5992 | // InternalAlloyLanguage.g:2089:1: (lv_leftMultiplicit_2_0= ruleALSMultiplicity ) | ||
5993 | // InternalAlloyLanguage.g:2090:3: lv_leftMultiplicit_2_0= ruleALSMultiplicity | ||
5994 | { | ||
5995 | if ( state.backtracking==0 ) { | ||
5996 | |||
5997 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0()); | ||
5998 | |||
5999 | } | ||
6000 | pushFollow(FOLLOW_33); | ||
6001 | lv_leftMultiplicit_2_0=ruleALSMultiplicity(); | ||
6002 | |||
6003 | state._fsp--; | ||
6004 | if (state.failed) return current; | ||
6005 | if ( state.backtracking==0 ) { | ||
6006 | |||
6007 | if (current==null) { | ||
6008 | current = createModelElementForParent(grammarAccess.getALSDirectProductRule()); | ||
6009 | } | ||
6010 | set( | ||
6011 | current, | ||
6012 | "leftMultiplicit", | ||
6013 | lv_leftMultiplicit_2_0, | ||
6014 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
6015 | afterParserOrEnumRuleCall(); | ||
6016 | |||
6017 | } | ||
6018 | |||
6019 | } | ||
6020 | |||
6021 | |||
6022 | } | ||
6023 | break; | ||
6024 | |||
6025 | } | ||
6026 | |||
6027 | otherlv_3=(Token)match(input,48,FOLLOW_12); if (state.failed) return current; | ||
6028 | if ( state.backtracking==0 ) { | ||
6029 | |||
6030 | newLeafNode(otherlv_3, grammarAccess.getALSDirectProductAccess().getHyphenMinusGreaterThanSignKeyword_1_2()); | ||
6031 | |||
6032 | } | ||
6033 | // InternalAlloyLanguage.g:2110:1: ( (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) )? | ||
6034 | int alt36=2; | ||
6035 | int LA36_0 = input.LA(1); | ||
6036 | |||
6037 | if ( ((LA36_0>=66 && LA36_0<=71)) ) { | ||
6038 | alt36=1; | ||
6039 | } | ||
6040 | switch (alt36) { | ||
6041 | case 1 : | ||
6042 | // InternalAlloyLanguage.g:2111:1: (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) | ||
6043 | { | ||
6044 | // InternalAlloyLanguage.g:2111:1: (lv_rightMultiplicit_4_0= ruleALSMultiplicity ) | ||
6045 | // InternalAlloyLanguage.g:2112:3: lv_rightMultiplicit_4_0= ruleALSMultiplicity | ||
6046 | { | ||
6047 | if ( state.backtracking==0 ) { | ||
6048 | |||
6049 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0()); | ||
6050 | |||
6051 | } | ||
6052 | pushFollow(FOLLOW_12); | ||
6053 | lv_rightMultiplicit_4_0=ruleALSMultiplicity(); | ||
6054 | |||
6055 | state._fsp--; | ||
6056 | if (state.failed) return current; | ||
6057 | if ( state.backtracking==0 ) { | ||
6058 | |||
6059 | if (current==null) { | ||
6060 | current = createModelElementForParent(grammarAccess.getALSDirectProductRule()); | ||
6061 | } | ||
6062 | set( | ||
6063 | current, | ||
6064 | "rightMultiplicit", | ||
6065 | lv_rightMultiplicit_4_0, | ||
6066 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
6067 | afterParserOrEnumRuleCall(); | ||
6068 | |||
6069 | } | ||
6070 | |||
6071 | } | ||
6072 | |||
6073 | |||
6074 | } | ||
6075 | break; | ||
6076 | |||
6077 | } | ||
6078 | |||
6079 | // InternalAlloyLanguage.g:2128:3: ( (lv_rightOperand_5_0= ruleALSPreficed ) ) | ||
6080 | // InternalAlloyLanguage.g:2129:1: (lv_rightOperand_5_0= ruleALSPreficed ) | ||
6081 | { | ||
6082 | // InternalAlloyLanguage.g:2129:1: (lv_rightOperand_5_0= ruleALSPreficed ) | ||
6083 | // InternalAlloyLanguage.g:2130:3: lv_rightOperand_5_0= ruleALSPreficed | ||
6084 | { | ||
6085 | if ( state.backtracking==0 ) { | ||
6086 | |||
6087 | newCompositeNode(grammarAccess.getALSDirectProductAccess().getRightOperandALSPreficedParserRuleCall_1_4_0()); | ||
6088 | |||
6089 | } | ||
6090 | pushFollow(FOLLOW_2); | ||
6091 | lv_rightOperand_5_0=ruleALSPreficed(); | ||
6092 | |||
6093 | state._fsp--; | ||
6094 | if (state.failed) return current; | ||
6095 | if ( state.backtracking==0 ) { | ||
6096 | |||
6097 | if (current==null) { | ||
6098 | current = createModelElementForParent(grammarAccess.getALSDirectProductRule()); | ||
6099 | } | ||
6100 | set( | ||
6101 | current, | ||
6102 | "rightOperand", | ||
6103 | lv_rightOperand_5_0, | ||
6104 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed"); | ||
6105 | afterParserOrEnumRuleCall(); | ||
6106 | |||
6107 | } | ||
6108 | |||
6109 | } | ||
6110 | |||
6111 | |||
6112 | } | ||
6113 | |||
6114 | |||
6115 | } | ||
6116 | break; | ||
6117 | |||
6118 | } | ||
6119 | |||
6120 | |||
6121 | } | ||
6122 | |||
6123 | |||
6124 | } | ||
6125 | |||
6126 | if ( state.backtracking==0 ) { | ||
6127 | leaveRule(); | ||
6128 | } | ||
6129 | } | ||
6130 | |||
6131 | catch (RecognitionException re) { | ||
6132 | recover(input,re); | ||
6133 | appendSkippedTokens(); | ||
6134 | } | ||
6135 | finally { | ||
6136 | } | ||
6137 | return current; | ||
6138 | } | ||
6139 | // $ANTLR end "ruleALSDirectProduct" | ||
6140 | |||
6141 | |||
6142 | // $ANTLR start "entryRuleALSPreficed" | ||
6143 | // InternalAlloyLanguage.g:2154:1: entryRuleALSPreficed returns [EObject current=null] : iv_ruleALSPreficed= ruleALSPreficed EOF ; | ||
6144 | public final EObject entryRuleALSPreficed() throws RecognitionException { | ||
6145 | EObject current = null; | ||
6146 | |||
6147 | EObject iv_ruleALSPreficed = null; | ||
6148 | |||
6149 | |||
6150 | try { | ||
6151 | // InternalAlloyLanguage.g:2155:2: (iv_ruleALSPreficed= ruleALSPreficed EOF ) | ||
6152 | // InternalAlloyLanguage.g:2156:2: iv_ruleALSPreficed= ruleALSPreficed EOF | ||
6153 | { | ||
6154 | if ( state.backtracking==0 ) { | ||
6155 | newCompositeNode(grammarAccess.getALSPreficedRule()); | ||
6156 | } | ||
6157 | pushFollow(FOLLOW_1); | ||
6158 | iv_ruleALSPreficed=ruleALSPreficed(); | ||
6159 | |||
6160 | state._fsp--; | ||
6161 | if (state.failed) return current; | ||
6162 | if ( state.backtracking==0 ) { | ||
6163 | current =iv_ruleALSPreficed; | ||
6164 | } | ||
6165 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
6166 | |||
6167 | } | ||
6168 | |||
6169 | } | ||
6170 | |||
6171 | catch (RecognitionException re) { | ||
6172 | recover(input,re); | ||
6173 | appendSkippedTokens(); | ||
6174 | } | ||
6175 | finally { | ||
6176 | } | ||
6177 | return current; | ||
6178 | } | ||
6179 | // $ANTLR end "entryRuleALSPreficed" | ||
6180 | |||
6181 | |||
6182 | // $ANTLR start "ruleALSPreficed" | ||
6183 | // InternalAlloyLanguage.g:2163:1: ruleALSPreficed returns [EObject current=null] : ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm ) ; | ||
6184 | public final EObject ruleALSPreficed() throws RecognitionException { | ||
6185 | EObject current = null; | ||
6186 | |||
6187 | Token otherlv_1=null; | ||
6188 | Token otherlv_2=null; | ||
6189 | Token otherlv_5=null; | ||
6190 | Token otherlv_8=null; | ||
6191 | Token otherlv_11=null; | ||
6192 | Token otherlv_14=null; | ||
6193 | Token otherlv_17=null; | ||
6194 | Token otherlv_20=null; | ||
6195 | Token otherlv_22=null; | ||
6196 | Token otherlv_24=null; | ||
6197 | Token otherlv_26=null; | ||
6198 | Token otherlv_28=null; | ||
6199 | Token otherlv_30=null; | ||
6200 | Token otherlv_32=null; | ||
6201 | Token otherlv_34=null; | ||
6202 | EObject lv_operand_3_0 = null; | ||
6203 | |||
6204 | EObject lv_operand_6_0 = null; | ||
6205 | |||
6206 | EObject lv_operand_9_0 = null; | ||
6207 | |||
6208 | EObject lv_operand_12_0 = null; | ||
6209 | |||
6210 | EObject lv_operand_15_0 = null; | ||
6211 | |||
6212 | EObject lv_operand_18_0 = null; | ||
6213 | |||
6214 | EObject lv_variables_21_0 = null; | ||
6215 | |||
6216 | EObject lv_variables_23_0 = null; | ||
6217 | |||
6218 | EObject lv_expression_25_0 = null; | ||
6219 | |||
6220 | Enumerator lv_referredNumericOperator_29_0 = null; | ||
6221 | |||
6222 | EObject lv_params_31_0 = null; | ||
6223 | |||
6224 | EObject lv_params_33_0 = null; | ||
6225 | |||
6226 | EObject this_ALSBasicRelationTerm_35 = null; | ||
6227 | |||
6228 | |||
6229 | enterRule(); | ||
6230 | |||
6231 | try { | ||
6232 | // InternalAlloyLanguage.g:2166:28: ( ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm ) ) | ||
6233 | // InternalAlloyLanguage.g:2167:1: ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm ) | ||
6234 | { | ||
6235 | // InternalAlloyLanguage.g:2167:1: ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm ) | ||
6236 | int alt42=9; | ||
6237 | alt42 = dfa42.predict(input); | ||
6238 | switch (alt42) { | ||
6239 | case 1 : | ||
6240 | // InternalAlloyLanguage.g:2167:2: ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ||
6241 | { | ||
6242 | // InternalAlloyLanguage.g:2167:2: ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ||
6243 | // InternalAlloyLanguage.g:2167:3: () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) | ||
6244 | { | ||
6245 | // InternalAlloyLanguage.g:2167:3: () | ||
6246 | // InternalAlloyLanguage.g:2168:5: | ||
6247 | { | ||
6248 | if ( state.backtracking==0 ) { | ||
6249 | |||
6250 | current = forceCreateModelElement( | ||
6251 | grammarAccess.getALSPreficedAccess().getALSNotAction_0_0(), | ||
6252 | current); | ||
6253 | |||
6254 | } | ||
6255 | |||
6256 | } | ||
6257 | |||
6258 | // InternalAlloyLanguage.g:2173:2: ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) | ||
6259 | // InternalAlloyLanguage.g:2173:3: ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) | ||
6260 | { | ||
6261 | // InternalAlloyLanguage.g:2176:5: (otherlv_1= '!' | otherlv_2= 'not' ) | ||
6262 | int alt38=2; | ||
6263 | int LA38_0 = input.LA(1); | ||
6264 | |||
6265 | if ( (LA38_0==49) ) { | ||
6266 | alt38=1; | ||
6267 | } | ||
6268 | else if ( (LA38_0==50) ) { | ||
6269 | alt38=2; | ||
6270 | } | ||
6271 | else { | ||
6272 | if (state.backtracking>0) {state.failed=true; return current;} | ||
6273 | NoViableAltException nvae = | ||
6274 | new NoViableAltException("", 38, 0, input); | ||
6275 | |||
6276 | throw nvae; | ||
6277 | } | ||
6278 | switch (alt38) { | ||
6279 | case 1 : | ||
6280 | // InternalAlloyLanguage.g:2176:7: otherlv_1= '!' | ||
6281 | { | ||
6282 | otherlv_1=(Token)match(input,49,FOLLOW_12); if (state.failed) return current; | ||
6283 | if ( state.backtracking==0 ) { | ||
6284 | |||
6285 | newLeafNode(otherlv_1, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0()); | ||
6286 | |||
6287 | } | ||
6288 | |||
6289 | } | ||
6290 | break; | ||
6291 | case 2 : | ||
6292 | // InternalAlloyLanguage.g:2181:7: otherlv_2= 'not' | ||
6293 | { | ||
6294 | otherlv_2=(Token)match(input,50,FOLLOW_12); if (state.failed) return current; | ||
6295 | if ( state.backtracking==0 ) { | ||
6296 | |||
6297 | newLeafNode(otherlv_2, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1()); | ||
6298 | |||
6299 | } | ||
6300 | |||
6301 | } | ||
6302 | break; | ||
6303 | |||
6304 | } | ||
6305 | |||
6306 | |||
6307 | } | ||
6308 | |||
6309 | // InternalAlloyLanguage.g:2185:3: ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) | ||
6310 | // InternalAlloyLanguage.g:2186:1: (lv_operand_3_0= ruleALSBasicRelationTerm ) | ||
6311 | { | ||
6312 | // InternalAlloyLanguage.g:2186:1: (lv_operand_3_0= ruleALSBasicRelationTerm ) | ||
6313 | // InternalAlloyLanguage.g:2187:3: lv_operand_3_0= ruleALSBasicRelationTerm | ||
6314 | { | ||
6315 | if ( state.backtracking==0 ) { | ||
6316 | |||
6317 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0()); | ||
6318 | |||
6319 | } | ||
6320 | pushFollow(FOLLOW_2); | ||
6321 | lv_operand_3_0=ruleALSBasicRelationTerm(); | ||
6322 | |||
6323 | state._fsp--; | ||
6324 | if (state.failed) return current; | ||
6325 | if ( state.backtracking==0 ) { | ||
6326 | |||
6327 | if (current==null) { | ||
6328 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6329 | } | ||
6330 | set( | ||
6331 | current, | ||
6332 | "operand", | ||
6333 | lv_operand_3_0, | ||
6334 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
6335 | afterParserOrEnumRuleCall(); | ||
6336 | |||
6337 | } | ||
6338 | |||
6339 | } | ||
6340 | |||
6341 | |||
6342 | } | ||
6343 | |||
6344 | |||
6345 | } | ||
6346 | |||
6347 | |||
6348 | } | ||
6349 | break; | ||
6350 | case 2 : | ||
6351 | // InternalAlloyLanguage.g:2204:6: ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ||
6352 | { | ||
6353 | // InternalAlloyLanguage.g:2204:6: ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ||
6354 | // InternalAlloyLanguage.g:2204:7: () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) | ||
6355 | { | ||
6356 | // InternalAlloyLanguage.g:2204:7: () | ||
6357 | // InternalAlloyLanguage.g:2205:5: | ||
6358 | { | ||
6359 | if ( state.backtracking==0 ) { | ||
6360 | |||
6361 | current = forceCreateModelElement( | ||
6362 | grammarAccess.getALSPreficedAccess().getALSInverseRelationAction_1_0(), | ||
6363 | current); | ||
6364 | |||
6365 | } | ||
6366 | |||
6367 | } | ||
6368 | |||
6369 | // InternalAlloyLanguage.g:2210:2: ( ( '~' )=>otherlv_5= '~' ) | ||
6370 | // InternalAlloyLanguage.g:2210:3: ( '~' )=>otherlv_5= '~' | ||
6371 | { | ||
6372 | otherlv_5=(Token)match(input,51,FOLLOW_12); if (state.failed) return current; | ||
6373 | if ( state.backtracking==0 ) { | ||
6374 | |||
6375 | newLeafNode(otherlv_5, grammarAccess.getALSPreficedAccess().getTildeKeyword_1_1()); | ||
6376 | |||
6377 | } | ||
6378 | |||
6379 | } | ||
6380 | |||
6381 | // InternalAlloyLanguage.g:2215:2: ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) | ||
6382 | // InternalAlloyLanguage.g:2216:1: (lv_operand_6_0= ruleALSBasicRelationTerm ) | ||
6383 | { | ||
6384 | // InternalAlloyLanguage.g:2216:1: (lv_operand_6_0= ruleALSBasicRelationTerm ) | ||
6385 | // InternalAlloyLanguage.g:2217:3: lv_operand_6_0= ruleALSBasicRelationTerm | ||
6386 | { | ||
6387 | if ( state.backtracking==0 ) { | ||
6388 | |||
6389 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0()); | ||
6390 | |||
6391 | } | ||
6392 | pushFollow(FOLLOW_2); | ||
6393 | lv_operand_6_0=ruleALSBasicRelationTerm(); | ||
6394 | |||
6395 | state._fsp--; | ||
6396 | if (state.failed) return current; | ||
6397 | if ( state.backtracking==0 ) { | ||
6398 | |||
6399 | if (current==null) { | ||
6400 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6401 | } | ||
6402 | set( | ||
6403 | current, | ||
6404 | "operand", | ||
6405 | lv_operand_6_0, | ||
6406 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
6407 | afterParserOrEnumRuleCall(); | ||
6408 | |||
6409 | } | ||
6410 | |||
6411 | } | ||
6412 | |||
6413 | |||
6414 | } | ||
6415 | |||
6416 | |||
6417 | } | ||
6418 | |||
6419 | |||
6420 | } | ||
6421 | break; | ||
6422 | case 3 : | ||
6423 | // InternalAlloyLanguage.g:2234:6: ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ||
6424 | { | ||
6425 | // InternalAlloyLanguage.g:2234:6: ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ||
6426 | // InternalAlloyLanguage.g:2234:7: () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) | ||
6427 | { | ||
6428 | // InternalAlloyLanguage.g:2234:7: () | ||
6429 | // InternalAlloyLanguage.g:2235:5: | ||
6430 | { | ||
6431 | if ( state.backtracking==0 ) { | ||
6432 | |||
6433 | current = forceCreateModelElement( | ||
6434 | grammarAccess.getALSPreficedAccess().getAlSTransitiveClosureAction_2_0(), | ||
6435 | current); | ||
6436 | |||
6437 | } | ||
6438 | |||
6439 | } | ||
6440 | |||
6441 | otherlv_8=(Token)match(input,52,FOLLOW_12); if (state.failed) return current; | ||
6442 | if ( state.backtracking==0 ) { | ||
6443 | |||
6444 | newLeafNode(otherlv_8, grammarAccess.getALSPreficedAccess().getCircumflexAccentKeyword_2_1()); | ||
6445 | |||
6446 | } | ||
6447 | // InternalAlloyLanguage.g:2244:1: ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) | ||
6448 | // InternalAlloyLanguage.g:2245:1: (lv_operand_9_0= ruleALSBasicRelationTerm ) | ||
6449 | { | ||
6450 | // InternalAlloyLanguage.g:2245:1: (lv_operand_9_0= ruleALSBasicRelationTerm ) | ||
6451 | // InternalAlloyLanguage.g:2246:3: lv_operand_9_0= ruleALSBasicRelationTerm | ||
6452 | { | ||
6453 | if ( state.backtracking==0 ) { | ||
6454 | |||
6455 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0()); | ||
6456 | |||
6457 | } | ||
6458 | pushFollow(FOLLOW_2); | ||
6459 | lv_operand_9_0=ruleALSBasicRelationTerm(); | ||
6460 | |||
6461 | state._fsp--; | ||
6462 | if (state.failed) return current; | ||
6463 | if ( state.backtracking==0 ) { | ||
6464 | |||
6465 | if (current==null) { | ||
6466 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6467 | } | ||
6468 | set( | ||
6469 | current, | ||
6470 | "operand", | ||
6471 | lv_operand_9_0, | ||
6472 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
6473 | afterParserOrEnumRuleCall(); | ||
6474 | |||
6475 | } | ||
6476 | |||
6477 | } | ||
6478 | |||
6479 | |||
6480 | } | ||
6481 | |||
6482 | |||
6483 | } | ||
6484 | |||
6485 | |||
6486 | } | ||
6487 | break; | ||
6488 | case 4 : | ||
6489 | // InternalAlloyLanguage.g:2263:6: ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ||
6490 | { | ||
6491 | // InternalAlloyLanguage.g:2263:6: ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ||
6492 | // InternalAlloyLanguage.g:2263:7: () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) | ||
6493 | { | ||
6494 | // InternalAlloyLanguage.g:2263:7: () | ||
6495 | // InternalAlloyLanguage.g:2264:5: | ||
6496 | { | ||
6497 | if ( state.backtracking==0 ) { | ||
6498 | |||
6499 | current = forceCreateModelElement( | ||
6500 | grammarAccess.getALSPreficedAccess().getALSReflectiveTransitiveClosureAction_3_0(), | ||
6501 | current); | ||
6502 | |||
6503 | } | ||
6504 | |||
6505 | } | ||
6506 | |||
6507 | otherlv_11=(Token)match(input,53,FOLLOW_12); if (state.failed) return current; | ||
6508 | if ( state.backtracking==0 ) { | ||
6509 | |||
6510 | newLeafNode(otherlv_11, grammarAccess.getALSPreficedAccess().getAsteriskKeyword_3_1()); | ||
6511 | |||
6512 | } | ||
6513 | // InternalAlloyLanguage.g:2273:1: ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) | ||
6514 | // InternalAlloyLanguage.g:2274:1: (lv_operand_12_0= ruleALSBasicRelationTerm ) | ||
6515 | { | ||
6516 | // InternalAlloyLanguage.g:2274:1: (lv_operand_12_0= ruleALSBasicRelationTerm ) | ||
6517 | // InternalAlloyLanguage.g:2275:3: lv_operand_12_0= ruleALSBasicRelationTerm | ||
6518 | { | ||
6519 | if ( state.backtracking==0 ) { | ||
6520 | |||
6521 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0()); | ||
6522 | |||
6523 | } | ||
6524 | pushFollow(FOLLOW_2); | ||
6525 | lv_operand_12_0=ruleALSBasicRelationTerm(); | ||
6526 | |||
6527 | state._fsp--; | ||
6528 | if (state.failed) return current; | ||
6529 | if ( state.backtracking==0 ) { | ||
6530 | |||
6531 | if (current==null) { | ||
6532 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6533 | } | ||
6534 | set( | ||
6535 | current, | ||
6536 | "operand", | ||
6537 | lv_operand_12_0, | ||
6538 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
6539 | afterParserOrEnumRuleCall(); | ||
6540 | |||
6541 | } | ||
6542 | |||
6543 | } | ||
6544 | |||
6545 | |||
6546 | } | ||
6547 | |||
6548 | |||
6549 | } | ||
6550 | |||
6551 | |||
6552 | } | ||
6553 | break; | ||
6554 | case 5 : | ||
6555 | // InternalAlloyLanguage.g:2292:6: ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ||
6556 | { | ||
6557 | // InternalAlloyLanguage.g:2292:6: ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ||
6558 | // InternalAlloyLanguage.g:2292:7: () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) | ||
6559 | { | ||
6560 | // InternalAlloyLanguage.g:2292:7: () | ||
6561 | // InternalAlloyLanguage.g:2293:5: | ||
6562 | { | ||
6563 | if ( state.backtracking==0 ) { | ||
6564 | |||
6565 | current = forceCreateModelElement( | ||
6566 | grammarAccess.getALSPreficedAccess().getALSCardinalityAction_4_0(), | ||
6567 | current); | ||
6568 | |||
6569 | } | ||
6570 | |||
6571 | } | ||
6572 | |||
6573 | otherlv_14=(Token)match(input,54,FOLLOW_12); if (state.failed) return current; | ||
6574 | if ( state.backtracking==0 ) { | ||
6575 | |||
6576 | newLeafNode(otherlv_14, grammarAccess.getALSPreficedAccess().getNumberSignKeyword_4_1()); | ||
6577 | |||
6578 | } | ||
6579 | // InternalAlloyLanguage.g:2302:1: ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) | ||
6580 | // InternalAlloyLanguage.g:2303:1: (lv_operand_15_0= ruleALSBasicRelationTerm ) | ||
6581 | { | ||
6582 | // InternalAlloyLanguage.g:2303:1: (lv_operand_15_0= ruleALSBasicRelationTerm ) | ||
6583 | // InternalAlloyLanguage.g:2304:3: lv_operand_15_0= ruleALSBasicRelationTerm | ||
6584 | { | ||
6585 | if ( state.backtracking==0 ) { | ||
6586 | |||
6587 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0()); | ||
6588 | |||
6589 | } | ||
6590 | pushFollow(FOLLOW_2); | ||
6591 | lv_operand_15_0=ruleALSBasicRelationTerm(); | ||
6592 | |||
6593 | state._fsp--; | ||
6594 | if (state.failed) return current; | ||
6595 | if ( state.backtracking==0 ) { | ||
6596 | |||
6597 | if (current==null) { | ||
6598 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6599 | } | ||
6600 | set( | ||
6601 | current, | ||
6602 | "operand", | ||
6603 | lv_operand_15_0, | ||
6604 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
6605 | afterParserOrEnumRuleCall(); | ||
6606 | |||
6607 | } | ||
6608 | |||
6609 | } | ||
6610 | |||
6611 | |||
6612 | } | ||
6613 | |||
6614 | |||
6615 | } | ||
6616 | |||
6617 | |||
6618 | } | ||
6619 | break; | ||
6620 | case 6 : | ||
6621 | // InternalAlloyLanguage.g:2321:6: ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ||
6622 | { | ||
6623 | // InternalAlloyLanguage.g:2321:6: ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ||
6624 | // InternalAlloyLanguage.g:2321:7: () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) | ||
6625 | { | ||
6626 | // InternalAlloyLanguage.g:2321:7: () | ||
6627 | // InternalAlloyLanguage.g:2322:5: | ||
6628 | { | ||
6629 | if ( state.backtracking==0 ) { | ||
6630 | |||
6631 | current = forceCreateModelElement( | ||
6632 | grammarAccess.getALSPreficedAccess().getALSUnaryMinusAction_5_0(), | ||
6633 | current); | ||
6634 | |||
6635 | } | ||
6636 | |||
6637 | } | ||
6638 | |||
6639 | // InternalAlloyLanguage.g:2327:2: ( ( '-' )=>otherlv_17= '-' ) | ||
6640 | // InternalAlloyLanguage.g:2327:3: ( '-' )=>otherlv_17= '-' | ||
6641 | { | ||
6642 | otherlv_17=(Token)match(input,46,FOLLOW_12); if (state.failed) return current; | ||
6643 | if ( state.backtracking==0 ) { | ||
6644 | |||
6645 | newLeafNode(otherlv_17, grammarAccess.getALSPreficedAccess().getHyphenMinusKeyword_5_1()); | ||
6646 | |||
6647 | } | ||
6648 | |||
6649 | } | ||
6650 | |||
6651 | // InternalAlloyLanguage.g:2332:2: ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) | ||
6652 | // InternalAlloyLanguage.g:2333:1: (lv_operand_18_0= ruleALSBasicRelationTerm ) | ||
6653 | { | ||
6654 | // InternalAlloyLanguage.g:2333:1: (lv_operand_18_0= ruleALSBasicRelationTerm ) | ||
6655 | // InternalAlloyLanguage.g:2334:3: lv_operand_18_0= ruleALSBasicRelationTerm | ||
6656 | { | ||
6657 | if ( state.backtracking==0 ) { | ||
6658 | |||
6659 | newCompositeNode(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0()); | ||
6660 | |||
6661 | } | ||
6662 | pushFollow(FOLLOW_2); | ||
6663 | lv_operand_18_0=ruleALSBasicRelationTerm(); | ||
6664 | |||
6665 | state._fsp--; | ||
6666 | if (state.failed) return current; | ||
6667 | if ( state.backtracking==0 ) { | ||
6668 | |||
6669 | if (current==null) { | ||
6670 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6671 | } | ||
6672 | set( | ||
6673 | current, | ||
6674 | "operand", | ||
6675 | lv_operand_18_0, | ||
6676 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
6677 | afterParserOrEnumRuleCall(); | ||
6678 | |||
6679 | } | ||
6680 | |||
6681 | } | ||
6682 | |||
6683 | |||
6684 | } | ||
6685 | |||
6686 | |||
6687 | } | ||
6688 | |||
6689 | |||
6690 | } | ||
6691 | break; | ||
6692 | case 7 : | ||
6693 | // InternalAlloyLanguage.g:2351:6: ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ||
6694 | { | ||
6695 | // InternalAlloyLanguage.g:2351:6: ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ||
6696 | // InternalAlloyLanguage.g:2351:7: () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' | ||
6697 | { | ||
6698 | // InternalAlloyLanguage.g:2351:7: () | ||
6699 | // InternalAlloyLanguage.g:2352:5: | ||
6700 | { | ||
6701 | if ( state.backtracking==0 ) { | ||
6702 | |||
6703 | current = forceCreateModelElement( | ||
6704 | grammarAccess.getALSPreficedAccess().getALSSumAction_6_0(), | ||
6705 | current); | ||
6706 | |||
6707 | } | ||
6708 | |||
6709 | } | ||
6710 | |||
6711 | otherlv_20=(Token)match(input,55,FOLLOW_4); if (state.failed) return current; | ||
6712 | if ( state.backtracking==0 ) { | ||
6713 | |||
6714 | newLeafNode(otherlv_20, grammarAccess.getALSPreficedAccess().getSumKeyword_6_1()); | ||
6715 | |||
6716 | } | ||
6717 | // InternalAlloyLanguage.g:2361:1: ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) | ||
6718 | // InternalAlloyLanguage.g:2362:1: (lv_variables_21_0= ruleALSVariableDeclaration ) | ||
6719 | { | ||
6720 | // InternalAlloyLanguage.g:2362:1: (lv_variables_21_0= ruleALSVariableDeclaration ) | ||
6721 | // InternalAlloyLanguage.g:2363:3: lv_variables_21_0= ruleALSVariableDeclaration | ||
6722 | { | ||
6723 | if ( state.backtracking==0 ) { | ||
6724 | |||
6725 | newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_2_0()); | ||
6726 | |||
6727 | } | ||
6728 | pushFollow(FOLLOW_18); | ||
6729 | lv_variables_21_0=ruleALSVariableDeclaration(); | ||
6730 | |||
6731 | state._fsp--; | ||
6732 | if (state.failed) return current; | ||
6733 | if ( state.backtracking==0 ) { | ||
6734 | |||
6735 | if (current==null) { | ||
6736 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6737 | } | ||
6738 | add( | ||
6739 | current, | ||
6740 | "variables", | ||
6741 | lv_variables_21_0, | ||
6742 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
6743 | afterParserOrEnumRuleCall(); | ||
6744 | |||
6745 | } | ||
6746 | |||
6747 | } | ||
6748 | |||
6749 | |||
6750 | } | ||
6751 | |||
6752 | // InternalAlloyLanguage.g:2379:2: (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* | ||
6753 | loop39: | ||
6754 | do { | ||
6755 | int alt39=2; | ||
6756 | int LA39_0 = input.LA(1); | ||
6757 | |||
6758 | if ( (LA39_0==13) ) { | ||
6759 | alt39=1; | ||
6760 | } | ||
6761 | |||
6762 | |||
6763 | switch (alt39) { | ||
6764 | case 1 : | ||
6765 | // InternalAlloyLanguage.g:2379:4: otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) | ||
6766 | { | ||
6767 | otherlv_22=(Token)match(input,13,FOLLOW_4); if (state.failed) return current; | ||
6768 | if ( state.backtracking==0 ) { | ||
6769 | |||
6770 | newLeafNode(otherlv_22, grammarAccess.getALSPreficedAccess().getCommaKeyword_6_3_0()); | ||
6771 | |||
6772 | } | ||
6773 | // InternalAlloyLanguage.g:2383:1: ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) | ||
6774 | // InternalAlloyLanguage.g:2384:1: (lv_variables_23_0= ruleALSVariableDeclaration ) | ||
6775 | { | ||
6776 | // InternalAlloyLanguage.g:2384:1: (lv_variables_23_0= ruleALSVariableDeclaration ) | ||
6777 | // InternalAlloyLanguage.g:2385:3: lv_variables_23_0= ruleALSVariableDeclaration | ||
6778 | { | ||
6779 | if ( state.backtracking==0 ) { | ||
6780 | |||
6781 | newCompositeNode(grammarAccess.getALSPreficedAccess().getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0()); | ||
6782 | |||
6783 | } | ||
6784 | pushFollow(FOLLOW_18); | ||
6785 | lv_variables_23_0=ruleALSVariableDeclaration(); | ||
6786 | |||
6787 | state._fsp--; | ||
6788 | if (state.failed) return current; | ||
6789 | if ( state.backtracking==0 ) { | ||
6790 | |||
6791 | if (current==null) { | ||
6792 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6793 | } | ||
6794 | add( | ||
6795 | current, | ||
6796 | "variables", | ||
6797 | lv_variables_23_0, | ||
6798 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
6799 | afterParserOrEnumRuleCall(); | ||
6800 | |||
6801 | } | ||
6802 | |||
6803 | } | ||
6804 | |||
6805 | |||
6806 | } | ||
6807 | |||
6808 | |||
6809 | } | ||
6810 | break; | ||
6811 | |||
6812 | default : | ||
6813 | break loop39; | ||
6814 | } | ||
6815 | } while (true); | ||
6816 | |||
6817 | otherlv_24=(Token)match(input,12,FOLLOW_12); if (state.failed) return current; | ||
6818 | if ( state.backtracking==0 ) { | ||
6819 | |||
6820 | newLeafNode(otherlv_24, grammarAccess.getALSPreficedAccess().getLeftCurlyBracketKeyword_6_4()); | ||
6821 | |||
6822 | } | ||
6823 | // InternalAlloyLanguage.g:2405:1: ( (lv_expression_25_0= ruleALSTerm ) ) | ||
6824 | // InternalAlloyLanguage.g:2406:1: (lv_expression_25_0= ruleALSTerm ) | ||
6825 | { | ||
6826 | // InternalAlloyLanguage.g:2406:1: (lv_expression_25_0= ruleALSTerm ) | ||
6827 | // InternalAlloyLanguage.g:2407:3: lv_expression_25_0= ruleALSTerm | ||
6828 | { | ||
6829 | if ( state.backtracking==0 ) { | ||
6830 | |||
6831 | newCompositeNode(grammarAccess.getALSPreficedAccess().getExpressionALSTermParserRuleCall_6_5_0()); | ||
6832 | |||
6833 | } | ||
6834 | pushFollow(FOLLOW_15); | ||
6835 | lv_expression_25_0=ruleALSTerm(); | ||
6836 | |||
6837 | state._fsp--; | ||
6838 | if (state.failed) return current; | ||
6839 | if ( state.backtracking==0 ) { | ||
6840 | |||
6841 | if (current==null) { | ||
6842 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6843 | } | ||
6844 | set( | ||
6845 | current, | ||
6846 | "expression", | ||
6847 | lv_expression_25_0, | ||
6848 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
6849 | afterParserOrEnumRuleCall(); | ||
6850 | |||
6851 | } | ||
6852 | |||
6853 | } | ||
6854 | |||
6855 | |||
6856 | } | ||
6857 | |||
6858 | otherlv_26=(Token)match(input,14,FOLLOW_2); if (state.failed) return current; | ||
6859 | if ( state.backtracking==0 ) { | ||
6860 | |||
6861 | newLeafNode(otherlv_26, grammarAccess.getALSPreficedAccess().getRightCurlyBracketKeyword_6_6()); | ||
6862 | |||
6863 | } | ||
6864 | |||
6865 | } | ||
6866 | |||
6867 | |||
6868 | } | ||
6869 | break; | ||
6870 | case 8 : | ||
6871 | // InternalAlloyLanguage.g:2428:6: ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | ||
6872 | { | ||
6873 | // InternalAlloyLanguage.g:2428:6: ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | ||
6874 | // InternalAlloyLanguage.g:2428:7: () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' | ||
6875 | { | ||
6876 | // InternalAlloyLanguage.g:2428:7: () | ||
6877 | // InternalAlloyLanguage.g:2429:5: | ||
6878 | { | ||
6879 | if ( state.backtracking==0 ) { | ||
6880 | |||
6881 | current = forceCreateModelElement( | ||
6882 | grammarAccess.getALSPreficedAccess().getALSFunctionCallAction_7_0(), | ||
6883 | current); | ||
6884 | |||
6885 | } | ||
6886 | |||
6887 | } | ||
6888 | |||
6889 | // InternalAlloyLanguage.g:2434:2: ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) | ||
6890 | int alt40=2; | ||
6891 | int LA40_0 = input.LA(1); | ||
6892 | |||
6893 | if ( (LA40_0==RULE_ID) ) { | ||
6894 | alt40=1; | ||
6895 | } | ||
6896 | else if ( ((LA40_0>=72 && LA40_0<=76)) ) { | ||
6897 | alt40=2; | ||
6898 | } | ||
6899 | else { | ||
6900 | if (state.backtracking>0) {state.failed=true; return current;} | ||
6901 | NoViableAltException nvae = | ||
6902 | new NoViableAltException("", 40, 0, input); | ||
6903 | |||
6904 | throw nvae; | ||
6905 | } | ||
6906 | switch (alt40) { | ||
6907 | case 1 : | ||
6908 | // InternalAlloyLanguage.g:2434:3: ( (otherlv_28= RULE_ID ) ) | ||
6909 | { | ||
6910 | // InternalAlloyLanguage.g:2434:3: ( (otherlv_28= RULE_ID ) ) | ||
6911 | // InternalAlloyLanguage.g:2435:1: (otherlv_28= RULE_ID ) | ||
6912 | { | ||
6913 | // InternalAlloyLanguage.g:2435:1: (otherlv_28= RULE_ID ) | ||
6914 | // InternalAlloyLanguage.g:2436:3: otherlv_28= RULE_ID | ||
6915 | { | ||
6916 | if ( state.backtracking==0 ) { | ||
6917 | |||
6918 | if (current==null) { | ||
6919 | current = createModelElement(grammarAccess.getALSPreficedRule()); | ||
6920 | } | ||
6921 | |||
6922 | } | ||
6923 | otherlv_28=(Token)match(input,RULE_ID,FOLLOW_13); if (state.failed) return current; | ||
6924 | if ( state.backtracking==0 ) { | ||
6925 | |||
6926 | newLeafNode(otherlv_28, grammarAccess.getALSPreficedAccess().getReferredDefinitionALSDefinitionCrossReference_7_1_0_0()); | ||
6927 | |||
6928 | } | ||
6929 | |||
6930 | } | ||
6931 | |||
6932 | |||
6933 | } | ||
6934 | |||
6935 | |||
6936 | } | ||
6937 | break; | ||
6938 | case 2 : | ||
6939 | // InternalAlloyLanguage.g:2448:6: ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) | ||
6940 | { | ||
6941 | // InternalAlloyLanguage.g:2448:6: ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) | ||
6942 | // InternalAlloyLanguage.g:2449:1: (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) | ||
6943 | { | ||
6944 | // InternalAlloyLanguage.g:2449:1: (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) | ||
6945 | // InternalAlloyLanguage.g:2450:3: lv_referredNumericOperator_29_0= ruleALSNumericOperator | ||
6946 | { | ||
6947 | if ( state.backtracking==0 ) { | ||
6948 | |||
6949 | newCompositeNode(grammarAccess.getALSPreficedAccess().getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0()); | ||
6950 | |||
6951 | } | ||
6952 | pushFollow(FOLLOW_13); | ||
6953 | lv_referredNumericOperator_29_0=ruleALSNumericOperator(); | ||
6954 | |||
6955 | state._fsp--; | ||
6956 | if (state.failed) return current; | ||
6957 | if ( state.backtracking==0 ) { | ||
6958 | |||
6959 | if (current==null) { | ||
6960 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
6961 | } | ||
6962 | set( | ||
6963 | current, | ||
6964 | "referredNumericOperator", | ||
6965 | lv_referredNumericOperator_29_0, | ||
6966 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator"); | ||
6967 | afterParserOrEnumRuleCall(); | ||
6968 | |||
6969 | } | ||
6970 | |||
6971 | } | ||
6972 | |||
6973 | |||
6974 | } | ||
6975 | |||
6976 | |||
6977 | } | ||
6978 | break; | ||
6979 | |||
6980 | } | ||
6981 | |||
6982 | otherlv_30=(Token)match(input,22,FOLLOW_12); if (state.failed) return current; | ||
6983 | if ( state.backtracking==0 ) { | ||
6984 | |||
6985 | newLeafNode(otherlv_30, grammarAccess.getALSPreficedAccess().getLeftSquareBracketKeyword_7_2()); | ||
6986 | |||
6987 | } | ||
6988 | // InternalAlloyLanguage.g:2470:1: ( (lv_params_31_0= ruleALSTerm ) ) | ||
6989 | // InternalAlloyLanguage.g:2471:1: (lv_params_31_0= ruleALSTerm ) | ||
6990 | { | ||
6991 | // InternalAlloyLanguage.g:2471:1: (lv_params_31_0= ruleALSTerm ) | ||
6992 | // InternalAlloyLanguage.g:2472:3: lv_params_31_0= ruleALSTerm | ||
6993 | { | ||
6994 | if ( state.backtracking==0 ) { | ||
6995 | |||
6996 | newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_3_0()); | ||
6997 | |||
6998 | } | ||
6999 | pushFollow(FOLLOW_14); | ||
7000 | lv_params_31_0=ruleALSTerm(); | ||
7001 | |||
7002 | state._fsp--; | ||
7003 | if (state.failed) return current; | ||
7004 | if ( state.backtracking==0 ) { | ||
7005 | |||
7006 | if (current==null) { | ||
7007 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
7008 | } | ||
7009 | add( | ||
7010 | current, | ||
7011 | "params", | ||
7012 | lv_params_31_0, | ||
7013 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
7014 | afterParserOrEnumRuleCall(); | ||
7015 | |||
7016 | } | ||
7017 | |||
7018 | } | ||
7019 | |||
7020 | |||
7021 | } | ||
7022 | |||
7023 | // InternalAlloyLanguage.g:2488:2: (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* | ||
7024 | loop41: | ||
7025 | do { | ||
7026 | int alt41=2; | ||
7027 | int LA41_0 = input.LA(1); | ||
7028 | |||
7029 | if ( (LA41_0==13) ) { | ||
7030 | alt41=1; | ||
7031 | } | ||
7032 | |||
7033 | |||
7034 | switch (alt41) { | ||
7035 | case 1 : | ||
7036 | // InternalAlloyLanguage.g:2488:4: otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) | ||
7037 | { | ||
7038 | otherlv_32=(Token)match(input,13,FOLLOW_12); if (state.failed) return current; | ||
7039 | if ( state.backtracking==0 ) { | ||
7040 | |||
7041 | newLeafNode(otherlv_32, grammarAccess.getALSPreficedAccess().getCommaKeyword_7_4_0()); | ||
7042 | |||
7043 | } | ||
7044 | // InternalAlloyLanguage.g:2492:1: ( (lv_params_33_0= ruleALSTerm ) ) | ||
7045 | // InternalAlloyLanguage.g:2493:1: (lv_params_33_0= ruleALSTerm ) | ||
7046 | { | ||
7047 | // InternalAlloyLanguage.g:2493:1: (lv_params_33_0= ruleALSTerm ) | ||
7048 | // InternalAlloyLanguage.g:2494:3: lv_params_33_0= ruleALSTerm | ||
7049 | { | ||
7050 | if ( state.backtracking==0 ) { | ||
7051 | |||
7052 | newCompositeNode(grammarAccess.getALSPreficedAccess().getParamsALSTermParserRuleCall_7_4_1_0()); | ||
7053 | |||
7054 | } | ||
7055 | pushFollow(FOLLOW_14); | ||
7056 | lv_params_33_0=ruleALSTerm(); | ||
7057 | |||
7058 | state._fsp--; | ||
7059 | if (state.failed) return current; | ||
7060 | if ( state.backtracking==0 ) { | ||
7061 | |||
7062 | if (current==null) { | ||
7063 | current = createModelElementForParent(grammarAccess.getALSPreficedRule()); | ||
7064 | } | ||
7065 | add( | ||
7066 | current, | ||
7067 | "params", | ||
7068 | lv_params_33_0, | ||
7069 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
7070 | afterParserOrEnumRuleCall(); | ||
7071 | |||
7072 | } | ||
7073 | |||
7074 | } | ||
7075 | |||
7076 | |||
7077 | } | ||
7078 | |||
7079 | |||
7080 | } | ||
7081 | break; | ||
7082 | |||
7083 | default : | ||
7084 | break loop41; | ||
7085 | } | ||
7086 | } while (true); | ||
7087 | |||
7088 | otherlv_34=(Token)match(input,23,FOLLOW_2); if (state.failed) return current; | ||
7089 | if ( state.backtracking==0 ) { | ||
7090 | |||
7091 | newLeafNode(otherlv_34, grammarAccess.getALSPreficedAccess().getRightSquareBracketKeyword_7_5()); | ||
7092 | |||
7093 | } | ||
7094 | |||
7095 | } | ||
7096 | |||
7097 | |||
7098 | } | ||
7099 | break; | ||
7100 | case 9 : | ||
7101 | // InternalAlloyLanguage.g:2516:5: this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm | ||
7102 | { | ||
7103 | if ( state.backtracking==0 ) { | ||
7104 | |||
7105 | newCompositeNode(grammarAccess.getALSPreficedAccess().getALSBasicRelationTermParserRuleCall_8()); | ||
7106 | |||
7107 | } | ||
7108 | pushFollow(FOLLOW_2); | ||
7109 | this_ALSBasicRelationTerm_35=ruleALSBasicRelationTerm(); | ||
7110 | |||
7111 | state._fsp--; | ||
7112 | if (state.failed) return current; | ||
7113 | if ( state.backtracking==0 ) { | ||
7114 | |||
7115 | current = this_ALSBasicRelationTerm_35; | ||
7116 | afterParserOrEnumRuleCall(); | ||
7117 | |||
7118 | } | ||
7119 | |||
7120 | } | ||
7121 | break; | ||
7122 | |||
7123 | } | ||
7124 | |||
7125 | |||
7126 | } | ||
7127 | |||
7128 | if ( state.backtracking==0 ) { | ||
7129 | leaveRule(); | ||
7130 | } | ||
7131 | } | ||
7132 | |||
7133 | catch (RecognitionException re) { | ||
7134 | recover(input,re); | ||
7135 | appendSkippedTokens(); | ||
7136 | } | ||
7137 | finally { | ||
7138 | } | ||
7139 | return current; | ||
7140 | } | ||
7141 | // $ANTLR end "ruleALSPreficed" | ||
7142 | |||
7143 | |||
7144 | // $ANTLR start "entryRuleALSVariableDeclaration" | ||
7145 | // InternalAlloyLanguage.g:2532:1: entryRuleALSVariableDeclaration returns [EObject current=null] : iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF ; | ||
7146 | public final EObject entryRuleALSVariableDeclaration() throws RecognitionException { | ||
7147 | EObject current = null; | ||
7148 | |||
7149 | EObject iv_ruleALSVariableDeclaration = null; | ||
7150 | |||
7151 | |||
7152 | try { | ||
7153 | // InternalAlloyLanguage.g:2533:2: (iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF ) | ||
7154 | // InternalAlloyLanguage.g:2534:2: iv_ruleALSVariableDeclaration= ruleALSVariableDeclaration EOF | ||
7155 | { | ||
7156 | if ( state.backtracking==0 ) { | ||
7157 | newCompositeNode(grammarAccess.getALSVariableDeclarationRule()); | ||
7158 | } | ||
7159 | pushFollow(FOLLOW_1); | ||
7160 | iv_ruleALSVariableDeclaration=ruleALSVariableDeclaration(); | ||
7161 | |||
7162 | state._fsp--; | ||
7163 | if (state.failed) return current; | ||
7164 | if ( state.backtracking==0 ) { | ||
7165 | current =iv_ruleALSVariableDeclaration; | ||
7166 | } | ||
7167 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7168 | |||
7169 | } | ||
7170 | |||
7171 | } | ||
7172 | |||
7173 | catch (RecognitionException re) { | ||
7174 | recover(input,re); | ||
7175 | appendSkippedTokens(); | ||
7176 | } | ||
7177 | finally { | ||
7178 | } | ||
7179 | return current; | ||
7180 | } | ||
7181 | // $ANTLR end "entryRuleALSVariableDeclaration" | ||
7182 | |||
7183 | |||
7184 | // $ANTLR start "ruleALSVariableDeclaration" | ||
7185 | // InternalAlloyLanguage.g:2541:1: ruleALSVariableDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) ; | ||
7186 | public final EObject ruleALSVariableDeclaration() throws RecognitionException { | ||
7187 | EObject current = null; | ||
7188 | |||
7189 | Token otherlv_1=null; | ||
7190 | AntlrDatatypeRuleToken lv_name_0_0 = null; | ||
7191 | |||
7192 | EObject lv_range_2_0 = null; | ||
7193 | |||
7194 | |||
7195 | enterRule(); | ||
7196 | |||
7197 | try { | ||
7198 | // InternalAlloyLanguage.g:2544:28: ( ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) ) | ||
7199 | // InternalAlloyLanguage.g:2545:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) | ||
7200 | { | ||
7201 | // InternalAlloyLanguage.g:2545:1: ( ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) ) | ||
7202 | // InternalAlloyLanguage.g:2545:2: ( (lv_name_0_0= ruleALSID ) ) otherlv_1= ':' ( (lv_range_2_0= ruleALSTerm ) ) | ||
7203 | { | ||
7204 | // InternalAlloyLanguage.g:2545:2: ( (lv_name_0_0= ruleALSID ) ) | ||
7205 | // InternalAlloyLanguage.g:2546:1: (lv_name_0_0= ruleALSID ) | ||
7206 | { | ||
7207 | // InternalAlloyLanguage.g:2546:1: (lv_name_0_0= ruleALSID ) | ||
7208 | // InternalAlloyLanguage.g:2547:3: lv_name_0_0= ruleALSID | ||
7209 | { | ||
7210 | if ( state.backtracking==0 ) { | ||
7211 | |||
7212 | newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0()); | ||
7213 | |||
7214 | } | ||
7215 | pushFollow(FOLLOW_11); | ||
7216 | lv_name_0_0=ruleALSID(); | ||
7217 | |||
7218 | state._fsp--; | ||
7219 | if (state.failed) return current; | ||
7220 | if ( state.backtracking==0 ) { | ||
7221 | |||
7222 | if (current==null) { | ||
7223 | current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule()); | ||
7224 | } | ||
7225 | set( | ||
7226 | current, | ||
7227 | "name", | ||
7228 | lv_name_0_0, | ||
7229 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
7230 | afterParserOrEnumRuleCall(); | ||
7231 | |||
7232 | } | ||
7233 | |||
7234 | } | ||
7235 | |||
7236 | |||
7237 | } | ||
7238 | |||
7239 | otherlv_1=(Token)match(input,20,FOLLOW_12); if (state.failed) return current; | ||
7240 | if ( state.backtracking==0 ) { | ||
7241 | |||
7242 | newLeafNode(otherlv_1, grammarAccess.getALSVariableDeclarationAccess().getColonKeyword_1()); | ||
7243 | |||
7244 | } | ||
7245 | // InternalAlloyLanguage.g:2567:1: ( (lv_range_2_0= ruleALSTerm ) ) | ||
7246 | // InternalAlloyLanguage.g:2568:1: (lv_range_2_0= ruleALSTerm ) | ||
7247 | { | ||
7248 | // InternalAlloyLanguage.g:2568:1: (lv_range_2_0= ruleALSTerm ) | ||
7249 | // InternalAlloyLanguage.g:2569:3: lv_range_2_0= ruleALSTerm | ||
7250 | { | ||
7251 | if ( state.backtracking==0 ) { | ||
7252 | |||
7253 | newCompositeNode(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0()); | ||
7254 | |||
7255 | } | ||
7256 | pushFollow(FOLLOW_2); | ||
7257 | lv_range_2_0=ruleALSTerm(); | ||
7258 | |||
7259 | state._fsp--; | ||
7260 | if (state.failed) return current; | ||
7261 | if ( state.backtracking==0 ) { | ||
7262 | |||
7263 | if (current==null) { | ||
7264 | current = createModelElementForParent(grammarAccess.getALSVariableDeclarationRule()); | ||
7265 | } | ||
7266 | set( | ||
7267 | current, | ||
7268 | "range", | ||
7269 | lv_range_2_0, | ||
7270 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
7271 | afterParserOrEnumRuleCall(); | ||
7272 | |||
7273 | } | ||
7274 | |||
7275 | } | ||
7276 | |||
7277 | |||
7278 | } | ||
7279 | |||
7280 | |||
7281 | } | ||
7282 | |||
7283 | |||
7284 | } | ||
7285 | |||
7286 | if ( state.backtracking==0 ) { | ||
7287 | leaveRule(); | ||
7288 | } | ||
7289 | } | ||
7290 | |||
7291 | catch (RecognitionException re) { | ||
7292 | recover(input,re); | ||
7293 | appendSkippedTokens(); | ||
7294 | } | ||
7295 | finally { | ||
7296 | } | ||
7297 | return current; | ||
7298 | } | ||
7299 | // $ANTLR end "ruleALSVariableDeclaration" | ||
7300 | |||
7301 | |||
7302 | // $ANTLR start "entryRuleALSBasicRelationTerm" | ||
7303 | // InternalAlloyLanguage.g:2593:1: entryRuleALSBasicRelationTerm returns [EObject current=null] : iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF ; | ||
7304 | public final EObject entryRuleALSBasicRelationTerm() throws RecognitionException { | ||
7305 | EObject current = null; | ||
7306 | |||
7307 | EObject iv_ruleALSBasicRelationTerm = null; | ||
7308 | |||
7309 | |||
7310 | try { | ||
7311 | // InternalAlloyLanguage.g:2594:2: (iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF ) | ||
7312 | // InternalAlloyLanguage.g:2595:2: iv_ruleALSBasicRelationTerm= ruleALSBasicRelationTerm EOF | ||
7313 | { | ||
7314 | if ( state.backtracking==0 ) { | ||
7315 | newCompositeNode(grammarAccess.getALSBasicRelationTermRule()); | ||
7316 | } | ||
7317 | pushFollow(FOLLOW_1); | ||
7318 | iv_ruleALSBasicRelationTerm=ruleALSBasicRelationTerm(); | ||
7319 | |||
7320 | state._fsp--; | ||
7321 | if (state.failed) return current; | ||
7322 | if ( state.backtracking==0 ) { | ||
7323 | current =iv_ruleALSBasicRelationTerm; | ||
7324 | } | ||
7325 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7326 | |||
7327 | } | ||
7328 | |||
7329 | } | ||
7330 | |||
7331 | catch (RecognitionException re) { | ||
7332 | recover(input,re); | ||
7333 | appendSkippedTokens(); | ||
7334 | } | ||
7335 | finally { | ||
7336 | } | ||
7337 | return current; | ||
7338 | } | ||
7339 | // $ANTLR end "entryRuleALSBasicRelationTerm" | ||
7340 | |||
7341 | |||
7342 | // $ANTLR start "ruleALSBasicRelationTerm" | ||
7343 | // InternalAlloyLanguage.g:2602:1: ruleALSBasicRelationTerm returns [EObject current=null] : ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) ) ; | ||
7344 | public final EObject ruleALSBasicRelationTerm() throws RecognitionException { | ||
7345 | EObject current = null; | ||
7346 | |||
7347 | Token otherlv_1=null; | ||
7348 | Token otherlv_3=null; | ||
7349 | Token otherlv_5=null; | ||
7350 | Token otherlv_7=null; | ||
7351 | Token otherlv_9=null; | ||
7352 | Token otherlv_11=null; | ||
7353 | Token lv_value_13_0=null; | ||
7354 | Token lv_value_15_0=null; | ||
7355 | Token otherlv_16=null; | ||
7356 | Token otherlv_18=null; | ||
7357 | EObject this_ALSTerm_17 = null; | ||
7358 | |||
7359 | |||
7360 | enterRule(); | ||
7361 | |||
7362 | try { | ||
7363 | // InternalAlloyLanguage.g:2605:28: ( ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) ) ) | ||
7364 | // InternalAlloyLanguage.g:2606:1: ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) ) | ||
7365 | { | ||
7366 | // InternalAlloyLanguage.g:2606:1: ( ( () otherlv_1= 'none' ) | ( () otherlv_3= 'iden' ) | ( () otherlv_5= 'univ' ) | ( () otherlv_7= 'Int' ) | ( () otherlv_9= 'String' ) | ( () ( (otherlv_11= RULE_ID ) ) ) | ( () ( (lv_value_13_0= RULE_INT ) ) ) | ( () ( (lv_value_15_0= RULE_STRING ) ) ) | (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) ) | ||
7367 | int alt43=9; | ||
7368 | switch ( input.LA(1) ) { | ||
7369 | case 56: | ||
7370 | { | ||
7371 | alt43=1; | ||
7372 | } | ||
7373 | break; | ||
7374 | case 57: | ||
7375 | { | ||
7376 | alt43=2; | ||
7377 | } | ||
7378 | break; | ||
7379 | case 58: | ||
7380 | { | ||
7381 | alt43=3; | ||
7382 | } | ||
7383 | break; | ||
7384 | case 59: | ||
7385 | { | ||
7386 | alt43=4; | ||
7387 | } | ||
7388 | break; | ||
7389 | case 60: | ||
7390 | { | ||
7391 | alt43=5; | ||
7392 | } | ||
7393 | break; | ||
7394 | case RULE_ID: | ||
7395 | { | ||
7396 | alt43=6; | ||
7397 | } | ||
7398 | break; | ||
7399 | case RULE_INT: | ||
7400 | { | ||
7401 | alt43=7; | ||
7402 | } | ||
7403 | break; | ||
7404 | case RULE_STRING: | ||
7405 | { | ||
7406 | alt43=8; | ||
7407 | } | ||
7408 | break; | ||
7409 | case 61: | ||
7410 | { | ||
7411 | alt43=9; | ||
7412 | } | ||
7413 | break; | ||
7414 | default: | ||
7415 | if (state.backtracking>0) {state.failed=true; return current;} | ||
7416 | NoViableAltException nvae = | ||
7417 | new NoViableAltException("", 43, 0, input); | ||
7418 | |||
7419 | throw nvae; | ||
7420 | } | ||
7421 | |||
7422 | switch (alt43) { | ||
7423 | case 1 : | ||
7424 | // InternalAlloyLanguage.g:2606:2: ( () otherlv_1= 'none' ) | ||
7425 | { | ||
7426 | // InternalAlloyLanguage.g:2606:2: ( () otherlv_1= 'none' ) | ||
7427 | // InternalAlloyLanguage.g:2606:3: () otherlv_1= 'none' | ||
7428 | { | ||
7429 | // InternalAlloyLanguage.g:2606:3: () | ||
7430 | // InternalAlloyLanguage.g:2607:5: | ||
7431 | { | ||
7432 | if ( state.backtracking==0 ) { | ||
7433 | |||
7434 | current = forceCreateModelElement( | ||
7435 | grammarAccess.getALSBasicRelationTermAccess().getALSNoneAction_0_0(), | ||
7436 | current); | ||
7437 | |||
7438 | } | ||
7439 | |||
7440 | } | ||
7441 | |||
7442 | otherlv_1=(Token)match(input,56,FOLLOW_2); if (state.failed) return current; | ||
7443 | if ( state.backtracking==0 ) { | ||
7444 | |||
7445 | newLeafNode(otherlv_1, grammarAccess.getALSBasicRelationTermAccess().getNoneKeyword_0_1()); | ||
7446 | |||
7447 | } | ||
7448 | |||
7449 | } | ||
7450 | |||
7451 | |||
7452 | } | ||
7453 | break; | ||
7454 | case 2 : | ||
7455 | // InternalAlloyLanguage.g:2617:6: ( () otherlv_3= 'iden' ) | ||
7456 | { | ||
7457 | // InternalAlloyLanguage.g:2617:6: ( () otherlv_3= 'iden' ) | ||
7458 | // InternalAlloyLanguage.g:2617:7: () otherlv_3= 'iden' | ||
7459 | { | ||
7460 | // InternalAlloyLanguage.g:2617:7: () | ||
7461 | // InternalAlloyLanguage.g:2618:5: | ||
7462 | { | ||
7463 | if ( state.backtracking==0 ) { | ||
7464 | |||
7465 | current = forceCreateModelElement( | ||
7466 | grammarAccess.getALSBasicRelationTermAccess().getALSIdenAction_1_0(), | ||
7467 | current); | ||
7468 | |||
7469 | } | ||
7470 | |||
7471 | } | ||
7472 | |||
7473 | otherlv_3=(Token)match(input,57,FOLLOW_2); if (state.failed) return current; | ||
7474 | if ( state.backtracking==0 ) { | ||
7475 | |||
7476 | newLeafNode(otherlv_3, grammarAccess.getALSBasicRelationTermAccess().getIdenKeyword_1_1()); | ||
7477 | |||
7478 | } | ||
7479 | |||
7480 | } | ||
7481 | |||
7482 | |||
7483 | } | ||
7484 | break; | ||
7485 | case 3 : | ||
7486 | // InternalAlloyLanguage.g:2628:6: ( () otherlv_5= 'univ' ) | ||
7487 | { | ||
7488 | // InternalAlloyLanguage.g:2628:6: ( () otherlv_5= 'univ' ) | ||
7489 | // InternalAlloyLanguage.g:2628:7: () otherlv_5= 'univ' | ||
7490 | { | ||
7491 | // InternalAlloyLanguage.g:2628:7: () | ||
7492 | // InternalAlloyLanguage.g:2629:5: | ||
7493 | { | ||
7494 | if ( state.backtracking==0 ) { | ||
7495 | |||
7496 | current = forceCreateModelElement( | ||
7497 | grammarAccess.getALSBasicRelationTermAccess().getALSUnivAction_2_0(), | ||
7498 | current); | ||
7499 | |||
7500 | } | ||
7501 | |||
7502 | } | ||
7503 | |||
7504 | otherlv_5=(Token)match(input,58,FOLLOW_2); if (state.failed) return current; | ||
7505 | if ( state.backtracking==0 ) { | ||
7506 | |||
7507 | newLeafNode(otherlv_5, grammarAccess.getALSBasicRelationTermAccess().getUnivKeyword_2_1()); | ||
7508 | |||
7509 | } | ||
7510 | |||
7511 | } | ||
7512 | |||
7513 | |||
7514 | } | ||
7515 | break; | ||
7516 | case 4 : | ||
7517 | // InternalAlloyLanguage.g:2639:6: ( () otherlv_7= 'Int' ) | ||
7518 | { | ||
7519 | // InternalAlloyLanguage.g:2639:6: ( () otherlv_7= 'Int' ) | ||
7520 | // InternalAlloyLanguage.g:2639:7: () otherlv_7= 'Int' | ||
7521 | { | ||
7522 | // InternalAlloyLanguage.g:2639:7: () | ||
7523 | // InternalAlloyLanguage.g:2640:5: | ||
7524 | { | ||
7525 | if ( state.backtracking==0 ) { | ||
7526 | |||
7527 | current = forceCreateModelElement( | ||
7528 | grammarAccess.getALSBasicRelationTermAccess().getALSIntAction_3_0(), | ||
7529 | current); | ||
7530 | |||
7531 | } | ||
7532 | |||
7533 | } | ||
7534 | |||
7535 | otherlv_7=(Token)match(input,59,FOLLOW_2); if (state.failed) return current; | ||
7536 | if ( state.backtracking==0 ) { | ||
7537 | |||
7538 | newLeafNode(otherlv_7, grammarAccess.getALSBasicRelationTermAccess().getIntKeyword_3_1()); | ||
7539 | |||
7540 | } | ||
7541 | |||
7542 | } | ||
7543 | |||
7544 | |||
7545 | } | ||
7546 | break; | ||
7547 | case 5 : | ||
7548 | // InternalAlloyLanguage.g:2650:6: ( () otherlv_9= 'String' ) | ||
7549 | { | ||
7550 | // InternalAlloyLanguage.g:2650:6: ( () otherlv_9= 'String' ) | ||
7551 | // InternalAlloyLanguage.g:2650:7: () otherlv_9= 'String' | ||
7552 | { | ||
7553 | // InternalAlloyLanguage.g:2650:7: () | ||
7554 | // InternalAlloyLanguage.g:2651:5: | ||
7555 | { | ||
7556 | if ( state.backtracking==0 ) { | ||
7557 | |||
7558 | current = forceCreateModelElement( | ||
7559 | grammarAccess.getALSBasicRelationTermAccess().getALSStringAction_4_0(), | ||
7560 | current); | ||
7561 | |||
7562 | } | ||
7563 | |||
7564 | } | ||
7565 | |||
7566 | otherlv_9=(Token)match(input,60,FOLLOW_2); if (state.failed) return current; | ||
7567 | if ( state.backtracking==0 ) { | ||
7568 | |||
7569 | newLeafNode(otherlv_9, grammarAccess.getALSBasicRelationTermAccess().getStringKeyword_4_1()); | ||
7570 | |||
7571 | } | ||
7572 | |||
7573 | } | ||
7574 | |||
7575 | |||
7576 | } | ||
7577 | break; | ||
7578 | case 6 : | ||
7579 | // InternalAlloyLanguage.g:2661:6: ( () ( (otherlv_11= RULE_ID ) ) ) | ||
7580 | { | ||
7581 | // InternalAlloyLanguage.g:2661:6: ( () ( (otherlv_11= RULE_ID ) ) ) | ||
7582 | // InternalAlloyLanguage.g:2661:7: () ( (otherlv_11= RULE_ID ) ) | ||
7583 | { | ||
7584 | // InternalAlloyLanguage.g:2661:7: () | ||
7585 | // InternalAlloyLanguage.g:2662:5: | ||
7586 | { | ||
7587 | if ( state.backtracking==0 ) { | ||
7588 | |||
7589 | current = forceCreateModelElement( | ||
7590 | grammarAccess.getALSBasicRelationTermAccess().getALSReferenceAction_5_0(), | ||
7591 | current); | ||
7592 | |||
7593 | } | ||
7594 | |||
7595 | } | ||
7596 | |||
7597 | // InternalAlloyLanguage.g:2667:2: ( (otherlv_11= RULE_ID ) ) | ||
7598 | // InternalAlloyLanguage.g:2668:1: (otherlv_11= RULE_ID ) | ||
7599 | { | ||
7600 | // InternalAlloyLanguage.g:2668:1: (otherlv_11= RULE_ID ) | ||
7601 | // InternalAlloyLanguage.g:2669:3: otherlv_11= RULE_ID | ||
7602 | { | ||
7603 | if ( state.backtracking==0 ) { | ||
7604 | |||
7605 | if (current==null) { | ||
7606 | current = createModelElement(grammarAccess.getALSBasicRelationTermRule()); | ||
7607 | } | ||
7608 | |||
7609 | } | ||
7610 | otherlv_11=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
7611 | if ( state.backtracking==0 ) { | ||
7612 | |||
7613 | newLeafNode(otherlv_11, grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationCrossReference_5_1_0()); | ||
7614 | |||
7615 | } | ||
7616 | |||
7617 | } | ||
7618 | |||
7619 | |||
7620 | } | ||
7621 | |||
7622 | |||
7623 | } | ||
7624 | |||
7625 | |||
7626 | } | ||
7627 | break; | ||
7628 | case 7 : | ||
7629 | // InternalAlloyLanguage.g:2681:6: ( () ( (lv_value_13_0= RULE_INT ) ) ) | ||
7630 | { | ||
7631 | // InternalAlloyLanguage.g:2681:6: ( () ( (lv_value_13_0= RULE_INT ) ) ) | ||
7632 | // InternalAlloyLanguage.g:2681:7: () ( (lv_value_13_0= RULE_INT ) ) | ||
7633 | { | ||
7634 | // InternalAlloyLanguage.g:2681:7: () | ||
7635 | // InternalAlloyLanguage.g:2682:5: | ||
7636 | { | ||
7637 | if ( state.backtracking==0 ) { | ||
7638 | |||
7639 | current = forceCreateModelElement( | ||
7640 | grammarAccess.getALSBasicRelationTermAccess().getALSNumberLiteralAction_6_0(), | ||
7641 | current); | ||
7642 | |||
7643 | } | ||
7644 | |||
7645 | } | ||
7646 | |||
7647 | // InternalAlloyLanguage.g:2687:2: ( (lv_value_13_0= RULE_INT ) ) | ||
7648 | // InternalAlloyLanguage.g:2688:1: (lv_value_13_0= RULE_INT ) | ||
7649 | { | ||
7650 | // InternalAlloyLanguage.g:2688:1: (lv_value_13_0= RULE_INT ) | ||
7651 | // InternalAlloyLanguage.g:2689:3: lv_value_13_0= RULE_INT | ||
7652 | { | ||
7653 | lv_value_13_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; | ||
7654 | if ( state.backtracking==0 ) { | ||
7655 | |||
7656 | newLeafNode(lv_value_13_0, grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0()); | ||
7657 | |||
7658 | } | ||
7659 | if ( state.backtracking==0 ) { | ||
7660 | |||
7661 | if (current==null) { | ||
7662 | current = createModelElement(grammarAccess.getALSBasicRelationTermRule()); | ||
7663 | } | ||
7664 | setWithLastConsumed( | ||
7665 | current, | ||
7666 | "value", | ||
7667 | lv_value_13_0, | ||
7668 | "org.eclipse.xtext.common.Terminals.INT"); | ||
7669 | |||
7670 | } | ||
7671 | |||
7672 | } | ||
7673 | |||
7674 | |||
7675 | } | ||
7676 | |||
7677 | |||
7678 | } | ||
7679 | |||
7680 | |||
7681 | } | ||
7682 | break; | ||
7683 | case 8 : | ||
7684 | // InternalAlloyLanguage.g:2706:6: ( () ( (lv_value_15_0= RULE_STRING ) ) ) | ||
7685 | { | ||
7686 | // InternalAlloyLanguage.g:2706:6: ( () ( (lv_value_15_0= RULE_STRING ) ) ) | ||
7687 | // InternalAlloyLanguage.g:2706:7: () ( (lv_value_15_0= RULE_STRING ) ) | ||
7688 | { | ||
7689 | // InternalAlloyLanguage.g:2706:7: () | ||
7690 | // InternalAlloyLanguage.g:2707:5: | ||
7691 | { | ||
7692 | if ( state.backtracking==0 ) { | ||
7693 | |||
7694 | current = forceCreateModelElement( | ||
7695 | grammarAccess.getALSBasicRelationTermAccess().getALSStringLiteralAction_7_0(), | ||
7696 | current); | ||
7697 | |||
7698 | } | ||
7699 | |||
7700 | } | ||
7701 | |||
7702 | // InternalAlloyLanguage.g:2712:2: ( (lv_value_15_0= RULE_STRING ) ) | ||
7703 | // InternalAlloyLanguage.g:2713:1: (lv_value_15_0= RULE_STRING ) | ||
7704 | { | ||
7705 | // InternalAlloyLanguage.g:2713:1: (lv_value_15_0= RULE_STRING ) | ||
7706 | // InternalAlloyLanguage.g:2714:3: lv_value_15_0= RULE_STRING | ||
7707 | { | ||
7708 | lv_value_15_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; | ||
7709 | if ( state.backtracking==0 ) { | ||
7710 | |||
7711 | newLeafNode(lv_value_15_0, grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0()); | ||
7712 | |||
7713 | } | ||
7714 | if ( state.backtracking==0 ) { | ||
7715 | |||
7716 | if (current==null) { | ||
7717 | current = createModelElement(grammarAccess.getALSBasicRelationTermRule()); | ||
7718 | } | ||
7719 | setWithLastConsumed( | ||
7720 | current, | ||
7721 | "value", | ||
7722 | lv_value_15_0, | ||
7723 | "org.eclipse.xtext.common.Terminals.STRING"); | ||
7724 | |||
7725 | } | ||
7726 | |||
7727 | } | ||
7728 | |||
7729 | |||
7730 | } | ||
7731 | |||
7732 | |||
7733 | } | ||
7734 | |||
7735 | |||
7736 | } | ||
7737 | break; | ||
7738 | case 9 : | ||
7739 | // InternalAlloyLanguage.g:2731:6: (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) | ||
7740 | { | ||
7741 | // InternalAlloyLanguage.g:2731:6: (otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' ) | ||
7742 | // InternalAlloyLanguage.g:2731:8: otherlv_16= '(' this_ALSTerm_17= ruleALSTerm otherlv_18= ')' | ||
7743 | { | ||
7744 | otherlv_16=(Token)match(input,61,FOLLOW_12); if (state.failed) return current; | ||
7745 | if ( state.backtracking==0 ) { | ||
7746 | |||
7747 | newLeafNode(otherlv_16, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0()); | ||
7748 | |||
7749 | } | ||
7750 | if ( state.backtracking==0 ) { | ||
7751 | |||
7752 | newCompositeNode(grammarAccess.getALSBasicRelationTermAccess().getALSTermParserRuleCall_8_1()); | ||
7753 | |||
7754 | } | ||
7755 | pushFollow(FOLLOW_34); | ||
7756 | this_ALSTerm_17=ruleALSTerm(); | ||
7757 | |||
7758 | state._fsp--; | ||
7759 | if (state.failed) return current; | ||
7760 | if ( state.backtracking==0 ) { | ||
7761 | |||
7762 | current = this_ALSTerm_17; | ||
7763 | afterParserOrEnumRuleCall(); | ||
7764 | |||
7765 | } | ||
7766 | otherlv_18=(Token)match(input,62,FOLLOW_2); if (state.failed) return current; | ||
7767 | if ( state.backtracking==0 ) { | ||
7768 | |||
7769 | newLeafNode(otherlv_18, grammarAccess.getALSBasicRelationTermAccess().getRightParenthesisKeyword_8_2()); | ||
7770 | |||
7771 | } | ||
7772 | |||
7773 | } | ||
7774 | |||
7775 | |||
7776 | } | ||
7777 | break; | ||
7778 | |||
7779 | } | ||
7780 | |||
7781 | |||
7782 | } | ||
7783 | |||
7784 | if ( state.backtracking==0 ) { | ||
7785 | leaveRule(); | ||
7786 | } | ||
7787 | } | ||
7788 | |||
7789 | catch (RecognitionException re) { | ||
7790 | recover(input,re); | ||
7791 | appendSkippedTokens(); | ||
7792 | } | ||
7793 | finally { | ||
7794 | } | ||
7795 | return current; | ||
7796 | } | ||
7797 | // $ANTLR end "ruleALSBasicRelationTerm" | ||
7798 | |||
7799 | |||
7800 | // $ANTLR start "entryRuleALSRunCommand" | ||
7801 | // InternalAlloyLanguage.g:2756:1: entryRuleALSRunCommand returns [EObject current=null] : iv_ruleALSRunCommand= ruleALSRunCommand EOF ; | ||
7802 | public final EObject entryRuleALSRunCommand() throws RecognitionException { | ||
7803 | EObject current = null; | ||
7804 | |||
7805 | EObject iv_ruleALSRunCommand = null; | ||
7806 | |||
7807 | |||
7808 | try { | ||
7809 | // InternalAlloyLanguage.g:2757:2: (iv_ruleALSRunCommand= ruleALSRunCommand EOF ) | ||
7810 | // InternalAlloyLanguage.g:2758:2: iv_ruleALSRunCommand= ruleALSRunCommand EOF | ||
7811 | { | ||
7812 | if ( state.backtracking==0 ) { | ||
7813 | newCompositeNode(grammarAccess.getALSRunCommandRule()); | ||
7814 | } | ||
7815 | pushFollow(FOLLOW_1); | ||
7816 | iv_ruleALSRunCommand=ruleALSRunCommand(); | ||
7817 | |||
7818 | state._fsp--; | ||
7819 | if (state.failed) return current; | ||
7820 | if ( state.backtracking==0 ) { | ||
7821 | current =iv_ruleALSRunCommand; | ||
7822 | } | ||
7823 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7824 | |||
7825 | } | ||
7826 | |||
7827 | } | ||
7828 | |||
7829 | catch (RecognitionException re) { | ||
7830 | recover(input,re); | ||
7831 | appendSkippedTokens(); | ||
7832 | } | ||
7833 | finally { | ||
7834 | } | ||
7835 | return current; | ||
7836 | } | ||
7837 | // $ANTLR end "entryRuleALSRunCommand" | ||
7838 | |||
7839 | |||
7840 | // $ANTLR start "ruleALSRunCommand" | ||
7841 | // InternalAlloyLanguage.g:2765:1: ruleALSRunCommand returns [EObject current=null] : ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) ; | ||
7842 | public final EObject ruleALSRunCommand() throws RecognitionException { | ||
7843 | EObject current = null; | ||
7844 | |||
7845 | Token otherlv_1=null; | ||
7846 | Token otherlv_2=null; | ||
7847 | Token otherlv_3=null; | ||
7848 | Token otherlv_4=null; | ||
7849 | Token otherlv_6=null; | ||
7850 | EObject lv_typeScopes_5_0 = null; | ||
7851 | |||
7852 | EObject lv_typeScopes_7_0 = null; | ||
7853 | |||
7854 | |||
7855 | enterRule(); | ||
7856 | |||
7857 | try { | ||
7858 | // InternalAlloyLanguage.g:2768:28: ( ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) ) | ||
7859 | // InternalAlloyLanguage.g:2769:1: ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) | ||
7860 | { | ||
7861 | // InternalAlloyLanguage.g:2769:1: ( () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? ) | ||
7862 | // InternalAlloyLanguage.g:2769:2: () otherlv_1= 'run' otherlv_2= '{' otherlv_3= '}' (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? | ||
7863 | { | ||
7864 | // InternalAlloyLanguage.g:2769:2: () | ||
7865 | // InternalAlloyLanguage.g:2770:5: | ||
7866 | { | ||
7867 | if ( state.backtracking==0 ) { | ||
7868 | |||
7869 | current = forceCreateModelElement( | ||
7870 | grammarAccess.getALSRunCommandAccess().getALSRunCommandAction_0(), | ||
7871 | current); | ||
7872 | |||
7873 | } | ||
7874 | |||
7875 | } | ||
7876 | |||
7877 | otherlv_1=(Token)match(input,63,FOLLOW_5); if (state.failed) return current; | ||
7878 | if ( state.backtracking==0 ) { | ||
7879 | |||
7880 | newLeafNode(otherlv_1, grammarAccess.getALSRunCommandAccess().getRunKeyword_1()); | ||
7881 | |||
7882 | } | ||
7883 | otherlv_2=(Token)match(input,12,FOLLOW_15); if (state.failed) return current; | ||
7884 | if ( state.backtracking==0 ) { | ||
7885 | |||
7886 | newLeafNode(otherlv_2, grammarAccess.getALSRunCommandAccess().getLeftCurlyBracketKeyword_2()); | ||
7887 | |||
7888 | } | ||
7889 | otherlv_3=(Token)match(input,14,FOLLOW_35); if (state.failed) return current; | ||
7890 | if ( state.backtracking==0 ) { | ||
7891 | |||
7892 | newLeafNode(otherlv_3, grammarAccess.getALSRunCommandAccess().getRightCurlyBracketKeyword_3()); | ||
7893 | |||
7894 | } | ||
7895 | // InternalAlloyLanguage.g:2787:1: (otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* )? | ||
7896 | int alt45=2; | ||
7897 | int LA45_0 = input.LA(1); | ||
7898 | |||
7899 | if ( (LA45_0==64) ) { | ||
7900 | alt45=1; | ||
7901 | } | ||
7902 | switch (alt45) { | ||
7903 | case 1 : | ||
7904 | // InternalAlloyLanguage.g:2787:3: otherlv_4= 'for' ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* | ||
7905 | { | ||
7906 | otherlv_4=(Token)match(input,64,FOLLOW_36); if (state.failed) return current; | ||
7907 | if ( state.backtracking==0 ) { | ||
7908 | |||
7909 | newLeafNode(otherlv_4, grammarAccess.getALSRunCommandAccess().getForKeyword_4_0()); | ||
7910 | |||
7911 | } | ||
7912 | // InternalAlloyLanguage.g:2791:1: ( (lv_typeScopes_5_0= ruleALSTypeScope ) ) | ||
7913 | // InternalAlloyLanguage.g:2792:1: (lv_typeScopes_5_0= ruleALSTypeScope ) | ||
7914 | { | ||
7915 | // InternalAlloyLanguage.g:2792:1: (lv_typeScopes_5_0= ruleALSTypeScope ) | ||
7916 | // InternalAlloyLanguage.g:2793:3: lv_typeScopes_5_0= ruleALSTypeScope | ||
7917 | { | ||
7918 | if ( state.backtracking==0 ) { | ||
7919 | |||
7920 | newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_1_0()); | ||
7921 | |||
7922 | } | ||
7923 | pushFollow(FOLLOW_37); | ||
7924 | lv_typeScopes_5_0=ruleALSTypeScope(); | ||
7925 | |||
7926 | state._fsp--; | ||
7927 | if (state.failed) return current; | ||
7928 | if ( state.backtracking==0 ) { | ||
7929 | |||
7930 | if (current==null) { | ||
7931 | current = createModelElementForParent(grammarAccess.getALSRunCommandRule()); | ||
7932 | } | ||
7933 | add( | ||
7934 | current, | ||
7935 | "typeScopes", | ||
7936 | lv_typeScopes_5_0, | ||
7937 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope"); | ||
7938 | afterParserOrEnumRuleCall(); | ||
7939 | |||
7940 | } | ||
7941 | |||
7942 | } | ||
7943 | |||
7944 | |||
7945 | } | ||
7946 | |||
7947 | // InternalAlloyLanguage.g:2809:2: (otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) )* | ||
7948 | loop44: | ||
7949 | do { | ||
7950 | int alt44=2; | ||
7951 | int LA44_0 = input.LA(1); | ||
7952 | |||
7953 | if ( (LA44_0==13) ) { | ||
7954 | alt44=1; | ||
7955 | } | ||
7956 | |||
7957 | |||
7958 | switch (alt44) { | ||
7959 | case 1 : | ||
7960 | // InternalAlloyLanguage.g:2809:4: otherlv_6= ',' ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) | ||
7961 | { | ||
7962 | otherlv_6=(Token)match(input,13,FOLLOW_36); if (state.failed) return current; | ||
7963 | if ( state.backtracking==0 ) { | ||
7964 | |||
7965 | newLeafNode(otherlv_6, grammarAccess.getALSRunCommandAccess().getCommaKeyword_4_2_0()); | ||
7966 | |||
7967 | } | ||
7968 | // InternalAlloyLanguage.g:2813:1: ( (lv_typeScopes_7_0= ruleALSTypeScope ) ) | ||
7969 | // InternalAlloyLanguage.g:2814:1: (lv_typeScopes_7_0= ruleALSTypeScope ) | ||
7970 | { | ||
7971 | // InternalAlloyLanguage.g:2814:1: (lv_typeScopes_7_0= ruleALSTypeScope ) | ||
7972 | // InternalAlloyLanguage.g:2815:3: lv_typeScopes_7_0= ruleALSTypeScope | ||
7973 | { | ||
7974 | if ( state.backtracking==0 ) { | ||
7975 | |||
7976 | newCompositeNode(grammarAccess.getALSRunCommandAccess().getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0()); | ||
7977 | |||
7978 | } | ||
7979 | pushFollow(FOLLOW_37); | ||
7980 | lv_typeScopes_7_0=ruleALSTypeScope(); | ||
7981 | |||
7982 | state._fsp--; | ||
7983 | if (state.failed) return current; | ||
7984 | if ( state.backtracking==0 ) { | ||
7985 | |||
7986 | if (current==null) { | ||
7987 | current = createModelElementForParent(grammarAccess.getALSRunCommandRule()); | ||
7988 | } | ||
7989 | add( | ||
7990 | current, | ||
7991 | "typeScopes", | ||
7992 | lv_typeScopes_7_0, | ||
7993 | "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope"); | ||
7994 | afterParserOrEnumRuleCall(); | ||
7995 | |||
7996 | } | ||
7997 | |||
7998 | } | ||
7999 | |||
8000 | |||
8001 | } | ||
8002 | |||
8003 | |||
8004 | } | ||
8005 | break; | ||
8006 | |||
8007 | default : | ||
8008 | break loop44; | ||
8009 | } | ||
8010 | } while (true); | ||
8011 | |||
8012 | |||
8013 | } | ||
8014 | break; | ||
8015 | |||
8016 | } | ||
8017 | |||
8018 | |||
8019 | } | ||
8020 | |||
8021 | |||
8022 | } | ||
8023 | |||
8024 | if ( state.backtracking==0 ) { | ||
8025 | leaveRule(); | ||
8026 | } | ||
8027 | } | ||
8028 | |||
8029 | catch (RecognitionException re) { | ||
8030 | recover(input,re); | ||
8031 | appendSkippedTokens(); | ||
8032 | } | ||
8033 | finally { | ||
8034 | } | ||
8035 | return current; | ||
8036 | } | ||
8037 | // $ANTLR end "ruleALSRunCommand" | ||
8038 | |||
8039 | |||
8040 | // $ANTLR start "entryRuleALSTypeScope" | ||
8041 | // InternalAlloyLanguage.g:2839:1: entryRuleALSTypeScope returns [EObject current=null] : iv_ruleALSTypeScope= ruleALSTypeScope EOF ; | ||
8042 | public final EObject entryRuleALSTypeScope() throws RecognitionException { | ||
8043 | EObject current = null; | ||
8044 | |||
8045 | EObject iv_ruleALSTypeScope = null; | ||
8046 | |||
8047 | |||
8048 | try { | ||
8049 | // InternalAlloyLanguage.g:2840:2: (iv_ruleALSTypeScope= ruleALSTypeScope EOF ) | ||
8050 | // InternalAlloyLanguage.g:2841:2: iv_ruleALSTypeScope= ruleALSTypeScope EOF | ||
8051 | { | ||
8052 | if ( state.backtracking==0 ) { | ||
8053 | newCompositeNode(grammarAccess.getALSTypeScopeRule()); | ||
8054 | } | ||
8055 | pushFollow(FOLLOW_1); | ||
8056 | iv_ruleALSTypeScope=ruleALSTypeScope(); | ||
8057 | |||
8058 | state._fsp--; | ||
8059 | if (state.failed) return current; | ||
8060 | if ( state.backtracking==0 ) { | ||
8061 | current =iv_ruleALSTypeScope; | ||
8062 | } | ||
8063 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
8064 | |||
8065 | } | ||
8066 | |||
8067 | } | ||
8068 | |||
8069 | catch (RecognitionException re) { | ||
8070 | recover(input,re); | ||
8071 | appendSkippedTokens(); | ||
8072 | } | ||
8073 | finally { | ||
8074 | } | ||
8075 | return current; | ||
8076 | } | ||
8077 | // $ANTLR end "entryRuleALSTypeScope" | ||
8078 | |||
8079 | |||
8080 | // $ANTLR start "ruleALSTypeScope" | ||
8081 | // InternalAlloyLanguage.g:2848:1: ruleALSTypeScope returns [EObject current=null] : (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope ) ; | ||
8082 | public final EObject ruleALSTypeScope() throws RecognitionException { | ||
8083 | EObject current = null; | ||
8084 | |||
8085 | EObject this_ALSSigScope_0 = null; | ||
8086 | |||
8087 | EObject this_ALSIntScope_1 = null; | ||
8088 | |||
8089 | EObject this_ALSStringScope_2 = null; | ||
8090 | |||
8091 | |||
8092 | enterRule(); | ||
8093 | |||
8094 | try { | ||
8095 | // InternalAlloyLanguage.g:2851:28: ( (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope ) ) | ||
8096 | // InternalAlloyLanguage.g:2852:1: (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope ) | ||
8097 | { | ||
8098 | // InternalAlloyLanguage.g:2852:1: (this_ALSSigScope_0= ruleALSSigScope | this_ALSIntScope_1= ruleALSIntScope | this_ALSStringScope_2= ruleALSStringScope ) | ||
8099 | int alt46=3; | ||
8100 | int LA46_0 = input.LA(1); | ||
8101 | |||
8102 | if ( (LA46_0==65) ) { | ||
8103 | int LA46_1 = input.LA(2); | ||
8104 | |||
8105 | if ( (LA46_1==RULE_INT) ) { | ||
8106 | int LA46_3 = input.LA(3); | ||
8107 | |||
8108 | if ( (LA46_3==RULE_ID) ) { | ||
8109 | alt46=1; | ||
8110 | } | ||
8111 | else if ( (LA46_3==60) ) { | ||
8112 | alt46=3; | ||
8113 | } | ||
8114 | else { | ||
8115 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8116 | NoViableAltException nvae = | ||
8117 | new NoViableAltException("", 46, 3, input); | ||
8118 | |||
8119 | throw nvae; | ||
8120 | } | ||
8121 | } | ||
8122 | else { | ||
8123 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8124 | NoViableAltException nvae = | ||
8125 | new NoViableAltException("", 46, 1, input); | ||
8126 | |||
8127 | throw nvae; | ||
8128 | } | ||
8129 | } | ||
8130 | else if ( (LA46_0==RULE_INT) ) { | ||
8131 | int LA46_2 = input.LA(2); | ||
8132 | |||
8133 | if ( (LA46_2==RULE_ID) ) { | ||
8134 | alt46=1; | ||
8135 | } | ||
8136 | else if ( (LA46_2==59) ) { | ||
8137 | alt46=2; | ||
8138 | } | ||
8139 | else { | ||
8140 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8141 | NoViableAltException nvae = | ||
8142 | new NoViableAltException("", 46, 2, input); | ||
8143 | |||
8144 | throw nvae; | ||
8145 | } | ||
8146 | } | ||
8147 | else { | ||
8148 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8149 | NoViableAltException nvae = | ||
8150 | new NoViableAltException("", 46, 0, input); | ||
8151 | |||
8152 | throw nvae; | ||
8153 | } | ||
8154 | switch (alt46) { | ||
8155 | case 1 : | ||
8156 | // InternalAlloyLanguage.g:2853:5: this_ALSSigScope_0= ruleALSSigScope | ||
8157 | { | ||
8158 | if ( state.backtracking==0 ) { | ||
8159 | |||
8160 | newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSSigScopeParserRuleCall_0()); | ||
8161 | |||
8162 | } | ||
8163 | pushFollow(FOLLOW_2); | ||
8164 | this_ALSSigScope_0=ruleALSSigScope(); | ||
8165 | |||
8166 | state._fsp--; | ||
8167 | if (state.failed) return current; | ||
8168 | if ( state.backtracking==0 ) { | ||
8169 | |||
8170 | current = this_ALSSigScope_0; | ||
8171 | afterParserOrEnumRuleCall(); | ||
8172 | |||
8173 | } | ||
8174 | |||
8175 | } | ||
8176 | break; | ||
8177 | case 2 : | ||
8178 | // InternalAlloyLanguage.g:2863:5: this_ALSIntScope_1= ruleALSIntScope | ||
8179 | { | ||
8180 | if ( state.backtracking==0 ) { | ||
8181 | |||
8182 | newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSIntScopeParserRuleCall_1()); | ||
8183 | |||
8184 | } | ||
8185 | pushFollow(FOLLOW_2); | ||
8186 | this_ALSIntScope_1=ruleALSIntScope(); | ||
8187 | |||
8188 | state._fsp--; | ||
8189 | if (state.failed) return current; | ||
8190 | if ( state.backtracking==0 ) { | ||
8191 | |||
8192 | current = this_ALSIntScope_1; | ||
8193 | afterParserOrEnumRuleCall(); | ||
8194 | |||
8195 | } | ||
8196 | |||
8197 | } | ||
8198 | break; | ||
8199 | case 3 : | ||
8200 | // InternalAlloyLanguage.g:2873:5: this_ALSStringScope_2= ruleALSStringScope | ||
8201 | { | ||
8202 | if ( state.backtracking==0 ) { | ||
8203 | |||
8204 | newCompositeNode(grammarAccess.getALSTypeScopeAccess().getALSStringScopeParserRuleCall_2()); | ||
8205 | |||
8206 | } | ||
8207 | pushFollow(FOLLOW_2); | ||
8208 | this_ALSStringScope_2=ruleALSStringScope(); | ||
8209 | |||
8210 | state._fsp--; | ||
8211 | if (state.failed) return current; | ||
8212 | if ( state.backtracking==0 ) { | ||
8213 | |||
8214 | current = this_ALSStringScope_2; | ||
8215 | afterParserOrEnumRuleCall(); | ||
8216 | |||
8217 | } | ||
8218 | |||
8219 | } | ||
8220 | break; | ||
8221 | |||
8222 | } | ||
8223 | |||
8224 | |||
8225 | } | ||
8226 | |||
8227 | if ( state.backtracking==0 ) { | ||
8228 | leaveRule(); | ||
8229 | } | ||
8230 | } | ||
8231 | |||
8232 | catch (RecognitionException re) { | ||
8233 | recover(input,re); | ||
8234 | appendSkippedTokens(); | ||
8235 | } | ||
8236 | finally { | ||
8237 | } | ||
8238 | return current; | ||
8239 | } | ||
8240 | // $ANTLR end "ruleALSTypeScope" | ||
8241 | |||
8242 | |||
8243 | // $ANTLR start "entryRuleALSSigScope" | ||
8244 | // InternalAlloyLanguage.g:2889:1: entryRuleALSSigScope returns [EObject current=null] : iv_ruleALSSigScope= ruleALSSigScope EOF ; | ||
8245 | public final EObject entryRuleALSSigScope() throws RecognitionException { | ||
8246 | EObject current = null; | ||
8247 | |||
8248 | EObject iv_ruleALSSigScope = null; | ||
8249 | |||
8250 | |||
8251 | try { | ||
8252 | // InternalAlloyLanguage.g:2890:2: (iv_ruleALSSigScope= ruleALSSigScope EOF ) | ||
8253 | // InternalAlloyLanguage.g:2891:2: iv_ruleALSSigScope= ruleALSSigScope EOF | ||
8254 | { | ||
8255 | if ( state.backtracking==0 ) { | ||
8256 | newCompositeNode(grammarAccess.getALSSigScopeRule()); | ||
8257 | } | ||
8258 | pushFollow(FOLLOW_1); | ||
8259 | iv_ruleALSSigScope=ruleALSSigScope(); | ||
8260 | |||
8261 | state._fsp--; | ||
8262 | if (state.failed) return current; | ||
8263 | if ( state.backtracking==0 ) { | ||
8264 | current =iv_ruleALSSigScope; | ||
8265 | } | ||
8266 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
8267 | |||
8268 | } | ||
8269 | |||
8270 | } | ||
8271 | |||
8272 | catch (RecognitionException re) { | ||
8273 | recover(input,re); | ||
8274 | appendSkippedTokens(); | ||
8275 | } | ||
8276 | finally { | ||
8277 | } | ||
8278 | return current; | ||
8279 | } | ||
8280 | // $ANTLR end "entryRuleALSSigScope" | ||
8281 | |||
8282 | |||
8283 | // $ANTLR start "ruleALSSigScope" | ||
8284 | // InternalAlloyLanguage.g:2898:1: ruleALSSigScope returns [EObject current=null] : ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) ; | ||
8285 | public final EObject ruleALSSigScope() throws RecognitionException { | ||
8286 | EObject current = null; | ||
8287 | |||
8288 | Token lv_exactly_0_0=null; | ||
8289 | Token lv_number_1_0=null; | ||
8290 | Token otherlv_2=null; | ||
8291 | |||
8292 | enterRule(); | ||
8293 | |||
8294 | try { | ||
8295 | // InternalAlloyLanguage.g:2901:28: ( ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) ) | ||
8296 | // InternalAlloyLanguage.g:2902:1: ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) | ||
8297 | { | ||
8298 | // InternalAlloyLanguage.g:2902:1: ( ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) ) | ||
8299 | // InternalAlloyLanguage.g:2902:2: ( (lv_exactly_0_0= 'exactly' ) )? ( (lv_number_1_0= RULE_INT ) ) ( (otherlv_2= RULE_ID ) ) | ||
8300 | { | ||
8301 | // InternalAlloyLanguage.g:2902:2: ( (lv_exactly_0_0= 'exactly' ) )? | ||
8302 | int alt47=2; | ||
8303 | int LA47_0 = input.LA(1); | ||
8304 | |||
8305 | if ( (LA47_0==65) ) { | ||
8306 | alt47=1; | ||
8307 | } | ||
8308 | switch (alt47) { | ||
8309 | case 1 : | ||
8310 | // InternalAlloyLanguage.g:2903:1: (lv_exactly_0_0= 'exactly' ) | ||
8311 | { | ||
8312 | // InternalAlloyLanguage.g:2903:1: (lv_exactly_0_0= 'exactly' ) | ||
8313 | // InternalAlloyLanguage.g:2904:3: lv_exactly_0_0= 'exactly' | ||
8314 | { | ||
8315 | lv_exactly_0_0=(Token)match(input,65,FOLLOW_38); if (state.failed) return current; | ||
8316 | if ( state.backtracking==0 ) { | ||
8317 | |||
8318 | newLeafNode(lv_exactly_0_0, grammarAccess.getALSSigScopeAccess().getExactlyExactlyKeyword_0_0()); | ||
8319 | |||
8320 | } | ||
8321 | if ( state.backtracking==0 ) { | ||
8322 | |||
8323 | if (current==null) { | ||
8324 | current = createModelElement(grammarAccess.getALSSigScopeRule()); | ||
8325 | } | ||
8326 | setWithLastConsumed(current, "exactly", true, "exactly"); | ||
8327 | |||
8328 | } | ||
8329 | |||
8330 | } | ||
8331 | |||
8332 | |||
8333 | } | ||
8334 | break; | ||
8335 | |||
8336 | } | ||
8337 | |||
8338 | // InternalAlloyLanguage.g:2917:3: ( (lv_number_1_0= RULE_INT ) ) | ||
8339 | // InternalAlloyLanguage.g:2918:1: (lv_number_1_0= RULE_INT ) | ||
8340 | { | ||
8341 | // InternalAlloyLanguage.g:2918:1: (lv_number_1_0= RULE_INT ) | ||
8342 | // InternalAlloyLanguage.g:2919:3: lv_number_1_0= RULE_INT | ||
8343 | { | ||
8344 | lv_number_1_0=(Token)match(input,RULE_INT,FOLLOW_4); if (state.failed) return current; | ||
8345 | if ( state.backtracking==0 ) { | ||
8346 | |||
8347 | newLeafNode(lv_number_1_0, grammarAccess.getALSSigScopeAccess().getNumberINTTerminalRuleCall_1_0()); | ||
8348 | |||
8349 | } | ||
8350 | if ( state.backtracking==0 ) { | ||
8351 | |||
8352 | if (current==null) { | ||
8353 | current = createModelElement(grammarAccess.getALSSigScopeRule()); | ||
8354 | } | ||
8355 | setWithLastConsumed( | ||
8356 | current, | ||
8357 | "number", | ||
8358 | lv_number_1_0, | ||
8359 | "org.eclipse.xtext.common.Terminals.INT"); | ||
8360 | |||
8361 | } | ||
8362 | |||
8363 | } | ||
8364 | |||
8365 | |||
8366 | } | ||
8367 | |||
8368 | // InternalAlloyLanguage.g:2935:2: ( (otherlv_2= RULE_ID ) ) | ||
8369 | // InternalAlloyLanguage.g:2936:1: (otherlv_2= RULE_ID ) | ||
8370 | { | ||
8371 | // InternalAlloyLanguage.g:2936:1: (otherlv_2= RULE_ID ) | ||
8372 | // InternalAlloyLanguage.g:2937:3: otherlv_2= RULE_ID | ||
8373 | { | ||
8374 | if ( state.backtracking==0 ) { | ||
8375 | |||
8376 | if (current==null) { | ||
8377 | current = createModelElement(grammarAccess.getALSSigScopeRule()); | ||
8378 | } | ||
8379 | |||
8380 | } | ||
8381 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
8382 | if ( state.backtracking==0 ) { | ||
8383 | |||
8384 | newLeafNode(otherlv_2, grammarAccess.getALSSigScopeAccess().getTypeALSSignatureDeclarationCrossReference_2_0()); | ||
8385 | |||
8386 | } | ||
8387 | |||
8388 | } | ||
8389 | |||
8390 | |||
8391 | } | ||
8392 | |||
8393 | |||
8394 | } | ||
8395 | |||
8396 | |||
8397 | } | ||
8398 | |||
8399 | if ( state.backtracking==0 ) { | ||
8400 | leaveRule(); | ||
8401 | } | ||
8402 | } | ||
8403 | |||
8404 | catch (RecognitionException re) { | ||
8405 | recover(input,re); | ||
8406 | appendSkippedTokens(); | ||
8407 | } | ||
8408 | finally { | ||
8409 | } | ||
8410 | return current; | ||
8411 | } | ||
8412 | // $ANTLR end "ruleALSSigScope" | ||
8413 | |||
8414 | |||
8415 | // $ANTLR start "entryRuleALSIntScope" | ||
8416 | // InternalAlloyLanguage.g:2956:1: entryRuleALSIntScope returns [EObject current=null] : iv_ruleALSIntScope= ruleALSIntScope EOF ; | ||
8417 | public final EObject entryRuleALSIntScope() throws RecognitionException { | ||
8418 | EObject current = null; | ||
8419 | |||
8420 | EObject iv_ruleALSIntScope = null; | ||
8421 | |||
8422 | |||
8423 | try { | ||
8424 | // InternalAlloyLanguage.g:2957:2: (iv_ruleALSIntScope= ruleALSIntScope EOF ) | ||
8425 | // InternalAlloyLanguage.g:2958:2: iv_ruleALSIntScope= ruleALSIntScope EOF | ||
8426 | { | ||
8427 | if ( state.backtracking==0 ) { | ||
8428 | newCompositeNode(grammarAccess.getALSIntScopeRule()); | ||
8429 | } | ||
8430 | pushFollow(FOLLOW_1); | ||
8431 | iv_ruleALSIntScope=ruleALSIntScope(); | ||
8432 | |||
8433 | state._fsp--; | ||
8434 | if (state.failed) return current; | ||
8435 | if ( state.backtracking==0 ) { | ||
8436 | current =iv_ruleALSIntScope; | ||
8437 | } | ||
8438 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
8439 | |||
8440 | } | ||
8441 | |||
8442 | } | ||
8443 | |||
8444 | catch (RecognitionException re) { | ||
8445 | recover(input,re); | ||
8446 | appendSkippedTokens(); | ||
8447 | } | ||
8448 | finally { | ||
8449 | } | ||
8450 | return current; | ||
8451 | } | ||
8452 | // $ANTLR end "entryRuleALSIntScope" | ||
8453 | |||
8454 | |||
8455 | // $ANTLR start "ruleALSIntScope" | ||
8456 | // InternalAlloyLanguage.g:2965:1: ruleALSIntScope returns [EObject current=null] : ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) ; | ||
8457 | public final EObject ruleALSIntScope() throws RecognitionException { | ||
8458 | EObject current = null; | ||
8459 | |||
8460 | Token lv_number_0_0=null; | ||
8461 | Token otherlv_1=null; | ||
8462 | |||
8463 | enterRule(); | ||
8464 | |||
8465 | try { | ||
8466 | // InternalAlloyLanguage.g:2968:28: ( ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) ) | ||
8467 | // InternalAlloyLanguage.g:2969:1: ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) | ||
8468 | { | ||
8469 | // InternalAlloyLanguage.g:2969:1: ( ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' ) | ||
8470 | // InternalAlloyLanguage.g:2969:2: ( (lv_number_0_0= RULE_INT ) ) otherlv_1= 'Int' | ||
8471 | { | ||
8472 | // InternalAlloyLanguage.g:2969:2: ( (lv_number_0_0= RULE_INT ) ) | ||
8473 | // InternalAlloyLanguage.g:2970:1: (lv_number_0_0= RULE_INT ) | ||
8474 | { | ||
8475 | // InternalAlloyLanguage.g:2970:1: (lv_number_0_0= RULE_INT ) | ||
8476 | // InternalAlloyLanguage.g:2971:3: lv_number_0_0= RULE_INT | ||
8477 | { | ||
8478 | lv_number_0_0=(Token)match(input,RULE_INT,FOLLOW_39); if (state.failed) return current; | ||
8479 | if ( state.backtracking==0 ) { | ||
8480 | |||
8481 | newLeafNode(lv_number_0_0, grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0()); | ||
8482 | |||
8483 | } | ||
8484 | if ( state.backtracking==0 ) { | ||
8485 | |||
8486 | if (current==null) { | ||
8487 | current = createModelElement(grammarAccess.getALSIntScopeRule()); | ||
8488 | } | ||
8489 | setWithLastConsumed( | ||
8490 | current, | ||
8491 | "number", | ||
8492 | lv_number_0_0, | ||
8493 | "org.eclipse.xtext.common.Terminals.INT"); | ||
8494 | |||
8495 | } | ||
8496 | |||
8497 | } | ||
8498 | |||
8499 | |||
8500 | } | ||
8501 | |||
8502 | otherlv_1=(Token)match(input,59,FOLLOW_2); if (state.failed) return current; | ||
8503 | if ( state.backtracking==0 ) { | ||
8504 | |||
8505 | newLeafNode(otherlv_1, grammarAccess.getALSIntScopeAccess().getIntKeyword_1()); | ||
8506 | |||
8507 | } | ||
8508 | |||
8509 | } | ||
8510 | |||
8511 | |||
8512 | } | ||
8513 | |||
8514 | if ( state.backtracking==0 ) { | ||
8515 | leaveRule(); | ||
8516 | } | ||
8517 | } | ||
8518 | |||
8519 | catch (RecognitionException re) { | ||
8520 | recover(input,re); | ||
8521 | appendSkippedTokens(); | ||
8522 | } | ||
8523 | finally { | ||
8524 | } | ||
8525 | return current; | ||
8526 | } | ||
8527 | // $ANTLR end "ruleALSIntScope" | ||
8528 | |||
8529 | |||
8530 | // $ANTLR start "entryRuleALSStringScope" | ||
8531 | // InternalAlloyLanguage.g:2999:1: entryRuleALSStringScope returns [EObject current=null] : iv_ruleALSStringScope= ruleALSStringScope EOF ; | ||
8532 | public final EObject entryRuleALSStringScope() throws RecognitionException { | ||
8533 | EObject current = null; | ||
8534 | |||
8535 | EObject iv_ruleALSStringScope = null; | ||
8536 | |||
8537 | |||
8538 | try { | ||
8539 | // InternalAlloyLanguage.g:3000:2: (iv_ruleALSStringScope= ruleALSStringScope EOF ) | ||
8540 | // InternalAlloyLanguage.g:3001:2: iv_ruleALSStringScope= ruleALSStringScope EOF | ||
8541 | { | ||
8542 | if ( state.backtracking==0 ) { | ||
8543 | newCompositeNode(grammarAccess.getALSStringScopeRule()); | ||
8544 | } | ||
8545 | pushFollow(FOLLOW_1); | ||
8546 | iv_ruleALSStringScope=ruleALSStringScope(); | ||
8547 | |||
8548 | state._fsp--; | ||
8549 | if (state.failed) return current; | ||
8550 | if ( state.backtracking==0 ) { | ||
8551 | current =iv_ruleALSStringScope; | ||
8552 | } | ||
8553 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
8554 | |||
8555 | } | ||
8556 | |||
8557 | } | ||
8558 | |||
8559 | catch (RecognitionException re) { | ||
8560 | recover(input,re); | ||
8561 | appendSkippedTokens(); | ||
8562 | } | ||
8563 | finally { | ||
8564 | } | ||
8565 | return current; | ||
8566 | } | ||
8567 | // $ANTLR end "entryRuleALSStringScope" | ||
8568 | |||
8569 | |||
8570 | // $ANTLR start "ruleALSStringScope" | ||
8571 | // InternalAlloyLanguage.g:3008:1: ruleALSStringScope returns [EObject current=null] : (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' ) ; | ||
8572 | public final EObject ruleALSStringScope() throws RecognitionException { | ||
8573 | EObject current = null; | ||
8574 | |||
8575 | Token otherlv_0=null; | ||
8576 | Token lv_number_1_0=null; | ||
8577 | Token otherlv_2=null; | ||
8578 | |||
8579 | enterRule(); | ||
8580 | |||
8581 | try { | ||
8582 | // InternalAlloyLanguage.g:3011:28: ( (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' ) ) | ||
8583 | // InternalAlloyLanguage.g:3012:1: (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' ) | ||
8584 | { | ||
8585 | // InternalAlloyLanguage.g:3012:1: (otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' ) | ||
8586 | // InternalAlloyLanguage.g:3012:3: otherlv_0= 'exactly' ( (lv_number_1_0= RULE_INT ) ) otherlv_2= 'String' | ||
8587 | { | ||
8588 | otherlv_0=(Token)match(input,65,FOLLOW_38); if (state.failed) return current; | ||
8589 | if ( state.backtracking==0 ) { | ||
8590 | |||
8591 | newLeafNode(otherlv_0, grammarAccess.getALSStringScopeAccess().getExactlyKeyword_0()); | ||
8592 | |||
8593 | } | ||
8594 | // InternalAlloyLanguage.g:3016:1: ( (lv_number_1_0= RULE_INT ) ) | ||
8595 | // InternalAlloyLanguage.g:3017:1: (lv_number_1_0= RULE_INT ) | ||
8596 | { | ||
8597 | // InternalAlloyLanguage.g:3017:1: (lv_number_1_0= RULE_INT ) | ||
8598 | // InternalAlloyLanguage.g:3018:3: lv_number_1_0= RULE_INT | ||
8599 | { | ||
8600 | lv_number_1_0=(Token)match(input,RULE_INT,FOLLOW_40); if (state.failed) return current; | ||
8601 | if ( state.backtracking==0 ) { | ||
8602 | |||
8603 | newLeafNode(lv_number_1_0, grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0()); | ||
8604 | |||
8605 | } | ||
8606 | if ( state.backtracking==0 ) { | ||
8607 | |||
8608 | if (current==null) { | ||
8609 | current = createModelElement(grammarAccess.getALSStringScopeRule()); | ||
8610 | } | ||
8611 | setWithLastConsumed( | ||
8612 | current, | ||
8613 | "number", | ||
8614 | lv_number_1_0, | ||
8615 | "org.eclipse.xtext.common.Terminals.INT"); | ||
8616 | |||
8617 | } | ||
8618 | |||
8619 | } | ||
8620 | |||
8621 | |||
8622 | } | ||
8623 | |||
8624 | otherlv_2=(Token)match(input,60,FOLLOW_2); if (state.failed) return current; | ||
8625 | if ( state.backtracking==0 ) { | ||
8626 | |||
8627 | newLeafNode(otherlv_2, grammarAccess.getALSStringScopeAccess().getStringKeyword_2()); | ||
8628 | |||
8629 | } | ||
8630 | |||
8631 | } | ||
8632 | |||
8633 | |||
8634 | } | ||
8635 | |||
8636 | if ( state.backtracking==0 ) { | ||
8637 | leaveRule(); | ||
8638 | } | ||
8639 | } | ||
8640 | |||
8641 | catch (RecognitionException re) { | ||
8642 | recover(input,re); | ||
8643 | appendSkippedTokens(); | ||
8644 | } | ||
8645 | finally { | ||
8646 | } | ||
8647 | return current; | ||
8648 | } | ||
8649 | // $ANTLR end "ruleALSStringScope" | ||
8650 | |||
8651 | |||
8652 | // $ANTLR start "ruleALSMultiplicity" | ||
8653 | // InternalAlloyLanguage.g:3046:1: ruleALSMultiplicity returns [Enumerator current=null] : ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) ; | ||
8654 | public final Enumerator ruleALSMultiplicity() throws RecognitionException { | ||
8655 | Enumerator current = null; | ||
8656 | |||
8657 | Token enumLiteral_0=null; | ||
8658 | Token enumLiteral_1=null; | ||
8659 | Token enumLiteral_2=null; | ||
8660 | Token enumLiteral_3=null; | ||
8661 | Token enumLiteral_4=null; | ||
8662 | Token enumLiteral_5=null; | ||
8663 | |||
8664 | enterRule(); | ||
8665 | try { | ||
8666 | // InternalAlloyLanguage.g:3048:28: ( ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) ) | ||
8667 | // InternalAlloyLanguage.g:3049:1: ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) | ||
8668 | { | ||
8669 | // InternalAlloyLanguage.g:3049:1: ( (enumLiteral_0= 'all' ) | (enumLiteral_1= 'no' ) | (enumLiteral_2= 'some' ) | (enumLiteral_3= 'lone' ) | (enumLiteral_4= 'one' ) | (enumLiteral_5= 'set' ) ) | ||
8670 | int alt48=6; | ||
8671 | switch ( input.LA(1) ) { | ||
8672 | case 66: | ||
8673 | { | ||
8674 | alt48=1; | ||
8675 | } | ||
8676 | break; | ||
8677 | case 67: | ||
8678 | { | ||
8679 | alt48=2; | ||
8680 | } | ||
8681 | break; | ||
8682 | case 68: | ||
8683 | { | ||
8684 | alt48=3; | ||
8685 | } | ||
8686 | break; | ||
8687 | case 69: | ||
8688 | { | ||
8689 | alt48=4; | ||
8690 | } | ||
8691 | break; | ||
8692 | case 70: | ||
8693 | { | ||
8694 | alt48=5; | ||
8695 | } | ||
8696 | break; | ||
8697 | case 71: | ||
8698 | { | ||
8699 | alt48=6; | ||
8700 | } | ||
8701 | break; | ||
8702 | default: | ||
8703 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8704 | NoViableAltException nvae = | ||
8705 | new NoViableAltException("", 48, 0, input); | ||
8706 | |||
8707 | throw nvae; | ||
8708 | } | ||
8709 | |||
8710 | switch (alt48) { | ||
8711 | case 1 : | ||
8712 | // InternalAlloyLanguage.g:3049:2: (enumLiteral_0= 'all' ) | ||
8713 | { | ||
8714 | // InternalAlloyLanguage.g:3049:2: (enumLiteral_0= 'all' ) | ||
8715 | // InternalAlloyLanguage.g:3049:4: enumLiteral_0= 'all' | ||
8716 | { | ||
8717 | enumLiteral_0=(Token)match(input,66,FOLLOW_2); if (state.failed) return current; | ||
8718 | if ( state.backtracking==0 ) { | ||
8719 | |||
8720 | current = grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | ||
8721 | newLeafNode(enumLiteral_0, grammarAccess.getALSMultiplicityAccess().getAllEnumLiteralDeclaration_0()); | ||
8722 | |||
8723 | } | ||
8724 | |||
8725 | } | ||
8726 | |||
8727 | |||
8728 | } | ||
8729 | break; | ||
8730 | case 2 : | ||
8731 | // InternalAlloyLanguage.g:3055:6: (enumLiteral_1= 'no' ) | ||
8732 | { | ||
8733 | // InternalAlloyLanguage.g:3055:6: (enumLiteral_1= 'no' ) | ||
8734 | // InternalAlloyLanguage.g:3055:8: enumLiteral_1= 'no' | ||
8735 | { | ||
8736 | enumLiteral_1=(Token)match(input,67,FOLLOW_2); if (state.failed) return current; | ||
8737 | if ( state.backtracking==0 ) { | ||
8738 | |||
8739 | current = grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | ||
8740 | newLeafNode(enumLiteral_1, grammarAccess.getALSMultiplicityAccess().getNoEnumLiteralDeclaration_1()); | ||
8741 | |||
8742 | } | ||
8743 | |||
8744 | } | ||
8745 | |||
8746 | |||
8747 | } | ||
8748 | break; | ||
8749 | case 3 : | ||
8750 | // InternalAlloyLanguage.g:3061:6: (enumLiteral_2= 'some' ) | ||
8751 | { | ||
8752 | // InternalAlloyLanguage.g:3061:6: (enumLiteral_2= 'some' ) | ||
8753 | // InternalAlloyLanguage.g:3061:8: enumLiteral_2= 'some' | ||
8754 | { | ||
8755 | enumLiteral_2=(Token)match(input,68,FOLLOW_2); if (state.failed) return current; | ||
8756 | if ( state.backtracking==0 ) { | ||
8757 | |||
8758 | current = grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | ||
8759 | newLeafNode(enumLiteral_2, grammarAccess.getALSMultiplicityAccess().getSomeEnumLiteralDeclaration_2()); | ||
8760 | |||
8761 | } | ||
8762 | |||
8763 | } | ||
8764 | |||
8765 | |||
8766 | } | ||
8767 | break; | ||
8768 | case 4 : | ||
8769 | // InternalAlloyLanguage.g:3067:6: (enumLiteral_3= 'lone' ) | ||
8770 | { | ||
8771 | // InternalAlloyLanguage.g:3067:6: (enumLiteral_3= 'lone' ) | ||
8772 | // InternalAlloyLanguage.g:3067:8: enumLiteral_3= 'lone' | ||
8773 | { | ||
8774 | enumLiteral_3=(Token)match(input,69,FOLLOW_2); if (state.failed) return current; | ||
8775 | if ( state.backtracking==0 ) { | ||
8776 | |||
8777 | current = grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); | ||
8778 | newLeafNode(enumLiteral_3, grammarAccess.getALSMultiplicityAccess().getLoneEnumLiteralDeclaration_3()); | ||
8779 | |||
8780 | } | ||
8781 | |||
8782 | } | ||
8783 | |||
8784 | |||
8785 | } | ||
8786 | break; | ||
8787 | case 5 : | ||
8788 | // InternalAlloyLanguage.g:3073:6: (enumLiteral_4= 'one' ) | ||
8789 | { | ||
8790 | // InternalAlloyLanguage.g:3073:6: (enumLiteral_4= 'one' ) | ||
8791 | // InternalAlloyLanguage.g:3073:8: enumLiteral_4= 'one' | ||
8792 | { | ||
8793 | enumLiteral_4=(Token)match(input,70,FOLLOW_2); if (state.failed) return current; | ||
8794 | if ( state.backtracking==0 ) { | ||
8795 | |||
8796 | current = grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); | ||
8797 | newLeafNode(enumLiteral_4, grammarAccess.getALSMultiplicityAccess().getOneEnumLiteralDeclaration_4()); | ||
8798 | |||
8799 | } | ||
8800 | |||
8801 | } | ||
8802 | |||
8803 | |||
8804 | } | ||
8805 | break; | ||
8806 | case 6 : | ||
8807 | // InternalAlloyLanguage.g:3079:6: (enumLiteral_5= 'set' ) | ||
8808 | { | ||
8809 | // InternalAlloyLanguage.g:3079:6: (enumLiteral_5= 'set' ) | ||
8810 | // InternalAlloyLanguage.g:3079:8: enumLiteral_5= 'set' | ||
8811 | { | ||
8812 | enumLiteral_5=(Token)match(input,71,FOLLOW_2); if (state.failed) return current; | ||
8813 | if ( state.backtracking==0 ) { | ||
8814 | |||
8815 | current = grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); | ||
8816 | newLeafNode(enumLiteral_5, grammarAccess.getALSMultiplicityAccess().getSetEnumLiteralDeclaration_5()); | ||
8817 | |||
8818 | } | ||
8819 | |||
8820 | } | ||
8821 | |||
8822 | |||
8823 | } | ||
8824 | break; | ||
8825 | |||
8826 | } | ||
8827 | |||
8828 | |||
8829 | } | ||
8830 | |||
8831 | if ( state.backtracking==0 ) { | ||
8832 | leaveRule(); | ||
8833 | } | ||
8834 | } | ||
8835 | |||
8836 | catch (RecognitionException re) { | ||
8837 | recover(input,re); | ||
8838 | appendSkippedTokens(); | ||
8839 | } | ||
8840 | finally { | ||
8841 | } | ||
8842 | return current; | ||
8843 | } | ||
8844 | // $ANTLR end "ruleALSMultiplicity" | ||
8845 | |||
8846 | |||
8847 | // $ANTLR start "ruleALSNumericOperator" | ||
8848 | // InternalAlloyLanguage.g:3089:1: ruleALSNumericOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) ; | ||
8849 | public final Enumerator ruleALSNumericOperator() throws RecognitionException { | ||
8850 | Enumerator current = null; | ||
8851 | |||
8852 | Token enumLiteral_0=null; | ||
8853 | Token enumLiteral_1=null; | ||
8854 | Token enumLiteral_2=null; | ||
8855 | Token enumLiteral_3=null; | ||
8856 | Token enumLiteral_4=null; | ||
8857 | |||
8858 | enterRule(); | ||
8859 | try { | ||
8860 | // InternalAlloyLanguage.g:3091:28: ( ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) ) | ||
8861 | // InternalAlloyLanguage.g:3092:1: ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) | ||
8862 | { | ||
8863 | // InternalAlloyLanguage.g:3092:1: ( (enumLiteral_0= 'plus' ) | (enumLiteral_1= 'sub' ) | (enumLiteral_2= 'mul' ) | (enumLiteral_3= 'rem' ) | (enumLiteral_4= 'div' ) ) | ||
8864 | int alt49=5; | ||
8865 | switch ( input.LA(1) ) { | ||
8866 | case 72: | ||
8867 | { | ||
8868 | alt49=1; | ||
8869 | } | ||
8870 | break; | ||
8871 | case 73: | ||
8872 | { | ||
8873 | alt49=2; | ||
8874 | } | ||
8875 | break; | ||
8876 | case 74: | ||
8877 | { | ||
8878 | alt49=3; | ||
8879 | } | ||
8880 | break; | ||
8881 | case 75: | ||
8882 | { | ||
8883 | alt49=4; | ||
8884 | } | ||
8885 | break; | ||
8886 | case 76: | ||
8887 | { | ||
8888 | alt49=5; | ||
8889 | } | ||
8890 | break; | ||
8891 | default: | ||
8892 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8893 | NoViableAltException nvae = | ||
8894 | new NoViableAltException("", 49, 0, input); | ||
8895 | |||
8896 | throw nvae; | ||
8897 | } | ||
8898 | |||
8899 | switch (alt49) { | ||
8900 | case 1 : | ||
8901 | // InternalAlloyLanguage.g:3092:2: (enumLiteral_0= 'plus' ) | ||
8902 | { | ||
8903 | // InternalAlloyLanguage.g:3092:2: (enumLiteral_0= 'plus' ) | ||
8904 | // InternalAlloyLanguage.g:3092:4: enumLiteral_0= 'plus' | ||
8905 | { | ||
8906 | enumLiteral_0=(Token)match(input,72,FOLLOW_2); if (state.failed) return current; | ||
8907 | if ( state.backtracking==0 ) { | ||
8908 | |||
8909 | current = grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | ||
8910 | newLeafNode(enumLiteral_0, grammarAccess.getALSNumericOperatorAccess().getPlusEnumLiteralDeclaration_0()); | ||
8911 | |||
8912 | } | ||
8913 | |||
8914 | } | ||
8915 | |||
8916 | |||
8917 | } | ||
8918 | break; | ||
8919 | case 2 : | ||
8920 | // InternalAlloyLanguage.g:3098:6: (enumLiteral_1= 'sub' ) | ||
8921 | { | ||
8922 | // InternalAlloyLanguage.g:3098:6: (enumLiteral_1= 'sub' ) | ||
8923 | // InternalAlloyLanguage.g:3098:8: enumLiteral_1= 'sub' | ||
8924 | { | ||
8925 | enumLiteral_1=(Token)match(input,73,FOLLOW_2); if (state.failed) return current; | ||
8926 | if ( state.backtracking==0 ) { | ||
8927 | |||
8928 | current = grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | ||
8929 | newLeafNode(enumLiteral_1, grammarAccess.getALSNumericOperatorAccess().getSubEnumLiteralDeclaration_1()); | ||
8930 | |||
8931 | } | ||
8932 | |||
8933 | } | ||
8934 | |||
8935 | |||
8936 | } | ||
8937 | break; | ||
8938 | case 3 : | ||
8939 | // InternalAlloyLanguage.g:3104:6: (enumLiteral_2= 'mul' ) | ||
8940 | { | ||
8941 | // InternalAlloyLanguage.g:3104:6: (enumLiteral_2= 'mul' ) | ||
8942 | // InternalAlloyLanguage.g:3104:8: enumLiteral_2= 'mul' | ||
8943 | { | ||
8944 | enumLiteral_2=(Token)match(input,74,FOLLOW_2); if (state.failed) return current; | ||
8945 | if ( state.backtracking==0 ) { | ||
8946 | |||
8947 | current = grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | ||
8948 | newLeafNode(enumLiteral_2, grammarAccess.getALSNumericOperatorAccess().getMulEnumLiteralDeclaration_2()); | ||
8949 | |||
8950 | } | ||
8951 | |||
8952 | } | ||
8953 | |||
8954 | |||
8955 | } | ||
8956 | break; | ||
8957 | case 4 : | ||
8958 | // InternalAlloyLanguage.g:3110:6: (enumLiteral_3= 'rem' ) | ||
8959 | { | ||
8960 | // InternalAlloyLanguage.g:3110:6: (enumLiteral_3= 'rem' ) | ||
8961 | // InternalAlloyLanguage.g:3110:8: enumLiteral_3= 'rem' | ||
8962 | { | ||
8963 | enumLiteral_3=(Token)match(input,75,FOLLOW_2); if (state.failed) return current; | ||
8964 | if ( state.backtracking==0 ) { | ||
8965 | |||
8966 | current = grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); | ||
8967 | newLeafNode(enumLiteral_3, grammarAccess.getALSNumericOperatorAccess().getRemEnumLiteralDeclaration_3()); | ||
8968 | |||
8969 | } | ||
8970 | |||
8971 | } | ||
8972 | |||
8973 | |||
8974 | } | ||
8975 | break; | ||
8976 | case 5 : | ||
8977 | // InternalAlloyLanguage.g:3116:6: (enumLiteral_4= 'div' ) | ||
8978 | { | ||
8979 | // InternalAlloyLanguage.g:3116:6: (enumLiteral_4= 'div' ) | ||
8980 | // InternalAlloyLanguage.g:3116:8: enumLiteral_4= 'div' | ||
8981 | { | ||
8982 | enumLiteral_4=(Token)match(input,76,FOLLOW_2); if (state.failed) return current; | ||
8983 | if ( state.backtracking==0 ) { | ||
8984 | |||
8985 | current = grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); | ||
8986 | newLeafNode(enumLiteral_4, grammarAccess.getALSNumericOperatorAccess().getDivEnumLiteralDeclaration_4()); | ||
8987 | |||
8988 | } | ||
8989 | |||
8990 | } | ||
8991 | |||
8992 | |||
8993 | } | ||
8994 | break; | ||
8995 | |||
8996 | } | ||
8997 | |||
8998 | |||
8999 | } | ||
9000 | |||
9001 | if ( state.backtracking==0 ) { | ||
9002 | leaveRule(); | ||
9003 | } | ||
9004 | } | ||
9005 | |||
9006 | catch (RecognitionException re) { | ||
9007 | recover(input,re); | ||
9008 | appendSkippedTokens(); | ||
9009 | } | ||
9010 | finally { | ||
9011 | } | ||
9012 | return current; | ||
9013 | } | ||
9014 | // $ANTLR end "ruleALSNumericOperator" | ||
9015 | |||
9016 | // Delegated rules | ||
9017 | |||
9018 | |||
9019 | protected DFA10 dfa10 = new DFA10(this); | ||
9020 | protected DFA42 dfa42 = new DFA42(this); | ||
9021 | static final String dfa_1s = "\12\uffff"; | ||
9022 | static final String dfa_2s = "\11\uffff\1\10"; | ||
9023 | static final String dfa_3s = "\7\4\2\uffff\1\15"; | ||
9024 | static final String dfa_4s = "\7\114\2\uffff\1\107"; | ||
9025 | static final String dfa_5s = "\7\uffff\1\2\1\1\1\uffff"; | ||
9026 | static final String dfa_6s = "\12\uffff}>"; | ||
9027 | static final String[] dfa_7s = { | ||
9028 | "\3\7\47\uffff\1\7\2\uffff\15\7\4\uffff\1\1\1\2\1\3\1\4\1\5\1\6\5\7", | ||
9029 | "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10", | ||
9030 | "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10", | ||
9031 | "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10", | ||
9032 | "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10", | ||
9033 | "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10", | ||
9034 | "\1\11\2\10\23\uffff\1\7\23\uffff\1\10\2\uffff\15\10\4\uffff\13\10", | ||
9035 | "", | ||
9036 | "", | ||
9037 | "\2\10\3\uffff\2\10\1\7\1\uffff\1\10\4\uffff\6\10\1\uffff\17\10\21\uffff\6\10" | ||
9038 | }; | ||
9039 | |||
9040 | static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); | ||
9041 | static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s); | ||
9042 | static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); | ||
9043 | static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s); | ||
9044 | static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); | ||
9045 | static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s); | ||
9046 | static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s); | ||
9047 | |||
9048 | class DFA10 extends DFA { | ||
9049 | |||
9050 | public DFA10(BaseRecognizer recognizer) { | ||
9051 | this.recognizer = recognizer; | ||
9052 | this.decisionNumber = 10; | ||
9053 | this.eot = dfa_1; | ||
9054 | this.eof = dfa_2; | ||
9055 | this.min = dfa_3; | ||
9056 | this.max = dfa_4; | ||
9057 | this.accept = dfa_5; | ||
9058 | this.special = dfa_6; | ||
9059 | this.transition = dfa_7; | ||
9060 | } | ||
9061 | public String getDescription() { | ||
9062 | return "713:1: ( (lv_multiplicity_2_0= ruleALSMultiplicity ) )?"; | ||
9063 | } | ||
9064 | } | ||
9065 | static final String dfa_8s = "\13\uffff"; | ||
9066 | static final String dfa_9s = "\10\uffff\1\12\2\uffff"; | ||
9067 | static final String dfa_10s = "\1\4\7\uffff\1\14\2\uffff"; | ||
9068 | static final String dfa_11s = "\1\114\7\uffff\1\107\2\uffff"; | ||
9069 | static final String dfa_12s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\10\1\11"; | ||
9070 | static final String dfa_13s = "\13\uffff}>"; | ||
9071 | static final String[] dfa_14s = { | ||
9072 | "\1\10\2\12\47\uffff\1\6\2\uffff\2\1\1\2\1\3\1\4\1\5\1\7\6\12\12\uffff\5\11", | ||
9073 | "", | ||
9074 | "", | ||
9075 | "", | ||
9076 | "", | ||
9077 | "", | ||
9078 | "", | ||
9079 | "", | ||
9080 | "\3\12\3\uffff\2\12\2\uffff\1\11\1\12\3\uffff\26\12\15\uffff\1\12\3\uffff\6\12", | ||
9081 | "", | ||
9082 | "" | ||
9083 | }; | ||
9084 | |||
9085 | static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s); | ||
9086 | static final short[] dfa_9 = DFA.unpackEncodedString(dfa_9s); | ||
9087 | static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s); | ||
9088 | static final char[] dfa_11 = DFA.unpackEncodedStringToUnsignedChars(dfa_11s); | ||
9089 | static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); | ||
9090 | static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s); | ||
9091 | static final short[][] dfa_14 = unpackEncodedStringArray(dfa_14s); | ||
9092 | |||
9093 | class DFA42 extends DFA { | ||
9094 | |||
9095 | public DFA42(BaseRecognizer recognizer) { | ||
9096 | this.recognizer = recognizer; | ||
9097 | this.decisionNumber = 42; | ||
9098 | this.eot = dfa_8; | ||
9099 | this.eof = dfa_9; | ||
9100 | this.min = dfa_10; | ||
9101 | this.max = dfa_11; | ||
9102 | this.accept = dfa_12; | ||
9103 | this.special = dfa_13; | ||
9104 | this.transition = dfa_14; | ||
9105 | } | ||
9106 | public String getDescription() { | ||
9107 | return "2167:1: ( ( () ( ( ( '!' | 'not' ) )=> (otherlv_1= '!' | otherlv_2= 'not' ) ) ( (lv_operand_3_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '~' )=>otherlv_5= '~' ) ( (lv_operand_6_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_8= '^' ( (lv_operand_9_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_11= '*' ( (lv_operand_12_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_14= '#' ( (lv_operand_15_0= ruleALSBasicRelationTerm ) ) ) | ( () ( ( '-' )=>otherlv_17= '-' ) ( (lv_operand_18_0= ruleALSBasicRelationTerm ) ) ) | ( () otherlv_20= 'sum' ( (lv_variables_21_0= ruleALSVariableDeclaration ) ) (otherlv_22= ',' ( (lv_variables_23_0= ruleALSVariableDeclaration ) ) )* otherlv_24= '{' ( (lv_expression_25_0= ruleALSTerm ) ) otherlv_26= '}' ) | ( () ( ( (otherlv_28= RULE_ID ) ) | ( (lv_referredNumericOperator_29_0= ruleALSNumericOperator ) ) ) otherlv_30= '[' ( (lv_params_31_0= ruleALSTerm ) ) (otherlv_32= ',' ( (lv_params_33_0= ruleALSTerm ) ) )* otherlv_34= ']' ) | this_ALSBasicRelationTerm_35= ruleALSBasicRelationTerm )"; | ||
9108 | } | ||
9109 | } | ||
9110 | |||
9111 | |||
9112 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); | ||
9113 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); | ||
9114 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x8000000003218800L,0x00000000000000FCL}); | ||
9115 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000010L}); | ||
9116 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000001000L}); | ||
9117 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000006000L}); | ||
9118 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000018000L,0x00000000000000FCL}); | ||
9119 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000063000L}); | ||
9120 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000081000L}); | ||
9121 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004010L}); | ||
9122 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000100000L}); | ||
9123 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x3FFE400000000070L,0x0000000000001FFCL}); | ||
9124 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000400000L}); | ||
9125 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000802000L}); | ||
9126 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000004000L}); | ||
9127 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000001010L}); | ||
9128 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000004000010L}); | ||
9129 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000003000L}); | ||
9130 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000018000002L}); | ||
9131 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000060000002L}); | ||
9132 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000180000002L}); | ||
9133 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000200000002L}); | ||
9134 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000C00000002L}); | ||
9135 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x000003F000040002L}); | ||
9136 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000040000000002L}); | ||
9137 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000080000000002L}); | ||
9138 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000100000000002L}); | ||
9139 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000200000000002L}); | ||
9140 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000400000000002L}); | ||
9141 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000080002L}); | ||
9142 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000800000000002L}); | ||
9143 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0001000000000002L,0x00000000000000FCL}); | ||
9144 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0001000000000000L}); | ||
9145 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x4000000000000000L}); | ||
9146 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000001L}); | ||
9147 | public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000002L}); | ||
9148 | public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000002002L}); | ||
9149 | public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000020L}); | ||
9150 | public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0800000000000000L}); | ||
9151 | public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x1000000000000000L}); | ||
9152 | |||
9153 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java new file mode 100644 index 00000000..64f0bb55 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSemanticSequencer.java | |||
@@ -0,0 +1,2366 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.serializer; | ||
5 | |||
6 | import com.google.inject.Inject; | ||
7 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSAnd; | ||
8 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSCardinality; | ||
9 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDirectProduct; | ||
10 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSDocument; | ||
11 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumDeclaration; | ||
12 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEnumLiteral; | ||
13 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSEquals; | ||
14 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFactDeclaration; | ||
15 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFieldDeclaration; | ||
16 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionCall; | ||
17 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSFunctionDefinition; | ||
18 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIden; | ||
19 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIff; | ||
20 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSImpl; | ||
21 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInt; | ||
22 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntScope; | ||
23 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSIntersection; | ||
24 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSInverseRelation; | ||
25 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSJoin; | ||
26 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLeq; | ||
27 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSLess; | ||
28 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMeq; | ||
29 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMinus; | ||
30 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSMore; | ||
31 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNone; | ||
32 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNot; | ||
33 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNotEquals; | ||
34 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSNumberLiteral; | ||
35 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOr; | ||
36 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSOverride; | ||
37 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSPlus; | ||
38 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSQuantifiedEx; | ||
39 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionLeft; | ||
40 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRangeRestrictionRight; | ||
41 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReference; | ||
42 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSReflectiveTransitiveClosure; | ||
43 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRelationDefinition; | ||
44 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSRunCommand; | ||
45 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSigScope; | ||
46 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureBody; | ||
47 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSignatureDeclaration; | ||
48 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSString; | ||
49 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringLiteral; | ||
50 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSStringScope; | ||
51 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSubset; | ||
52 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSSum; | ||
53 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUnaryMinus; | ||
54 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSUniv; | ||
55 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.ALSVariableDeclaration; | ||
56 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlSTransitiveClosure; | ||
57 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage; | ||
58 | import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess; | ||
59 | import java.util.Set; | ||
60 | import org.eclipse.emf.ecore.EObject; | ||
61 | import org.eclipse.emf.ecore.EPackage; | ||
62 | import org.eclipse.xtext.Action; | ||
63 | import org.eclipse.xtext.Parameter; | ||
64 | import org.eclipse.xtext.ParserRule; | ||
65 | import org.eclipse.xtext.serializer.ISerializationContext; | ||
66 | import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; | ||
67 | import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; | ||
68 | import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; | ||
69 | |||
70 | @SuppressWarnings("all") | ||
71 | public class AlloyLanguageSemanticSequencer extends AbstractDelegatingSemanticSequencer { | ||
72 | |||
73 | @Inject | ||
74 | private AlloyLanguageGrammarAccess grammarAccess; | ||
75 | |||
76 | @Override | ||
77 | public void sequence(ISerializationContext context, EObject semanticObject) { | ||
78 | EPackage epackage = semanticObject.eClass().getEPackage(); | ||
79 | ParserRule rule = context.getParserRule(); | ||
80 | Action action = context.getAssignedAction(); | ||
81 | Set<Parameter> parameters = context.getEnabledBooleanParameters(); | ||
82 | if (epackage == AlloyLanguagePackage.eINSTANCE) | ||
83 | switch (semanticObject.eClass().getClassifierID()) { | ||
84 | case AlloyLanguagePackage.ALS_AND: | ||
85 | sequence_ALSAnd(context, (ALSAnd) semanticObject); | ||
86 | return; | ||
87 | case AlloyLanguagePackage.ALS_CARDINALITY: | ||
88 | sequence_ALSPreficed(context, (ALSCardinality) semanticObject); | ||
89 | return; | ||
90 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: | ||
91 | sequence_ALSDirectProduct(context, (ALSDirectProduct) semanticObject); | ||
92 | return; | ||
93 | case AlloyLanguagePackage.ALS_DOCUMENT: | ||
94 | sequence_ALSDocument(context, (ALSDocument) semanticObject); | ||
95 | return; | ||
96 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION: | ||
97 | sequence_ALSEnumDeclaration(context, (ALSEnumDeclaration) semanticObject); | ||
98 | return; | ||
99 | case AlloyLanguagePackage.ALS_ENUM_LITERAL: | ||
100 | sequence_ALSEnumLiteral(context, (ALSEnumLiteral) semanticObject); | ||
101 | return; | ||
102 | case AlloyLanguagePackage.ALS_EQUALS: | ||
103 | sequence_ALSComparison(context, (ALSEquals) semanticObject); | ||
104 | return; | ||
105 | case AlloyLanguagePackage.ALS_FACT_DECLARATION: | ||
106 | sequence_ALSFactDeclaration(context, (ALSFactDeclaration) semanticObject); | ||
107 | return; | ||
108 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION: | ||
109 | sequence_ALSFieldDeclaration(context, (ALSFieldDeclaration) semanticObject); | ||
110 | return; | ||
111 | case AlloyLanguagePackage.ALS_FUNCTION_CALL: | ||
112 | sequence_ALSPreficed(context, (ALSFunctionCall) semanticObject); | ||
113 | return; | ||
114 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION: | ||
115 | sequence_ALSFunctionDefinition(context, (ALSFunctionDefinition) semanticObject); | ||
116 | return; | ||
117 | case AlloyLanguagePackage.ALS_IDEN: | ||
118 | sequence_ALSBasicRelationTerm(context, (ALSIden) semanticObject); | ||
119 | return; | ||
120 | case AlloyLanguagePackage.ALS_IFF: | ||
121 | sequence_ALSIff(context, (ALSIff) semanticObject); | ||
122 | return; | ||
123 | case AlloyLanguagePackage.ALS_IMPL: | ||
124 | sequence_ALSImpl(context, (ALSImpl) semanticObject); | ||
125 | return; | ||
126 | case AlloyLanguagePackage.ALS_INT: | ||
127 | sequence_ALSBasicRelationTerm(context, (ALSInt) semanticObject); | ||
128 | return; | ||
129 | case AlloyLanguagePackage.ALS_INT_SCOPE: | ||
130 | sequence_ALSIntScope(context, (ALSIntScope) semanticObject); | ||
131 | return; | ||
132 | case AlloyLanguagePackage.ALS_INTERSECTION: | ||
133 | sequence_ALSIntersection(context, (ALSIntersection) semanticObject); | ||
134 | return; | ||
135 | case AlloyLanguagePackage.ALS_INVERSE_RELATION: | ||
136 | sequence_ALSPreficed(context, (ALSInverseRelation) semanticObject); | ||
137 | return; | ||
138 | case AlloyLanguagePackage.ALS_JOIN: | ||
139 | sequence_ALSJoin(context, (ALSJoin) semanticObject); | ||
140 | return; | ||
141 | case AlloyLanguagePackage.ALS_LEQ: | ||
142 | sequence_ALSComparison(context, (ALSLeq) semanticObject); | ||
143 | return; | ||
144 | case AlloyLanguagePackage.ALS_LESS: | ||
145 | sequence_ALSComparison(context, (ALSLess) semanticObject); | ||
146 | return; | ||
147 | case AlloyLanguagePackage.ALS_MEQ: | ||
148 | sequence_ALSComparison(context, (ALSMeq) semanticObject); | ||
149 | return; | ||
150 | case AlloyLanguagePackage.ALS_MINUS: | ||
151 | sequence_ALSMinus(context, (ALSMinus) semanticObject); | ||
152 | return; | ||
153 | case AlloyLanguagePackage.ALS_MORE: | ||
154 | sequence_ALSComparison(context, (ALSMore) semanticObject); | ||
155 | return; | ||
156 | case AlloyLanguagePackage.ALS_NONE: | ||
157 | sequence_ALSBasicRelationTerm(context, (ALSNone) semanticObject); | ||
158 | return; | ||
159 | case AlloyLanguagePackage.ALS_NOT: | ||
160 | sequence_ALSPreficed(context, (ALSNot) semanticObject); | ||
161 | return; | ||
162 | case AlloyLanguagePackage.ALS_NOT_EQUALS: | ||
163 | sequence_ALSComparison(context, (ALSNotEquals) semanticObject); | ||
164 | return; | ||
165 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL: | ||
166 | sequence_ALSBasicRelationTerm(context, (ALSNumberLiteral) semanticObject); | ||
167 | return; | ||
168 | case AlloyLanguagePackage.ALS_OR: | ||
169 | sequence_ALSOr(context, (ALSOr) semanticObject); | ||
170 | return; | ||
171 | case AlloyLanguagePackage.ALS_OVERRIDE: | ||
172 | sequence_ALSOverride(context, (ALSOverride) semanticObject); | ||
173 | return; | ||
174 | case AlloyLanguagePackage.ALS_PLUS: | ||
175 | sequence_ALSPlus(context, (ALSPlus) semanticObject); | ||
176 | return; | ||
177 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX: | ||
178 | sequence_ALSQuantified(context, (ALSQuantifiedEx) semanticObject); | ||
179 | return; | ||
180 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: | ||
181 | sequence_ALSRangeRestrictionLeft(context, (ALSRangeRestrictionLeft) semanticObject); | ||
182 | return; | ||
183 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: | ||
184 | sequence_ALSRangeRestrictionRight(context, (ALSRangeRestrictionRight) semanticObject); | ||
185 | return; | ||
186 | case AlloyLanguagePackage.ALS_REFERENCE: | ||
187 | sequence_ALSBasicRelationTerm(context, (ALSReference) semanticObject); | ||
188 | return; | ||
189 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: | ||
190 | sequence_ALSPreficed(context, (ALSReflectiveTransitiveClosure) semanticObject); | ||
191 | return; | ||
192 | case AlloyLanguagePackage.ALS_RELATION_DEFINITION: | ||
193 | sequence_ALSRelationDefinition(context, (ALSRelationDefinition) semanticObject); | ||
194 | return; | ||
195 | case AlloyLanguagePackage.ALS_RUN_COMMAND: | ||
196 | sequence_ALSRunCommand(context, (ALSRunCommand) semanticObject); | ||
197 | return; | ||
198 | case AlloyLanguagePackage.ALS_SIG_SCOPE: | ||
199 | sequence_ALSSigScope(context, (ALSSigScope) semanticObject); | ||
200 | return; | ||
201 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY: | ||
202 | sequence_ALSSignatureBody(context, (ALSSignatureBody) semanticObject); | ||
203 | return; | ||
204 | case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION: | ||
205 | sequence_ALSSignatureDeclaration(context, (ALSSignatureDeclaration) semanticObject); | ||
206 | return; | ||
207 | case AlloyLanguagePackage.ALS_STRING: | ||
208 | sequence_ALSBasicRelationTerm(context, (ALSString) semanticObject); | ||
209 | return; | ||
210 | case AlloyLanguagePackage.ALS_STRING_LITERAL: | ||
211 | sequence_ALSBasicRelationTerm(context, (ALSStringLiteral) semanticObject); | ||
212 | return; | ||
213 | case AlloyLanguagePackage.ALS_STRING_SCOPE: | ||
214 | sequence_ALSStringScope(context, (ALSStringScope) semanticObject); | ||
215 | return; | ||
216 | case AlloyLanguagePackage.ALS_SUBSET: | ||
217 | sequence_ALSComparison(context, (ALSSubset) semanticObject); | ||
218 | return; | ||
219 | case AlloyLanguagePackage.ALS_SUM: | ||
220 | sequence_ALSPreficed(context, (ALSSum) semanticObject); | ||
221 | return; | ||
222 | case AlloyLanguagePackage.ALS_UNARY_MINUS: | ||
223 | sequence_ALSPreficed(context, (ALSUnaryMinus) semanticObject); | ||
224 | return; | ||
225 | case AlloyLanguagePackage.ALS_UNIV: | ||
226 | sequence_ALSBasicRelationTerm(context, (ALSUniv) semanticObject); | ||
227 | return; | ||
228 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION: | ||
229 | sequence_ALSVariableDeclaration(context, (ALSVariableDeclaration) semanticObject); | ||
230 | return; | ||
231 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: | ||
232 | sequence_ALSPreficed(context, (AlSTransitiveClosure) semanticObject); | ||
233 | return; | ||
234 | } | ||
235 | if (errorAcceptor != null) | ||
236 | errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * Contexts: | ||
241 | * ALSTerm returns ALSAnd | ||
242 | * ALSQuantified returns ALSAnd | ||
243 | * ALSOr returns ALSAnd | ||
244 | * ALSOr.ALSOr_1_0 returns ALSAnd | ||
245 | * ALSIff returns ALSAnd | ||
246 | * ALSIff.ALSIff_1_0 returns ALSAnd | ||
247 | * ALSImpl returns ALSAnd | ||
248 | * ALSImpl.ALSImpl_1_0 returns ALSAnd | ||
249 | * ALSAnd returns ALSAnd | ||
250 | * ALSAnd.ALSAnd_1_0 returns ALSAnd | ||
251 | * ALSComparison returns ALSAnd | ||
252 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSAnd | ||
253 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSAnd | ||
254 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSAnd | ||
255 | * ALSComparison.ALSLess_1_0_3_0 returns ALSAnd | ||
256 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSAnd | ||
257 | * ALSComparison.ALSMore_1_0_5_0 returns ALSAnd | ||
258 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSAnd | ||
259 | * ALSOverride returns ALSAnd | ||
260 | * ALSOverride.ALSOverride_1_0 returns ALSAnd | ||
261 | * ALSRangeRestrictionRight returns ALSAnd | ||
262 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSAnd | ||
263 | * ALSRangeRestrictionLeft returns ALSAnd | ||
264 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSAnd | ||
265 | * ALSJoin returns ALSAnd | ||
266 | * ALSJoin.ALSJoin_1_0 returns ALSAnd | ||
267 | * ALSMinus returns ALSAnd | ||
268 | * ALSMinus.ALSMinus_1_0 returns ALSAnd | ||
269 | * ALSPlus returns ALSAnd | ||
270 | * ALSPlus.ALSPlus_1_0 returns ALSAnd | ||
271 | * ALSIntersection returns ALSAnd | ||
272 | * ALSIntersection.ALSIntersection_1_0 returns ALSAnd | ||
273 | * ALSDirectProduct returns ALSAnd | ||
274 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSAnd | ||
275 | * ALSPreficed returns ALSAnd | ||
276 | * ALSBasicRelationTerm returns ALSAnd | ||
277 | * | ||
278 | * Constraint: | ||
279 | * (leftOperand=ALSAnd_ALSAnd_1_0 rightOperand=ALSComparison) | ||
280 | */ | ||
281 | protected void sequence_ALSAnd(ISerializationContext context, ALSAnd semanticObject) { | ||
282 | if (errorAcceptor != null) { | ||
283 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__LEFT_OPERAND) == ValueTransient.YES) | ||
284 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__LEFT_OPERAND)); | ||
285 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__RIGHT_OPERAND) == ValueTransient.YES) | ||
286 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_AND__RIGHT_OPERAND)); | ||
287 | } | ||
288 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
289 | feeder.accept(grammarAccess.getALSAndAccess().getALSAndLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
290 | feeder.accept(grammarAccess.getALSAndAccess().getRightOperandALSComparisonParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
291 | feeder.finish(); | ||
292 | } | ||
293 | |||
294 | |||
295 | /** | ||
296 | * Contexts: | ||
297 | * ALSTerm returns ALSIden | ||
298 | * ALSQuantified returns ALSIden | ||
299 | * ALSOr returns ALSIden | ||
300 | * ALSOr.ALSOr_1_0 returns ALSIden | ||
301 | * ALSIff returns ALSIden | ||
302 | * ALSIff.ALSIff_1_0 returns ALSIden | ||
303 | * ALSImpl returns ALSIden | ||
304 | * ALSImpl.ALSImpl_1_0 returns ALSIden | ||
305 | * ALSAnd returns ALSIden | ||
306 | * ALSAnd.ALSAnd_1_0 returns ALSIden | ||
307 | * ALSComparison returns ALSIden | ||
308 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSIden | ||
309 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIden | ||
310 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSIden | ||
311 | * ALSComparison.ALSLess_1_0_3_0 returns ALSIden | ||
312 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSIden | ||
313 | * ALSComparison.ALSMore_1_0_5_0 returns ALSIden | ||
314 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSIden | ||
315 | * ALSOverride returns ALSIden | ||
316 | * ALSOverride.ALSOverride_1_0 returns ALSIden | ||
317 | * ALSRangeRestrictionRight returns ALSIden | ||
318 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIden | ||
319 | * ALSRangeRestrictionLeft returns ALSIden | ||
320 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIden | ||
321 | * ALSJoin returns ALSIden | ||
322 | * ALSJoin.ALSJoin_1_0 returns ALSIden | ||
323 | * ALSMinus returns ALSIden | ||
324 | * ALSMinus.ALSMinus_1_0 returns ALSIden | ||
325 | * ALSPlus returns ALSIden | ||
326 | * ALSPlus.ALSPlus_1_0 returns ALSIden | ||
327 | * ALSIntersection returns ALSIden | ||
328 | * ALSIntersection.ALSIntersection_1_0 returns ALSIden | ||
329 | * ALSDirectProduct returns ALSIden | ||
330 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIden | ||
331 | * ALSPreficed returns ALSIden | ||
332 | * ALSBasicRelationTerm returns ALSIden | ||
333 | * | ||
334 | * Constraint: | ||
335 | * {ALSIden} | ||
336 | */ | ||
337 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSIden semanticObject) { | ||
338 | genericSequencer.createSequence(context, semanticObject); | ||
339 | } | ||
340 | |||
341 | |||
342 | /** | ||
343 | * Contexts: | ||
344 | * ALSTerm returns ALSInt | ||
345 | * ALSQuantified returns ALSInt | ||
346 | * ALSOr returns ALSInt | ||
347 | * ALSOr.ALSOr_1_0 returns ALSInt | ||
348 | * ALSIff returns ALSInt | ||
349 | * ALSIff.ALSIff_1_0 returns ALSInt | ||
350 | * ALSImpl returns ALSInt | ||
351 | * ALSImpl.ALSImpl_1_0 returns ALSInt | ||
352 | * ALSAnd returns ALSInt | ||
353 | * ALSAnd.ALSAnd_1_0 returns ALSInt | ||
354 | * ALSComparison returns ALSInt | ||
355 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSInt | ||
356 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSInt | ||
357 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSInt | ||
358 | * ALSComparison.ALSLess_1_0_3_0 returns ALSInt | ||
359 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSInt | ||
360 | * ALSComparison.ALSMore_1_0_5_0 returns ALSInt | ||
361 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSInt | ||
362 | * ALSOverride returns ALSInt | ||
363 | * ALSOverride.ALSOverride_1_0 returns ALSInt | ||
364 | * ALSRangeRestrictionRight returns ALSInt | ||
365 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSInt | ||
366 | * ALSRangeRestrictionLeft returns ALSInt | ||
367 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSInt | ||
368 | * ALSJoin returns ALSInt | ||
369 | * ALSJoin.ALSJoin_1_0 returns ALSInt | ||
370 | * ALSMinus returns ALSInt | ||
371 | * ALSMinus.ALSMinus_1_0 returns ALSInt | ||
372 | * ALSPlus returns ALSInt | ||
373 | * ALSPlus.ALSPlus_1_0 returns ALSInt | ||
374 | * ALSIntersection returns ALSInt | ||
375 | * ALSIntersection.ALSIntersection_1_0 returns ALSInt | ||
376 | * ALSDirectProduct returns ALSInt | ||
377 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSInt | ||
378 | * ALSPreficed returns ALSInt | ||
379 | * ALSBasicRelationTerm returns ALSInt | ||
380 | * | ||
381 | * Constraint: | ||
382 | * {ALSInt} | ||
383 | */ | ||
384 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSInt semanticObject) { | ||
385 | genericSequencer.createSequence(context, semanticObject); | ||
386 | } | ||
387 | |||
388 | |||
389 | /** | ||
390 | * Contexts: | ||
391 | * ALSTerm returns ALSNone | ||
392 | * ALSQuantified returns ALSNone | ||
393 | * ALSOr returns ALSNone | ||
394 | * ALSOr.ALSOr_1_0 returns ALSNone | ||
395 | * ALSIff returns ALSNone | ||
396 | * ALSIff.ALSIff_1_0 returns ALSNone | ||
397 | * ALSImpl returns ALSNone | ||
398 | * ALSImpl.ALSImpl_1_0 returns ALSNone | ||
399 | * ALSAnd returns ALSNone | ||
400 | * ALSAnd.ALSAnd_1_0 returns ALSNone | ||
401 | * ALSComparison returns ALSNone | ||
402 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSNone | ||
403 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNone | ||
404 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSNone | ||
405 | * ALSComparison.ALSLess_1_0_3_0 returns ALSNone | ||
406 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSNone | ||
407 | * ALSComparison.ALSMore_1_0_5_0 returns ALSNone | ||
408 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSNone | ||
409 | * ALSOverride returns ALSNone | ||
410 | * ALSOverride.ALSOverride_1_0 returns ALSNone | ||
411 | * ALSRangeRestrictionRight returns ALSNone | ||
412 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNone | ||
413 | * ALSRangeRestrictionLeft returns ALSNone | ||
414 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNone | ||
415 | * ALSJoin returns ALSNone | ||
416 | * ALSJoin.ALSJoin_1_0 returns ALSNone | ||
417 | * ALSMinus returns ALSNone | ||
418 | * ALSMinus.ALSMinus_1_0 returns ALSNone | ||
419 | * ALSPlus returns ALSNone | ||
420 | * ALSPlus.ALSPlus_1_0 returns ALSNone | ||
421 | * ALSIntersection returns ALSNone | ||
422 | * ALSIntersection.ALSIntersection_1_0 returns ALSNone | ||
423 | * ALSDirectProduct returns ALSNone | ||
424 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNone | ||
425 | * ALSPreficed returns ALSNone | ||
426 | * ALSBasicRelationTerm returns ALSNone | ||
427 | * | ||
428 | * Constraint: | ||
429 | * {ALSNone} | ||
430 | */ | ||
431 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSNone semanticObject) { | ||
432 | genericSequencer.createSequence(context, semanticObject); | ||
433 | } | ||
434 | |||
435 | |||
436 | /** | ||
437 | * Contexts: | ||
438 | * ALSTerm returns ALSNumberLiteral | ||
439 | * ALSQuantified returns ALSNumberLiteral | ||
440 | * ALSOr returns ALSNumberLiteral | ||
441 | * ALSOr.ALSOr_1_0 returns ALSNumberLiteral | ||
442 | * ALSIff returns ALSNumberLiteral | ||
443 | * ALSIff.ALSIff_1_0 returns ALSNumberLiteral | ||
444 | * ALSImpl returns ALSNumberLiteral | ||
445 | * ALSImpl.ALSImpl_1_0 returns ALSNumberLiteral | ||
446 | * ALSAnd returns ALSNumberLiteral | ||
447 | * ALSAnd.ALSAnd_1_0 returns ALSNumberLiteral | ||
448 | * ALSComparison returns ALSNumberLiteral | ||
449 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSNumberLiteral | ||
450 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNumberLiteral | ||
451 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSNumberLiteral | ||
452 | * ALSComparison.ALSLess_1_0_3_0 returns ALSNumberLiteral | ||
453 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSNumberLiteral | ||
454 | * ALSComparison.ALSMore_1_0_5_0 returns ALSNumberLiteral | ||
455 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSNumberLiteral | ||
456 | * ALSOverride returns ALSNumberLiteral | ||
457 | * ALSOverride.ALSOverride_1_0 returns ALSNumberLiteral | ||
458 | * ALSRangeRestrictionRight returns ALSNumberLiteral | ||
459 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNumberLiteral | ||
460 | * ALSRangeRestrictionLeft returns ALSNumberLiteral | ||
461 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNumberLiteral | ||
462 | * ALSJoin returns ALSNumberLiteral | ||
463 | * ALSJoin.ALSJoin_1_0 returns ALSNumberLiteral | ||
464 | * ALSMinus returns ALSNumberLiteral | ||
465 | * ALSMinus.ALSMinus_1_0 returns ALSNumberLiteral | ||
466 | * ALSPlus returns ALSNumberLiteral | ||
467 | * ALSPlus.ALSPlus_1_0 returns ALSNumberLiteral | ||
468 | * ALSIntersection returns ALSNumberLiteral | ||
469 | * ALSIntersection.ALSIntersection_1_0 returns ALSNumberLiteral | ||
470 | * ALSDirectProduct returns ALSNumberLiteral | ||
471 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNumberLiteral | ||
472 | * ALSPreficed returns ALSNumberLiteral | ||
473 | * ALSBasicRelationTerm returns ALSNumberLiteral | ||
474 | * | ||
475 | * Constraint: | ||
476 | * value=INT | ||
477 | */ | ||
478 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSNumberLiteral semanticObject) { | ||
479 | if (errorAcceptor != null) { | ||
480 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL__VALUE) == ValueTransient.YES) | ||
481 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NUMBER_LITERAL__VALUE)); | ||
482 | } | ||
483 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
484 | feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getValueINTTerminalRuleCall_6_1_0(), semanticObject.getValue()); | ||
485 | feeder.finish(); | ||
486 | } | ||
487 | |||
488 | |||
489 | /** | ||
490 | * Contexts: | ||
491 | * ALSTerm returns ALSReference | ||
492 | * ALSQuantified returns ALSReference | ||
493 | * ALSOr returns ALSReference | ||
494 | * ALSOr.ALSOr_1_0 returns ALSReference | ||
495 | * ALSIff returns ALSReference | ||
496 | * ALSIff.ALSIff_1_0 returns ALSReference | ||
497 | * ALSImpl returns ALSReference | ||
498 | * ALSImpl.ALSImpl_1_0 returns ALSReference | ||
499 | * ALSAnd returns ALSReference | ||
500 | * ALSAnd.ALSAnd_1_0 returns ALSReference | ||
501 | * ALSComparison returns ALSReference | ||
502 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSReference | ||
503 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSReference | ||
504 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSReference | ||
505 | * ALSComparison.ALSLess_1_0_3_0 returns ALSReference | ||
506 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSReference | ||
507 | * ALSComparison.ALSMore_1_0_5_0 returns ALSReference | ||
508 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSReference | ||
509 | * ALSOverride returns ALSReference | ||
510 | * ALSOverride.ALSOverride_1_0 returns ALSReference | ||
511 | * ALSRangeRestrictionRight returns ALSReference | ||
512 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSReference | ||
513 | * ALSRangeRestrictionLeft returns ALSReference | ||
514 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSReference | ||
515 | * ALSJoin returns ALSReference | ||
516 | * ALSJoin.ALSJoin_1_0 returns ALSReference | ||
517 | * ALSMinus returns ALSReference | ||
518 | * ALSMinus.ALSMinus_1_0 returns ALSReference | ||
519 | * ALSPlus returns ALSReference | ||
520 | * ALSPlus.ALSPlus_1_0 returns ALSReference | ||
521 | * ALSIntersection returns ALSReference | ||
522 | * ALSIntersection.ALSIntersection_1_0 returns ALSReference | ||
523 | * ALSDirectProduct returns ALSReference | ||
524 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSReference | ||
525 | * ALSPreficed returns ALSReference | ||
526 | * ALSBasicRelationTerm returns ALSReference | ||
527 | * | ||
528 | * Constraint: | ||
529 | * referred=[ALSRelationDeclaration|ID] | ||
530 | */ | ||
531 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSReference semanticObject) { | ||
532 | if (errorAcceptor != null) { | ||
533 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED) == ValueTransient.YES) | ||
534 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED)); | ||
535 | } | ||
536 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
537 | feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1(), semanticObject.eGet(AlloyLanguagePackage.Literals.ALS_REFERENCE__REFERRED, false)); | ||
538 | feeder.finish(); | ||
539 | } | ||
540 | |||
541 | |||
542 | /** | ||
543 | * Contexts: | ||
544 | * ALSTerm returns ALSString | ||
545 | * ALSQuantified returns ALSString | ||
546 | * ALSOr returns ALSString | ||
547 | * ALSOr.ALSOr_1_0 returns ALSString | ||
548 | * ALSIff returns ALSString | ||
549 | * ALSIff.ALSIff_1_0 returns ALSString | ||
550 | * ALSImpl returns ALSString | ||
551 | * ALSImpl.ALSImpl_1_0 returns ALSString | ||
552 | * ALSAnd returns ALSString | ||
553 | * ALSAnd.ALSAnd_1_0 returns ALSString | ||
554 | * ALSComparison returns ALSString | ||
555 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSString | ||
556 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSString | ||
557 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSString | ||
558 | * ALSComparison.ALSLess_1_0_3_0 returns ALSString | ||
559 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSString | ||
560 | * ALSComparison.ALSMore_1_0_5_0 returns ALSString | ||
561 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSString | ||
562 | * ALSOverride returns ALSString | ||
563 | * ALSOverride.ALSOverride_1_0 returns ALSString | ||
564 | * ALSRangeRestrictionRight returns ALSString | ||
565 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSString | ||
566 | * ALSRangeRestrictionLeft returns ALSString | ||
567 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSString | ||
568 | * ALSJoin returns ALSString | ||
569 | * ALSJoin.ALSJoin_1_0 returns ALSString | ||
570 | * ALSMinus returns ALSString | ||
571 | * ALSMinus.ALSMinus_1_0 returns ALSString | ||
572 | * ALSPlus returns ALSString | ||
573 | * ALSPlus.ALSPlus_1_0 returns ALSString | ||
574 | * ALSIntersection returns ALSString | ||
575 | * ALSIntersection.ALSIntersection_1_0 returns ALSString | ||
576 | * ALSDirectProduct returns ALSString | ||
577 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSString | ||
578 | * ALSPreficed returns ALSString | ||
579 | * ALSBasicRelationTerm returns ALSString | ||
580 | * | ||
581 | * Constraint: | ||
582 | * {ALSString} | ||
583 | */ | ||
584 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSString semanticObject) { | ||
585 | genericSequencer.createSequence(context, semanticObject); | ||
586 | } | ||
587 | |||
588 | |||
589 | /** | ||
590 | * Contexts: | ||
591 | * ALSTerm returns ALSStringLiteral | ||
592 | * ALSQuantified returns ALSStringLiteral | ||
593 | * ALSOr returns ALSStringLiteral | ||
594 | * ALSOr.ALSOr_1_0 returns ALSStringLiteral | ||
595 | * ALSIff returns ALSStringLiteral | ||
596 | * ALSIff.ALSIff_1_0 returns ALSStringLiteral | ||
597 | * ALSImpl returns ALSStringLiteral | ||
598 | * ALSImpl.ALSImpl_1_0 returns ALSStringLiteral | ||
599 | * ALSAnd returns ALSStringLiteral | ||
600 | * ALSAnd.ALSAnd_1_0 returns ALSStringLiteral | ||
601 | * ALSComparison returns ALSStringLiteral | ||
602 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSStringLiteral | ||
603 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSStringLiteral | ||
604 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSStringLiteral | ||
605 | * ALSComparison.ALSLess_1_0_3_0 returns ALSStringLiteral | ||
606 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSStringLiteral | ||
607 | * ALSComparison.ALSMore_1_0_5_0 returns ALSStringLiteral | ||
608 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSStringLiteral | ||
609 | * ALSOverride returns ALSStringLiteral | ||
610 | * ALSOverride.ALSOverride_1_0 returns ALSStringLiteral | ||
611 | * ALSRangeRestrictionRight returns ALSStringLiteral | ||
612 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSStringLiteral | ||
613 | * ALSRangeRestrictionLeft returns ALSStringLiteral | ||
614 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSStringLiteral | ||
615 | * ALSJoin returns ALSStringLiteral | ||
616 | * ALSJoin.ALSJoin_1_0 returns ALSStringLiteral | ||
617 | * ALSMinus returns ALSStringLiteral | ||
618 | * ALSMinus.ALSMinus_1_0 returns ALSStringLiteral | ||
619 | * ALSPlus returns ALSStringLiteral | ||
620 | * ALSPlus.ALSPlus_1_0 returns ALSStringLiteral | ||
621 | * ALSIntersection returns ALSStringLiteral | ||
622 | * ALSIntersection.ALSIntersection_1_0 returns ALSStringLiteral | ||
623 | * ALSDirectProduct returns ALSStringLiteral | ||
624 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSStringLiteral | ||
625 | * ALSPreficed returns ALSStringLiteral | ||
626 | * ALSBasicRelationTerm returns ALSStringLiteral | ||
627 | * | ||
628 | * Constraint: | ||
629 | * value=STRING | ||
630 | */ | ||
631 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSStringLiteral semanticObject) { | ||
632 | if (errorAcceptor != null) { | ||
633 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_STRING_LITERAL__VALUE) == ValueTransient.YES) | ||
634 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_STRING_LITERAL__VALUE)); | ||
635 | } | ||
636 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
637 | feeder.accept(grammarAccess.getALSBasicRelationTermAccess().getValueSTRINGTerminalRuleCall_7_1_0(), semanticObject.getValue()); | ||
638 | feeder.finish(); | ||
639 | } | ||
640 | |||
641 | |||
642 | /** | ||
643 | * Contexts: | ||
644 | * ALSTerm returns ALSUniv | ||
645 | * ALSQuantified returns ALSUniv | ||
646 | * ALSOr returns ALSUniv | ||
647 | * ALSOr.ALSOr_1_0 returns ALSUniv | ||
648 | * ALSIff returns ALSUniv | ||
649 | * ALSIff.ALSIff_1_0 returns ALSUniv | ||
650 | * ALSImpl returns ALSUniv | ||
651 | * ALSImpl.ALSImpl_1_0 returns ALSUniv | ||
652 | * ALSAnd returns ALSUniv | ||
653 | * ALSAnd.ALSAnd_1_0 returns ALSUniv | ||
654 | * ALSComparison returns ALSUniv | ||
655 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSUniv | ||
656 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSUniv | ||
657 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSUniv | ||
658 | * ALSComparison.ALSLess_1_0_3_0 returns ALSUniv | ||
659 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSUniv | ||
660 | * ALSComparison.ALSMore_1_0_5_0 returns ALSUniv | ||
661 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSUniv | ||
662 | * ALSOverride returns ALSUniv | ||
663 | * ALSOverride.ALSOverride_1_0 returns ALSUniv | ||
664 | * ALSRangeRestrictionRight returns ALSUniv | ||
665 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSUniv | ||
666 | * ALSRangeRestrictionLeft returns ALSUniv | ||
667 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSUniv | ||
668 | * ALSJoin returns ALSUniv | ||
669 | * ALSJoin.ALSJoin_1_0 returns ALSUniv | ||
670 | * ALSMinus returns ALSUniv | ||
671 | * ALSMinus.ALSMinus_1_0 returns ALSUniv | ||
672 | * ALSPlus returns ALSUniv | ||
673 | * ALSPlus.ALSPlus_1_0 returns ALSUniv | ||
674 | * ALSIntersection returns ALSUniv | ||
675 | * ALSIntersection.ALSIntersection_1_0 returns ALSUniv | ||
676 | * ALSDirectProduct returns ALSUniv | ||
677 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSUniv | ||
678 | * ALSPreficed returns ALSUniv | ||
679 | * ALSBasicRelationTerm returns ALSUniv | ||
680 | * | ||
681 | * Constraint: | ||
682 | * {ALSUniv} | ||
683 | */ | ||
684 | protected void sequence_ALSBasicRelationTerm(ISerializationContext context, ALSUniv semanticObject) { | ||
685 | genericSequencer.createSequence(context, semanticObject); | ||
686 | } | ||
687 | |||
688 | |||
689 | /** | ||
690 | * Contexts: | ||
691 | * ALSTerm returns ALSEquals | ||
692 | * ALSQuantified returns ALSEquals | ||
693 | * ALSOr returns ALSEquals | ||
694 | * ALSOr.ALSOr_1_0 returns ALSEquals | ||
695 | * ALSIff returns ALSEquals | ||
696 | * ALSIff.ALSIff_1_0 returns ALSEquals | ||
697 | * ALSImpl returns ALSEquals | ||
698 | * ALSImpl.ALSImpl_1_0 returns ALSEquals | ||
699 | * ALSAnd returns ALSEquals | ||
700 | * ALSAnd.ALSAnd_1_0 returns ALSEquals | ||
701 | * ALSComparison returns ALSEquals | ||
702 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSEquals | ||
703 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSEquals | ||
704 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSEquals | ||
705 | * ALSComparison.ALSLess_1_0_3_0 returns ALSEquals | ||
706 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSEquals | ||
707 | * ALSComparison.ALSMore_1_0_5_0 returns ALSEquals | ||
708 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSEquals | ||
709 | * ALSOverride returns ALSEquals | ||
710 | * ALSOverride.ALSOverride_1_0 returns ALSEquals | ||
711 | * ALSRangeRestrictionRight returns ALSEquals | ||
712 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSEquals | ||
713 | * ALSRangeRestrictionLeft returns ALSEquals | ||
714 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSEquals | ||
715 | * ALSJoin returns ALSEquals | ||
716 | * ALSJoin.ALSJoin_1_0 returns ALSEquals | ||
717 | * ALSMinus returns ALSEquals | ||
718 | * ALSMinus.ALSMinus_1_0 returns ALSEquals | ||
719 | * ALSPlus returns ALSEquals | ||
720 | * ALSPlus.ALSPlus_1_0 returns ALSEquals | ||
721 | * ALSIntersection returns ALSEquals | ||
722 | * ALSIntersection.ALSIntersection_1_0 returns ALSEquals | ||
723 | * ALSDirectProduct returns ALSEquals | ||
724 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSEquals | ||
725 | * ALSPreficed returns ALSEquals | ||
726 | * ALSBasicRelationTerm returns ALSEquals | ||
727 | * | ||
728 | * Constraint: | ||
729 | * (leftOperand=ALSComparison_ALSEquals_1_0_0_0 rightOperand=ALSOverride) | ||
730 | */ | ||
731 | protected void sequence_ALSComparison(ISerializationContext context, ALSEquals semanticObject) { | ||
732 | if (errorAcceptor != null) { | ||
733 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__LEFT_OPERAND) == ValueTransient.YES) | ||
734 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__LEFT_OPERAND)); | ||
735 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__RIGHT_OPERAND) == ValueTransient.YES) | ||
736 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_EQUALS__RIGHT_OPERAND)); | ||
737 | } | ||
738 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
739 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSEqualsLeftOperandAction_1_0_0_0(), semanticObject.getLeftOperand()); | ||
740 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
741 | feeder.finish(); | ||
742 | } | ||
743 | |||
744 | |||
745 | /** | ||
746 | * Contexts: | ||
747 | * ALSTerm returns ALSLeq | ||
748 | * ALSQuantified returns ALSLeq | ||
749 | * ALSOr returns ALSLeq | ||
750 | * ALSOr.ALSOr_1_0 returns ALSLeq | ||
751 | * ALSIff returns ALSLeq | ||
752 | * ALSIff.ALSIff_1_0 returns ALSLeq | ||
753 | * ALSImpl returns ALSLeq | ||
754 | * ALSImpl.ALSImpl_1_0 returns ALSLeq | ||
755 | * ALSAnd returns ALSLeq | ||
756 | * ALSAnd.ALSAnd_1_0 returns ALSLeq | ||
757 | * ALSComparison returns ALSLeq | ||
758 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSLeq | ||
759 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSLeq | ||
760 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSLeq | ||
761 | * ALSComparison.ALSLess_1_0_3_0 returns ALSLeq | ||
762 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSLeq | ||
763 | * ALSComparison.ALSMore_1_0_5_0 returns ALSLeq | ||
764 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSLeq | ||
765 | * ALSOverride returns ALSLeq | ||
766 | * ALSOverride.ALSOverride_1_0 returns ALSLeq | ||
767 | * ALSRangeRestrictionRight returns ALSLeq | ||
768 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSLeq | ||
769 | * ALSRangeRestrictionLeft returns ALSLeq | ||
770 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSLeq | ||
771 | * ALSJoin returns ALSLeq | ||
772 | * ALSJoin.ALSJoin_1_0 returns ALSLeq | ||
773 | * ALSMinus returns ALSLeq | ||
774 | * ALSMinus.ALSMinus_1_0 returns ALSLeq | ||
775 | * ALSPlus returns ALSLeq | ||
776 | * ALSPlus.ALSPlus_1_0 returns ALSLeq | ||
777 | * ALSIntersection returns ALSLeq | ||
778 | * ALSIntersection.ALSIntersection_1_0 returns ALSLeq | ||
779 | * ALSDirectProduct returns ALSLeq | ||
780 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSLeq | ||
781 | * ALSPreficed returns ALSLeq | ||
782 | * ALSBasicRelationTerm returns ALSLeq | ||
783 | * | ||
784 | * Constraint: | ||
785 | * (leftOperand=ALSComparison_ALSLeq_1_0_4_0 rightOperand=ALSOverride) | ||
786 | */ | ||
787 | protected void sequence_ALSComparison(ISerializationContext context, ALSLeq semanticObject) { | ||
788 | if (errorAcceptor != null) { | ||
789 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__LEFT_OPERAND) == ValueTransient.YES) | ||
790 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__LEFT_OPERAND)); | ||
791 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__RIGHT_OPERAND) == ValueTransient.YES) | ||
792 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LEQ__RIGHT_OPERAND)); | ||
793 | } | ||
794 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
795 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSLeqLeftOperandAction_1_0_4_0(), semanticObject.getLeftOperand()); | ||
796 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
797 | feeder.finish(); | ||
798 | } | ||
799 | |||
800 | |||
801 | /** | ||
802 | * Contexts: | ||
803 | * ALSTerm returns ALSLess | ||
804 | * ALSQuantified returns ALSLess | ||
805 | * ALSOr returns ALSLess | ||
806 | * ALSOr.ALSOr_1_0 returns ALSLess | ||
807 | * ALSIff returns ALSLess | ||
808 | * ALSIff.ALSIff_1_0 returns ALSLess | ||
809 | * ALSImpl returns ALSLess | ||
810 | * ALSImpl.ALSImpl_1_0 returns ALSLess | ||
811 | * ALSAnd returns ALSLess | ||
812 | * ALSAnd.ALSAnd_1_0 returns ALSLess | ||
813 | * ALSComparison returns ALSLess | ||
814 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSLess | ||
815 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSLess | ||
816 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSLess | ||
817 | * ALSComparison.ALSLess_1_0_3_0 returns ALSLess | ||
818 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSLess | ||
819 | * ALSComparison.ALSMore_1_0_5_0 returns ALSLess | ||
820 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSLess | ||
821 | * ALSOverride returns ALSLess | ||
822 | * ALSOverride.ALSOverride_1_0 returns ALSLess | ||
823 | * ALSRangeRestrictionRight returns ALSLess | ||
824 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSLess | ||
825 | * ALSRangeRestrictionLeft returns ALSLess | ||
826 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSLess | ||
827 | * ALSJoin returns ALSLess | ||
828 | * ALSJoin.ALSJoin_1_0 returns ALSLess | ||
829 | * ALSMinus returns ALSLess | ||
830 | * ALSMinus.ALSMinus_1_0 returns ALSLess | ||
831 | * ALSPlus returns ALSLess | ||
832 | * ALSPlus.ALSPlus_1_0 returns ALSLess | ||
833 | * ALSIntersection returns ALSLess | ||
834 | * ALSIntersection.ALSIntersection_1_0 returns ALSLess | ||
835 | * ALSDirectProduct returns ALSLess | ||
836 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSLess | ||
837 | * ALSPreficed returns ALSLess | ||
838 | * ALSBasicRelationTerm returns ALSLess | ||
839 | * | ||
840 | * Constraint: | ||
841 | * (leftOperand=ALSComparison_ALSLess_1_0_3_0 rightOperand=ALSOverride) | ||
842 | */ | ||
843 | protected void sequence_ALSComparison(ISerializationContext context, ALSLess semanticObject) { | ||
844 | if (errorAcceptor != null) { | ||
845 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__LEFT_OPERAND) == ValueTransient.YES) | ||
846 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__LEFT_OPERAND)); | ||
847 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__RIGHT_OPERAND) == ValueTransient.YES) | ||
848 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_LESS__RIGHT_OPERAND)); | ||
849 | } | ||
850 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
851 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSLessLeftOperandAction_1_0_3_0(), semanticObject.getLeftOperand()); | ||
852 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
853 | feeder.finish(); | ||
854 | } | ||
855 | |||
856 | |||
857 | /** | ||
858 | * Contexts: | ||
859 | * ALSTerm returns ALSMeq | ||
860 | * ALSQuantified returns ALSMeq | ||
861 | * ALSOr returns ALSMeq | ||
862 | * ALSOr.ALSOr_1_0 returns ALSMeq | ||
863 | * ALSIff returns ALSMeq | ||
864 | * ALSIff.ALSIff_1_0 returns ALSMeq | ||
865 | * ALSImpl returns ALSMeq | ||
866 | * ALSImpl.ALSImpl_1_0 returns ALSMeq | ||
867 | * ALSAnd returns ALSMeq | ||
868 | * ALSAnd.ALSAnd_1_0 returns ALSMeq | ||
869 | * ALSComparison returns ALSMeq | ||
870 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSMeq | ||
871 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMeq | ||
872 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSMeq | ||
873 | * ALSComparison.ALSLess_1_0_3_0 returns ALSMeq | ||
874 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSMeq | ||
875 | * ALSComparison.ALSMore_1_0_5_0 returns ALSMeq | ||
876 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSMeq | ||
877 | * ALSOverride returns ALSMeq | ||
878 | * ALSOverride.ALSOverride_1_0 returns ALSMeq | ||
879 | * ALSRangeRestrictionRight returns ALSMeq | ||
880 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMeq | ||
881 | * ALSRangeRestrictionLeft returns ALSMeq | ||
882 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMeq | ||
883 | * ALSJoin returns ALSMeq | ||
884 | * ALSJoin.ALSJoin_1_0 returns ALSMeq | ||
885 | * ALSMinus returns ALSMeq | ||
886 | * ALSMinus.ALSMinus_1_0 returns ALSMeq | ||
887 | * ALSPlus returns ALSMeq | ||
888 | * ALSPlus.ALSPlus_1_0 returns ALSMeq | ||
889 | * ALSIntersection returns ALSMeq | ||
890 | * ALSIntersection.ALSIntersection_1_0 returns ALSMeq | ||
891 | * ALSDirectProduct returns ALSMeq | ||
892 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMeq | ||
893 | * ALSPreficed returns ALSMeq | ||
894 | * ALSBasicRelationTerm returns ALSMeq | ||
895 | * | ||
896 | * Constraint: | ||
897 | * (leftOperand=ALSComparison_ALSMeq_1_0_6_0 rightOperand=ALSOverride) | ||
898 | */ | ||
899 | protected void sequence_ALSComparison(ISerializationContext context, ALSMeq semanticObject) { | ||
900 | if (errorAcceptor != null) { | ||
901 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__LEFT_OPERAND) == ValueTransient.YES) | ||
902 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__LEFT_OPERAND)); | ||
903 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__RIGHT_OPERAND) == ValueTransient.YES) | ||
904 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MEQ__RIGHT_OPERAND)); | ||
905 | } | ||
906 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
907 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSMeqLeftOperandAction_1_0_6_0(), semanticObject.getLeftOperand()); | ||
908 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
909 | feeder.finish(); | ||
910 | } | ||
911 | |||
912 | |||
913 | /** | ||
914 | * Contexts: | ||
915 | * ALSTerm returns ALSMore | ||
916 | * ALSQuantified returns ALSMore | ||
917 | * ALSOr returns ALSMore | ||
918 | * ALSOr.ALSOr_1_0 returns ALSMore | ||
919 | * ALSIff returns ALSMore | ||
920 | * ALSIff.ALSIff_1_0 returns ALSMore | ||
921 | * ALSImpl returns ALSMore | ||
922 | * ALSImpl.ALSImpl_1_0 returns ALSMore | ||
923 | * ALSAnd returns ALSMore | ||
924 | * ALSAnd.ALSAnd_1_0 returns ALSMore | ||
925 | * ALSComparison returns ALSMore | ||
926 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSMore | ||
927 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMore | ||
928 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSMore | ||
929 | * ALSComparison.ALSLess_1_0_3_0 returns ALSMore | ||
930 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSMore | ||
931 | * ALSComparison.ALSMore_1_0_5_0 returns ALSMore | ||
932 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSMore | ||
933 | * ALSOverride returns ALSMore | ||
934 | * ALSOverride.ALSOverride_1_0 returns ALSMore | ||
935 | * ALSRangeRestrictionRight returns ALSMore | ||
936 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMore | ||
937 | * ALSRangeRestrictionLeft returns ALSMore | ||
938 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMore | ||
939 | * ALSJoin returns ALSMore | ||
940 | * ALSJoin.ALSJoin_1_0 returns ALSMore | ||
941 | * ALSMinus returns ALSMore | ||
942 | * ALSMinus.ALSMinus_1_0 returns ALSMore | ||
943 | * ALSPlus returns ALSMore | ||
944 | * ALSPlus.ALSPlus_1_0 returns ALSMore | ||
945 | * ALSIntersection returns ALSMore | ||
946 | * ALSIntersection.ALSIntersection_1_0 returns ALSMore | ||
947 | * ALSDirectProduct returns ALSMore | ||
948 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMore | ||
949 | * ALSPreficed returns ALSMore | ||
950 | * ALSBasicRelationTerm returns ALSMore | ||
951 | * | ||
952 | * Constraint: | ||
953 | * (leftOperand=ALSComparison_ALSMore_1_0_5_0 rightOperand=ALSOverride) | ||
954 | */ | ||
955 | protected void sequence_ALSComparison(ISerializationContext context, ALSMore semanticObject) { | ||
956 | if (errorAcceptor != null) { | ||
957 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__LEFT_OPERAND) == ValueTransient.YES) | ||
958 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__LEFT_OPERAND)); | ||
959 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__RIGHT_OPERAND) == ValueTransient.YES) | ||
960 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MORE__RIGHT_OPERAND)); | ||
961 | } | ||
962 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
963 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSMoreLeftOperandAction_1_0_5_0(), semanticObject.getLeftOperand()); | ||
964 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
965 | feeder.finish(); | ||
966 | } | ||
967 | |||
968 | |||
969 | /** | ||
970 | * Contexts: | ||
971 | * ALSTerm returns ALSNotEquals | ||
972 | * ALSQuantified returns ALSNotEquals | ||
973 | * ALSOr returns ALSNotEquals | ||
974 | * ALSOr.ALSOr_1_0 returns ALSNotEquals | ||
975 | * ALSIff returns ALSNotEquals | ||
976 | * ALSIff.ALSIff_1_0 returns ALSNotEquals | ||
977 | * ALSImpl returns ALSNotEquals | ||
978 | * ALSImpl.ALSImpl_1_0 returns ALSNotEquals | ||
979 | * ALSAnd returns ALSNotEquals | ||
980 | * ALSAnd.ALSAnd_1_0 returns ALSNotEquals | ||
981 | * ALSComparison returns ALSNotEquals | ||
982 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSNotEquals | ||
983 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNotEquals | ||
984 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSNotEquals | ||
985 | * ALSComparison.ALSLess_1_0_3_0 returns ALSNotEquals | ||
986 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSNotEquals | ||
987 | * ALSComparison.ALSMore_1_0_5_0 returns ALSNotEquals | ||
988 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSNotEquals | ||
989 | * ALSOverride returns ALSNotEquals | ||
990 | * ALSOverride.ALSOverride_1_0 returns ALSNotEquals | ||
991 | * ALSRangeRestrictionRight returns ALSNotEquals | ||
992 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNotEquals | ||
993 | * ALSRangeRestrictionLeft returns ALSNotEquals | ||
994 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNotEquals | ||
995 | * ALSJoin returns ALSNotEquals | ||
996 | * ALSJoin.ALSJoin_1_0 returns ALSNotEquals | ||
997 | * ALSMinus returns ALSNotEquals | ||
998 | * ALSMinus.ALSMinus_1_0 returns ALSNotEquals | ||
999 | * ALSPlus returns ALSNotEquals | ||
1000 | * ALSPlus.ALSPlus_1_0 returns ALSNotEquals | ||
1001 | * ALSIntersection returns ALSNotEquals | ||
1002 | * ALSIntersection.ALSIntersection_1_0 returns ALSNotEquals | ||
1003 | * ALSDirectProduct returns ALSNotEquals | ||
1004 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNotEquals | ||
1005 | * ALSPreficed returns ALSNotEquals | ||
1006 | * ALSBasicRelationTerm returns ALSNotEquals | ||
1007 | * | ||
1008 | * Constraint: | ||
1009 | * (leftOperand=ALSComparison_ALSNotEquals_1_0_1_0 rightOperand=ALSOverride) | ||
1010 | */ | ||
1011 | protected void sequence_ALSComparison(ISerializationContext context, ALSNotEquals semanticObject) { | ||
1012 | if (errorAcceptor != null) { | ||
1013 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__LEFT_OPERAND) == ValueTransient.YES) | ||
1014 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__LEFT_OPERAND)); | ||
1015 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__RIGHT_OPERAND) == ValueTransient.YES) | ||
1016 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT_EQUALS__RIGHT_OPERAND)); | ||
1017 | } | ||
1018 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1019 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSNotEqualsLeftOperandAction_1_0_1_0(), semanticObject.getLeftOperand()); | ||
1020 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
1021 | feeder.finish(); | ||
1022 | } | ||
1023 | |||
1024 | |||
1025 | /** | ||
1026 | * Contexts: | ||
1027 | * ALSTerm returns ALSSubset | ||
1028 | * ALSQuantified returns ALSSubset | ||
1029 | * ALSOr returns ALSSubset | ||
1030 | * ALSOr.ALSOr_1_0 returns ALSSubset | ||
1031 | * ALSIff returns ALSSubset | ||
1032 | * ALSIff.ALSIff_1_0 returns ALSSubset | ||
1033 | * ALSImpl returns ALSSubset | ||
1034 | * ALSImpl.ALSImpl_1_0 returns ALSSubset | ||
1035 | * ALSAnd returns ALSSubset | ||
1036 | * ALSAnd.ALSAnd_1_0 returns ALSSubset | ||
1037 | * ALSComparison returns ALSSubset | ||
1038 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSSubset | ||
1039 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSSubset | ||
1040 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSSubset | ||
1041 | * ALSComparison.ALSLess_1_0_3_0 returns ALSSubset | ||
1042 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSSubset | ||
1043 | * ALSComparison.ALSMore_1_0_5_0 returns ALSSubset | ||
1044 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSSubset | ||
1045 | * ALSOverride returns ALSSubset | ||
1046 | * ALSOverride.ALSOverride_1_0 returns ALSSubset | ||
1047 | * ALSRangeRestrictionRight returns ALSSubset | ||
1048 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSSubset | ||
1049 | * ALSRangeRestrictionLeft returns ALSSubset | ||
1050 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSSubset | ||
1051 | * ALSJoin returns ALSSubset | ||
1052 | * ALSJoin.ALSJoin_1_0 returns ALSSubset | ||
1053 | * ALSMinus returns ALSSubset | ||
1054 | * ALSMinus.ALSMinus_1_0 returns ALSSubset | ||
1055 | * ALSPlus returns ALSSubset | ||
1056 | * ALSPlus.ALSPlus_1_0 returns ALSSubset | ||
1057 | * ALSIntersection returns ALSSubset | ||
1058 | * ALSIntersection.ALSIntersection_1_0 returns ALSSubset | ||
1059 | * ALSDirectProduct returns ALSSubset | ||
1060 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSSubset | ||
1061 | * ALSPreficed returns ALSSubset | ||
1062 | * ALSBasicRelationTerm returns ALSSubset | ||
1063 | * | ||
1064 | * Constraint: | ||
1065 | * (leftOperand=ALSComparison_ALSSubset_1_0_2_0 rightOperand=ALSOverride) | ||
1066 | */ | ||
1067 | protected void sequence_ALSComparison(ISerializationContext context, ALSSubset semanticObject) { | ||
1068 | if (errorAcceptor != null) { | ||
1069 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__LEFT_OPERAND) == ValueTransient.YES) | ||
1070 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__LEFT_OPERAND)); | ||
1071 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__RIGHT_OPERAND) == ValueTransient.YES) | ||
1072 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_SUBSET__RIGHT_OPERAND)); | ||
1073 | } | ||
1074 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1075 | feeder.accept(grammarAccess.getALSComparisonAccess().getALSSubsetLeftOperandAction_1_0_2_0(), semanticObject.getLeftOperand()); | ||
1076 | feeder.accept(grammarAccess.getALSComparisonAccess().getRightOperandALSOverrideParserRuleCall_1_1_0(), semanticObject.getRightOperand()); | ||
1077 | feeder.finish(); | ||
1078 | } | ||
1079 | |||
1080 | |||
1081 | /** | ||
1082 | * Contexts: | ||
1083 | * ALSTerm returns ALSDirectProduct | ||
1084 | * ALSQuantified returns ALSDirectProduct | ||
1085 | * ALSOr returns ALSDirectProduct | ||
1086 | * ALSOr.ALSOr_1_0 returns ALSDirectProduct | ||
1087 | * ALSIff returns ALSDirectProduct | ||
1088 | * ALSIff.ALSIff_1_0 returns ALSDirectProduct | ||
1089 | * ALSImpl returns ALSDirectProduct | ||
1090 | * ALSImpl.ALSImpl_1_0 returns ALSDirectProduct | ||
1091 | * ALSAnd returns ALSDirectProduct | ||
1092 | * ALSAnd.ALSAnd_1_0 returns ALSDirectProduct | ||
1093 | * ALSComparison returns ALSDirectProduct | ||
1094 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSDirectProduct | ||
1095 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSDirectProduct | ||
1096 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSDirectProduct | ||
1097 | * ALSComparison.ALSLess_1_0_3_0 returns ALSDirectProduct | ||
1098 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSDirectProduct | ||
1099 | * ALSComparison.ALSMore_1_0_5_0 returns ALSDirectProduct | ||
1100 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSDirectProduct | ||
1101 | * ALSOverride returns ALSDirectProduct | ||
1102 | * ALSOverride.ALSOverride_1_0 returns ALSDirectProduct | ||
1103 | * ALSRangeRestrictionRight returns ALSDirectProduct | ||
1104 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSDirectProduct | ||
1105 | * ALSRangeRestrictionLeft returns ALSDirectProduct | ||
1106 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSDirectProduct | ||
1107 | * ALSJoin returns ALSDirectProduct | ||
1108 | * ALSJoin.ALSJoin_1_0 returns ALSDirectProduct | ||
1109 | * ALSMinus returns ALSDirectProduct | ||
1110 | * ALSMinus.ALSMinus_1_0 returns ALSDirectProduct | ||
1111 | * ALSPlus returns ALSDirectProduct | ||
1112 | * ALSPlus.ALSPlus_1_0 returns ALSDirectProduct | ||
1113 | * ALSIntersection returns ALSDirectProduct | ||
1114 | * ALSIntersection.ALSIntersection_1_0 returns ALSDirectProduct | ||
1115 | * ALSDirectProduct returns ALSDirectProduct | ||
1116 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSDirectProduct | ||
1117 | * ALSPreficed returns ALSDirectProduct | ||
1118 | * ALSBasicRelationTerm returns ALSDirectProduct | ||
1119 | * | ||
1120 | * Constraint: | ||
1121 | * (leftOperand=ALSDirectProduct_ALSDirectProduct_1_0 leftMultiplicit=ALSMultiplicity? rightMultiplicit=ALSMultiplicity? rightOperand=ALSPreficed) | ||
1122 | */ | ||
1123 | protected void sequence_ALSDirectProduct(ISerializationContext context, ALSDirectProduct semanticObject) { | ||
1124 | genericSequencer.createSequence(context, semanticObject); | ||
1125 | } | ||
1126 | |||
1127 | |||
1128 | /** | ||
1129 | * Contexts: | ||
1130 | * ALSDocument returns ALSDocument | ||
1131 | * | ||
1132 | * Constraint: | ||
1133 | * ( | ||
1134 | * ( | ||
1135 | * enumDeclarations+=ALSEnumDeclaration | | ||
1136 | * signatureBodies+=ALSSignatureBody | | ||
1137 | * functionDefinitions+=ALSFunctionDefinition | | ||
1138 | * relationDefinitions+=ALSRelationDefinition | | ||
1139 | * factDeclarations+=ALSFactDeclaration | ||
1140 | * )+ | ||
1141 | * runCommand=ALSRunCommand | ||
1142 | * ) | ||
1143 | */ | ||
1144 | protected void sequence_ALSDocument(ISerializationContext context, ALSDocument semanticObject) { | ||
1145 | genericSequencer.createSequence(context, semanticObject); | ||
1146 | } | ||
1147 | |||
1148 | |||
1149 | /** | ||
1150 | * Contexts: | ||
1151 | * ALSRelationDeclaration returns ALSEnumDeclaration | ||
1152 | * ALSTypeDeclaration returns ALSEnumDeclaration | ||
1153 | * ALSEnumDeclaration returns ALSEnumDeclaration | ||
1154 | * | ||
1155 | * Constraint: | ||
1156 | * (name=ALSID literal+=ALSEnumLiteral literal+=ALSEnumLiteral*) | ||
1157 | */ | ||
1158 | protected void sequence_ALSEnumDeclaration(ISerializationContext context, ALSEnumDeclaration semanticObject) { | ||
1159 | genericSequencer.createSequence(context, semanticObject); | ||
1160 | } | ||
1161 | |||
1162 | |||
1163 | /** | ||
1164 | * Contexts: | ||
1165 | * ALSRelationDeclaration returns ALSEnumLiteral | ||
1166 | * ALSEnumLiteral returns ALSEnumLiteral | ||
1167 | * | ||
1168 | * Constraint: | ||
1169 | * name=ALSID | ||
1170 | */ | ||
1171 | protected void sequence_ALSEnumLiteral(ISerializationContext context, ALSEnumLiteral semanticObject) { | ||
1172 | if (errorAcceptor != null) { | ||
1173 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES) | ||
1174 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME)); | ||
1175 | } | ||
1176 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1177 | feeder.accept(grammarAccess.getALSEnumLiteralAccess().getNameALSIDParserRuleCall_0(), semanticObject.getName()); | ||
1178 | feeder.finish(); | ||
1179 | } | ||
1180 | |||
1181 | |||
1182 | /** | ||
1183 | * Contexts: | ||
1184 | * ALSFactDeclaration returns ALSFactDeclaration | ||
1185 | * | ||
1186 | * Constraint: | ||
1187 | * (name=ALSID? term=ALSTerm) | ||
1188 | */ | ||
1189 | protected void sequence_ALSFactDeclaration(ISerializationContext context, ALSFactDeclaration semanticObject) { | ||
1190 | genericSequencer.createSequence(context, semanticObject); | ||
1191 | } | ||
1192 | |||
1193 | |||
1194 | /** | ||
1195 | * Contexts: | ||
1196 | * ALSRelationDeclaration returns ALSFieldDeclaration | ||
1197 | * ALSFieldDeclaration returns ALSFieldDeclaration | ||
1198 | * | ||
1199 | * Constraint: | ||
1200 | * (name=ALSID multiplicity=ALSMultiplicity? type=ALSTerm) | ||
1201 | */ | ||
1202 | protected void sequence_ALSFieldDeclaration(ISerializationContext context, ALSFieldDeclaration semanticObject) { | ||
1203 | genericSequencer.createSequence(context, semanticObject); | ||
1204 | } | ||
1205 | |||
1206 | |||
1207 | /** | ||
1208 | * Contexts: | ||
1209 | * ALSDefinition returns ALSFunctionDefinition | ||
1210 | * ALSFunctionDefinition returns ALSFunctionDefinition | ||
1211 | * | ||
1212 | * Constraint: | ||
1213 | * (name=ALSID variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* type=ALSTerm value=ALSTerm) | ||
1214 | */ | ||
1215 | protected void sequence_ALSFunctionDefinition(ISerializationContext context, ALSFunctionDefinition semanticObject) { | ||
1216 | genericSequencer.createSequence(context, semanticObject); | ||
1217 | } | ||
1218 | |||
1219 | |||
1220 | /** | ||
1221 | * Contexts: | ||
1222 | * ALSTerm returns ALSIff | ||
1223 | * ALSQuantified returns ALSIff | ||
1224 | * ALSOr returns ALSIff | ||
1225 | * ALSOr.ALSOr_1_0 returns ALSIff | ||
1226 | * ALSIff returns ALSIff | ||
1227 | * ALSIff.ALSIff_1_0 returns ALSIff | ||
1228 | * ALSImpl returns ALSIff | ||
1229 | * ALSImpl.ALSImpl_1_0 returns ALSIff | ||
1230 | * ALSAnd returns ALSIff | ||
1231 | * ALSAnd.ALSAnd_1_0 returns ALSIff | ||
1232 | * ALSComparison returns ALSIff | ||
1233 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSIff | ||
1234 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIff | ||
1235 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSIff | ||
1236 | * ALSComparison.ALSLess_1_0_3_0 returns ALSIff | ||
1237 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSIff | ||
1238 | * ALSComparison.ALSMore_1_0_5_0 returns ALSIff | ||
1239 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSIff | ||
1240 | * ALSOverride returns ALSIff | ||
1241 | * ALSOverride.ALSOverride_1_0 returns ALSIff | ||
1242 | * ALSRangeRestrictionRight returns ALSIff | ||
1243 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIff | ||
1244 | * ALSRangeRestrictionLeft returns ALSIff | ||
1245 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIff | ||
1246 | * ALSJoin returns ALSIff | ||
1247 | * ALSJoin.ALSJoin_1_0 returns ALSIff | ||
1248 | * ALSMinus returns ALSIff | ||
1249 | * ALSMinus.ALSMinus_1_0 returns ALSIff | ||
1250 | * ALSPlus returns ALSIff | ||
1251 | * ALSPlus.ALSPlus_1_0 returns ALSIff | ||
1252 | * ALSIntersection returns ALSIff | ||
1253 | * ALSIntersection.ALSIntersection_1_0 returns ALSIff | ||
1254 | * ALSDirectProduct returns ALSIff | ||
1255 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIff | ||
1256 | * ALSPreficed returns ALSIff | ||
1257 | * ALSBasicRelationTerm returns ALSIff | ||
1258 | * | ||
1259 | * Constraint: | ||
1260 | * (leftOperand=ALSIff_ALSIff_1_0 rightOperand=ALSImpl) | ||
1261 | */ | ||
1262 | protected void sequence_ALSIff(ISerializationContext context, ALSIff semanticObject) { | ||
1263 | if (errorAcceptor != null) { | ||
1264 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__LEFT_OPERAND) == ValueTransient.YES) | ||
1265 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__LEFT_OPERAND)); | ||
1266 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__RIGHT_OPERAND) == ValueTransient.YES) | ||
1267 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_IFF__RIGHT_OPERAND)); | ||
1268 | } | ||
1269 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1270 | feeder.accept(grammarAccess.getALSIffAccess().getALSIffLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1271 | feeder.accept(grammarAccess.getALSIffAccess().getRightOperandALSImplParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1272 | feeder.finish(); | ||
1273 | } | ||
1274 | |||
1275 | |||
1276 | /** | ||
1277 | * Contexts: | ||
1278 | * ALSTerm returns ALSImpl | ||
1279 | * ALSQuantified returns ALSImpl | ||
1280 | * ALSOr returns ALSImpl | ||
1281 | * ALSOr.ALSOr_1_0 returns ALSImpl | ||
1282 | * ALSIff returns ALSImpl | ||
1283 | * ALSIff.ALSIff_1_0 returns ALSImpl | ||
1284 | * ALSImpl returns ALSImpl | ||
1285 | * ALSImpl.ALSImpl_1_0 returns ALSImpl | ||
1286 | * ALSAnd returns ALSImpl | ||
1287 | * ALSAnd.ALSAnd_1_0 returns ALSImpl | ||
1288 | * ALSComparison returns ALSImpl | ||
1289 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSImpl | ||
1290 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSImpl | ||
1291 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSImpl | ||
1292 | * ALSComparison.ALSLess_1_0_3_0 returns ALSImpl | ||
1293 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSImpl | ||
1294 | * ALSComparison.ALSMore_1_0_5_0 returns ALSImpl | ||
1295 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSImpl | ||
1296 | * ALSOverride returns ALSImpl | ||
1297 | * ALSOverride.ALSOverride_1_0 returns ALSImpl | ||
1298 | * ALSRangeRestrictionRight returns ALSImpl | ||
1299 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSImpl | ||
1300 | * ALSRangeRestrictionLeft returns ALSImpl | ||
1301 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSImpl | ||
1302 | * ALSJoin returns ALSImpl | ||
1303 | * ALSJoin.ALSJoin_1_0 returns ALSImpl | ||
1304 | * ALSMinus returns ALSImpl | ||
1305 | * ALSMinus.ALSMinus_1_0 returns ALSImpl | ||
1306 | * ALSPlus returns ALSImpl | ||
1307 | * ALSPlus.ALSPlus_1_0 returns ALSImpl | ||
1308 | * ALSIntersection returns ALSImpl | ||
1309 | * ALSIntersection.ALSIntersection_1_0 returns ALSImpl | ||
1310 | * ALSDirectProduct returns ALSImpl | ||
1311 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSImpl | ||
1312 | * ALSPreficed returns ALSImpl | ||
1313 | * ALSBasicRelationTerm returns ALSImpl | ||
1314 | * | ||
1315 | * Constraint: | ||
1316 | * (leftOperand=ALSImpl_ALSImpl_1_0 rightOperand=ALSAnd elseOperand=ALSAnd?) | ||
1317 | */ | ||
1318 | protected void sequence_ALSImpl(ISerializationContext context, ALSImpl semanticObject) { | ||
1319 | genericSequencer.createSequence(context, semanticObject); | ||
1320 | } | ||
1321 | |||
1322 | |||
1323 | /** | ||
1324 | * Contexts: | ||
1325 | * ALSTypeScope returns ALSIntScope | ||
1326 | * ALSIntScope returns ALSIntScope | ||
1327 | * | ||
1328 | * Constraint: | ||
1329 | * number=INT | ||
1330 | */ | ||
1331 | protected void sequence_ALSIntScope(ISerializationContext context, ALSIntScope semanticObject) { | ||
1332 | if (errorAcceptor != null) { | ||
1333 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER) == ValueTransient.YES) | ||
1334 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER)); | ||
1335 | } | ||
1336 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1337 | feeder.accept(grammarAccess.getALSIntScopeAccess().getNumberINTTerminalRuleCall_0_0(), semanticObject.getNumber()); | ||
1338 | feeder.finish(); | ||
1339 | } | ||
1340 | |||
1341 | |||
1342 | /** | ||
1343 | * Contexts: | ||
1344 | * ALSTerm returns ALSIntersection | ||
1345 | * ALSQuantified returns ALSIntersection | ||
1346 | * ALSOr returns ALSIntersection | ||
1347 | * ALSOr.ALSOr_1_0 returns ALSIntersection | ||
1348 | * ALSIff returns ALSIntersection | ||
1349 | * ALSIff.ALSIff_1_0 returns ALSIntersection | ||
1350 | * ALSImpl returns ALSIntersection | ||
1351 | * ALSImpl.ALSImpl_1_0 returns ALSIntersection | ||
1352 | * ALSAnd returns ALSIntersection | ||
1353 | * ALSAnd.ALSAnd_1_0 returns ALSIntersection | ||
1354 | * ALSComparison returns ALSIntersection | ||
1355 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSIntersection | ||
1356 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSIntersection | ||
1357 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSIntersection | ||
1358 | * ALSComparison.ALSLess_1_0_3_0 returns ALSIntersection | ||
1359 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSIntersection | ||
1360 | * ALSComparison.ALSMore_1_0_5_0 returns ALSIntersection | ||
1361 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSIntersection | ||
1362 | * ALSOverride returns ALSIntersection | ||
1363 | * ALSOverride.ALSOverride_1_0 returns ALSIntersection | ||
1364 | * ALSRangeRestrictionRight returns ALSIntersection | ||
1365 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSIntersection | ||
1366 | * ALSRangeRestrictionLeft returns ALSIntersection | ||
1367 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSIntersection | ||
1368 | * ALSJoin returns ALSIntersection | ||
1369 | * ALSJoin.ALSJoin_1_0 returns ALSIntersection | ||
1370 | * ALSMinus returns ALSIntersection | ||
1371 | * ALSMinus.ALSMinus_1_0 returns ALSIntersection | ||
1372 | * ALSPlus returns ALSIntersection | ||
1373 | * ALSPlus.ALSPlus_1_0 returns ALSIntersection | ||
1374 | * ALSIntersection returns ALSIntersection | ||
1375 | * ALSIntersection.ALSIntersection_1_0 returns ALSIntersection | ||
1376 | * ALSDirectProduct returns ALSIntersection | ||
1377 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSIntersection | ||
1378 | * ALSPreficed returns ALSIntersection | ||
1379 | * ALSBasicRelationTerm returns ALSIntersection | ||
1380 | * | ||
1381 | * Constraint: | ||
1382 | * (leftOperand=ALSIntersection_ALSIntersection_1_0 rightOperand=ALSDirectProduct) | ||
1383 | */ | ||
1384 | protected void sequence_ALSIntersection(ISerializationContext context, ALSIntersection semanticObject) { | ||
1385 | if (errorAcceptor != null) { | ||
1386 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__LEFT_OPERAND) == ValueTransient.YES) | ||
1387 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__LEFT_OPERAND)); | ||
1388 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__RIGHT_OPERAND) == ValueTransient.YES) | ||
1389 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INTERSECTION__RIGHT_OPERAND)); | ||
1390 | } | ||
1391 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1392 | feeder.accept(grammarAccess.getALSIntersectionAccess().getALSIntersectionLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1393 | feeder.accept(grammarAccess.getALSIntersectionAccess().getRightOperandALSDirectProductParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1394 | feeder.finish(); | ||
1395 | } | ||
1396 | |||
1397 | |||
1398 | /** | ||
1399 | * Contexts: | ||
1400 | * ALSTerm returns ALSJoin | ||
1401 | * ALSQuantified returns ALSJoin | ||
1402 | * ALSOr returns ALSJoin | ||
1403 | * ALSOr.ALSOr_1_0 returns ALSJoin | ||
1404 | * ALSIff returns ALSJoin | ||
1405 | * ALSIff.ALSIff_1_0 returns ALSJoin | ||
1406 | * ALSImpl returns ALSJoin | ||
1407 | * ALSImpl.ALSImpl_1_0 returns ALSJoin | ||
1408 | * ALSAnd returns ALSJoin | ||
1409 | * ALSAnd.ALSAnd_1_0 returns ALSJoin | ||
1410 | * ALSComparison returns ALSJoin | ||
1411 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSJoin | ||
1412 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSJoin | ||
1413 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSJoin | ||
1414 | * ALSComparison.ALSLess_1_0_3_0 returns ALSJoin | ||
1415 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSJoin | ||
1416 | * ALSComparison.ALSMore_1_0_5_0 returns ALSJoin | ||
1417 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSJoin | ||
1418 | * ALSOverride returns ALSJoin | ||
1419 | * ALSOverride.ALSOverride_1_0 returns ALSJoin | ||
1420 | * ALSRangeRestrictionRight returns ALSJoin | ||
1421 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSJoin | ||
1422 | * ALSRangeRestrictionLeft returns ALSJoin | ||
1423 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSJoin | ||
1424 | * ALSJoin returns ALSJoin | ||
1425 | * ALSJoin.ALSJoin_1_0 returns ALSJoin | ||
1426 | * ALSMinus returns ALSJoin | ||
1427 | * ALSMinus.ALSMinus_1_0 returns ALSJoin | ||
1428 | * ALSPlus returns ALSJoin | ||
1429 | * ALSPlus.ALSPlus_1_0 returns ALSJoin | ||
1430 | * ALSIntersection returns ALSJoin | ||
1431 | * ALSIntersection.ALSIntersection_1_0 returns ALSJoin | ||
1432 | * ALSDirectProduct returns ALSJoin | ||
1433 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSJoin | ||
1434 | * ALSPreficed returns ALSJoin | ||
1435 | * ALSBasicRelationTerm returns ALSJoin | ||
1436 | * | ||
1437 | * Constraint: | ||
1438 | * (leftOperand=ALSJoin_ALSJoin_1_0 rightOperand=ALSMinus) | ||
1439 | */ | ||
1440 | protected void sequence_ALSJoin(ISerializationContext context, ALSJoin semanticObject) { | ||
1441 | if (errorAcceptor != null) { | ||
1442 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__LEFT_OPERAND) == ValueTransient.YES) | ||
1443 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__LEFT_OPERAND)); | ||
1444 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__RIGHT_OPERAND) == ValueTransient.YES) | ||
1445 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_JOIN__RIGHT_OPERAND)); | ||
1446 | } | ||
1447 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1448 | feeder.accept(grammarAccess.getALSJoinAccess().getALSJoinLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1449 | feeder.accept(grammarAccess.getALSJoinAccess().getRightOperandALSMinusParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1450 | feeder.finish(); | ||
1451 | } | ||
1452 | |||
1453 | |||
1454 | /** | ||
1455 | * Contexts: | ||
1456 | * ALSTerm returns ALSMinus | ||
1457 | * ALSQuantified returns ALSMinus | ||
1458 | * ALSOr returns ALSMinus | ||
1459 | * ALSOr.ALSOr_1_0 returns ALSMinus | ||
1460 | * ALSIff returns ALSMinus | ||
1461 | * ALSIff.ALSIff_1_0 returns ALSMinus | ||
1462 | * ALSImpl returns ALSMinus | ||
1463 | * ALSImpl.ALSImpl_1_0 returns ALSMinus | ||
1464 | * ALSAnd returns ALSMinus | ||
1465 | * ALSAnd.ALSAnd_1_0 returns ALSMinus | ||
1466 | * ALSComparison returns ALSMinus | ||
1467 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSMinus | ||
1468 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSMinus | ||
1469 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSMinus | ||
1470 | * ALSComparison.ALSLess_1_0_3_0 returns ALSMinus | ||
1471 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSMinus | ||
1472 | * ALSComparison.ALSMore_1_0_5_0 returns ALSMinus | ||
1473 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSMinus | ||
1474 | * ALSOverride returns ALSMinus | ||
1475 | * ALSOverride.ALSOverride_1_0 returns ALSMinus | ||
1476 | * ALSRangeRestrictionRight returns ALSMinus | ||
1477 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSMinus | ||
1478 | * ALSRangeRestrictionLeft returns ALSMinus | ||
1479 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSMinus | ||
1480 | * ALSJoin returns ALSMinus | ||
1481 | * ALSJoin.ALSJoin_1_0 returns ALSMinus | ||
1482 | * ALSMinus returns ALSMinus | ||
1483 | * ALSMinus.ALSMinus_1_0 returns ALSMinus | ||
1484 | * ALSPlus returns ALSMinus | ||
1485 | * ALSPlus.ALSPlus_1_0 returns ALSMinus | ||
1486 | * ALSIntersection returns ALSMinus | ||
1487 | * ALSIntersection.ALSIntersection_1_0 returns ALSMinus | ||
1488 | * ALSDirectProduct returns ALSMinus | ||
1489 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSMinus | ||
1490 | * ALSPreficed returns ALSMinus | ||
1491 | * ALSBasicRelationTerm returns ALSMinus | ||
1492 | * | ||
1493 | * Constraint: | ||
1494 | * (leftOperand=ALSMinus_ALSMinus_1_0 rightOperand=ALSPlus) | ||
1495 | */ | ||
1496 | protected void sequence_ALSMinus(ISerializationContext context, ALSMinus semanticObject) { | ||
1497 | if (errorAcceptor != null) { | ||
1498 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__LEFT_OPERAND) == ValueTransient.YES) | ||
1499 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__LEFT_OPERAND)); | ||
1500 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__RIGHT_OPERAND) == ValueTransient.YES) | ||
1501 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_MINUS__RIGHT_OPERAND)); | ||
1502 | } | ||
1503 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1504 | feeder.accept(grammarAccess.getALSMinusAccess().getALSMinusLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1505 | feeder.accept(grammarAccess.getALSMinusAccess().getRightOperandALSPlusParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1506 | feeder.finish(); | ||
1507 | } | ||
1508 | |||
1509 | |||
1510 | /** | ||
1511 | * Contexts: | ||
1512 | * ALSTerm returns ALSOr | ||
1513 | * ALSQuantified returns ALSOr | ||
1514 | * ALSOr returns ALSOr | ||
1515 | * ALSOr.ALSOr_1_0 returns ALSOr | ||
1516 | * ALSIff returns ALSOr | ||
1517 | * ALSIff.ALSIff_1_0 returns ALSOr | ||
1518 | * ALSImpl returns ALSOr | ||
1519 | * ALSImpl.ALSImpl_1_0 returns ALSOr | ||
1520 | * ALSAnd returns ALSOr | ||
1521 | * ALSAnd.ALSAnd_1_0 returns ALSOr | ||
1522 | * ALSComparison returns ALSOr | ||
1523 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSOr | ||
1524 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSOr | ||
1525 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSOr | ||
1526 | * ALSComparison.ALSLess_1_0_3_0 returns ALSOr | ||
1527 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSOr | ||
1528 | * ALSComparison.ALSMore_1_0_5_0 returns ALSOr | ||
1529 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSOr | ||
1530 | * ALSOverride returns ALSOr | ||
1531 | * ALSOverride.ALSOverride_1_0 returns ALSOr | ||
1532 | * ALSRangeRestrictionRight returns ALSOr | ||
1533 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSOr | ||
1534 | * ALSRangeRestrictionLeft returns ALSOr | ||
1535 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSOr | ||
1536 | * ALSJoin returns ALSOr | ||
1537 | * ALSJoin.ALSJoin_1_0 returns ALSOr | ||
1538 | * ALSMinus returns ALSOr | ||
1539 | * ALSMinus.ALSMinus_1_0 returns ALSOr | ||
1540 | * ALSPlus returns ALSOr | ||
1541 | * ALSPlus.ALSPlus_1_0 returns ALSOr | ||
1542 | * ALSIntersection returns ALSOr | ||
1543 | * ALSIntersection.ALSIntersection_1_0 returns ALSOr | ||
1544 | * ALSDirectProduct returns ALSOr | ||
1545 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSOr | ||
1546 | * ALSPreficed returns ALSOr | ||
1547 | * ALSBasicRelationTerm returns ALSOr | ||
1548 | * | ||
1549 | * Constraint: | ||
1550 | * (leftOperand=ALSOr_ALSOr_1_0 rightOperand=ALSIff) | ||
1551 | */ | ||
1552 | protected void sequence_ALSOr(ISerializationContext context, ALSOr semanticObject) { | ||
1553 | if (errorAcceptor != null) { | ||
1554 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__LEFT_OPERAND) == ValueTransient.YES) | ||
1555 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__LEFT_OPERAND)); | ||
1556 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__RIGHT_OPERAND) == ValueTransient.YES) | ||
1557 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OR__RIGHT_OPERAND)); | ||
1558 | } | ||
1559 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1560 | feeder.accept(grammarAccess.getALSOrAccess().getALSOrLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1561 | feeder.accept(grammarAccess.getALSOrAccess().getRightOperandALSIffParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1562 | feeder.finish(); | ||
1563 | } | ||
1564 | |||
1565 | |||
1566 | /** | ||
1567 | * Contexts: | ||
1568 | * ALSTerm returns ALSOverride | ||
1569 | * ALSQuantified returns ALSOverride | ||
1570 | * ALSOr returns ALSOverride | ||
1571 | * ALSOr.ALSOr_1_0 returns ALSOverride | ||
1572 | * ALSIff returns ALSOverride | ||
1573 | * ALSIff.ALSIff_1_0 returns ALSOverride | ||
1574 | * ALSImpl returns ALSOverride | ||
1575 | * ALSImpl.ALSImpl_1_0 returns ALSOverride | ||
1576 | * ALSAnd returns ALSOverride | ||
1577 | * ALSAnd.ALSAnd_1_0 returns ALSOverride | ||
1578 | * ALSComparison returns ALSOverride | ||
1579 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSOverride | ||
1580 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSOverride | ||
1581 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSOverride | ||
1582 | * ALSComparison.ALSLess_1_0_3_0 returns ALSOverride | ||
1583 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSOverride | ||
1584 | * ALSComparison.ALSMore_1_0_5_0 returns ALSOverride | ||
1585 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSOverride | ||
1586 | * ALSOverride returns ALSOverride | ||
1587 | * ALSOverride.ALSOverride_1_0 returns ALSOverride | ||
1588 | * ALSRangeRestrictionRight returns ALSOverride | ||
1589 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSOverride | ||
1590 | * ALSRangeRestrictionLeft returns ALSOverride | ||
1591 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSOverride | ||
1592 | * ALSJoin returns ALSOverride | ||
1593 | * ALSJoin.ALSJoin_1_0 returns ALSOverride | ||
1594 | * ALSMinus returns ALSOverride | ||
1595 | * ALSMinus.ALSMinus_1_0 returns ALSOverride | ||
1596 | * ALSPlus returns ALSOverride | ||
1597 | * ALSPlus.ALSPlus_1_0 returns ALSOverride | ||
1598 | * ALSIntersection returns ALSOverride | ||
1599 | * ALSIntersection.ALSIntersection_1_0 returns ALSOverride | ||
1600 | * ALSDirectProduct returns ALSOverride | ||
1601 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSOverride | ||
1602 | * ALSPreficed returns ALSOverride | ||
1603 | * ALSBasicRelationTerm returns ALSOverride | ||
1604 | * | ||
1605 | * Constraint: | ||
1606 | * (leftOperand=ALSOverride_ALSOverride_1_0 rightOperand=ALSRangeRestrictionRight) | ||
1607 | */ | ||
1608 | protected void sequence_ALSOverride(ISerializationContext context, ALSOverride semanticObject) { | ||
1609 | if (errorAcceptor != null) { | ||
1610 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__LEFT_OPERAND) == ValueTransient.YES) | ||
1611 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__LEFT_OPERAND)); | ||
1612 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__RIGHT_OPERAND) == ValueTransient.YES) | ||
1613 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_OVERRIDE__RIGHT_OPERAND)); | ||
1614 | } | ||
1615 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1616 | feeder.accept(grammarAccess.getALSOverrideAccess().getALSOverrideLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1617 | feeder.accept(grammarAccess.getALSOverrideAccess().getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1618 | feeder.finish(); | ||
1619 | } | ||
1620 | |||
1621 | |||
1622 | /** | ||
1623 | * Contexts: | ||
1624 | * ALSTerm returns ALSPlus | ||
1625 | * ALSQuantified returns ALSPlus | ||
1626 | * ALSOr returns ALSPlus | ||
1627 | * ALSOr.ALSOr_1_0 returns ALSPlus | ||
1628 | * ALSIff returns ALSPlus | ||
1629 | * ALSIff.ALSIff_1_0 returns ALSPlus | ||
1630 | * ALSImpl returns ALSPlus | ||
1631 | * ALSImpl.ALSImpl_1_0 returns ALSPlus | ||
1632 | * ALSAnd returns ALSPlus | ||
1633 | * ALSAnd.ALSAnd_1_0 returns ALSPlus | ||
1634 | * ALSComparison returns ALSPlus | ||
1635 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSPlus | ||
1636 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSPlus | ||
1637 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSPlus | ||
1638 | * ALSComparison.ALSLess_1_0_3_0 returns ALSPlus | ||
1639 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSPlus | ||
1640 | * ALSComparison.ALSMore_1_0_5_0 returns ALSPlus | ||
1641 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSPlus | ||
1642 | * ALSOverride returns ALSPlus | ||
1643 | * ALSOverride.ALSOverride_1_0 returns ALSPlus | ||
1644 | * ALSRangeRestrictionRight returns ALSPlus | ||
1645 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSPlus | ||
1646 | * ALSRangeRestrictionLeft returns ALSPlus | ||
1647 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSPlus | ||
1648 | * ALSJoin returns ALSPlus | ||
1649 | * ALSJoin.ALSJoin_1_0 returns ALSPlus | ||
1650 | * ALSMinus returns ALSPlus | ||
1651 | * ALSMinus.ALSMinus_1_0 returns ALSPlus | ||
1652 | * ALSPlus returns ALSPlus | ||
1653 | * ALSPlus.ALSPlus_1_0 returns ALSPlus | ||
1654 | * ALSIntersection returns ALSPlus | ||
1655 | * ALSIntersection.ALSIntersection_1_0 returns ALSPlus | ||
1656 | * ALSDirectProduct returns ALSPlus | ||
1657 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSPlus | ||
1658 | * ALSPreficed returns ALSPlus | ||
1659 | * ALSBasicRelationTerm returns ALSPlus | ||
1660 | * | ||
1661 | * Constraint: | ||
1662 | * (leftOperand=ALSPlus_ALSPlus_1_0 rightOperand=ALSIntersection) | ||
1663 | */ | ||
1664 | protected void sequence_ALSPlus(ISerializationContext context, ALSPlus semanticObject) { | ||
1665 | if (errorAcceptor != null) { | ||
1666 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__LEFT_OPERAND) == ValueTransient.YES) | ||
1667 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__LEFT_OPERAND)); | ||
1668 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__RIGHT_OPERAND) == ValueTransient.YES) | ||
1669 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_PLUS__RIGHT_OPERAND)); | ||
1670 | } | ||
1671 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1672 | feeder.accept(grammarAccess.getALSPlusAccess().getALSPlusLeftOperandAction_1_0(), semanticObject.getLeftOperand()); | ||
1673 | feeder.accept(grammarAccess.getALSPlusAccess().getRightOperandALSIntersectionParserRuleCall_1_2_0(), semanticObject.getRightOperand()); | ||
1674 | feeder.finish(); | ||
1675 | } | ||
1676 | |||
1677 | |||
1678 | /** | ||
1679 | * Contexts: | ||
1680 | * ALSTerm returns ALSCardinality | ||
1681 | * ALSQuantified returns ALSCardinality | ||
1682 | * ALSOr returns ALSCardinality | ||
1683 | * ALSOr.ALSOr_1_0 returns ALSCardinality | ||
1684 | * ALSIff returns ALSCardinality | ||
1685 | * ALSIff.ALSIff_1_0 returns ALSCardinality | ||
1686 | * ALSImpl returns ALSCardinality | ||
1687 | * ALSImpl.ALSImpl_1_0 returns ALSCardinality | ||
1688 | * ALSAnd returns ALSCardinality | ||
1689 | * ALSAnd.ALSAnd_1_0 returns ALSCardinality | ||
1690 | * ALSComparison returns ALSCardinality | ||
1691 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSCardinality | ||
1692 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSCardinality | ||
1693 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSCardinality | ||
1694 | * ALSComparison.ALSLess_1_0_3_0 returns ALSCardinality | ||
1695 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSCardinality | ||
1696 | * ALSComparison.ALSMore_1_0_5_0 returns ALSCardinality | ||
1697 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSCardinality | ||
1698 | * ALSOverride returns ALSCardinality | ||
1699 | * ALSOverride.ALSOverride_1_0 returns ALSCardinality | ||
1700 | * ALSRangeRestrictionRight returns ALSCardinality | ||
1701 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSCardinality | ||
1702 | * ALSRangeRestrictionLeft returns ALSCardinality | ||
1703 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSCardinality | ||
1704 | * ALSJoin returns ALSCardinality | ||
1705 | * ALSJoin.ALSJoin_1_0 returns ALSCardinality | ||
1706 | * ALSMinus returns ALSCardinality | ||
1707 | * ALSMinus.ALSMinus_1_0 returns ALSCardinality | ||
1708 | * ALSPlus returns ALSCardinality | ||
1709 | * ALSPlus.ALSPlus_1_0 returns ALSCardinality | ||
1710 | * ALSIntersection returns ALSCardinality | ||
1711 | * ALSIntersection.ALSIntersection_1_0 returns ALSCardinality | ||
1712 | * ALSDirectProduct returns ALSCardinality | ||
1713 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSCardinality | ||
1714 | * ALSPreficed returns ALSCardinality | ||
1715 | * ALSBasicRelationTerm returns ALSCardinality | ||
1716 | * | ||
1717 | * Constraint: | ||
1718 | * operand=ALSBasicRelationTerm | ||
1719 | */ | ||
1720 | protected void sequence_ALSPreficed(ISerializationContext context, ALSCardinality semanticObject) { | ||
1721 | if (errorAcceptor != null) { | ||
1722 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_CARDINALITY__OPERAND) == ValueTransient.YES) | ||
1723 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_CARDINALITY__OPERAND)); | ||
1724 | } | ||
1725 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1726 | feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_4_2_0(), semanticObject.getOperand()); | ||
1727 | feeder.finish(); | ||
1728 | } | ||
1729 | |||
1730 | |||
1731 | /** | ||
1732 | * Contexts: | ||
1733 | * ALSTerm returns ALSFunctionCall | ||
1734 | * ALSQuantified returns ALSFunctionCall | ||
1735 | * ALSOr returns ALSFunctionCall | ||
1736 | * ALSOr.ALSOr_1_0 returns ALSFunctionCall | ||
1737 | * ALSIff returns ALSFunctionCall | ||
1738 | * ALSIff.ALSIff_1_0 returns ALSFunctionCall | ||
1739 | * ALSImpl returns ALSFunctionCall | ||
1740 | * ALSImpl.ALSImpl_1_0 returns ALSFunctionCall | ||
1741 | * ALSAnd returns ALSFunctionCall | ||
1742 | * ALSAnd.ALSAnd_1_0 returns ALSFunctionCall | ||
1743 | * ALSComparison returns ALSFunctionCall | ||
1744 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSFunctionCall | ||
1745 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSFunctionCall | ||
1746 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSFunctionCall | ||
1747 | * ALSComparison.ALSLess_1_0_3_0 returns ALSFunctionCall | ||
1748 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSFunctionCall | ||
1749 | * ALSComparison.ALSMore_1_0_5_0 returns ALSFunctionCall | ||
1750 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSFunctionCall | ||
1751 | * ALSOverride returns ALSFunctionCall | ||
1752 | * ALSOverride.ALSOverride_1_0 returns ALSFunctionCall | ||
1753 | * ALSRangeRestrictionRight returns ALSFunctionCall | ||
1754 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSFunctionCall | ||
1755 | * ALSRangeRestrictionLeft returns ALSFunctionCall | ||
1756 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSFunctionCall | ||
1757 | * ALSJoin returns ALSFunctionCall | ||
1758 | * ALSJoin.ALSJoin_1_0 returns ALSFunctionCall | ||
1759 | * ALSMinus returns ALSFunctionCall | ||
1760 | * ALSMinus.ALSMinus_1_0 returns ALSFunctionCall | ||
1761 | * ALSPlus returns ALSFunctionCall | ||
1762 | * ALSPlus.ALSPlus_1_0 returns ALSFunctionCall | ||
1763 | * ALSIntersection returns ALSFunctionCall | ||
1764 | * ALSIntersection.ALSIntersection_1_0 returns ALSFunctionCall | ||
1765 | * ALSDirectProduct returns ALSFunctionCall | ||
1766 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSFunctionCall | ||
1767 | * ALSPreficed returns ALSFunctionCall | ||
1768 | * ALSBasicRelationTerm returns ALSFunctionCall | ||
1769 | * | ||
1770 | * Constraint: | ||
1771 | * ((referredDefinition=[ALSDefinition|ID] | referredNumericOperator=ALSNumericOperator) params+=ALSTerm params+=ALSTerm*) | ||
1772 | */ | ||
1773 | protected void sequence_ALSPreficed(ISerializationContext context, ALSFunctionCall semanticObject) { | ||
1774 | genericSequencer.createSequence(context, semanticObject); | ||
1775 | } | ||
1776 | |||
1777 | |||
1778 | /** | ||
1779 | * Contexts: | ||
1780 | * ALSTerm returns ALSInverseRelation | ||
1781 | * ALSQuantified returns ALSInverseRelation | ||
1782 | * ALSOr returns ALSInverseRelation | ||
1783 | * ALSOr.ALSOr_1_0 returns ALSInverseRelation | ||
1784 | * ALSIff returns ALSInverseRelation | ||
1785 | * ALSIff.ALSIff_1_0 returns ALSInverseRelation | ||
1786 | * ALSImpl returns ALSInverseRelation | ||
1787 | * ALSImpl.ALSImpl_1_0 returns ALSInverseRelation | ||
1788 | * ALSAnd returns ALSInverseRelation | ||
1789 | * ALSAnd.ALSAnd_1_0 returns ALSInverseRelation | ||
1790 | * ALSComparison returns ALSInverseRelation | ||
1791 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSInverseRelation | ||
1792 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSInverseRelation | ||
1793 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSInverseRelation | ||
1794 | * ALSComparison.ALSLess_1_0_3_0 returns ALSInverseRelation | ||
1795 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSInverseRelation | ||
1796 | * ALSComparison.ALSMore_1_0_5_0 returns ALSInverseRelation | ||
1797 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSInverseRelation | ||
1798 | * ALSOverride returns ALSInverseRelation | ||
1799 | * ALSOverride.ALSOverride_1_0 returns ALSInverseRelation | ||
1800 | * ALSRangeRestrictionRight returns ALSInverseRelation | ||
1801 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSInverseRelation | ||
1802 | * ALSRangeRestrictionLeft returns ALSInverseRelation | ||
1803 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSInverseRelation | ||
1804 | * ALSJoin returns ALSInverseRelation | ||
1805 | * ALSJoin.ALSJoin_1_0 returns ALSInverseRelation | ||
1806 | * ALSMinus returns ALSInverseRelation | ||
1807 | * ALSMinus.ALSMinus_1_0 returns ALSInverseRelation | ||
1808 | * ALSPlus returns ALSInverseRelation | ||
1809 | * ALSPlus.ALSPlus_1_0 returns ALSInverseRelation | ||
1810 | * ALSIntersection returns ALSInverseRelation | ||
1811 | * ALSIntersection.ALSIntersection_1_0 returns ALSInverseRelation | ||
1812 | * ALSDirectProduct returns ALSInverseRelation | ||
1813 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSInverseRelation | ||
1814 | * ALSPreficed returns ALSInverseRelation | ||
1815 | * ALSBasicRelationTerm returns ALSInverseRelation | ||
1816 | * | ||
1817 | * Constraint: | ||
1818 | * operand=ALSBasicRelationTerm | ||
1819 | */ | ||
1820 | protected void sequence_ALSPreficed(ISerializationContext context, ALSInverseRelation semanticObject) { | ||
1821 | if (errorAcceptor != null) { | ||
1822 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION__OPERAND) == ValueTransient.YES) | ||
1823 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_INVERSE_RELATION__OPERAND)); | ||
1824 | } | ||
1825 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1826 | feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_1_2_0(), semanticObject.getOperand()); | ||
1827 | feeder.finish(); | ||
1828 | } | ||
1829 | |||
1830 | |||
1831 | /** | ||
1832 | * Contexts: | ||
1833 | * ALSTerm returns ALSNot | ||
1834 | * ALSQuantified returns ALSNot | ||
1835 | * ALSOr returns ALSNot | ||
1836 | * ALSOr.ALSOr_1_0 returns ALSNot | ||
1837 | * ALSIff returns ALSNot | ||
1838 | * ALSIff.ALSIff_1_0 returns ALSNot | ||
1839 | * ALSImpl returns ALSNot | ||
1840 | * ALSImpl.ALSImpl_1_0 returns ALSNot | ||
1841 | * ALSAnd returns ALSNot | ||
1842 | * ALSAnd.ALSAnd_1_0 returns ALSNot | ||
1843 | * ALSComparison returns ALSNot | ||
1844 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSNot | ||
1845 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSNot | ||
1846 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSNot | ||
1847 | * ALSComparison.ALSLess_1_0_3_0 returns ALSNot | ||
1848 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSNot | ||
1849 | * ALSComparison.ALSMore_1_0_5_0 returns ALSNot | ||
1850 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSNot | ||
1851 | * ALSOverride returns ALSNot | ||
1852 | * ALSOverride.ALSOverride_1_0 returns ALSNot | ||
1853 | * ALSRangeRestrictionRight returns ALSNot | ||
1854 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSNot | ||
1855 | * ALSRangeRestrictionLeft returns ALSNot | ||
1856 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSNot | ||
1857 | * ALSJoin returns ALSNot | ||
1858 | * ALSJoin.ALSJoin_1_0 returns ALSNot | ||
1859 | * ALSMinus returns ALSNot | ||
1860 | * ALSMinus.ALSMinus_1_0 returns ALSNot | ||
1861 | * ALSPlus returns ALSNot | ||
1862 | * ALSPlus.ALSPlus_1_0 returns ALSNot | ||
1863 | * ALSIntersection returns ALSNot | ||
1864 | * ALSIntersection.ALSIntersection_1_0 returns ALSNot | ||
1865 | * ALSDirectProduct returns ALSNot | ||
1866 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSNot | ||
1867 | * ALSPreficed returns ALSNot | ||
1868 | * ALSBasicRelationTerm returns ALSNot | ||
1869 | * | ||
1870 | * Constraint: | ||
1871 | * operand=ALSBasicRelationTerm | ||
1872 | */ | ||
1873 | protected void sequence_ALSPreficed(ISerializationContext context, ALSNot semanticObject) { | ||
1874 | if (errorAcceptor != null) { | ||
1875 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT__OPERAND) == ValueTransient.YES) | ||
1876 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_NOT__OPERAND)); | ||
1877 | } | ||
1878 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1879 | feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_0_2_0(), semanticObject.getOperand()); | ||
1880 | feeder.finish(); | ||
1881 | } | ||
1882 | |||
1883 | |||
1884 | /** | ||
1885 | * Contexts: | ||
1886 | * ALSTerm returns ALSReflectiveTransitiveClosure | ||
1887 | * ALSQuantified returns ALSReflectiveTransitiveClosure | ||
1888 | * ALSOr returns ALSReflectiveTransitiveClosure | ||
1889 | * ALSOr.ALSOr_1_0 returns ALSReflectiveTransitiveClosure | ||
1890 | * ALSIff returns ALSReflectiveTransitiveClosure | ||
1891 | * ALSIff.ALSIff_1_0 returns ALSReflectiveTransitiveClosure | ||
1892 | * ALSImpl returns ALSReflectiveTransitiveClosure | ||
1893 | * ALSImpl.ALSImpl_1_0 returns ALSReflectiveTransitiveClosure | ||
1894 | * ALSAnd returns ALSReflectiveTransitiveClosure | ||
1895 | * ALSAnd.ALSAnd_1_0 returns ALSReflectiveTransitiveClosure | ||
1896 | * ALSComparison returns ALSReflectiveTransitiveClosure | ||
1897 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSReflectiveTransitiveClosure | ||
1898 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSReflectiveTransitiveClosure | ||
1899 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSReflectiveTransitiveClosure | ||
1900 | * ALSComparison.ALSLess_1_0_3_0 returns ALSReflectiveTransitiveClosure | ||
1901 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSReflectiveTransitiveClosure | ||
1902 | * ALSComparison.ALSMore_1_0_5_0 returns ALSReflectiveTransitiveClosure | ||
1903 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSReflectiveTransitiveClosure | ||
1904 | * ALSOverride returns ALSReflectiveTransitiveClosure | ||
1905 | * ALSOverride.ALSOverride_1_0 returns ALSReflectiveTransitiveClosure | ||
1906 | * ALSRangeRestrictionRight returns ALSReflectiveTransitiveClosure | ||
1907 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSReflectiveTransitiveClosure | ||
1908 | * ALSRangeRestrictionLeft returns ALSReflectiveTransitiveClosure | ||
1909 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSReflectiveTransitiveClosure | ||
1910 | * ALSJoin returns ALSReflectiveTransitiveClosure | ||
1911 | * ALSJoin.ALSJoin_1_0 returns ALSReflectiveTransitiveClosure | ||
1912 | * ALSMinus returns ALSReflectiveTransitiveClosure | ||
1913 | * ALSMinus.ALSMinus_1_0 returns ALSReflectiveTransitiveClosure | ||
1914 | * ALSPlus returns ALSReflectiveTransitiveClosure | ||
1915 | * ALSPlus.ALSPlus_1_0 returns ALSReflectiveTransitiveClosure | ||
1916 | * ALSIntersection returns ALSReflectiveTransitiveClosure | ||
1917 | * ALSIntersection.ALSIntersection_1_0 returns ALSReflectiveTransitiveClosure | ||
1918 | * ALSDirectProduct returns ALSReflectiveTransitiveClosure | ||
1919 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSReflectiveTransitiveClosure | ||
1920 | * ALSPreficed returns ALSReflectiveTransitiveClosure | ||
1921 | * ALSBasicRelationTerm returns ALSReflectiveTransitiveClosure | ||
1922 | * | ||
1923 | * Constraint: | ||
1924 | * operand=ALSBasicRelationTerm | ||
1925 | */ | ||
1926 | protected void sequence_ALSPreficed(ISerializationContext context, ALSReflectiveTransitiveClosure semanticObject) { | ||
1927 | if (errorAcceptor != null) { | ||
1928 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND) == ValueTransient.YES) | ||
1929 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_REFLECTIVE_TRANSITIVE_CLOSURE__OPERAND)); | ||
1930 | } | ||
1931 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1932 | feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_3_2_0(), semanticObject.getOperand()); | ||
1933 | feeder.finish(); | ||
1934 | } | ||
1935 | |||
1936 | |||
1937 | /** | ||
1938 | * Contexts: | ||
1939 | * ALSTerm returns ALSSum | ||
1940 | * ALSQuantified returns ALSSum | ||
1941 | * ALSOr returns ALSSum | ||
1942 | * ALSOr.ALSOr_1_0 returns ALSSum | ||
1943 | * ALSIff returns ALSSum | ||
1944 | * ALSIff.ALSIff_1_0 returns ALSSum | ||
1945 | * ALSImpl returns ALSSum | ||
1946 | * ALSImpl.ALSImpl_1_0 returns ALSSum | ||
1947 | * ALSAnd returns ALSSum | ||
1948 | * ALSAnd.ALSAnd_1_0 returns ALSSum | ||
1949 | * ALSComparison returns ALSSum | ||
1950 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSSum | ||
1951 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSSum | ||
1952 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSSum | ||
1953 | * ALSComparison.ALSLess_1_0_3_0 returns ALSSum | ||
1954 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSSum | ||
1955 | * ALSComparison.ALSMore_1_0_5_0 returns ALSSum | ||
1956 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSSum | ||
1957 | * ALSOverride returns ALSSum | ||
1958 | * ALSOverride.ALSOverride_1_0 returns ALSSum | ||
1959 | * ALSRangeRestrictionRight returns ALSSum | ||
1960 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSSum | ||
1961 | * ALSRangeRestrictionLeft returns ALSSum | ||
1962 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSSum | ||
1963 | * ALSJoin returns ALSSum | ||
1964 | * ALSJoin.ALSJoin_1_0 returns ALSSum | ||
1965 | * ALSMinus returns ALSSum | ||
1966 | * ALSMinus.ALSMinus_1_0 returns ALSSum | ||
1967 | * ALSPlus returns ALSSum | ||
1968 | * ALSPlus.ALSPlus_1_0 returns ALSSum | ||
1969 | * ALSIntersection returns ALSSum | ||
1970 | * ALSIntersection.ALSIntersection_1_0 returns ALSSum | ||
1971 | * ALSDirectProduct returns ALSSum | ||
1972 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSSum | ||
1973 | * ALSPreficed returns ALSSum | ||
1974 | * ALSBasicRelationTerm returns ALSSum | ||
1975 | * | ||
1976 | * Constraint: | ||
1977 | * (variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* expression=ALSTerm) | ||
1978 | */ | ||
1979 | protected void sequence_ALSPreficed(ISerializationContext context, ALSSum semanticObject) { | ||
1980 | genericSequencer.createSequence(context, semanticObject); | ||
1981 | } | ||
1982 | |||
1983 | |||
1984 | /** | ||
1985 | * Contexts: | ||
1986 | * ALSTerm returns ALSUnaryMinus | ||
1987 | * ALSQuantified returns ALSUnaryMinus | ||
1988 | * ALSOr returns ALSUnaryMinus | ||
1989 | * ALSOr.ALSOr_1_0 returns ALSUnaryMinus | ||
1990 | * ALSIff returns ALSUnaryMinus | ||
1991 | * ALSIff.ALSIff_1_0 returns ALSUnaryMinus | ||
1992 | * ALSImpl returns ALSUnaryMinus | ||
1993 | * ALSImpl.ALSImpl_1_0 returns ALSUnaryMinus | ||
1994 | * ALSAnd returns ALSUnaryMinus | ||
1995 | * ALSAnd.ALSAnd_1_0 returns ALSUnaryMinus | ||
1996 | * ALSComparison returns ALSUnaryMinus | ||
1997 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSUnaryMinus | ||
1998 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSUnaryMinus | ||
1999 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSUnaryMinus | ||
2000 | * ALSComparison.ALSLess_1_0_3_0 returns ALSUnaryMinus | ||
2001 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSUnaryMinus | ||
2002 | * ALSComparison.ALSMore_1_0_5_0 returns ALSUnaryMinus | ||
2003 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSUnaryMinus | ||
2004 | * ALSOverride returns ALSUnaryMinus | ||
2005 | * ALSOverride.ALSOverride_1_0 returns ALSUnaryMinus | ||
2006 | * ALSRangeRestrictionRight returns ALSUnaryMinus | ||
2007 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSUnaryMinus | ||
2008 | * ALSRangeRestrictionLeft returns ALSUnaryMinus | ||
2009 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSUnaryMinus | ||
2010 | * ALSJoin returns ALSUnaryMinus | ||
2011 | * ALSJoin.ALSJoin_1_0 returns ALSUnaryMinus | ||
2012 | * ALSMinus returns ALSUnaryMinus | ||
2013 | * ALSMinus.ALSMinus_1_0 returns ALSUnaryMinus | ||
2014 | * ALSPlus returns ALSUnaryMinus | ||
2015 | * ALSPlus.ALSPlus_1_0 returns ALSUnaryMinus | ||
2016 | * ALSIntersection returns ALSUnaryMinus | ||
2017 | * ALSIntersection.ALSIntersection_1_0 returns ALSUnaryMinus | ||
2018 | * ALSDirectProduct returns ALSUnaryMinus | ||
2019 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSUnaryMinus | ||
2020 | * ALSPreficed returns ALSUnaryMinus | ||
2021 | * ALSBasicRelationTerm returns ALSUnaryMinus | ||
2022 | * | ||
2023 | * Constraint: | ||
2024 | * operand=ALSBasicRelationTerm | ||
2025 | */ | ||
2026 | protected void sequence_ALSPreficed(ISerializationContext context, ALSUnaryMinus semanticObject) { | ||
2027 | if (errorAcceptor != null) { | ||
2028 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_UNARY_MINUS__OPERAND) == ValueTransient.YES) | ||
2029 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_UNARY_MINUS__OPERAND)); | ||
2030 | } | ||
2031 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2032 | feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_5_2_0(), semanticObject.getOperand()); | ||
2033 | feeder.finish(); | ||
2034 | } | ||
2035 | |||
2036 | |||
2037 | /** | ||
2038 | * Contexts: | ||
2039 | * ALSTerm returns AlSTransitiveClosure | ||
2040 | * ALSQuantified returns AlSTransitiveClosure | ||
2041 | * ALSOr returns AlSTransitiveClosure | ||
2042 | * ALSOr.ALSOr_1_0 returns AlSTransitiveClosure | ||
2043 | * ALSIff returns AlSTransitiveClosure | ||
2044 | * ALSIff.ALSIff_1_0 returns AlSTransitiveClosure | ||
2045 | * ALSImpl returns AlSTransitiveClosure | ||
2046 | * ALSImpl.ALSImpl_1_0 returns AlSTransitiveClosure | ||
2047 | * ALSAnd returns AlSTransitiveClosure | ||
2048 | * ALSAnd.ALSAnd_1_0 returns AlSTransitiveClosure | ||
2049 | * ALSComparison returns AlSTransitiveClosure | ||
2050 | * ALSComparison.ALSEquals_1_0_0_0 returns AlSTransitiveClosure | ||
2051 | * ALSComparison.ALSNotEquals_1_0_1_0 returns AlSTransitiveClosure | ||
2052 | * ALSComparison.ALSSubset_1_0_2_0 returns AlSTransitiveClosure | ||
2053 | * ALSComparison.ALSLess_1_0_3_0 returns AlSTransitiveClosure | ||
2054 | * ALSComparison.ALSLeq_1_0_4_0 returns AlSTransitiveClosure | ||
2055 | * ALSComparison.ALSMore_1_0_5_0 returns AlSTransitiveClosure | ||
2056 | * ALSComparison.ALSMeq_1_0_6_0 returns AlSTransitiveClosure | ||
2057 | * ALSOverride returns AlSTransitiveClosure | ||
2058 | * ALSOverride.ALSOverride_1_0 returns AlSTransitiveClosure | ||
2059 | * ALSRangeRestrictionRight returns AlSTransitiveClosure | ||
2060 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns AlSTransitiveClosure | ||
2061 | * ALSRangeRestrictionLeft returns AlSTransitiveClosure | ||
2062 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns AlSTransitiveClosure | ||
2063 | * ALSJoin returns AlSTransitiveClosure | ||
2064 | * ALSJoin.ALSJoin_1_0 returns AlSTransitiveClosure | ||
2065 | * ALSMinus returns AlSTransitiveClosure | ||
2066 | * ALSMinus.ALSMinus_1_0 returns AlSTransitiveClosure | ||
2067 | * ALSPlus returns AlSTransitiveClosure | ||
2068 | * ALSPlus.ALSPlus_1_0 returns AlSTransitiveClosure | ||
2069 | * ALSIntersection returns AlSTransitiveClosure | ||
2070 | * ALSIntersection.ALSIntersection_1_0 returns AlSTransitiveClosure | ||
2071 | * ALSDirectProduct returns AlSTransitiveClosure | ||
2072 | * ALSDirectProduct.ALSDirectProduct_1_0 returns AlSTransitiveClosure | ||
2073 | * ALSPreficed returns AlSTransitiveClosure | ||
2074 | * ALSBasicRelationTerm returns AlSTransitiveClosure | ||
2075 | * | ||
2076 | * Constraint: | ||
2077 | * operand=ALSBasicRelationTerm | ||
2078 | */ | ||
2079 | protected void sequence_ALSPreficed(ISerializationContext context, AlSTransitiveClosure semanticObject) { | ||
2080 | if (errorAcceptor != null) { | ||
2081 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE__OPERAND) == ValueTransient.YES) | ||
2082 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.AL_STRANSITIVE_CLOSURE__OPERAND)); | ||
2083 | } | ||
2084 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2085 | feeder.accept(grammarAccess.getALSPreficedAccess().getOperandALSBasicRelationTermParserRuleCall_2_2_0(), semanticObject.getOperand()); | ||
2086 | feeder.finish(); | ||
2087 | } | ||
2088 | |||
2089 | |||
2090 | /** | ||
2091 | * Contexts: | ||
2092 | * ALSTerm returns ALSQuantifiedEx | ||
2093 | * ALSQuantified returns ALSQuantifiedEx | ||
2094 | * ALSOr returns ALSQuantifiedEx | ||
2095 | * ALSOr.ALSOr_1_0 returns ALSQuantifiedEx | ||
2096 | * ALSIff returns ALSQuantifiedEx | ||
2097 | * ALSIff.ALSIff_1_0 returns ALSQuantifiedEx | ||
2098 | * ALSImpl returns ALSQuantifiedEx | ||
2099 | * ALSImpl.ALSImpl_1_0 returns ALSQuantifiedEx | ||
2100 | * ALSAnd returns ALSQuantifiedEx | ||
2101 | * ALSAnd.ALSAnd_1_0 returns ALSQuantifiedEx | ||
2102 | * ALSComparison returns ALSQuantifiedEx | ||
2103 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSQuantifiedEx | ||
2104 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSQuantifiedEx | ||
2105 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSQuantifiedEx | ||
2106 | * ALSComparison.ALSLess_1_0_3_0 returns ALSQuantifiedEx | ||
2107 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSQuantifiedEx | ||
2108 | * ALSComparison.ALSMore_1_0_5_0 returns ALSQuantifiedEx | ||
2109 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSQuantifiedEx | ||
2110 | * ALSOverride returns ALSQuantifiedEx | ||
2111 | * ALSOverride.ALSOverride_1_0 returns ALSQuantifiedEx | ||
2112 | * ALSRangeRestrictionRight returns ALSQuantifiedEx | ||
2113 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSQuantifiedEx | ||
2114 | * ALSRangeRestrictionLeft returns ALSQuantifiedEx | ||
2115 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSQuantifiedEx | ||
2116 | * ALSJoin returns ALSQuantifiedEx | ||
2117 | * ALSJoin.ALSJoin_1_0 returns ALSQuantifiedEx | ||
2118 | * ALSMinus returns ALSQuantifiedEx | ||
2119 | * ALSMinus.ALSMinus_1_0 returns ALSQuantifiedEx | ||
2120 | * ALSPlus returns ALSQuantifiedEx | ||
2121 | * ALSPlus.ALSPlus_1_0 returns ALSQuantifiedEx | ||
2122 | * ALSIntersection returns ALSQuantifiedEx | ||
2123 | * ALSIntersection.ALSIntersection_1_0 returns ALSQuantifiedEx | ||
2124 | * ALSDirectProduct returns ALSQuantifiedEx | ||
2125 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSQuantifiedEx | ||
2126 | * ALSPreficed returns ALSQuantifiedEx | ||
2127 | * ALSBasicRelationTerm returns ALSQuantifiedEx | ||
2128 | * | ||
2129 | * Constraint: | ||
2130 | * (type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* expression=ALSTerm) | ||
2131 | */ | ||
2132 | protected void sequence_ALSQuantified(ISerializationContext context, ALSQuantifiedEx semanticObject) { | ||
2133 | genericSequencer.createSequence(context, semanticObject); | ||
2134 | } | ||
2135 | |||
2136 | |||
2137 | /** | ||
2138 | * Contexts: | ||
2139 | * ALSTerm returns ALSRangeRestrictionLeft | ||
2140 | * ALSQuantified returns ALSRangeRestrictionLeft | ||
2141 | * ALSOr returns ALSRangeRestrictionLeft | ||
2142 | * ALSOr.ALSOr_1_0 returns ALSRangeRestrictionLeft | ||
2143 | * ALSIff returns ALSRangeRestrictionLeft | ||
2144 | * ALSIff.ALSIff_1_0 returns ALSRangeRestrictionLeft | ||
2145 | * ALSImpl returns ALSRangeRestrictionLeft | ||
2146 | * ALSImpl.ALSImpl_1_0 returns ALSRangeRestrictionLeft | ||
2147 | * ALSAnd returns ALSRangeRestrictionLeft | ||
2148 | * ALSAnd.ALSAnd_1_0 returns ALSRangeRestrictionLeft | ||
2149 | * ALSComparison returns ALSRangeRestrictionLeft | ||
2150 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSRangeRestrictionLeft | ||
2151 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSRangeRestrictionLeft | ||
2152 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSRangeRestrictionLeft | ||
2153 | * ALSComparison.ALSLess_1_0_3_0 returns ALSRangeRestrictionLeft | ||
2154 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSRangeRestrictionLeft | ||
2155 | * ALSComparison.ALSMore_1_0_5_0 returns ALSRangeRestrictionLeft | ||
2156 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSRangeRestrictionLeft | ||
2157 | * ALSOverride returns ALSRangeRestrictionLeft | ||
2158 | * ALSOverride.ALSOverride_1_0 returns ALSRangeRestrictionLeft | ||
2159 | * ALSRangeRestrictionRight returns ALSRangeRestrictionLeft | ||
2160 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSRangeRestrictionLeft | ||
2161 | * ALSRangeRestrictionLeft returns ALSRangeRestrictionLeft | ||
2162 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSRangeRestrictionLeft | ||
2163 | * ALSJoin returns ALSRangeRestrictionLeft | ||
2164 | * ALSJoin.ALSJoin_1_0 returns ALSRangeRestrictionLeft | ||
2165 | * ALSMinus returns ALSRangeRestrictionLeft | ||
2166 | * ALSMinus.ALSMinus_1_0 returns ALSRangeRestrictionLeft | ||
2167 | * ALSPlus returns ALSRangeRestrictionLeft | ||
2168 | * ALSPlus.ALSPlus_1_0 returns ALSRangeRestrictionLeft | ||
2169 | * ALSIntersection returns ALSRangeRestrictionLeft | ||
2170 | * ALSIntersection.ALSIntersection_1_0 returns ALSRangeRestrictionLeft | ||
2171 | * ALSDirectProduct returns ALSRangeRestrictionLeft | ||
2172 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSRangeRestrictionLeft | ||
2173 | * ALSPreficed returns ALSRangeRestrictionLeft | ||
2174 | * ALSBasicRelationTerm returns ALSRangeRestrictionLeft | ||
2175 | * | ||
2176 | * Constraint: | ||
2177 | * (filter=ALSRangeRestrictionLeft_ALSRangeRestrictionLeft_1_0 relation=ALSJoin) | ||
2178 | */ | ||
2179 | protected void sequence_ALSRangeRestrictionLeft(ISerializationContext context, ALSRangeRestrictionLeft semanticObject) { | ||
2180 | if (errorAcceptor != null) { | ||
2181 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__FILTER) == ValueTransient.YES) | ||
2182 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__FILTER)); | ||
2183 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__RELATION) == ValueTransient.YES) | ||
2184 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_LEFT__RELATION)); | ||
2185 | } | ||
2186 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2187 | feeder.accept(grammarAccess.getALSRangeRestrictionLeftAccess().getALSRangeRestrictionLeftFilterAction_1_0(), semanticObject.getFilter()); | ||
2188 | feeder.accept(grammarAccess.getALSRangeRestrictionLeftAccess().getRelationALSJoinParserRuleCall_1_2_0(), semanticObject.getRelation()); | ||
2189 | feeder.finish(); | ||
2190 | } | ||
2191 | |||
2192 | |||
2193 | /** | ||
2194 | * Contexts: | ||
2195 | * ALSTerm returns ALSRangeRestrictionRight | ||
2196 | * ALSQuantified returns ALSRangeRestrictionRight | ||
2197 | * ALSOr returns ALSRangeRestrictionRight | ||
2198 | * ALSOr.ALSOr_1_0 returns ALSRangeRestrictionRight | ||
2199 | * ALSIff returns ALSRangeRestrictionRight | ||
2200 | * ALSIff.ALSIff_1_0 returns ALSRangeRestrictionRight | ||
2201 | * ALSImpl returns ALSRangeRestrictionRight | ||
2202 | * ALSImpl.ALSImpl_1_0 returns ALSRangeRestrictionRight | ||
2203 | * ALSAnd returns ALSRangeRestrictionRight | ||
2204 | * ALSAnd.ALSAnd_1_0 returns ALSRangeRestrictionRight | ||
2205 | * ALSComparison returns ALSRangeRestrictionRight | ||
2206 | * ALSComparison.ALSEquals_1_0_0_0 returns ALSRangeRestrictionRight | ||
2207 | * ALSComparison.ALSNotEquals_1_0_1_0 returns ALSRangeRestrictionRight | ||
2208 | * ALSComparison.ALSSubset_1_0_2_0 returns ALSRangeRestrictionRight | ||
2209 | * ALSComparison.ALSLess_1_0_3_0 returns ALSRangeRestrictionRight | ||
2210 | * ALSComparison.ALSLeq_1_0_4_0 returns ALSRangeRestrictionRight | ||
2211 | * ALSComparison.ALSMore_1_0_5_0 returns ALSRangeRestrictionRight | ||
2212 | * ALSComparison.ALSMeq_1_0_6_0 returns ALSRangeRestrictionRight | ||
2213 | * ALSOverride returns ALSRangeRestrictionRight | ||
2214 | * ALSOverride.ALSOverride_1_0 returns ALSRangeRestrictionRight | ||
2215 | * ALSRangeRestrictionRight returns ALSRangeRestrictionRight | ||
2216 | * ALSRangeRestrictionRight.ALSRangeRestrictionRight_1_0 returns ALSRangeRestrictionRight | ||
2217 | * ALSRangeRestrictionLeft returns ALSRangeRestrictionRight | ||
2218 | * ALSRangeRestrictionLeft.ALSRangeRestrictionLeft_1_0 returns ALSRangeRestrictionRight | ||
2219 | * ALSJoin returns ALSRangeRestrictionRight | ||
2220 | * ALSJoin.ALSJoin_1_0 returns ALSRangeRestrictionRight | ||
2221 | * ALSMinus returns ALSRangeRestrictionRight | ||
2222 | * ALSMinus.ALSMinus_1_0 returns ALSRangeRestrictionRight | ||
2223 | * ALSPlus returns ALSRangeRestrictionRight | ||
2224 | * ALSPlus.ALSPlus_1_0 returns ALSRangeRestrictionRight | ||
2225 | * ALSIntersection returns ALSRangeRestrictionRight | ||
2226 | * ALSIntersection.ALSIntersection_1_0 returns ALSRangeRestrictionRight | ||
2227 | * ALSDirectProduct returns ALSRangeRestrictionRight | ||
2228 | * ALSDirectProduct.ALSDirectProduct_1_0 returns ALSRangeRestrictionRight | ||
2229 | * ALSPreficed returns ALSRangeRestrictionRight | ||
2230 | * ALSBasicRelationTerm returns ALSRangeRestrictionRight | ||
2231 | * | ||
2232 | * Constraint: | ||
2233 | * (relation=ALSRangeRestrictionRight_ALSRangeRestrictionRight_1_0 filter=ALSRangeRestrictionLeft) | ||
2234 | */ | ||
2235 | protected void sequence_ALSRangeRestrictionRight(ISerializationContext context, ALSRangeRestrictionRight semanticObject) { | ||
2236 | if (errorAcceptor != null) { | ||
2237 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__RELATION) == ValueTransient.YES) | ||
2238 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__RELATION)); | ||
2239 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__FILTER) == ValueTransient.YES) | ||
2240 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RANGE_RESTRICTION_RIGHT__FILTER)); | ||
2241 | } | ||
2242 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2243 | feeder.accept(grammarAccess.getALSRangeRestrictionRightAccess().getALSRangeRestrictionRightRelationAction_1_0(), semanticObject.getRelation()); | ||
2244 | feeder.accept(grammarAccess.getALSRangeRestrictionRightAccess().getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0(), semanticObject.getFilter()); | ||
2245 | feeder.finish(); | ||
2246 | } | ||
2247 | |||
2248 | |||
2249 | /** | ||
2250 | * Contexts: | ||
2251 | * ALSDefinition returns ALSRelationDefinition | ||
2252 | * ALSRelationDefinition returns ALSRelationDefinition | ||
2253 | * | ||
2254 | * Constraint: | ||
2255 | * (name=ALSID variables+=ALSVariableDeclaration variables+=ALSVariableDeclaration* value=ALSTerm) | ||
2256 | */ | ||
2257 | protected void sequence_ALSRelationDefinition(ISerializationContext context, ALSRelationDefinition semanticObject) { | ||
2258 | genericSequencer.createSequence(context, semanticObject); | ||
2259 | } | ||
2260 | |||
2261 | |||
2262 | /** | ||
2263 | * Contexts: | ||
2264 | * ALSRunCommand returns ALSRunCommand | ||
2265 | * | ||
2266 | * Constraint: | ||
2267 | * (typeScopes+=ALSTypeScope typeScopes+=ALSTypeScope*)? | ||
2268 | */ | ||
2269 | protected void sequence_ALSRunCommand(ISerializationContext context, ALSRunCommand semanticObject) { | ||
2270 | genericSequencer.createSequence(context, semanticObject); | ||
2271 | } | ||
2272 | |||
2273 | |||
2274 | /** | ||
2275 | * Contexts: | ||
2276 | * ALSTypeScope returns ALSSigScope | ||
2277 | * ALSSigScope returns ALSSigScope | ||
2278 | * | ||
2279 | * Constraint: | ||
2280 | * (exactly?='exactly'? number=INT type=[ALSSignatureDeclaration|ID]) | ||
2281 | */ | ||
2282 | protected void sequence_ALSSigScope(ISerializationContext context, ALSSigScope semanticObject) { | ||
2283 | genericSequencer.createSequence(context, semanticObject); | ||
2284 | } | ||
2285 | |||
2286 | |||
2287 | /** | ||
2288 | * Contexts: | ||
2289 | * ALSSignatureBody returns ALSSignatureBody | ||
2290 | * | ||
2291 | * Constraint: | ||
2292 | * ( | ||
2293 | * (multiplicity=ALSMultiplicity | abstract?='abstract')* | ||
2294 | * declarations+=ALSSignatureDeclaration | ||
2295 | * declarations+=ALSSignatureDeclaration* | ||
2296 | * (supertype=[ALSSignatureDeclaration|ID] | (superset+=[ALSSignatureDeclaration|ID] superset+=[ALSSignatureDeclaration|ID]*))? | ||
2297 | * (fields+=ALSFieldDeclaration fields+=ALSFieldDeclaration*)? | ||
2298 | * ) | ||
2299 | */ | ||
2300 | protected void sequence_ALSSignatureBody(ISerializationContext context, ALSSignatureBody semanticObject) { | ||
2301 | genericSequencer.createSequence(context, semanticObject); | ||
2302 | } | ||
2303 | |||
2304 | |||
2305 | /** | ||
2306 | * Contexts: | ||
2307 | * ALSRelationDeclaration returns ALSSignatureDeclaration | ||
2308 | * ALSTypeDeclaration returns ALSSignatureDeclaration | ||
2309 | * ALSSignatureDeclaration returns ALSSignatureDeclaration | ||
2310 | * | ||
2311 | * Constraint: | ||
2312 | * name=ALSID | ||
2313 | */ | ||
2314 | protected void sequence_ALSSignatureDeclaration(ISerializationContext context, ALSSignatureDeclaration semanticObject) { | ||
2315 | if (errorAcceptor != null) { | ||
2316 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES) | ||
2317 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME)); | ||
2318 | } | ||
2319 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2320 | feeder.accept(grammarAccess.getALSSignatureDeclarationAccess().getNameALSIDParserRuleCall_0(), semanticObject.getName()); | ||
2321 | feeder.finish(); | ||
2322 | } | ||
2323 | |||
2324 | |||
2325 | /** | ||
2326 | * Contexts: | ||
2327 | * ALSTypeScope returns ALSStringScope | ||
2328 | * ALSStringScope returns ALSStringScope | ||
2329 | * | ||
2330 | * Constraint: | ||
2331 | * number=INT | ||
2332 | */ | ||
2333 | protected void sequence_ALSStringScope(ISerializationContext context, ALSStringScope semanticObject) { | ||
2334 | if (errorAcceptor != null) { | ||
2335 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER) == ValueTransient.YES) | ||
2336 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_TYPE_SCOPE__NUMBER)); | ||
2337 | } | ||
2338 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2339 | feeder.accept(grammarAccess.getALSStringScopeAccess().getNumberINTTerminalRuleCall_1_0(), semanticObject.getNumber()); | ||
2340 | feeder.finish(); | ||
2341 | } | ||
2342 | |||
2343 | |||
2344 | /** | ||
2345 | * Contexts: | ||
2346 | * ALSRelationDeclaration returns ALSVariableDeclaration | ||
2347 | * ALSVariableDeclaration returns ALSVariableDeclaration | ||
2348 | * | ||
2349 | * Constraint: | ||
2350 | * (name=ALSID range=ALSTerm) | ||
2351 | */ | ||
2352 | protected void sequence_ALSVariableDeclaration(ISerializationContext context, ALSVariableDeclaration semanticObject) { | ||
2353 | if (errorAcceptor != null) { | ||
2354 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME) == ValueTransient.YES) | ||
2355 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_RELATION_DECLARATION__NAME)); | ||
2356 | if (transientValues.isValueTransient(semanticObject, AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION__RANGE) == ValueTransient.YES) | ||
2357 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, AlloyLanguagePackage.Literals.ALS_VARIABLE_DECLARATION__RANGE)); | ||
2358 | } | ||
2359 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
2360 | feeder.accept(grammarAccess.getALSVariableDeclarationAccess().getNameALSIDParserRuleCall_0_0(), semanticObject.getName()); | ||
2361 | feeder.accept(grammarAccess.getALSVariableDeclarationAccess().getRangeALSTermParserRuleCall_2_0(), semanticObject.getRange()); | ||
2362 | feeder.finish(); | ||
2363 | } | ||
2364 | |||
2365 | |||
2366 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java new file mode 100644 index 00000000..af3c684a --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/serializer/AlloyLanguageSyntacticSequencer.java | |||
@@ -0,0 +1,216 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.serializer; | ||
5 | |||
6 | import com.google.inject.Inject; | ||
7 | import hu.bme.mit.inf.dslreasoner.services.AlloyLanguageGrammarAccess; | ||
8 | import java.util.List; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.xtext.IGrammarAccess; | ||
11 | import org.eclipse.xtext.RuleCall; | ||
12 | import org.eclipse.xtext.nodemodel.INode; | ||
13 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; | ||
14 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias; | ||
15 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; | ||
16 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; | ||
17 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; | ||
18 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; | ||
19 | |||
20 | @SuppressWarnings("all") | ||
21 | public class AlloyLanguageSyntacticSequencer extends AbstractSyntacticSequencer { | ||
22 | |||
23 | protected AlloyLanguageGrammarAccess grammarAccess; | ||
24 | protected AbstractElementAlias match_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1; | ||
25 | protected AbstractElementAlias match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a; | ||
26 | protected AbstractElementAlias match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p; | ||
27 | protected AbstractElementAlias match_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0; | ||
28 | protected AbstractElementAlias match_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1; | ||
29 | protected AbstractElementAlias match_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0; | ||
30 | protected AbstractElementAlias match_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1; | ||
31 | |||
32 | @Inject | ||
33 | protected void init(IGrammarAccess access) { | ||
34 | grammarAccess = (AlloyLanguageGrammarAccess) access; | ||
35 | match_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSAndAccess().getAmpersandAmpersandKeyword_1_1_0()), new TokenAlias(false, false, grammarAccess.getALSAndAccess().getAndKeyword_1_1_1())); | ||
36 | match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a = new TokenAlias(true, true, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0()); | ||
37 | match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p = new TokenAlias(true, false, grammarAccess.getALSBasicRelationTermAccess().getLeftParenthesisKeyword_8_0()); | ||
38 | match_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSIffAccess().getIffKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getALSIffAccess().getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0())); | ||
39 | match_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSImplAccess().getEqualsSignGreaterThanSignKeyword_1_1_0()), new TokenAlias(false, false, grammarAccess.getALSImplAccess().getImpliesKeyword_1_1_1())); | ||
40 | match_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSOrAccess().getOrKeyword_1_1_1()), new TokenAlias(false, false, grammarAccess.getALSOrAccess().getVerticalLineVerticalLineKeyword_1_1_0())); | ||
41 | match_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1 = new AlternativeAlias(false, false, new TokenAlias(false, false, grammarAccess.getALSPreficedAccess().getExclamationMarkKeyword_0_1_0_0()), new TokenAlias(false, false, grammarAccess.getALSPreficedAccess().getNotKeyword_0_1_0_1())); | ||
42 | } | ||
43 | |||
44 | @Override | ||
45 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { | ||
46 | return ""; | ||
47 | } | ||
48 | |||
49 | |||
50 | @Override | ||
51 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { | ||
52 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; | ||
53 | List<INode> transitionNodes = collectNodes(fromNode, toNode); | ||
54 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { | ||
55 | List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); | ||
56 | if (match_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1.equals(syntax)) | ||
57 | emit_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1(semanticObject, getLastNavigableState(), syntaxNodes); | ||
58 | else if (match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a.equals(syntax)) | ||
59 | emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a(semanticObject, getLastNavigableState(), syntaxNodes); | ||
60 | else if (match_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p.equals(syntax)) | ||
61 | emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p(semanticObject, getLastNavigableState(), syntaxNodes); | ||
62 | else if (match_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0.equals(syntax)) | ||
63 | emit_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0(semanticObject, getLastNavigableState(), syntaxNodes); | ||
64 | else if (match_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1.equals(syntax)) | ||
65 | emit_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1(semanticObject, getLastNavigableState(), syntaxNodes); | ||
66 | else if (match_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0.equals(syntax)) | ||
67 | emit_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0(semanticObject, getLastNavigableState(), syntaxNodes); | ||
68 | else if (match_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1.equals(syntax)) | ||
69 | emit_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1(semanticObject, getLastNavigableState(), syntaxNodes); | ||
70 | else acceptNodes(getLastNavigableState(), syntaxNodes); | ||
71 | } | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * Ambiguous syntax: | ||
76 | * 'and' | '&&' | ||
77 | * | ||
78 | * This ambiguous syntax occurs at: | ||
79 | * {ALSAnd.leftOperand=} (ambiguity) rightOperand=ALSComparison | ||
80 | */ | ||
81 | protected void emit_ALSAnd_AmpersandAmpersandKeyword_1_1_0_or_AndKeyword_1_1_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
82 | acceptNodes(transition, nodes); | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * Ambiguous syntax: | ||
87 | * '('* | ||
88 | * | ||
89 | * This ambiguous syntax occurs at: | ||
90 | * (rule start) (ambiguity) '#' operand=ALSBasicRelationTerm | ||
91 | * (rule start) (ambiguity) '*' operand=ALSBasicRelationTerm | ||
92 | * (rule start) (ambiguity) '-' operand=ALSBasicRelationTerm | ||
93 | * (rule start) (ambiguity) 'Int' (rule start) | ||
94 | * (rule start) (ambiguity) 'String' (rule start) | ||
95 | * (rule start) (ambiguity) '^' operand=ALSBasicRelationTerm | ||
96 | * (rule start) (ambiguity) 'iden' (rule start) | ||
97 | * (rule start) (ambiguity) 'none' (rule start) | ||
98 | * (rule start) (ambiguity) 'sum' variables+=ALSVariableDeclaration | ||
99 | * (rule start) (ambiguity) 'univ' (rule start) | ||
100 | * (rule start) (ambiguity) '~' operand=ALSBasicRelationTerm | ||
101 | * (rule start) (ambiguity) ('not' | '!') operand=ALSBasicRelationTerm | ||
102 | * (rule start) (ambiguity) referred=[ALSRelationDeclaration|ID] | ||
103 | * (rule start) (ambiguity) referredDefinition=[ALSDefinition|ID] | ||
104 | * (rule start) (ambiguity) referredNumericOperator=ALSNumericOperator | ||
105 | * (rule start) (ambiguity) type=ALSMultiplicity | ||
106 | * (rule start) (ambiguity) value=INT | ||
107 | * (rule start) (ambiguity) value=STRING | ||
108 | * (rule start) (ambiguity) {ALSAnd.leftOperand=} | ||
109 | * (rule start) (ambiguity) {ALSDirectProduct.leftOperand=} | ||
110 | * (rule start) (ambiguity) {ALSEquals.leftOperand=} | ||
111 | * (rule start) (ambiguity) {ALSIff.leftOperand=} | ||
112 | * (rule start) (ambiguity) {ALSImpl.leftOperand=} | ||
113 | * (rule start) (ambiguity) {ALSIntersection.leftOperand=} | ||
114 | * (rule start) (ambiguity) {ALSJoin.leftOperand=} | ||
115 | * (rule start) (ambiguity) {ALSLeq.leftOperand=} | ||
116 | * (rule start) (ambiguity) {ALSLess.leftOperand=} | ||
117 | * (rule start) (ambiguity) {ALSMeq.leftOperand=} | ||
118 | * (rule start) (ambiguity) {ALSMinus.leftOperand=} | ||
119 | * (rule start) (ambiguity) {ALSMore.leftOperand=} | ||
120 | * (rule start) (ambiguity) {ALSNotEquals.leftOperand=} | ||
121 | * (rule start) (ambiguity) {ALSOr.leftOperand=} | ||
122 | * (rule start) (ambiguity) {ALSOverride.leftOperand=} | ||
123 | * (rule start) (ambiguity) {ALSPlus.leftOperand=} | ||
124 | * (rule start) (ambiguity) {ALSRangeRestrictionLeft.filter=} | ||
125 | * (rule start) (ambiguity) {ALSRangeRestrictionRight.relation=} | ||
126 | * (rule start) (ambiguity) {ALSSubset.leftOperand=} | ||
127 | */ | ||
128 | protected void emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
129 | acceptNodes(transition, nodes); | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * Ambiguous syntax: | ||
134 | * '('+ | ||
135 | * | ||
136 | * This ambiguous syntax occurs at: | ||
137 | * (rule start) (ambiguity) '#' operand=ALSBasicRelationTerm | ||
138 | * (rule start) (ambiguity) '*' operand=ALSBasicRelationTerm | ||
139 | * (rule start) (ambiguity) '-' operand=ALSBasicRelationTerm | ||
140 | * (rule start) (ambiguity) '^' operand=ALSBasicRelationTerm | ||
141 | * (rule start) (ambiguity) 'sum' variables+=ALSVariableDeclaration | ||
142 | * (rule start) (ambiguity) '~' operand=ALSBasicRelationTerm | ||
143 | * (rule start) (ambiguity) ('not' | '!') operand=ALSBasicRelationTerm | ||
144 | * (rule start) (ambiguity) referredDefinition=[ALSDefinition|ID] | ||
145 | * (rule start) (ambiguity) referredNumericOperator=ALSNumericOperator | ||
146 | * (rule start) (ambiguity) type=ALSMultiplicity | ||
147 | * (rule start) (ambiguity) {ALSAnd.leftOperand=} | ||
148 | * (rule start) (ambiguity) {ALSDirectProduct.leftOperand=} | ||
149 | * (rule start) (ambiguity) {ALSEquals.leftOperand=} | ||
150 | * (rule start) (ambiguity) {ALSIff.leftOperand=} | ||
151 | * (rule start) (ambiguity) {ALSImpl.leftOperand=} | ||
152 | * (rule start) (ambiguity) {ALSIntersection.leftOperand=} | ||
153 | * (rule start) (ambiguity) {ALSJoin.leftOperand=} | ||
154 | * (rule start) (ambiguity) {ALSLeq.leftOperand=} | ||
155 | * (rule start) (ambiguity) {ALSLess.leftOperand=} | ||
156 | * (rule start) (ambiguity) {ALSMeq.leftOperand=} | ||
157 | * (rule start) (ambiguity) {ALSMinus.leftOperand=} | ||
158 | * (rule start) (ambiguity) {ALSMore.leftOperand=} | ||
159 | * (rule start) (ambiguity) {ALSNotEquals.leftOperand=} | ||
160 | * (rule start) (ambiguity) {ALSOr.leftOperand=} | ||
161 | * (rule start) (ambiguity) {ALSOverride.leftOperand=} | ||
162 | * (rule start) (ambiguity) {ALSPlus.leftOperand=} | ||
163 | * (rule start) (ambiguity) {ALSRangeRestrictionLeft.filter=} | ||
164 | * (rule start) (ambiguity) {ALSRangeRestrictionRight.relation=} | ||
165 | * (rule start) (ambiguity) {ALSSubset.leftOperand=} | ||
166 | */ | ||
167 | protected void emit_ALSBasicRelationTerm_LeftParenthesisKeyword_8_0_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
168 | acceptNodes(transition, nodes); | ||
169 | } | ||
170 | |||
171 | /** | ||
172 | * Ambiguous syntax: | ||
173 | * '<=>' | 'iff' | ||
174 | * | ||
175 | * This ambiguous syntax occurs at: | ||
176 | * {ALSIff.leftOperand=} (ambiguity) rightOperand=ALSImpl | ||
177 | */ | ||
178 | protected void emit_ALSIff_IffKeyword_1_1_1_or_LessThanSignEqualsSignGreaterThanSignKeyword_1_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
179 | acceptNodes(transition, nodes); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * Ambiguous syntax: | ||
184 | * '=>' | 'implies' | ||
185 | * | ||
186 | * This ambiguous syntax occurs at: | ||
187 | * {ALSImpl.leftOperand=} (ambiguity) rightOperand=ALSAnd | ||
188 | */ | ||
189 | protected void emit_ALSImpl_EqualsSignGreaterThanSignKeyword_1_1_0_or_ImpliesKeyword_1_1_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
190 | acceptNodes(transition, nodes); | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * Ambiguous syntax: | ||
195 | * 'or' | '||' | ||
196 | * | ||
197 | * This ambiguous syntax occurs at: | ||
198 | * {ALSOr.leftOperand=} (ambiguity) rightOperand=ALSIff | ||
199 | */ | ||
200 | protected void emit_ALSOr_OrKeyword_1_1_1_or_VerticalLineVerticalLineKeyword_1_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
201 | acceptNodes(transition, nodes); | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * Ambiguous syntax: | ||
206 | * 'not' | '!' | ||
207 | * | ||
208 | * This ambiguous syntax occurs at: | ||
209 | * (rule start) '('* (ambiguity) operand=ALSBasicRelationTerm | ||
210 | * (rule start) '('+ (ambiguity) operand=ALSBasicRelationTerm | ||
211 | */ | ||
212 | protected void emit_ALSPreficed_ExclamationMarkKeyword_0_1_0_0_or_NotKeyword_0_1_0_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { | ||
213 | acceptNodes(transition, nodes); | ||
214 | } | ||
215 | |||
216 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java new file mode 100644 index 00000000..82f107a6 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/services/AlloyLanguageGrammarAccess.java | |||
@@ -0,0 +1,2721 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.services; | ||
5 | |||
6 | import com.google.inject.Singleton; | ||
7 | import com.google.inject.Inject; | ||
8 | |||
9 | import java.util.List; | ||
10 | |||
11 | import org.eclipse.xtext.*; | ||
12 | import org.eclipse.xtext.service.GrammarProvider; | ||
13 | import org.eclipse.xtext.service.AbstractElementFinder.*; | ||
14 | |||
15 | import org.eclipse.xtext.common.services.TerminalsGrammarAccess; | ||
16 | |||
17 | @Singleton | ||
18 | public class AlloyLanguageGrammarAccess extends AbstractGrammarElementFinder { | ||
19 | |||
20 | |||
21 | public class ALSDocumentElements extends AbstractParserRuleElementFinder { | ||
22 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDocument"); | ||
23 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
24 | private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); | ||
25 | private final Assignment cEnumDeclarationsAssignment_0_0 = (Assignment)cAlternatives_0.eContents().get(0); | ||
26 | private final RuleCall cEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0 = (RuleCall)cEnumDeclarationsAssignment_0_0.eContents().get(0); | ||
27 | private final Assignment cSignatureBodiesAssignment_0_1 = (Assignment)cAlternatives_0.eContents().get(1); | ||
28 | private final RuleCall cSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0 = (RuleCall)cSignatureBodiesAssignment_0_1.eContents().get(0); | ||
29 | private final Assignment cFunctionDefinitionsAssignment_0_2 = (Assignment)cAlternatives_0.eContents().get(2); | ||
30 | private final RuleCall cFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0 = (RuleCall)cFunctionDefinitionsAssignment_0_2.eContents().get(0); | ||
31 | private final Assignment cRelationDefinitionsAssignment_0_3 = (Assignment)cAlternatives_0.eContents().get(3); | ||
32 | private final RuleCall cRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0 = (RuleCall)cRelationDefinitionsAssignment_0_3.eContents().get(0); | ||
33 | private final Assignment cFactDeclarationsAssignment_0_4 = (Assignment)cAlternatives_0.eContents().get(4); | ||
34 | private final RuleCall cFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0 = (RuleCall)cFactDeclarationsAssignment_0_4.eContents().get(0); | ||
35 | private final Assignment cRunCommandAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
36 | private final RuleCall cRunCommandALSRunCommandParserRuleCall_1_0 = (RuleCall)cRunCommandAssignment_1.eContents().get(0); | ||
37 | |||
38 | //ALSDocument: | ||
39 | // (enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody | | ||
40 | // functionDefinitions+=ALSFunctionDefinition | relationDefinitions+=ALSRelationDefinition | | ||
41 | // factDeclarations+=ALSFactDeclaration)+ | ||
42 | // runCommand=ALSRunCommand; | ||
43 | @Override public ParserRule getRule() { return rule; } | ||
44 | |||
45 | //(enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody | functionDefinitions+=ALSFunctionDefinition | | ||
46 | //relationDefinitions+=ALSRelationDefinition | factDeclarations+=ALSFactDeclaration)+ runCommand=ALSRunCommand | ||
47 | public Group getGroup() { return cGroup; } | ||
48 | |||
49 | //(enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody | functionDefinitions+=ALSFunctionDefinition | | ||
50 | //relationDefinitions+=ALSRelationDefinition | factDeclarations+=ALSFactDeclaration)+ | ||
51 | public Alternatives getAlternatives_0() { return cAlternatives_0; } | ||
52 | |||
53 | //enumDeclarations+=ALSEnumDeclaration | ||
54 | public Assignment getEnumDeclarationsAssignment_0_0() { return cEnumDeclarationsAssignment_0_0; } | ||
55 | |||
56 | //ALSEnumDeclaration | ||
57 | public RuleCall getEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0() { return cEnumDeclarationsALSEnumDeclarationParserRuleCall_0_0_0; } | ||
58 | |||
59 | //signatureBodies+=ALSSignatureBody | ||
60 | public Assignment getSignatureBodiesAssignment_0_1() { return cSignatureBodiesAssignment_0_1; } | ||
61 | |||
62 | //ALSSignatureBody | ||
63 | public RuleCall getSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0() { return cSignatureBodiesALSSignatureBodyParserRuleCall_0_1_0; } | ||
64 | |||
65 | //functionDefinitions+=ALSFunctionDefinition | ||
66 | public Assignment getFunctionDefinitionsAssignment_0_2() { return cFunctionDefinitionsAssignment_0_2; } | ||
67 | |||
68 | //ALSFunctionDefinition | ||
69 | public RuleCall getFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0() { return cFunctionDefinitionsALSFunctionDefinitionParserRuleCall_0_2_0; } | ||
70 | |||
71 | //relationDefinitions+=ALSRelationDefinition | ||
72 | public Assignment getRelationDefinitionsAssignment_0_3() { return cRelationDefinitionsAssignment_0_3; } | ||
73 | |||
74 | //ALSRelationDefinition | ||
75 | public RuleCall getRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0() { return cRelationDefinitionsALSRelationDefinitionParserRuleCall_0_3_0; } | ||
76 | |||
77 | //factDeclarations+=ALSFactDeclaration | ||
78 | public Assignment getFactDeclarationsAssignment_0_4() { return cFactDeclarationsAssignment_0_4; } | ||
79 | |||
80 | //ALSFactDeclaration | ||
81 | public RuleCall getFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0() { return cFactDeclarationsALSFactDeclarationParserRuleCall_0_4_0; } | ||
82 | |||
83 | //runCommand=ALSRunCommand | ||
84 | public Assignment getRunCommandAssignment_1() { return cRunCommandAssignment_1; } | ||
85 | |||
86 | //ALSRunCommand | ||
87 | public RuleCall getRunCommandALSRunCommandParserRuleCall_1_0() { return cRunCommandALSRunCommandParserRuleCall_1_0; } | ||
88 | } | ||
89 | |||
90 | public class ALSIDElements extends AbstractParserRuleElementFinder { | ||
91 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSID"); | ||
92 | private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); | ||
93 | |||
94 | //ALSID: | ||
95 | // ID; | ||
96 | @Override public ParserRule getRule() { return rule; } | ||
97 | |||
98 | //ID | ||
99 | public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } | ||
100 | } | ||
101 | |||
102 | public class ALSRelationDeclarationElements extends AbstractParserRuleElementFinder { | ||
103 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDeclaration"); | ||
104 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
105 | private final RuleCall cALSTypeDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
106 | private final RuleCall cALSEnumLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
107 | private final RuleCall cALSFieldDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
108 | private final RuleCall cALSVariableDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); | ||
109 | |||
110 | //////////////////////////////////// | ||
111 | //// ALS types | ||
112 | //////////////////////////////////// | ||
113 | //ALSRelationDeclaration: | ||
114 | // ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration; | ||
115 | @Override public ParserRule getRule() { return rule; } | ||
116 | |||
117 | //ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration | ||
118 | public Alternatives getAlternatives() { return cAlternatives; } | ||
119 | |||
120 | //ALSTypeDeclaration | ||
121 | public RuleCall getALSTypeDeclarationParserRuleCall_0() { return cALSTypeDeclarationParserRuleCall_0; } | ||
122 | |||
123 | //ALSEnumLiteral | ||
124 | public RuleCall getALSEnumLiteralParserRuleCall_1() { return cALSEnumLiteralParserRuleCall_1; } | ||
125 | |||
126 | //ALSFieldDeclaration | ||
127 | public RuleCall getALSFieldDeclarationParserRuleCall_2() { return cALSFieldDeclarationParserRuleCall_2; } | ||
128 | |||
129 | //ALSVariableDeclaration | ||
130 | public RuleCall getALSVariableDeclarationParserRuleCall_3() { return cALSVariableDeclarationParserRuleCall_3; } | ||
131 | } | ||
132 | |||
133 | public class ALSTypeDeclarationElements extends AbstractParserRuleElementFinder { | ||
134 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeDeclaration"); | ||
135 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
136 | private final RuleCall cALSEnumDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
137 | private final RuleCall cALSSignatureDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
138 | |||
139 | //ALSTypeDeclaration: | ||
140 | // ALSEnumDeclaration | ALSSignatureDeclaration; | ||
141 | @Override public ParserRule getRule() { return rule; } | ||
142 | |||
143 | //ALSEnumDeclaration | ALSSignatureDeclaration | ||
144 | public Alternatives getAlternatives() { return cAlternatives; } | ||
145 | |||
146 | //ALSEnumDeclaration | ||
147 | public RuleCall getALSEnumDeclarationParserRuleCall_0() { return cALSEnumDeclarationParserRuleCall_0; } | ||
148 | |||
149 | //ALSSignatureDeclaration | ||
150 | public RuleCall getALSSignatureDeclarationParserRuleCall_1() { return cALSSignatureDeclarationParserRuleCall_1; } | ||
151 | } | ||
152 | |||
153 | public class ALSEnumDeclarationElements extends AbstractParserRuleElementFinder { | ||
154 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumDeclaration"); | ||
155 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
156 | private final Keyword cEnumKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
157 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
158 | private final RuleCall cNameALSIDParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
159 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
160 | private final Assignment cLiteralAssignment_3 = (Assignment)cGroup.eContents().get(3); | ||
161 | private final RuleCall cLiteralALSEnumLiteralParserRuleCall_3_0 = (RuleCall)cLiteralAssignment_3.eContents().get(0); | ||
162 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | ||
163 | private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); | ||
164 | private final Assignment cLiteralAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); | ||
165 | private final RuleCall cLiteralALSEnumLiteralParserRuleCall_4_1_0 = (RuleCall)cLiteralAssignment_4_1.eContents().get(0); | ||
166 | private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); | ||
167 | |||
168 | //ALSEnumDeclaration: | ||
169 | // 'enum' name=ALSID '{' | ||
170 | // literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)* | ||
171 | // '}'; | ||
172 | @Override public ParserRule getRule() { return rule; } | ||
173 | |||
174 | //'enum' name=ALSID '{' literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)* '}' | ||
175 | public Group getGroup() { return cGroup; } | ||
176 | |||
177 | //'enum' | ||
178 | public Keyword getEnumKeyword_0() { return cEnumKeyword_0; } | ||
179 | |||
180 | //name=ALSID | ||
181 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
182 | |||
183 | //ALSID | ||
184 | public RuleCall getNameALSIDParserRuleCall_1_0() { return cNameALSIDParserRuleCall_1_0; } | ||
185 | |||
186 | //'{' | ||
187 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } | ||
188 | |||
189 | //literal+=ALSEnumLiteral | ||
190 | public Assignment getLiteralAssignment_3() { return cLiteralAssignment_3; } | ||
191 | |||
192 | //ALSEnumLiteral | ||
193 | public RuleCall getLiteralALSEnumLiteralParserRuleCall_3_0() { return cLiteralALSEnumLiteralParserRuleCall_3_0; } | ||
194 | |||
195 | //("," literal+=ALSEnumLiteral)* | ||
196 | public Group getGroup_4() { return cGroup_4; } | ||
197 | |||
198 | //"," | ||
199 | public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } | ||
200 | |||
201 | //literal+=ALSEnumLiteral | ||
202 | public Assignment getLiteralAssignment_4_1() { return cLiteralAssignment_4_1; } | ||
203 | |||
204 | //ALSEnumLiteral | ||
205 | public RuleCall getLiteralALSEnumLiteralParserRuleCall_4_1_0() { return cLiteralALSEnumLiteralParserRuleCall_4_1_0; } | ||
206 | |||
207 | //'}' | ||
208 | public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } | ||
209 | } | ||
210 | |||
211 | public class ALSEnumLiteralElements extends AbstractParserRuleElementFinder { | ||
212 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSEnumLiteral"); | ||
213 | private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); | ||
214 | private final RuleCall cNameALSIDParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); | ||
215 | |||
216 | //ALSEnumLiteral: | ||
217 | // name=ALSID; | ||
218 | @Override public ParserRule getRule() { return rule; } | ||
219 | |||
220 | //name=ALSID | ||
221 | public Assignment getNameAssignment() { return cNameAssignment; } | ||
222 | |||
223 | //ALSID | ||
224 | public RuleCall getNameALSIDParserRuleCall_0() { return cNameALSIDParserRuleCall_0; } | ||
225 | } | ||
226 | |||
227 | public class ALSSignatureDeclarationElements extends AbstractParserRuleElementFinder { | ||
228 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureDeclaration"); | ||
229 | private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); | ||
230 | private final RuleCall cNameALSIDParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); | ||
231 | |||
232 | //ALSSignatureDeclaration: | ||
233 | // name=ALSID; | ||
234 | @Override public ParserRule getRule() { return rule; } | ||
235 | |||
236 | //name=ALSID | ||
237 | public Assignment getNameAssignment() { return cNameAssignment; } | ||
238 | |||
239 | //ALSID | ||
240 | public RuleCall getNameALSIDParserRuleCall_0() { return cNameALSIDParserRuleCall_0; } | ||
241 | } | ||
242 | |||
243 | public class ALSSignatureBodyElements extends AbstractParserRuleElementFinder { | ||
244 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSignatureBody"); | ||
245 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
246 | private final UnorderedGroup cUnorderedGroup_0 = (UnorderedGroup)cGroup.eContents().get(0); | ||
247 | private final Assignment cMultiplicityAssignment_0_0 = (Assignment)cUnorderedGroup_0.eContents().get(0); | ||
248 | private final RuleCall cMultiplicityALSMultiplicityEnumRuleCall_0_0_0 = (RuleCall)cMultiplicityAssignment_0_0.eContents().get(0); | ||
249 | private final Assignment cAbstractAssignment_0_1 = (Assignment)cUnorderedGroup_0.eContents().get(1); | ||
250 | private final Keyword cAbstractAbstractKeyword_0_1_0 = (Keyword)cAbstractAssignment_0_1.eContents().get(0); | ||
251 | private final Keyword cSigKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
252 | private final Assignment cDeclarationsAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
253 | private final RuleCall cDeclarationsALSSignatureDeclarationParserRuleCall_2_0 = (RuleCall)cDeclarationsAssignment_2.eContents().get(0); | ||
254 | private final Group cGroup_3 = (Group)cGroup.eContents().get(3); | ||
255 | private final Keyword cCommaKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); | ||
256 | private final Assignment cDeclarationsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); | ||
257 | private final RuleCall cDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0 = (RuleCall)cDeclarationsAssignment_3_1.eContents().get(0); | ||
258 | private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); | ||
259 | private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0); | ||
260 | private final Keyword cExtendsKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0); | ||
261 | private final Assignment cSupertypeAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1); | ||
262 | private final CrossReference cSupertypeALSSignatureDeclarationCrossReference_4_0_1_0 = (CrossReference)cSupertypeAssignment_4_0_1.eContents().get(0); | ||
263 | private final RuleCall cSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1 = (RuleCall)cSupertypeALSSignatureDeclarationCrossReference_4_0_1_0.eContents().get(1); | ||
264 | private final Group cGroup_4_1 = (Group)cAlternatives_4.eContents().get(1); | ||
265 | private final Keyword cInKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); | ||
266 | private final Assignment cSupersetAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); | ||
267 | private final CrossReference cSupersetALSSignatureDeclarationCrossReference_4_1_1_0 = (CrossReference)cSupersetAssignment_4_1_1.eContents().get(0); | ||
268 | private final RuleCall cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1 = (RuleCall)cSupersetALSSignatureDeclarationCrossReference_4_1_1_0.eContents().get(1); | ||
269 | private final Group cGroup_4_1_2 = (Group)cGroup_4_1.eContents().get(2); | ||
270 | private final Keyword cPlusSignKeyword_4_1_2_0 = (Keyword)cGroup_4_1_2.eContents().get(0); | ||
271 | private final Assignment cSupersetAssignment_4_1_2_1 = (Assignment)cGroup_4_1_2.eContents().get(1); | ||
272 | private final CrossReference cSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0 = (CrossReference)cSupersetAssignment_4_1_2_1.eContents().get(0); | ||
273 | private final RuleCall cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1 = (RuleCall)cSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0.eContents().get(1); | ||
274 | private final Keyword cLeftCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); | ||
275 | private final Group cGroup_6 = (Group)cGroup.eContents().get(6); | ||
276 | private final Assignment cFieldsAssignment_6_0 = (Assignment)cGroup_6.eContents().get(0); | ||
277 | private final RuleCall cFieldsALSFieldDeclarationParserRuleCall_6_0_0 = (RuleCall)cFieldsAssignment_6_0.eContents().get(0); | ||
278 | private final Group cGroup_6_1 = (Group)cGroup_6.eContents().get(1); | ||
279 | private final Keyword cCommaKeyword_6_1_0 = (Keyword)cGroup_6_1.eContents().get(0); | ||
280 | private final Assignment cFieldsAssignment_6_1_1 = (Assignment)cGroup_6_1.eContents().get(1); | ||
281 | private final RuleCall cFieldsALSFieldDeclarationParserRuleCall_6_1_1_0 = (RuleCall)cFieldsAssignment_6_1_1.eContents().get(0); | ||
282 | private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); | ||
283 | |||
284 | //ALSSignatureBody: | ||
285 | // (multiplicity=ALSMultiplicity? & abstract?='abstract'?) | ||
286 | // 'sig' | ||
287 | // declarations+=ALSSignatureDeclaration (',' declarations+=ALSSignatureDeclaration)* ('extends' | ||
288 | // supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+' | ||
289 | // superset+=[ALSSignatureDeclaration])*)? | ||
290 | // '{' (fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? '}'; | ||
291 | @Override public ParserRule getRule() { return rule; } | ||
292 | |||
293 | //(multiplicity=ALSMultiplicity? & abstract?='abstract'?) 'sig' declarations+=ALSSignatureDeclaration (',' | ||
294 | //declarations+=ALSSignatureDeclaration)* ('extends' supertype=[ALSSignatureDeclaration] | 'in' | ||
295 | //superset+=[ALSSignatureDeclaration] ('+' superset+=[ALSSignatureDeclaration])*)? '{' (fields+=ALSFieldDeclaration ("," | ||
296 | //fields+=ALSFieldDeclaration)*)? '}' | ||
297 | public Group getGroup() { return cGroup; } | ||
298 | |||
299 | //multiplicity=ALSMultiplicity? & abstract?='abstract'? | ||
300 | public UnorderedGroup getUnorderedGroup_0() { return cUnorderedGroup_0; } | ||
301 | |||
302 | //multiplicity=ALSMultiplicity? | ||
303 | public Assignment getMultiplicityAssignment_0_0() { return cMultiplicityAssignment_0_0; } | ||
304 | |||
305 | //ALSMultiplicity | ||
306 | public RuleCall getMultiplicityALSMultiplicityEnumRuleCall_0_0_0() { return cMultiplicityALSMultiplicityEnumRuleCall_0_0_0; } | ||
307 | |||
308 | //abstract?='abstract'? | ||
309 | public Assignment getAbstractAssignment_0_1() { return cAbstractAssignment_0_1; } | ||
310 | |||
311 | //'abstract' | ||
312 | public Keyword getAbstractAbstractKeyword_0_1_0() { return cAbstractAbstractKeyword_0_1_0; } | ||
313 | |||
314 | //'sig' | ||
315 | public Keyword getSigKeyword_1() { return cSigKeyword_1; } | ||
316 | |||
317 | //declarations+=ALSSignatureDeclaration | ||
318 | public Assignment getDeclarationsAssignment_2() { return cDeclarationsAssignment_2; } | ||
319 | |||
320 | //ALSSignatureDeclaration | ||
321 | public RuleCall getDeclarationsALSSignatureDeclarationParserRuleCall_2_0() { return cDeclarationsALSSignatureDeclarationParserRuleCall_2_0; } | ||
322 | |||
323 | //(',' declarations+=ALSSignatureDeclaration)* | ||
324 | public Group getGroup_3() { return cGroup_3; } | ||
325 | |||
326 | //',' | ||
327 | public Keyword getCommaKeyword_3_0() { return cCommaKeyword_3_0; } | ||
328 | |||
329 | //declarations+=ALSSignatureDeclaration | ||
330 | public Assignment getDeclarationsAssignment_3_1() { return cDeclarationsAssignment_3_1; } | ||
331 | |||
332 | //ALSSignatureDeclaration | ||
333 | public RuleCall getDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0() { return cDeclarationsALSSignatureDeclarationParserRuleCall_3_1_0; } | ||
334 | |||
335 | //('extends' supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+' | ||
336 | //superset+=[ALSSignatureDeclaration])*)? | ||
337 | public Alternatives getAlternatives_4() { return cAlternatives_4; } | ||
338 | |||
339 | //'extends' supertype=[ALSSignatureDeclaration] | ||
340 | public Group getGroup_4_0() { return cGroup_4_0; } | ||
341 | |||
342 | //'extends' | ||
343 | public Keyword getExtendsKeyword_4_0_0() { return cExtendsKeyword_4_0_0; } | ||
344 | |||
345 | //supertype=[ALSSignatureDeclaration] | ||
346 | public Assignment getSupertypeAssignment_4_0_1() { return cSupertypeAssignment_4_0_1; } | ||
347 | |||
348 | //[ALSSignatureDeclaration] | ||
349 | public CrossReference getSupertypeALSSignatureDeclarationCrossReference_4_0_1_0() { return cSupertypeALSSignatureDeclarationCrossReference_4_0_1_0; } | ||
350 | |||
351 | //ID | ||
352 | public RuleCall getSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1() { return cSupertypeALSSignatureDeclarationIDTerminalRuleCall_4_0_1_0_1; } | ||
353 | |||
354 | //'in' superset+=[ALSSignatureDeclaration] ('+' superset+=[ALSSignatureDeclaration])* | ||
355 | public Group getGroup_4_1() { return cGroup_4_1; } | ||
356 | |||
357 | //'in' | ||
358 | public Keyword getInKeyword_4_1_0() { return cInKeyword_4_1_0; } | ||
359 | |||
360 | //superset+=[ALSSignatureDeclaration] | ||
361 | public Assignment getSupersetAssignment_4_1_1() { return cSupersetAssignment_4_1_1; } | ||
362 | |||
363 | //[ALSSignatureDeclaration] | ||
364 | public CrossReference getSupersetALSSignatureDeclarationCrossReference_4_1_1_0() { return cSupersetALSSignatureDeclarationCrossReference_4_1_1_0; } | ||
365 | |||
366 | //ID | ||
367 | public RuleCall getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1() { return cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_1_0_1; } | ||
368 | |||
369 | //('+' superset+=[ALSSignatureDeclaration])* | ||
370 | public Group getGroup_4_1_2() { return cGroup_4_1_2; } | ||
371 | |||
372 | //'+' | ||
373 | public Keyword getPlusSignKeyword_4_1_2_0() { return cPlusSignKeyword_4_1_2_0; } | ||
374 | |||
375 | //superset+=[ALSSignatureDeclaration] | ||
376 | public Assignment getSupersetAssignment_4_1_2_1() { return cSupersetAssignment_4_1_2_1; } | ||
377 | |||
378 | //[ALSSignatureDeclaration] | ||
379 | public CrossReference getSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0() { return cSupersetALSSignatureDeclarationCrossReference_4_1_2_1_0; } | ||
380 | |||
381 | //ID | ||
382 | public RuleCall getSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1() { return cSupersetALSSignatureDeclarationIDTerminalRuleCall_4_1_2_1_0_1; } | ||
383 | |||
384 | //'{' | ||
385 | public Keyword getLeftCurlyBracketKeyword_5() { return cLeftCurlyBracketKeyword_5; } | ||
386 | |||
387 | //(fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? | ||
388 | public Group getGroup_6() { return cGroup_6; } | ||
389 | |||
390 | //fields+=ALSFieldDeclaration | ||
391 | public Assignment getFieldsAssignment_6_0() { return cFieldsAssignment_6_0; } | ||
392 | |||
393 | //ALSFieldDeclaration | ||
394 | public RuleCall getFieldsALSFieldDeclarationParserRuleCall_6_0_0() { return cFieldsALSFieldDeclarationParserRuleCall_6_0_0; } | ||
395 | |||
396 | //("," fields+=ALSFieldDeclaration)* | ||
397 | public Group getGroup_6_1() { return cGroup_6_1; } | ||
398 | |||
399 | //"," | ||
400 | public Keyword getCommaKeyword_6_1_0() { return cCommaKeyword_6_1_0; } | ||
401 | |||
402 | //fields+=ALSFieldDeclaration | ||
403 | public Assignment getFieldsAssignment_6_1_1() { return cFieldsAssignment_6_1_1; } | ||
404 | |||
405 | //ALSFieldDeclaration | ||
406 | public RuleCall getFieldsALSFieldDeclarationParserRuleCall_6_1_1_0() { return cFieldsALSFieldDeclarationParserRuleCall_6_1_1_0; } | ||
407 | |||
408 | //'}' | ||
409 | public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } | ||
410 | } | ||
411 | |||
412 | public class ALSFieldDeclarationElements extends AbstractParserRuleElementFinder { | ||
413 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFieldDeclaration"); | ||
414 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
415 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
416 | private final RuleCall cNameALSIDParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | ||
417 | private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
418 | private final Assignment cMultiplicityAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
419 | private final RuleCall cMultiplicityALSMultiplicityEnumRuleCall_2_0 = (RuleCall)cMultiplicityAssignment_2.eContents().get(0); | ||
420 | private final Assignment cTypeAssignment_3 = (Assignment)cGroup.eContents().get(3); | ||
421 | private final RuleCall cTypeALSTermParserRuleCall_3_0 = (RuleCall)cTypeAssignment_3.eContents().get(0); | ||
422 | |||
423 | //ALSFieldDeclaration: | ||
424 | // name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm; | ||
425 | @Override public ParserRule getRule() { return rule; } | ||
426 | |||
427 | //name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm | ||
428 | public Group getGroup() { return cGroup; } | ||
429 | |||
430 | //name=ALSID | ||
431 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | ||
432 | |||
433 | //ALSID | ||
434 | public RuleCall getNameALSIDParserRuleCall_0_0() { return cNameALSIDParserRuleCall_0_0; } | ||
435 | |||
436 | //':' | ||
437 | public Keyword getColonKeyword_1() { return cColonKeyword_1; } | ||
438 | |||
439 | //multiplicity=ALSMultiplicity? | ||
440 | public Assignment getMultiplicityAssignment_2() { return cMultiplicityAssignment_2; } | ||
441 | |||
442 | //ALSMultiplicity | ||
443 | public RuleCall getMultiplicityALSMultiplicityEnumRuleCall_2_0() { return cMultiplicityALSMultiplicityEnumRuleCall_2_0; } | ||
444 | |||
445 | //type=ALSTerm | ||
446 | public Assignment getTypeAssignment_3() { return cTypeAssignment_3; } | ||
447 | |||
448 | //ALSTerm | ||
449 | public RuleCall getTypeALSTermParserRuleCall_3_0() { return cTypeALSTermParserRuleCall_3_0; } | ||
450 | } | ||
451 | |||
452 | public class ALSDefinitionElements extends AbstractParserRuleElementFinder { | ||
453 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDefinition"); | ||
454 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
455 | private final RuleCall cALSFunctionDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
456 | private final RuleCall cALSRelationDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
457 | |||
458 | //ALSDefinition: | ||
459 | // ALSFunctionDefinition | ALSRelationDefinition; | ||
460 | @Override public ParserRule getRule() { return rule; } | ||
461 | |||
462 | //ALSFunctionDefinition | ALSRelationDefinition | ||
463 | public Alternatives getAlternatives() { return cAlternatives; } | ||
464 | |||
465 | //ALSFunctionDefinition | ||
466 | public RuleCall getALSFunctionDefinitionParserRuleCall_0() { return cALSFunctionDefinitionParserRuleCall_0; } | ||
467 | |||
468 | //ALSRelationDefinition | ||
469 | public RuleCall getALSRelationDefinitionParserRuleCall_1() { return cALSRelationDefinitionParserRuleCall_1; } | ||
470 | } | ||
471 | |||
472 | public class ALSFunctionDefinitionElements extends AbstractParserRuleElementFinder { | ||
473 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFunctionDefinition"); | ||
474 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
475 | private final Keyword cFunKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
476 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
477 | private final RuleCall cNameALSIDParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
478 | private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
479 | private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); | ||
480 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); | ||
481 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | ||
482 | private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); | ||
483 | private final Assignment cVariablesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); | ||
484 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_4_1_0 = (RuleCall)cVariablesAssignment_4_1.eContents().get(0); | ||
485 | private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); | ||
486 | private final Keyword cColonKeyword_6 = (Keyword)cGroup.eContents().get(6); | ||
487 | private final Assignment cTypeAssignment_7 = (Assignment)cGroup.eContents().get(7); | ||
488 | private final RuleCall cTypeALSTermParserRuleCall_7_0 = (RuleCall)cTypeAssignment_7.eContents().get(0); | ||
489 | private final Keyword cLeftCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); | ||
490 | private final Assignment cValueAssignment_9 = (Assignment)cGroup.eContents().get(9); | ||
491 | private final RuleCall cValueALSTermParserRuleCall_9_0 = (RuleCall)cValueAssignment_9.eContents().get(0); | ||
492 | private final Keyword cRightCurlyBracketKeyword_10 = (Keyword)cGroup.eContents().get(10); | ||
493 | |||
494 | //ALSFunctionDefinition: | ||
495 | // "fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm | ||
496 | // "{" value=ALSTerm "}"; | ||
497 | @Override public ParserRule getRule() { return rule; } | ||
498 | |||
499 | //"fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm "{" | ||
500 | //value=ALSTerm "}" | ||
501 | public Group getGroup() { return cGroup; } | ||
502 | |||
503 | //"fun" | ||
504 | public Keyword getFunKeyword_0() { return cFunKeyword_0; } | ||
505 | |||
506 | //name=ALSID | ||
507 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
508 | |||
509 | //ALSID | ||
510 | public RuleCall getNameALSIDParserRuleCall_1_0() { return cNameALSIDParserRuleCall_1_0; } | ||
511 | |||
512 | //"[" | ||
513 | public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; } | ||
514 | |||
515 | //variables+=ALSVariableDeclaration | ||
516 | public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } | ||
517 | |||
518 | //ALSVariableDeclaration | ||
519 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_3_0() { return cVariablesALSVariableDeclarationParserRuleCall_3_0; } | ||
520 | |||
521 | //(',' variables+=ALSVariableDeclaration)* | ||
522 | public Group getGroup_4() { return cGroup_4; } | ||
523 | |||
524 | //',' | ||
525 | public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } | ||
526 | |||
527 | //variables+=ALSVariableDeclaration | ||
528 | public Assignment getVariablesAssignment_4_1() { return cVariablesAssignment_4_1; } | ||
529 | |||
530 | //ALSVariableDeclaration | ||
531 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_4_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_4_1_0; } | ||
532 | |||
533 | //"]" | ||
534 | public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; } | ||
535 | |||
536 | //":" | ||
537 | public Keyword getColonKeyword_6() { return cColonKeyword_6; } | ||
538 | |||
539 | //type=ALSTerm | ||
540 | public Assignment getTypeAssignment_7() { return cTypeAssignment_7; } | ||
541 | |||
542 | //ALSTerm | ||
543 | public RuleCall getTypeALSTermParserRuleCall_7_0() { return cTypeALSTermParserRuleCall_7_0; } | ||
544 | |||
545 | //"{" | ||
546 | public Keyword getLeftCurlyBracketKeyword_8() { return cLeftCurlyBracketKeyword_8; } | ||
547 | |||
548 | //value=ALSTerm | ||
549 | public Assignment getValueAssignment_9() { return cValueAssignment_9; } | ||
550 | |||
551 | //ALSTerm | ||
552 | public RuleCall getValueALSTermParserRuleCall_9_0() { return cValueALSTermParserRuleCall_9_0; } | ||
553 | |||
554 | //"}" | ||
555 | public Keyword getRightCurlyBracketKeyword_10() { return cRightCurlyBracketKeyword_10; } | ||
556 | } | ||
557 | |||
558 | public class ALSRelationDefinitionElements extends AbstractParserRuleElementFinder { | ||
559 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRelationDefinition"); | ||
560 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
561 | private final Keyword cPredKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
562 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
563 | private final RuleCall cNameALSIDParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
564 | private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
565 | private final Assignment cVariablesAssignment_3 = (Assignment)cGroup.eContents().get(3); | ||
566 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_3_0 = (RuleCall)cVariablesAssignment_3.eContents().get(0); | ||
567 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | ||
568 | private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); | ||
569 | private final Assignment cVariablesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); | ||
570 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_4_1_0 = (RuleCall)cVariablesAssignment_4_1.eContents().get(0); | ||
571 | private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); | ||
572 | private final Keyword cLeftCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); | ||
573 | private final Assignment cValueAssignment_7 = (Assignment)cGroup.eContents().get(7); | ||
574 | private final RuleCall cValueALSTermParserRuleCall_7_0 = (RuleCall)cValueAssignment_7.eContents().get(0); | ||
575 | private final Keyword cRightCurlyBracketKeyword_8 = (Keyword)cGroup.eContents().get(8); | ||
576 | |||
577 | //ALSRelationDefinition: | ||
578 | // "pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" | ||
579 | // "{" value=ALSTerm "}"; | ||
580 | @Override public ParserRule getRule() { return rule; } | ||
581 | |||
582 | //"pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" "{" value=ALSTerm | ||
583 | //"}" | ||
584 | public Group getGroup() { return cGroup; } | ||
585 | |||
586 | //"pred" | ||
587 | public Keyword getPredKeyword_0() { return cPredKeyword_0; } | ||
588 | |||
589 | //name=ALSID | ||
590 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
591 | |||
592 | //ALSID | ||
593 | public RuleCall getNameALSIDParserRuleCall_1_0() { return cNameALSIDParserRuleCall_1_0; } | ||
594 | |||
595 | //"[" | ||
596 | public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; } | ||
597 | |||
598 | //variables+=ALSVariableDeclaration | ||
599 | public Assignment getVariablesAssignment_3() { return cVariablesAssignment_3; } | ||
600 | |||
601 | //ALSVariableDeclaration | ||
602 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_3_0() { return cVariablesALSVariableDeclarationParserRuleCall_3_0; } | ||
603 | |||
604 | //(',' variables+=ALSVariableDeclaration)* | ||
605 | public Group getGroup_4() { return cGroup_4; } | ||
606 | |||
607 | //',' | ||
608 | public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } | ||
609 | |||
610 | //variables+=ALSVariableDeclaration | ||
611 | public Assignment getVariablesAssignment_4_1() { return cVariablesAssignment_4_1; } | ||
612 | |||
613 | //ALSVariableDeclaration | ||
614 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_4_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_4_1_0; } | ||
615 | |||
616 | //"]" | ||
617 | public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; } | ||
618 | |||
619 | //"{" | ||
620 | public Keyword getLeftCurlyBracketKeyword_6() { return cLeftCurlyBracketKeyword_6; } | ||
621 | |||
622 | //value=ALSTerm | ||
623 | public Assignment getValueAssignment_7() { return cValueAssignment_7; } | ||
624 | |||
625 | //ALSTerm | ||
626 | public RuleCall getValueALSTermParserRuleCall_7_0() { return cValueALSTermParserRuleCall_7_0; } | ||
627 | |||
628 | //"}" | ||
629 | public Keyword getRightCurlyBracketKeyword_8() { return cRightCurlyBracketKeyword_8; } | ||
630 | } | ||
631 | |||
632 | public class ALSFactDeclarationElements extends AbstractParserRuleElementFinder { | ||
633 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSFactDeclaration"); | ||
634 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
635 | private final Action cALSFactDeclarationAction_0 = (Action)cGroup.eContents().get(0); | ||
636 | private final Keyword cFactKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
637 | private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
638 | private final RuleCall cNameALSIDParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); | ||
639 | private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
640 | private final Assignment cTermAssignment_4 = (Assignment)cGroup.eContents().get(4); | ||
641 | private final RuleCall cTermALSTermParserRuleCall_4_0 = (RuleCall)cTermAssignment_4.eContents().get(0); | ||
642 | private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); | ||
643 | |||
644 | //ALSFactDeclaration: | ||
645 | // {ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}'; | ||
646 | @Override public ParserRule getRule() { return rule; } | ||
647 | |||
648 | //{ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}' | ||
649 | public Group getGroup() { return cGroup; } | ||
650 | |||
651 | //{ALSFactDeclaration} | ||
652 | public Action getALSFactDeclarationAction_0() { return cALSFactDeclarationAction_0; } | ||
653 | |||
654 | //'fact' | ||
655 | public Keyword getFactKeyword_1() { return cFactKeyword_1; } | ||
656 | |||
657 | //name=ALSID? | ||
658 | public Assignment getNameAssignment_2() { return cNameAssignment_2; } | ||
659 | |||
660 | //ALSID | ||
661 | public RuleCall getNameALSIDParserRuleCall_2_0() { return cNameALSIDParserRuleCall_2_0; } | ||
662 | |||
663 | //'{' | ||
664 | public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } | ||
665 | |||
666 | //term=ALSTerm | ||
667 | public Assignment getTermAssignment_4() { return cTermAssignment_4; } | ||
668 | |||
669 | //ALSTerm | ||
670 | public RuleCall getTermALSTermParserRuleCall_4_0() { return cTermALSTermParserRuleCall_4_0; } | ||
671 | |||
672 | //'}' | ||
673 | public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } | ||
674 | } | ||
675 | |||
676 | public class ALSTermElements extends AbstractParserRuleElementFinder { | ||
677 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTerm"); | ||
678 | private final RuleCall cALSQuantifiedParserRuleCall = (RuleCall)rule.eContents().get(1); | ||
679 | |||
680 | //////////////////////////////////// | ||
681 | //// ALS terms | ||
682 | //////////////////////////////////// | ||
683 | //ALSTerm: | ||
684 | // ALSQuantified; | ||
685 | @Override public ParserRule getRule() { return rule; } | ||
686 | |||
687 | //ALSQuantified | ||
688 | public RuleCall getALSQuantifiedParserRuleCall() { return cALSQuantifiedParserRuleCall; } | ||
689 | } | ||
690 | |||
691 | public class ALSQuantifiedElements extends AbstractParserRuleElementFinder { | ||
692 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSQuantified"); | ||
693 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
694 | private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); | ||
695 | private final Action cALSQuantifiedExAction_0_0 = (Action)cGroup_0.eContents().get(0); | ||
696 | private final Assignment cTypeAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1); | ||
697 | private final RuleCall cTypeALSMultiplicityEnumRuleCall_0_1_0 = (RuleCall)cTypeAssignment_0_1.eContents().get(0); | ||
698 | private final Assignment cDisjAssignment_0_2 = (Assignment)cGroup_0.eContents().get(2); | ||
699 | private final Keyword cDisjDisjKeyword_0_2_0 = (Keyword)cDisjAssignment_0_2.eContents().get(0); | ||
700 | private final Assignment cVariablesAssignment_0_3 = (Assignment)cGroup_0.eContents().get(3); | ||
701 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_0_3_0 = (RuleCall)cVariablesAssignment_0_3.eContents().get(0); | ||
702 | private final Group cGroup_0_4 = (Group)cGroup_0.eContents().get(4); | ||
703 | private final Keyword cCommaKeyword_0_4_0 = (Keyword)cGroup_0_4.eContents().get(0); | ||
704 | private final Assignment cVariablesAssignment_0_4_1 = (Assignment)cGroup_0_4.eContents().get(1); | ||
705 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_0_4_1_0 = (RuleCall)cVariablesAssignment_0_4_1.eContents().get(0); | ||
706 | private final Keyword cLeftCurlyBracketKeyword_0_5 = (Keyword)cGroup_0.eContents().get(5); | ||
707 | private final Assignment cExpressionAssignment_0_6 = (Assignment)cGroup_0.eContents().get(6); | ||
708 | private final RuleCall cExpressionALSTermParserRuleCall_0_6_0 = (RuleCall)cExpressionAssignment_0_6.eContents().get(0); | ||
709 | private final Keyword cRightCurlyBracketKeyword_0_7 = (Keyword)cGroup_0.eContents().get(7); | ||
710 | private final RuleCall cALSOrParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
711 | |||
712 | //ALSQuantified ALSTerm: | ||
713 | // {ALSQuantifiedEx} type=ALSMultiplicity | ||
714 | // disj?='disj'? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | | ||
715 | // ALSOr; | ||
716 | @Override public ParserRule getRule() { return rule; } | ||
717 | |||
718 | //{ALSQuantifiedEx} type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration (',' | ||
719 | //variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | ALSOr | ||
720 | public Alternatives getAlternatives() { return cAlternatives; } | ||
721 | |||
722 | //{ALSQuantifiedEx} type=ALSMultiplicity disj?='disj'? variables+=ALSVariableDeclaration (',' | ||
723 | //variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | ||
724 | public Group getGroup_0() { return cGroup_0; } | ||
725 | |||
726 | //{ALSQuantifiedEx} | ||
727 | public Action getALSQuantifiedExAction_0_0() { return cALSQuantifiedExAction_0_0; } | ||
728 | |||
729 | //type=ALSMultiplicity | ||
730 | public Assignment getTypeAssignment_0_1() { return cTypeAssignment_0_1; } | ||
731 | |||
732 | //ALSMultiplicity | ||
733 | public RuleCall getTypeALSMultiplicityEnumRuleCall_0_1_0() { return cTypeALSMultiplicityEnumRuleCall_0_1_0; } | ||
734 | |||
735 | //disj?='disj'? | ||
736 | public Assignment getDisjAssignment_0_2() { return cDisjAssignment_0_2; } | ||
737 | |||
738 | //'disj' | ||
739 | public Keyword getDisjDisjKeyword_0_2_0() { return cDisjDisjKeyword_0_2_0; } | ||
740 | |||
741 | //variables+=ALSVariableDeclaration | ||
742 | public Assignment getVariablesAssignment_0_3() { return cVariablesAssignment_0_3; } | ||
743 | |||
744 | //ALSVariableDeclaration | ||
745 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_0_3_0() { return cVariablesALSVariableDeclarationParserRuleCall_0_3_0; } | ||
746 | |||
747 | //(',' variables+=ALSVariableDeclaration)* | ||
748 | public Group getGroup_0_4() { return cGroup_0_4; } | ||
749 | |||
750 | //',' | ||
751 | public Keyword getCommaKeyword_0_4_0() { return cCommaKeyword_0_4_0; } | ||
752 | |||
753 | //variables+=ALSVariableDeclaration | ||
754 | public Assignment getVariablesAssignment_0_4_1() { return cVariablesAssignment_0_4_1; } | ||
755 | |||
756 | //ALSVariableDeclaration | ||
757 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_0_4_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_0_4_1_0; } | ||
758 | |||
759 | //'{' | ||
760 | public Keyword getLeftCurlyBracketKeyword_0_5() { return cLeftCurlyBracketKeyword_0_5; } | ||
761 | |||
762 | //expression=ALSTerm | ||
763 | public Assignment getExpressionAssignment_0_6() { return cExpressionAssignment_0_6; } | ||
764 | |||
765 | //ALSTerm | ||
766 | public RuleCall getExpressionALSTermParserRuleCall_0_6_0() { return cExpressionALSTermParserRuleCall_0_6_0; } | ||
767 | |||
768 | //'}' | ||
769 | public Keyword getRightCurlyBracketKeyword_0_7() { return cRightCurlyBracketKeyword_0_7; } | ||
770 | |||
771 | //ALSOr | ||
772 | public RuleCall getALSOrParserRuleCall_1() { return cALSOrParserRuleCall_1; } | ||
773 | } | ||
774 | |||
775 | public class ALSOrElements extends AbstractParserRuleElementFinder { | ||
776 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOr"); | ||
777 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
778 | private final RuleCall cALSIffParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
779 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
780 | private final Action cALSOrLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
781 | private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1); | ||
782 | private final Keyword cVerticalLineVerticalLineKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0); | ||
783 | private final Keyword cOrKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1); | ||
784 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
785 | private final RuleCall cRightOperandALSIffParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
786 | |||
787 | //ALSOr ALSTerm: | ||
788 | // ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?; | ||
789 | @Override public ParserRule getRule() { return rule; } | ||
790 | |||
791 | //ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)? | ||
792 | public Group getGroup() { return cGroup; } | ||
793 | |||
794 | //ALSIff | ||
795 | public RuleCall getALSIffParserRuleCall_0() { return cALSIffParserRuleCall_0; } | ||
796 | |||
797 | //({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)? | ||
798 | public Group getGroup_1() { return cGroup_1; } | ||
799 | |||
800 | //{ALSOr.leftOperand=current} | ||
801 | public Action getALSOrLeftOperandAction_1_0() { return cALSOrLeftOperandAction_1_0; } | ||
802 | |||
803 | //"||" | "or" | ||
804 | public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; } | ||
805 | |||
806 | //"||" | ||
807 | public Keyword getVerticalLineVerticalLineKeyword_1_1_0() { return cVerticalLineVerticalLineKeyword_1_1_0; } | ||
808 | |||
809 | //"or" | ||
810 | public Keyword getOrKeyword_1_1_1() { return cOrKeyword_1_1_1; } | ||
811 | |||
812 | //rightOperand=ALSIff | ||
813 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
814 | |||
815 | //ALSIff | ||
816 | public RuleCall getRightOperandALSIffParserRuleCall_1_2_0() { return cRightOperandALSIffParserRuleCall_1_2_0; } | ||
817 | } | ||
818 | |||
819 | public class ALSIffElements extends AbstractParserRuleElementFinder { | ||
820 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIff"); | ||
821 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
822 | private final RuleCall cALSImplParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
823 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
824 | private final Action cALSIffLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
825 | private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1); | ||
826 | private final Keyword cLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0); | ||
827 | private final Keyword cIffKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1); | ||
828 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
829 | private final RuleCall cRightOperandALSImplParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
830 | |||
831 | //ALSIff ALSTerm: | ||
832 | // ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?; | ||
833 | @Override public ParserRule getRule() { return rule; } | ||
834 | |||
835 | //ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)? | ||
836 | public Group getGroup() { return cGroup; } | ||
837 | |||
838 | //ALSImpl | ||
839 | public RuleCall getALSImplParserRuleCall_0() { return cALSImplParserRuleCall_0; } | ||
840 | |||
841 | //({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)? | ||
842 | public Group getGroup_1() { return cGroup_1; } | ||
843 | |||
844 | //{ALSIff.leftOperand=current} | ||
845 | public Action getALSIffLeftOperandAction_1_0() { return cALSIffLeftOperandAction_1_0; } | ||
846 | |||
847 | //"<=>" | "iff" | ||
848 | public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; } | ||
849 | |||
850 | //"<=>" | ||
851 | public Keyword getLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0() { return cLessThanSignEqualsSignGreaterThanSignKeyword_1_1_0; } | ||
852 | |||
853 | //"iff" | ||
854 | public Keyword getIffKeyword_1_1_1() { return cIffKeyword_1_1_1; } | ||
855 | |||
856 | //rightOperand=ALSImpl | ||
857 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
858 | |||
859 | //ALSImpl | ||
860 | public RuleCall getRightOperandALSImplParserRuleCall_1_2_0() { return cRightOperandALSImplParserRuleCall_1_2_0; } | ||
861 | } | ||
862 | |||
863 | public class ALSImplElements extends AbstractParserRuleElementFinder { | ||
864 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSImpl"); | ||
865 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
866 | private final RuleCall cALSAndParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
867 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
868 | private final Action cALSImplLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
869 | private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1); | ||
870 | private final Keyword cEqualsSignGreaterThanSignKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0); | ||
871 | private final Keyword cImpliesKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1); | ||
872 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
873 | private final RuleCall cRightOperandALSAndParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
874 | private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3); | ||
875 | private final Keyword cElseKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0); | ||
876 | private final Assignment cElseOperandAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1); | ||
877 | private final RuleCall cElseOperandALSAndParserRuleCall_1_3_1_0 = (RuleCall)cElseOperandAssignment_1_3_1.eContents().get(0); | ||
878 | |||
879 | //ALSImpl ALSTerm: | ||
880 | // ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?; | ||
881 | @Override public ParserRule getRule() { return rule; } | ||
882 | |||
883 | //ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)? | ||
884 | public Group getGroup() { return cGroup; } | ||
885 | |||
886 | //ALSAnd | ||
887 | public RuleCall getALSAndParserRuleCall_0() { return cALSAndParserRuleCall_0; } | ||
888 | |||
889 | //({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)? | ||
890 | public Group getGroup_1() { return cGroup_1; } | ||
891 | |||
892 | //{ALSImpl.leftOperand=current} | ||
893 | public Action getALSImplLeftOperandAction_1_0() { return cALSImplLeftOperandAction_1_0; } | ||
894 | |||
895 | //"=>" | "implies" | ||
896 | public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; } | ||
897 | |||
898 | //"=>" | ||
899 | public Keyword getEqualsSignGreaterThanSignKeyword_1_1_0() { return cEqualsSignGreaterThanSignKeyword_1_1_0; } | ||
900 | |||
901 | //"implies" | ||
902 | public Keyword getImpliesKeyword_1_1_1() { return cImpliesKeyword_1_1_1; } | ||
903 | |||
904 | //rightOperand=ALSAnd | ||
905 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
906 | |||
907 | //ALSAnd | ||
908 | public RuleCall getRightOperandALSAndParserRuleCall_1_2_0() { return cRightOperandALSAndParserRuleCall_1_2_0; } | ||
909 | |||
910 | //('else' elseOperand=ALSAnd)? | ||
911 | public Group getGroup_1_3() { return cGroup_1_3; } | ||
912 | |||
913 | //'else' | ||
914 | public Keyword getElseKeyword_1_3_0() { return cElseKeyword_1_3_0; } | ||
915 | |||
916 | //elseOperand=ALSAnd | ||
917 | public Assignment getElseOperandAssignment_1_3_1() { return cElseOperandAssignment_1_3_1; } | ||
918 | |||
919 | //ALSAnd | ||
920 | public RuleCall getElseOperandALSAndParserRuleCall_1_3_1_0() { return cElseOperandALSAndParserRuleCall_1_3_1_0; } | ||
921 | } | ||
922 | |||
923 | public class ALSAndElements extends AbstractParserRuleElementFinder { | ||
924 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSAnd"); | ||
925 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
926 | private final RuleCall cALSComparisonParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
927 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
928 | private final Action cALSAndLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
929 | private final Alternatives cAlternatives_1_1 = (Alternatives)cGroup_1.eContents().get(1); | ||
930 | private final Keyword cAmpersandAmpersandKeyword_1_1_0 = (Keyword)cAlternatives_1_1.eContents().get(0); | ||
931 | private final Keyword cAndKeyword_1_1_1 = (Keyword)cAlternatives_1_1.eContents().get(1); | ||
932 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
933 | private final RuleCall cRightOperandALSComparisonParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
934 | |||
935 | //ALSAnd ALSTerm: | ||
936 | // ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?; | ||
937 | @Override public ParserRule getRule() { return rule; } | ||
938 | |||
939 | //ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)? | ||
940 | public Group getGroup() { return cGroup; } | ||
941 | |||
942 | //ALSComparison | ||
943 | public RuleCall getALSComparisonParserRuleCall_0() { return cALSComparisonParserRuleCall_0; } | ||
944 | |||
945 | //({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)? | ||
946 | public Group getGroup_1() { return cGroup_1; } | ||
947 | |||
948 | //{ALSAnd.leftOperand=current} | ||
949 | public Action getALSAndLeftOperandAction_1_0() { return cALSAndLeftOperandAction_1_0; } | ||
950 | |||
951 | //"&&" | "and" | ||
952 | public Alternatives getAlternatives_1_1() { return cAlternatives_1_1; } | ||
953 | |||
954 | //"&&" | ||
955 | public Keyword getAmpersandAmpersandKeyword_1_1_0() { return cAmpersandAmpersandKeyword_1_1_0; } | ||
956 | |||
957 | //"and" | ||
958 | public Keyword getAndKeyword_1_1_1() { return cAndKeyword_1_1_1; } | ||
959 | |||
960 | //rightOperand=ALSComparison | ||
961 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
962 | |||
963 | //ALSComparison | ||
964 | public RuleCall getRightOperandALSComparisonParserRuleCall_1_2_0() { return cRightOperandALSComparisonParserRuleCall_1_2_0; } | ||
965 | } | ||
966 | |||
967 | public class ALSComparisonElements extends AbstractParserRuleElementFinder { | ||
968 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSComparison"); | ||
969 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
970 | private final RuleCall cALSOverrideParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
971 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
972 | private final Alternatives cAlternatives_1_0 = (Alternatives)cGroup_1.eContents().get(0); | ||
973 | private final Group cGroup_1_0_0 = (Group)cAlternatives_1_0.eContents().get(0); | ||
974 | private final Action cALSEqualsLeftOperandAction_1_0_0_0 = (Action)cGroup_1_0_0.eContents().get(0); | ||
975 | private final Keyword cEqualsSignKeyword_1_0_0_1 = (Keyword)cGroup_1_0_0.eContents().get(1); | ||
976 | private final Group cGroup_1_0_1 = (Group)cAlternatives_1_0.eContents().get(1); | ||
977 | private final Action cALSNotEqualsLeftOperandAction_1_0_1_0 = (Action)cGroup_1_0_1.eContents().get(0); | ||
978 | private final Keyword cExclamationMarkEqualsSignKeyword_1_0_1_1 = (Keyword)cGroup_1_0_1.eContents().get(1); | ||
979 | private final Group cGroup_1_0_2 = (Group)cAlternatives_1_0.eContents().get(2); | ||
980 | private final Action cALSSubsetLeftOperandAction_1_0_2_0 = (Action)cGroup_1_0_2.eContents().get(0); | ||
981 | private final Keyword cInKeyword_1_0_2_1 = (Keyword)cGroup_1_0_2.eContents().get(1); | ||
982 | private final Group cGroup_1_0_3 = (Group)cAlternatives_1_0.eContents().get(3); | ||
983 | private final Action cALSLessLeftOperandAction_1_0_3_0 = (Action)cGroup_1_0_3.eContents().get(0); | ||
984 | private final Keyword cGreaterThanSignKeyword_1_0_3_1 = (Keyword)cGroup_1_0_3.eContents().get(1); | ||
985 | private final Group cGroup_1_0_4 = (Group)cAlternatives_1_0.eContents().get(4); | ||
986 | private final Action cALSLeqLeftOperandAction_1_0_4_0 = (Action)cGroup_1_0_4.eContents().get(0); | ||
987 | private final Keyword cGreaterThanSignEqualsSignKeyword_1_0_4_1 = (Keyword)cGroup_1_0_4.eContents().get(1); | ||
988 | private final Group cGroup_1_0_5 = (Group)cAlternatives_1_0.eContents().get(5); | ||
989 | private final Action cALSMoreLeftOperandAction_1_0_5_0 = (Action)cGroup_1_0_5.eContents().get(0); | ||
990 | private final Keyword cLessThanSignKeyword_1_0_5_1 = (Keyword)cGroup_1_0_5.eContents().get(1); | ||
991 | private final Group cGroup_1_0_6 = (Group)cAlternatives_1_0.eContents().get(6); | ||
992 | private final Action cALSMeqLeftOperandAction_1_0_6_0 = (Action)cGroup_1_0_6.eContents().get(0); | ||
993 | private final Keyword cLessThanSignEqualsSignKeyword_1_0_6_1 = (Keyword)cGroup_1_0_6.eContents().get(1); | ||
994 | private final Assignment cRightOperandAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); | ||
995 | private final RuleCall cRightOperandALSOverrideParserRuleCall_1_1_0 = (RuleCall)cRightOperandAssignment_1_1.eContents().get(0); | ||
996 | |||
997 | //ALSComparison ALSTerm: | ||
998 | // ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | | ||
999 | // {ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | | ||
1000 | // {ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?; | ||
1001 | @Override public ParserRule getRule() { return rule; } | ||
1002 | |||
1003 | //ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | | ||
1004 | //{ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | | ||
1005 | //{ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)? | ||
1006 | public Group getGroup() { return cGroup; } | ||
1007 | |||
1008 | //ALSOverride | ||
1009 | public RuleCall getALSOverrideParserRuleCall_0() { return cALSOverrideParserRuleCall_0; } | ||
1010 | |||
1011 | //(({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | {ALSSubset.leftOperand=current} "in" | | ||
1012 | //{ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | {ALSMore.leftOperand=current} "<" | | ||
1013 | //{ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)? | ||
1014 | public Group getGroup_1() { return cGroup_1; } | ||
1015 | |||
1016 | //{ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | {ALSSubset.leftOperand=current} "in" | | ||
1017 | //{ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | {ALSMore.leftOperand=current} "<" | | ||
1018 | //{ALSMeq.leftOperand=current} "<=" | ||
1019 | public Alternatives getAlternatives_1_0() { return cAlternatives_1_0; } | ||
1020 | |||
1021 | //{ALSEquals.leftOperand=current} "=" | ||
1022 | public Group getGroup_1_0_0() { return cGroup_1_0_0; } | ||
1023 | |||
1024 | //{ALSEquals.leftOperand=current} | ||
1025 | public Action getALSEqualsLeftOperandAction_1_0_0_0() { return cALSEqualsLeftOperandAction_1_0_0_0; } | ||
1026 | |||
1027 | //"=" | ||
1028 | public Keyword getEqualsSignKeyword_1_0_0_1() { return cEqualsSignKeyword_1_0_0_1; } | ||
1029 | |||
1030 | //{ALSNotEquals.leftOperand=current} "!=" | ||
1031 | public Group getGroup_1_0_1() { return cGroup_1_0_1; } | ||
1032 | |||
1033 | //{ALSNotEquals.leftOperand=current} | ||
1034 | public Action getALSNotEqualsLeftOperandAction_1_0_1_0() { return cALSNotEqualsLeftOperandAction_1_0_1_0; } | ||
1035 | |||
1036 | //"!=" | ||
1037 | public Keyword getExclamationMarkEqualsSignKeyword_1_0_1_1() { return cExclamationMarkEqualsSignKeyword_1_0_1_1; } | ||
1038 | |||
1039 | //{ALSSubset.leftOperand=current} "in" | ||
1040 | public Group getGroup_1_0_2() { return cGroup_1_0_2; } | ||
1041 | |||
1042 | //{ALSSubset.leftOperand=current} | ||
1043 | public Action getALSSubsetLeftOperandAction_1_0_2_0() { return cALSSubsetLeftOperandAction_1_0_2_0; } | ||
1044 | |||
1045 | //"in" | ||
1046 | public Keyword getInKeyword_1_0_2_1() { return cInKeyword_1_0_2_1; } | ||
1047 | |||
1048 | //{ALSLess.leftOperand=current} ">" | ||
1049 | public Group getGroup_1_0_3() { return cGroup_1_0_3; } | ||
1050 | |||
1051 | //{ALSLess.leftOperand=current} | ||
1052 | public Action getALSLessLeftOperandAction_1_0_3_0() { return cALSLessLeftOperandAction_1_0_3_0; } | ||
1053 | |||
1054 | //">" | ||
1055 | public Keyword getGreaterThanSignKeyword_1_0_3_1() { return cGreaterThanSignKeyword_1_0_3_1; } | ||
1056 | |||
1057 | //{ALSLeq.leftOperand=current} ">=" | ||
1058 | public Group getGroup_1_0_4() { return cGroup_1_0_4; } | ||
1059 | |||
1060 | //{ALSLeq.leftOperand=current} | ||
1061 | public Action getALSLeqLeftOperandAction_1_0_4_0() { return cALSLeqLeftOperandAction_1_0_4_0; } | ||
1062 | |||
1063 | //">=" | ||
1064 | public Keyword getGreaterThanSignEqualsSignKeyword_1_0_4_1() { return cGreaterThanSignEqualsSignKeyword_1_0_4_1; } | ||
1065 | |||
1066 | //{ALSMore.leftOperand=current} "<" | ||
1067 | public Group getGroup_1_0_5() { return cGroup_1_0_5; } | ||
1068 | |||
1069 | //{ALSMore.leftOperand=current} | ||
1070 | public Action getALSMoreLeftOperandAction_1_0_5_0() { return cALSMoreLeftOperandAction_1_0_5_0; } | ||
1071 | |||
1072 | //"<" | ||
1073 | public Keyword getLessThanSignKeyword_1_0_5_1() { return cLessThanSignKeyword_1_0_5_1; } | ||
1074 | |||
1075 | //{ALSMeq.leftOperand=current} "<=" | ||
1076 | public Group getGroup_1_0_6() { return cGroup_1_0_6; } | ||
1077 | |||
1078 | //{ALSMeq.leftOperand=current} | ||
1079 | public Action getALSMeqLeftOperandAction_1_0_6_0() { return cALSMeqLeftOperandAction_1_0_6_0; } | ||
1080 | |||
1081 | //"<=" | ||
1082 | public Keyword getLessThanSignEqualsSignKeyword_1_0_6_1() { return cLessThanSignEqualsSignKeyword_1_0_6_1; } | ||
1083 | |||
1084 | //rightOperand=ALSOverride | ||
1085 | public Assignment getRightOperandAssignment_1_1() { return cRightOperandAssignment_1_1; } | ||
1086 | |||
1087 | //ALSOverride | ||
1088 | public RuleCall getRightOperandALSOverrideParserRuleCall_1_1_0() { return cRightOperandALSOverrideParserRuleCall_1_1_0; } | ||
1089 | } | ||
1090 | |||
1091 | public class ALSOverrideElements extends AbstractParserRuleElementFinder { | ||
1092 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSOverride"); | ||
1093 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1094 | private final RuleCall cALSRangeRestrictionRightParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1095 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1096 | private final Action cALSOverrideLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1097 | private final Keyword cPlusSignPlusSignKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1098 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1099 | private final RuleCall cRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
1100 | |||
1101 | //ALSOverride ALSTerm: | ||
1102 | // ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?; | ||
1103 | @Override public ParserRule getRule() { return rule; } | ||
1104 | |||
1105 | //ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)? | ||
1106 | public Group getGroup() { return cGroup; } | ||
1107 | |||
1108 | //ALSRangeRestrictionRight | ||
1109 | public RuleCall getALSRangeRestrictionRightParserRuleCall_0() { return cALSRangeRestrictionRightParserRuleCall_0; } | ||
1110 | |||
1111 | //({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)? | ||
1112 | public Group getGroup_1() { return cGroup_1; } | ||
1113 | |||
1114 | //{ALSOverride.leftOperand=current} | ||
1115 | public Action getALSOverrideLeftOperandAction_1_0() { return cALSOverrideLeftOperandAction_1_0; } | ||
1116 | |||
1117 | //'++' | ||
1118 | public Keyword getPlusSignPlusSignKeyword_1_1() { return cPlusSignPlusSignKeyword_1_1; } | ||
1119 | |||
1120 | //rightOperand=ALSRangeRestrictionRight | ||
1121 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
1122 | |||
1123 | //ALSRangeRestrictionRight | ||
1124 | public RuleCall getRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0() { return cRightOperandALSRangeRestrictionRightParserRuleCall_1_2_0; } | ||
1125 | } | ||
1126 | |||
1127 | public class ALSRangeRestrictionRightElements extends AbstractParserRuleElementFinder { | ||
1128 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionRight"); | ||
1129 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1130 | private final RuleCall cALSRangeRestrictionLeftParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1131 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1132 | private final Action cALSRangeRestrictionRightRelationAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1133 | private final Keyword cColonGreaterThanSignKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1134 | private final Assignment cFilterAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1135 | private final RuleCall cFilterALSRangeRestrictionLeftParserRuleCall_1_2_0 = (RuleCall)cFilterAssignment_1_2.eContents().get(0); | ||
1136 | |||
1137 | //ALSRangeRestrictionRight ALSTerm: | ||
1138 | // ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?; | ||
1139 | @Override public ParserRule getRule() { return rule; } | ||
1140 | |||
1141 | //ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)? | ||
1142 | public Group getGroup() { return cGroup; } | ||
1143 | |||
1144 | //ALSRangeRestrictionLeft | ||
1145 | public RuleCall getALSRangeRestrictionLeftParserRuleCall_0() { return cALSRangeRestrictionLeftParserRuleCall_0; } | ||
1146 | |||
1147 | //({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)? | ||
1148 | public Group getGroup_1() { return cGroup_1; } | ||
1149 | |||
1150 | //{ALSRangeRestrictionRight.relation=current} | ||
1151 | public Action getALSRangeRestrictionRightRelationAction_1_0() { return cALSRangeRestrictionRightRelationAction_1_0; } | ||
1152 | |||
1153 | //':>' | ||
1154 | public Keyword getColonGreaterThanSignKeyword_1_1() { return cColonGreaterThanSignKeyword_1_1; } | ||
1155 | |||
1156 | //filter=ALSRangeRestrictionLeft | ||
1157 | public Assignment getFilterAssignment_1_2() { return cFilterAssignment_1_2; } | ||
1158 | |||
1159 | //ALSRangeRestrictionLeft | ||
1160 | public RuleCall getFilterALSRangeRestrictionLeftParserRuleCall_1_2_0() { return cFilterALSRangeRestrictionLeftParserRuleCall_1_2_0; } | ||
1161 | } | ||
1162 | |||
1163 | public class ALSRangeRestrictionLeftElements extends AbstractParserRuleElementFinder { | ||
1164 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRangeRestrictionLeft"); | ||
1165 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1166 | private final RuleCall cALSJoinParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1167 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1168 | private final Action cALSRangeRestrictionLeftFilterAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1169 | private final Keyword cLessThanSignColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1170 | private final Assignment cRelationAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1171 | private final RuleCall cRelationALSJoinParserRuleCall_1_2_0 = (RuleCall)cRelationAssignment_1_2.eContents().get(0); | ||
1172 | |||
1173 | //ALSRangeRestrictionLeft ALSTerm: | ||
1174 | // ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?; | ||
1175 | @Override public ParserRule getRule() { return rule; } | ||
1176 | |||
1177 | //ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)? | ||
1178 | public Group getGroup() { return cGroup; } | ||
1179 | |||
1180 | //ALSJoin | ||
1181 | public RuleCall getALSJoinParserRuleCall_0() { return cALSJoinParserRuleCall_0; } | ||
1182 | |||
1183 | //({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)? | ||
1184 | public Group getGroup_1() { return cGroup_1; } | ||
1185 | |||
1186 | //{ALSRangeRestrictionLeft.filter=current} | ||
1187 | public Action getALSRangeRestrictionLeftFilterAction_1_0() { return cALSRangeRestrictionLeftFilterAction_1_0; } | ||
1188 | |||
1189 | //'<:' | ||
1190 | public Keyword getLessThanSignColonKeyword_1_1() { return cLessThanSignColonKeyword_1_1; } | ||
1191 | |||
1192 | //relation=ALSJoin | ||
1193 | public Assignment getRelationAssignment_1_2() { return cRelationAssignment_1_2; } | ||
1194 | |||
1195 | //ALSJoin | ||
1196 | public RuleCall getRelationALSJoinParserRuleCall_1_2_0() { return cRelationALSJoinParserRuleCall_1_2_0; } | ||
1197 | } | ||
1198 | |||
1199 | public class ALSJoinElements extends AbstractParserRuleElementFinder { | ||
1200 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSJoin"); | ||
1201 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1202 | private final RuleCall cALSMinusParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1203 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1204 | private final Action cALSJoinLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1205 | private final Keyword cFullStopKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1206 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1207 | private final RuleCall cRightOperandALSMinusParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
1208 | |||
1209 | //ALSJoin ALSTerm: | ||
1210 | // ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*; | ||
1211 | @Override public ParserRule getRule() { return rule; } | ||
1212 | |||
1213 | //ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)* | ||
1214 | public Group getGroup() { return cGroup; } | ||
1215 | |||
1216 | //ALSMinus | ||
1217 | public RuleCall getALSMinusParserRuleCall_0() { return cALSMinusParserRuleCall_0; } | ||
1218 | |||
1219 | //({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)* | ||
1220 | public Group getGroup_1() { return cGroup_1; } | ||
1221 | |||
1222 | //{ALSJoin.leftOperand=current} | ||
1223 | public Action getALSJoinLeftOperandAction_1_0() { return cALSJoinLeftOperandAction_1_0; } | ||
1224 | |||
1225 | //'.' | ||
1226 | public Keyword getFullStopKeyword_1_1() { return cFullStopKeyword_1_1; } | ||
1227 | |||
1228 | //rightOperand=ALSMinus | ||
1229 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
1230 | |||
1231 | //ALSMinus | ||
1232 | public RuleCall getRightOperandALSMinusParserRuleCall_1_2_0() { return cRightOperandALSMinusParserRuleCall_1_2_0; } | ||
1233 | } | ||
1234 | |||
1235 | public class ALSMinusElements extends AbstractParserRuleElementFinder { | ||
1236 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMinus"); | ||
1237 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1238 | private final RuleCall cALSPlusParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1239 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1240 | private final Action cALSMinusLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1241 | private final Keyword cHyphenMinusKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1242 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1243 | private final RuleCall cRightOperandALSPlusParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
1244 | |||
1245 | //ALSMinus ALSTerm: | ||
1246 | // ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*; | ||
1247 | @Override public ParserRule getRule() { return rule; } | ||
1248 | |||
1249 | //ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)* | ||
1250 | public Group getGroup() { return cGroup; } | ||
1251 | |||
1252 | //ALSPlus | ||
1253 | public RuleCall getALSPlusParserRuleCall_0() { return cALSPlusParserRuleCall_0; } | ||
1254 | |||
1255 | //({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)* | ||
1256 | public Group getGroup_1() { return cGroup_1; } | ||
1257 | |||
1258 | //{ALSMinus.leftOperand=current} | ||
1259 | public Action getALSMinusLeftOperandAction_1_0() { return cALSMinusLeftOperandAction_1_0; } | ||
1260 | |||
1261 | //'-' | ||
1262 | public Keyword getHyphenMinusKeyword_1_1() { return cHyphenMinusKeyword_1_1; } | ||
1263 | |||
1264 | //rightOperand=ALSPlus | ||
1265 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
1266 | |||
1267 | //ALSPlus | ||
1268 | public RuleCall getRightOperandALSPlusParserRuleCall_1_2_0() { return cRightOperandALSPlusParserRuleCall_1_2_0; } | ||
1269 | } | ||
1270 | |||
1271 | public class ALSPlusElements extends AbstractParserRuleElementFinder { | ||
1272 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPlus"); | ||
1273 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1274 | private final RuleCall cALSIntersectionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1275 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1276 | private final Action cALSPlusLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1277 | private final Keyword cPlusSignKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1278 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1279 | private final RuleCall cRightOperandALSIntersectionParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
1280 | |||
1281 | //ALSPlus ALSTerm: | ||
1282 | // ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*; | ||
1283 | @Override public ParserRule getRule() { return rule; } | ||
1284 | |||
1285 | //ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)* | ||
1286 | public Group getGroup() { return cGroup; } | ||
1287 | |||
1288 | //ALSIntersection | ||
1289 | public RuleCall getALSIntersectionParserRuleCall_0() { return cALSIntersectionParserRuleCall_0; } | ||
1290 | |||
1291 | //({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)* | ||
1292 | public Group getGroup_1() { return cGroup_1; } | ||
1293 | |||
1294 | //{ALSPlus.leftOperand=current} | ||
1295 | public Action getALSPlusLeftOperandAction_1_0() { return cALSPlusLeftOperandAction_1_0; } | ||
1296 | |||
1297 | //'+' | ||
1298 | public Keyword getPlusSignKeyword_1_1() { return cPlusSignKeyword_1_1; } | ||
1299 | |||
1300 | //rightOperand=ALSIntersection | ||
1301 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
1302 | |||
1303 | //ALSIntersection | ||
1304 | public RuleCall getRightOperandALSIntersectionParserRuleCall_1_2_0() { return cRightOperandALSIntersectionParserRuleCall_1_2_0; } | ||
1305 | } | ||
1306 | |||
1307 | public class ALSIntersectionElements extends AbstractParserRuleElementFinder { | ||
1308 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntersection"); | ||
1309 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1310 | private final RuleCall cALSDirectProductParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1311 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1312 | private final Action cALSIntersectionLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1313 | private final Keyword cAmpersandKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1314 | private final Assignment cRightOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1315 | private final RuleCall cRightOperandALSDirectProductParserRuleCall_1_2_0 = (RuleCall)cRightOperandAssignment_1_2.eContents().get(0); | ||
1316 | |||
1317 | //ALSIntersection ALSTerm: | ||
1318 | // ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*; | ||
1319 | @Override public ParserRule getRule() { return rule; } | ||
1320 | |||
1321 | //ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)* | ||
1322 | public Group getGroup() { return cGroup; } | ||
1323 | |||
1324 | //ALSDirectProduct | ||
1325 | public RuleCall getALSDirectProductParserRuleCall_0() { return cALSDirectProductParserRuleCall_0; } | ||
1326 | |||
1327 | //({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)* | ||
1328 | public Group getGroup_1() { return cGroup_1; } | ||
1329 | |||
1330 | //{ALSIntersection.leftOperand=current} | ||
1331 | public Action getALSIntersectionLeftOperandAction_1_0() { return cALSIntersectionLeftOperandAction_1_0; } | ||
1332 | |||
1333 | //'&' | ||
1334 | public Keyword getAmpersandKeyword_1_1() { return cAmpersandKeyword_1_1; } | ||
1335 | |||
1336 | //rightOperand=ALSDirectProduct | ||
1337 | public Assignment getRightOperandAssignment_1_2() { return cRightOperandAssignment_1_2; } | ||
1338 | |||
1339 | //ALSDirectProduct | ||
1340 | public RuleCall getRightOperandALSDirectProductParserRuleCall_1_2_0() { return cRightOperandALSDirectProductParserRuleCall_1_2_0; } | ||
1341 | } | ||
1342 | |||
1343 | public class ALSDirectProductElements extends AbstractParserRuleElementFinder { | ||
1344 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSDirectProduct"); | ||
1345 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1346 | private final RuleCall cALSPreficedParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
1347 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
1348 | private final Action cALSDirectProductLeftOperandAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1349 | private final Assignment cLeftMultiplicitAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); | ||
1350 | private final RuleCall cLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0 = (RuleCall)cLeftMultiplicitAssignment_1_1.eContents().get(0); | ||
1351 | private final Keyword cHyphenMinusGreaterThanSignKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); | ||
1352 | private final Assignment cRightMultiplicitAssignment_1_3 = (Assignment)cGroup_1.eContents().get(3); | ||
1353 | private final RuleCall cRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0 = (RuleCall)cRightMultiplicitAssignment_1_3.eContents().get(0); | ||
1354 | private final Assignment cRightOperandAssignment_1_4 = (Assignment)cGroup_1.eContents().get(4); | ||
1355 | private final RuleCall cRightOperandALSPreficedParserRuleCall_1_4_0 = (RuleCall)cRightOperandAssignment_1_4.eContents().get(0); | ||
1356 | |||
1357 | ////ALSMultiply returns ALSTerm: ALSDirectProduct ({ALSMultiply.leftOperand = current} '*' rightOperand = ALSDirectProduct)*; | ||
1358 | //ALSDirectProduct ALSTerm: | ||
1359 | // ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity? | ||
1360 | // '->' | ||
1361 | // rightMultiplicit=ALSMultiplicity? | ||
1362 | // rightOperand=ALSPreficed)?; | ||
1363 | @Override public ParserRule getRule() { return rule; } | ||
1364 | |||
1365 | //ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity? '->' | ||
1366 | //rightMultiplicit=ALSMultiplicity? rightOperand=ALSPreficed)? | ||
1367 | public Group getGroup() { return cGroup; } | ||
1368 | |||
1369 | //ALSPreficed | ||
1370 | public RuleCall getALSPreficedParserRuleCall_0() { return cALSPreficedParserRuleCall_0; } | ||
1371 | |||
1372 | //({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity? '->' rightMultiplicit=ALSMultiplicity? | ||
1373 | //rightOperand=ALSPreficed)? | ||
1374 | public Group getGroup_1() { return cGroup_1; } | ||
1375 | |||
1376 | //{ALSDirectProduct.leftOperand=current} | ||
1377 | public Action getALSDirectProductLeftOperandAction_1_0() { return cALSDirectProductLeftOperandAction_1_0; } | ||
1378 | |||
1379 | //leftMultiplicit=ALSMultiplicity? | ||
1380 | public Assignment getLeftMultiplicitAssignment_1_1() { return cLeftMultiplicitAssignment_1_1; } | ||
1381 | |||
1382 | //ALSMultiplicity | ||
1383 | public RuleCall getLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0() { return cLeftMultiplicitALSMultiplicityEnumRuleCall_1_1_0; } | ||
1384 | |||
1385 | //'->' | ||
1386 | public Keyword getHyphenMinusGreaterThanSignKeyword_1_2() { return cHyphenMinusGreaterThanSignKeyword_1_2; } | ||
1387 | |||
1388 | //rightMultiplicit=ALSMultiplicity? | ||
1389 | public Assignment getRightMultiplicitAssignment_1_3() { return cRightMultiplicitAssignment_1_3; } | ||
1390 | |||
1391 | //ALSMultiplicity | ||
1392 | public RuleCall getRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0() { return cRightMultiplicitALSMultiplicityEnumRuleCall_1_3_0; } | ||
1393 | |||
1394 | //rightOperand=ALSPreficed | ||
1395 | public Assignment getRightOperandAssignment_1_4() { return cRightOperandAssignment_1_4; } | ||
1396 | |||
1397 | //ALSPreficed | ||
1398 | public RuleCall getRightOperandALSPreficedParserRuleCall_1_4_0() { return cRightOperandALSPreficedParserRuleCall_1_4_0; } | ||
1399 | } | ||
1400 | |||
1401 | public class ALSPreficedElements extends AbstractParserRuleElementFinder { | ||
1402 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSPreficed"); | ||
1403 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1404 | private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); | ||
1405 | private final Action cALSNotAction_0_0 = (Action)cGroup_0.eContents().get(0); | ||
1406 | private final Group cGroup_0_1 = (Group)cGroup_0.eContents().get(1); | ||
1407 | private final Alternatives cAlternatives_0_1_0 = (Alternatives)cGroup_0_1.eContents().get(0); | ||
1408 | private final Keyword cExclamationMarkKeyword_0_1_0_0 = (Keyword)cAlternatives_0_1_0.eContents().get(0); | ||
1409 | private final Keyword cNotKeyword_0_1_0_1 = (Keyword)cAlternatives_0_1_0.eContents().get(1); | ||
1410 | private final Assignment cOperandAssignment_0_2 = (Assignment)cGroup_0.eContents().get(2); | ||
1411 | private final RuleCall cOperandALSBasicRelationTermParserRuleCall_0_2_0 = (RuleCall)cOperandAssignment_0_2.eContents().get(0); | ||
1412 | private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); | ||
1413 | private final Action cALSInverseRelationAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1414 | private final Keyword cTildeKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1415 | private final Assignment cOperandAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); | ||
1416 | private final RuleCall cOperandALSBasicRelationTermParserRuleCall_1_2_0 = (RuleCall)cOperandAssignment_1_2.eContents().get(0); | ||
1417 | private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2); | ||
1418 | private final Action cAlSTransitiveClosureAction_2_0 = (Action)cGroup_2.eContents().get(0); | ||
1419 | private final Keyword cCircumflexAccentKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); | ||
1420 | private final Assignment cOperandAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); | ||
1421 | private final RuleCall cOperandALSBasicRelationTermParserRuleCall_2_2_0 = (RuleCall)cOperandAssignment_2_2.eContents().get(0); | ||
1422 | private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3); | ||
1423 | private final Action cALSReflectiveTransitiveClosureAction_3_0 = (Action)cGroup_3.eContents().get(0); | ||
1424 | private final Keyword cAsteriskKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); | ||
1425 | private final Assignment cOperandAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2); | ||
1426 | private final RuleCall cOperandALSBasicRelationTermParserRuleCall_3_2_0 = (RuleCall)cOperandAssignment_3_2.eContents().get(0); | ||
1427 | private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4); | ||
1428 | private final Action cALSCardinalityAction_4_0 = (Action)cGroup_4.eContents().get(0); | ||
1429 | private final Keyword cNumberSignKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); | ||
1430 | private final Assignment cOperandAssignment_4_2 = (Assignment)cGroup_4.eContents().get(2); | ||
1431 | private final RuleCall cOperandALSBasicRelationTermParserRuleCall_4_2_0 = (RuleCall)cOperandAssignment_4_2.eContents().get(0); | ||
1432 | private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5); | ||
1433 | private final Action cALSUnaryMinusAction_5_0 = (Action)cGroup_5.eContents().get(0); | ||
1434 | private final Keyword cHyphenMinusKeyword_5_1 = (Keyword)cGroup_5.eContents().get(1); | ||
1435 | private final Assignment cOperandAssignment_5_2 = (Assignment)cGroup_5.eContents().get(2); | ||
1436 | private final RuleCall cOperandALSBasicRelationTermParserRuleCall_5_2_0 = (RuleCall)cOperandAssignment_5_2.eContents().get(0); | ||
1437 | private final Group cGroup_6 = (Group)cAlternatives.eContents().get(6); | ||
1438 | private final Action cALSSumAction_6_0 = (Action)cGroup_6.eContents().get(0); | ||
1439 | private final Keyword cSumKeyword_6_1 = (Keyword)cGroup_6.eContents().get(1); | ||
1440 | private final Assignment cVariablesAssignment_6_2 = (Assignment)cGroup_6.eContents().get(2); | ||
1441 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_6_2_0 = (RuleCall)cVariablesAssignment_6_2.eContents().get(0); | ||
1442 | private final Group cGroup_6_3 = (Group)cGroup_6.eContents().get(3); | ||
1443 | private final Keyword cCommaKeyword_6_3_0 = (Keyword)cGroup_6_3.eContents().get(0); | ||
1444 | private final Assignment cVariablesAssignment_6_3_1 = (Assignment)cGroup_6_3.eContents().get(1); | ||
1445 | private final RuleCall cVariablesALSVariableDeclarationParserRuleCall_6_3_1_0 = (RuleCall)cVariablesAssignment_6_3_1.eContents().get(0); | ||
1446 | private final Keyword cLeftCurlyBracketKeyword_6_4 = (Keyword)cGroup_6.eContents().get(4); | ||
1447 | private final Assignment cExpressionAssignment_6_5 = (Assignment)cGroup_6.eContents().get(5); | ||
1448 | private final RuleCall cExpressionALSTermParserRuleCall_6_5_0 = (RuleCall)cExpressionAssignment_6_5.eContents().get(0); | ||
1449 | private final Keyword cRightCurlyBracketKeyword_6_6 = (Keyword)cGroup_6.eContents().get(6); | ||
1450 | private final Group cGroup_7 = (Group)cAlternatives.eContents().get(7); | ||
1451 | private final Action cALSFunctionCallAction_7_0 = (Action)cGroup_7.eContents().get(0); | ||
1452 | private final Alternatives cAlternatives_7_1 = (Alternatives)cGroup_7.eContents().get(1); | ||
1453 | private final Assignment cReferredDefinitionAssignment_7_1_0 = (Assignment)cAlternatives_7_1.eContents().get(0); | ||
1454 | private final CrossReference cReferredDefinitionALSDefinitionCrossReference_7_1_0_0 = (CrossReference)cReferredDefinitionAssignment_7_1_0.eContents().get(0); | ||
1455 | private final RuleCall cReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1 = (RuleCall)cReferredDefinitionALSDefinitionCrossReference_7_1_0_0.eContents().get(1); | ||
1456 | private final Assignment cReferredNumericOperatorAssignment_7_1_1 = (Assignment)cAlternatives_7_1.eContents().get(1); | ||
1457 | private final RuleCall cReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0 = (RuleCall)cReferredNumericOperatorAssignment_7_1_1.eContents().get(0); | ||
1458 | private final Keyword cLeftSquareBracketKeyword_7_2 = (Keyword)cGroup_7.eContents().get(2); | ||
1459 | private final Assignment cParamsAssignment_7_3 = (Assignment)cGroup_7.eContents().get(3); | ||
1460 | private final RuleCall cParamsALSTermParserRuleCall_7_3_0 = (RuleCall)cParamsAssignment_7_3.eContents().get(0); | ||
1461 | private final Group cGroup_7_4 = (Group)cGroup_7.eContents().get(4); | ||
1462 | private final Keyword cCommaKeyword_7_4_0 = (Keyword)cGroup_7_4.eContents().get(0); | ||
1463 | private final Assignment cParamsAssignment_7_4_1 = (Assignment)cGroup_7_4.eContents().get(1); | ||
1464 | private final RuleCall cParamsALSTermParserRuleCall_7_4_1_0 = (RuleCall)cParamsAssignment_7_4_1.eContents().get(0); | ||
1465 | private final Keyword cRightSquareBracketKeyword_7_5 = (Keyword)cGroup_7.eContents().get(5); | ||
1466 | private final RuleCall cALSBasicRelationTermParserRuleCall_8 = (RuleCall)cAlternatives.eContents().get(8); | ||
1467 | |||
1468 | //ALSPreficed ALSTerm: | ||
1469 | // {ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm | | ||
1470 | // {AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*" | ||
1471 | // operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-' | ||
1472 | // operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (',' | ||
1473 | // variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall} | ||
1474 | // (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (',' | ||
1475 | // params+=ALSTerm)* ']' | ALSBasicRelationTerm; | ||
1476 | @Override public ParserRule getRule() { return rule; } | ||
1477 | |||
1478 | //{ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm | | ||
1479 | //{AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*" | ||
1480 | //operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-' | ||
1481 | //operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (',' | ||
1482 | //variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall} (referredDefinition=[ALSDefinition] | ||
1483 | //| referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (',' params+=ALSTerm)* ']' | ALSBasicRelationTerm | ||
1484 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1485 | |||
1486 | //{ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | ||
1487 | public Group getGroup_0() { return cGroup_0; } | ||
1488 | |||
1489 | //{ALSNot} | ||
1490 | public Action getALSNotAction_0_0() { return cALSNotAction_0_0; } | ||
1491 | |||
1492 | //=> ("!" | 'not') | ||
1493 | public Group getGroup_0_1() { return cGroup_0_1; } | ||
1494 | |||
1495 | //"!" | 'not' | ||
1496 | public Alternatives getAlternatives_0_1_0() { return cAlternatives_0_1_0; } | ||
1497 | |||
1498 | //"!" | ||
1499 | public Keyword getExclamationMarkKeyword_0_1_0_0() { return cExclamationMarkKeyword_0_1_0_0; } | ||
1500 | |||
1501 | //'not' | ||
1502 | public Keyword getNotKeyword_0_1_0_1() { return cNotKeyword_0_1_0_1; } | ||
1503 | |||
1504 | //operand=ALSBasicRelationTerm | ||
1505 | public Assignment getOperandAssignment_0_2() { return cOperandAssignment_0_2; } | ||
1506 | |||
1507 | //ALSBasicRelationTerm | ||
1508 | public RuleCall getOperandALSBasicRelationTermParserRuleCall_0_2_0() { return cOperandALSBasicRelationTermParserRuleCall_0_2_0; } | ||
1509 | |||
1510 | //{ALSInverseRelation} => "~" operand=ALSBasicRelationTerm | ||
1511 | public Group getGroup_1() { return cGroup_1; } | ||
1512 | |||
1513 | //{ALSInverseRelation} | ||
1514 | public Action getALSInverseRelationAction_1_0() { return cALSInverseRelationAction_1_0; } | ||
1515 | |||
1516 | //=> "~" | ||
1517 | public Keyword getTildeKeyword_1_1() { return cTildeKeyword_1_1; } | ||
1518 | |||
1519 | //operand=ALSBasicRelationTerm | ||
1520 | public Assignment getOperandAssignment_1_2() { return cOperandAssignment_1_2; } | ||
1521 | |||
1522 | //ALSBasicRelationTerm | ||
1523 | public RuleCall getOperandALSBasicRelationTermParserRuleCall_1_2_0() { return cOperandALSBasicRelationTermParserRuleCall_1_2_0; } | ||
1524 | |||
1525 | //{AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | ||
1526 | public Group getGroup_2() { return cGroup_2; } | ||
1527 | |||
1528 | //{AlSTransitiveClosure} | ||
1529 | public Action getAlSTransitiveClosureAction_2_0() { return cAlSTransitiveClosureAction_2_0; } | ||
1530 | |||
1531 | //"^" | ||
1532 | public Keyword getCircumflexAccentKeyword_2_1() { return cCircumflexAccentKeyword_2_1; } | ||
1533 | |||
1534 | //operand=ALSBasicRelationTerm | ||
1535 | public Assignment getOperandAssignment_2_2() { return cOperandAssignment_2_2; } | ||
1536 | |||
1537 | //ALSBasicRelationTerm | ||
1538 | public RuleCall getOperandALSBasicRelationTermParserRuleCall_2_2_0() { return cOperandALSBasicRelationTermParserRuleCall_2_2_0; } | ||
1539 | |||
1540 | //{ALSReflectiveTransitiveClosure} "*" operand=ALSBasicRelationTerm | ||
1541 | public Group getGroup_3() { return cGroup_3; } | ||
1542 | |||
1543 | //{ALSReflectiveTransitiveClosure} | ||
1544 | public Action getALSReflectiveTransitiveClosureAction_3_0() { return cALSReflectiveTransitiveClosureAction_3_0; } | ||
1545 | |||
1546 | //"*" | ||
1547 | public Keyword getAsteriskKeyword_3_1() { return cAsteriskKeyword_3_1; } | ||
1548 | |||
1549 | //operand=ALSBasicRelationTerm | ||
1550 | public Assignment getOperandAssignment_3_2() { return cOperandAssignment_3_2; } | ||
1551 | |||
1552 | //ALSBasicRelationTerm | ||
1553 | public RuleCall getOperandALSBasicRelationTermParserRuleCall_3_2_0() { return cOperandALSBasicRelationTermParserRuleCall_3_2_0; } | ||
1554 | |||
1555 | //{ALSCardinality} '#' operand=ALSBasicRelationTerm | ||
1556 | public Group getGroup_4() { return cGroup_4; } | ||
1557 | |||
1558 | //{ALSCardinality} | ||
1559 | public Action getALSCardinalityAction_4_0() { return cALSCardinalityAction_4_0; } | ||
1560 | |||
1561 | //'#' | ||
1562 | public Keyword getNumberSignKeyword_4_1() { return cNumberSignKeyword_4_1; } | ||
1563 | |||
1564 | //operand=ALSBasicRelationTerm | ||
1565 | public Assignment getOperandAssignment_4_2() { return cOperandAssignment_4_2; } | ||
1566 | |||
1567 | //ALSBasicRelationTerm | ||
1568 | public RuleCall getOperandALSBasicRelationTermParserRuleCall_4_2_0() { return cOperandALSBasicRelationTermParserRuleCall_4_2_0; } | ||
1569 | |||
1570 | //{ALSUnaryMinus} => '-' operand=ALSBasicRelationTerm | ||
1571 | public Group getGroup_5() { return cGroup_5; } | ||
1572 | |||
1573 | //{ALSUnaryMinus} | ||
1574 | public Action getALSUnaryMinusAction_5_0() { return cALSUnaryMinusAction_5_0; } | ||
1575 | |||
1576 | //=> '-' | ||
1577 | public Keyword getHyphenMinusKeyword_5_1() { return cHyphenMinusKeyword_5_1; } | ||
1578 | |||
1579 | //operand=ALSBasicRelationTerm | ||
1580 | public Assignment getOperandAssignment_5_2() { return cOperandAssignment_5_2; } | ||
1581 | |||
1582 | //ALSBasicRelationTerm | ||
1583 | public RuleCall getOperandALSBasicRelationTermParserRuleCall_5_2_0() { return cOperandALSBasicRelationTermParserRuleCall_5_2_0; } | ||
1584 | |||
1585 | //{ALSSum} 'sum' variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | ||
1586 | public Group getGroup_6() { return cGroup_6; } | ||
1587 | |||
1588 | //{ALSSum} | ||
1589 | public Action getALSSumAction_6_0() { return cALSSumAction_6_0; } | ||
1590 | |||
1591 | //'sum' | ||
1592 | public Keyword getSumKeyword_6_1() { return cSumKeyword_6_1; } | ||
1593 | |||
1594 | //variables+=ALSVariableDeclaration | ||
1595 | public Assignment getVariablesAssignment_6_2() { return cVariablesAssignment_6_2; } | ||
1596 | |||
1597 | //ALSVariableDeclaration | ||
1598 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_6_2_0() { return cVariablesALSVariableDeclarationParserRuleCall_6_2_0; } | ||
1599 | |||
1600 | //(',' variables+=ALSVariableDeclaration)* | ||
1601 | public Group getGroup_6_3() { return cGroup_6_3; } | ||
1602 | |||
1603 | //',' | ||
1604 | public Keyword getCommaKeyword_6_3_0() { return cCommaKeyword_6_3_0; } | ||
1605 | |||
1606 | //variables+=ALSVariableDeclaration | ||
1607 | public Assignment getVariablesAssignment_6_3_1() { return cVariablesAssignment_6_3_1; } | ||
1608 | |||
1609 | //ALSVariableDeclaration | ||
1610 | public RuleCall getVariablesALSVariableDeclarationParserRuleCall_6_3_1_0() { return cVariablesALSVariableDeclarationParserRuleCall_6_3_1_0; } | ||
1611 | |||
1612 | //'{' | ||
1613 | public Keyword getLeftCurlyBracketKeyword_6_4() { return cLeftCurlyBracketKeyword_6_4; } | ||
1614 | |||
1615 | //expression=ALSTerm | ||
1616 | public Assignment getExpressionAssignment_6_5() { return cExpressionAssignment_6_5; } | ||
1617 | |||
1618 | //ALSTerm | ||
1619 | public RuleCall getExpressionALSTermParserRuleCall_6_5_0() { return cExpressionALSTermParserRuleCall_6_5_0; } | ||
1620 | |||
1621 | //'}' | ||
1622 | public Keyword getRightCurlyBracketKeyword_6_6() { return cRightCurlyBracketKeyword_6_6; } | ||
1623 | |||
1624 | //{ALSFunctionCall} (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm | ||
1625 | //(',' params+=ALSTerm)* ']' | ||
1626 | public Group getGroup_7() { return cGroup_7; } | ||
1627 | |||
1628 | //{ALSFunctionCall} | ||
1629 | public Action getALSFunctionCallAction_7_0() { return cALSFunctionCallAction_7_0; } | ||
1630 | |||
1631 | //referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator | ||
1632 | public Alternatives getAlternatives_7_1() { return cAlternatives_7_1; } | ||
1633 | |||
1634 | //referredDefinition=[ALSDefinition] | ||
1635 | public Assignment getReferredDefinitionAssignment_7_1_0() { return cReferredDefinitionAssignment_7_1_0; } | ||
1636 | |||
1637 | //[ALSDefinition] | ||
1638 | public CrossReference getReferredDefinitionALSDefinitionCrossReference_7_1_0_0() { return cReferredDefinitionALSDefinitionCrossReference_7_1_0_0; } | ||
1639 | |||
1640 | //ID | ||
1641 | public RuleCall getReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1() { return cReferredDefinitionALSDefinitionIDTerminalRuleCall_7_1_0_0_1; } | ||
1642 | |||
1643 | //referredNumericOperator=ALSNumericOperator | ||
1644 | public Assignment getReferredNumericOperatorAssignment_7_1_1() { return cReferredNumericOperatorAssignment_7_1_1; } | ||
1645 | |||
1646 | //ALSNumericOperator | ||
1647 | public RuleCall getReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0() { return cReferredNumericOperatorALSNumericOperatorEnumRuleCall_7_1_1_0; } | ||
1648 | |||
1649 | //'[' | ||
1650 | public Keyword getLeftSquareBracketKeyword_7_2() { return cLeftSquareBracketKeyword_7_2; } | ||
1651 | |||
1652 | //params+=ALSTerm | ||
1653 | public Assignment getParamsAssignment_7_3() { return cParamsAssignment_7_3; } | ||
1654 | |||
1655 | //ALSTerm | ||
1656 | public RuleCall getParamsALSTermParserRuleCall_7_3_0() { return cParamsALSTermParserRuleCall_7_3_0; } | ||
1657 | |||
1658 | //(',' params+=ALSTerm)* | ||
1659 | public Group getGroup_7_4() { return cGroup_7_4; } | ||
1660 | |||
1661 | //',' | ||
1662 | public Keyword getCommaKeyword_7_4_0() { return cCommaKeyword_7_4_0; } | ||
1663 | |||
1664 | //params+=ALSTerm | ||
1665 | public Assignment getParamsAssignment_7_4_1() { return cParamsAssignment_7_4_1; } | ||
1666 | |||
1667 | //ALSTerm | ||
1668 | public RuleCall getParamsALSTermParserRuleCall_7_4_1_0() { return cParamsALSTermParserRuleCall_7_4_1_0; } | ||
1669 | |||
1670 | //']' | ||
1671 | public Keyword getRightSquareBracketKeyword_7_5() { return cRightSquareBracketKeyword_7_5; } | ||
1672 | |||
1673 | //ALSBasicRelationTerm | ||
1674 | public RuleCall getALSBasicRelationTermParserRuleCall_8() { return cALSBasicRelationTermParserRuleCall_8; } | ||
1675 | } | ||
1676 | |||
1677 | public class ALSVariableDeclarationElements extends AbstractParserRuleElementFinder { | ||
1678 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSVariableDeclaration"); | ||
1679 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1680 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
1681 | private final RuleCall cNameALSIDParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | ||
1682 | private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1683 | private final Assignment cRangeAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1684 | private final RuleCall cRangeALSTermParserRuleCall_2_0 = (RuleCall)cRangeAssignment_2.eContents().get(0); | ||
1685 | |||
1686 | ////ALSVariable: name = ALSID; | ||
1687 | //ALSVariableDeclaration: | ||
1688 | // name=ALSID ':' range=ALSTerm; | ||
1689 | @Override public ParserRule getRule() { return rule; } | ||
1690 | |||
1691 | //name=ALSID ':' range=ALSTerm | ||
1692 | public Group getGroup() { return cGroup; } | ||
1693 | |||
1694 | //name=ALSID | ||
1695 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | ||
1696 | |||
1697 | //ALSID | ||
1698 | public RuleCall getNameALSIDParserRuleCall_0_0() { return cNameALSIDParserRuleCall_0_0; } | ||
1699 | |||
1700 | //':' | ||
1701 | public Keyword getColonKeyword_1() { return cColonKeyword_1; } | ||
1702 | |||
1703 | //range=ALSTerm | ||
1704 | public Assignment getRangeAssignment_2() { return cRangeAssignment_2; } | ||
1705 | |||
1706 | //ALSTerm | ||
1707 | public RuleCall getRangeALSTermParserRuleCall_2_0() { return cRangeALSTermParserRuleCall_2_0; } | ||
1708 | } | ||
1709 | |||
1710 | public class ALSBasicRelationTermElements extends AbstractParserRuleElementFinder { | ||
1711 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSBasicRelationTerm"); | ||
1712 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1713 | private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); | ||
1714 | private final Action cALSNoneAction_0_0 = (Action)cGroup_0.eContents().get(0); | ||
1715 | private final Keyword cNoneKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); | ||
1716 | private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); | ||
1717 | private final Action cALSIdenAction_1_0 = (Action)cGroup_1.eContents().get(0); | ||
1718 | private final Keyword cIdenKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); | ||
1719 | private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2); | ||
1720 | private final Action cALSUnivAction_2_0 = (Action)cGroup_2.eContents().get(0); | ||
1721 | private final Keyword cUnivKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); | ||
1722 | private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3); | ||
1723 | private final Action cALSIntAction_3_0 = (Action)cGroup_3.eContents().get(0); | ||
1724 | private final Keyword cIntKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); | ||
1725 | private final Group cGroup_4 = (Group)cAlternatives.eContents().get(4); | ||
1726 | private final Action cALSStringAction_4_0 = (Action)cGroup_4.eContents().get(0); | ||
1727 | private final Keyword cStringKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); | ||
1728 | private final Group cGroup_5 = (Group)cAlternatives.eContents().get(5); | ||
1729 | private final Action cALSReferenceAction_5_0 = (Action)cGroup_5.eContents().get(0); | ||
1730 | private final Assignment cReferredAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); | ||
1731 | private final CrossReference cReferredALSRelationDeclarationCrossReference_5_1_0 = (CrossReference)cReferredAssignment_5_1.eContents().get(0); | ||
1732 | private final RuleCall cReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1 = (RuleCall)cReferredALSRelationDeclarationCrossReference_5_1_0.eContents().get(1); | ||
1733 | private final Group cGroup_6 = (Group)cAlternatives.eContents().get(6); | ||
1734 | private final Action cALSNumberLiteralAction_6_0 = (Action)cGroup_6.eContents().get(0); | ||
1735 | private final Assignment cValueAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1); | ||
1736 | private final RuleCall cValueINTTerminalRuleCall_6_1_0 = (RuleCall)cValueAssignment_6_1.eContents().get(0); | ||
1737 | private final Group cGroup_7 = (Group)cAlternatives.eContents().get(7); | ||
1738 | private final Action cALSStringLiteralAction_7_0 = (Action)cGroup_7.eContents().get(0); | ||
1739 | private final Assignment cValueAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); | ||
1740 | private final RuleCall cValueSTRINGTerminalRuleCall_7_1_0 = (RuleCall)cValueAssignment_7_1.eContents().get(0); | ||
1741 | private final Group cGroup_8 = (Group)cAlternatives.eContents().get(8); | ||
1742 | private final Keyword cLeftParenthesisKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); | ||
1743 | private final RuleCall cALSTermParserRuleCall_8_1 = (RuleCall)cGroup_8.eContents().get(1); | ||
1744 | private final Keyword cRightParenthesisKeyword_8_2 = (Keyword)cGroup_8.eContents().get(2); | ||
1745 | |||
1746 | //ALSBasicRelationTerm ALSTerm: | ||
1747 | // {ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSString} 'String' | {ALSReference} | ||
1748 | // referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | {ALSStringLiteral} value=STRING | | ||
1749 | // '(' ALSTerm ')'; | ||
1750 | @Override public ParserRule getRule() { return rule; } | ||
1751 | |||
1752 | //{ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSString} 'String' | {ALSReference} | ||
1753 | //referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | {ALSStringLiteral} value=STRING | '(' ALSTerm ')' | ||
1754 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1755 | |||
1756 | //{ALSNone} 'none' | ||
1757 | public Group getGroup_0() { return cGroup_0; } | ||
1758 | |||
1759 | //{ALSNone} | ||
1760 | public Action getALSNoneAction_0_0() { return cALSNoneAction_0_0; } | ||
1761 | |||
1762 | //'none' | ||
1763 | public Keyword getNoneKeyword_0_1() { return cNoneKeyword_0_1; } | ||
1764 | |||
1765 | //{ALSIden} 'iden' | ||
1766 | public Group getGroup_1() { return cGroup_1; } | ||
1767 | |||
1768 | //{ALSIden} | ||
1769 | public Action getALSIdenAction_1_0() { return cALSIdenAction_1_0; } | ||
1770 | |||
1771 | //'iden' | ||
1772 | public Keyword getIdenKeyword_1_1() { return cIdenKeyword_1_1; } | ||
1773 | |||
1774 | //{ALSUniv} 'univ' | ||
1775 | public Group getGroup_2() { return cGroup_2; } | ||
1776 | |||
1777 | //{ALSUniv} | ||
1778 | public Action getALSUnivAction_2_0() { return cALSUnivAction_2_0; } | ||
1779 | |||
1780 | //'univ' | ||
1781 | public Keyword getUnivKeyword_2_1() { return cUnivKeyword_2_1; } | ||
1782 | |||
1783 | //{ALSInt} 'Int' | ||
1784 | public Group getGroup_3() { return cGroup_3; } | ||
1785 | |||
1786 | //{ALSInt} | ||
1787 | public Action getALSIntAction_3_0() { return cALSIntAction_3_0; } | ||
1788 | |||
1789 | //'Int' | ||
1790 | public Keyword getIntKeyword_3_1() { return cIntKeyword_3_1; } | ||
1791 | |||
1792 | //{ALSString} 'String' | ||
1793 | public Group getGroup_4() { return cGroup_4; } | ||
1794 | |||
1795 | //{ALSString} | ||
1796 | public Action getALSStringAction_4_0() { return cALSStringAction_4_0; } | ||
1797 | |||
1798 | //'String' | ||
1799 | public Keyword getStringKeyword_4_1() { return cStringKeyword_4_1; } | ||
1800 | |||
1801 | //{ALSReference} referred=[ALSRelationDeclaration] | ||
1802 | public Group getGroup_5() { return cGroup_5; } | ||
1803 | |||
1804 | //{ALSReference} | ||
1805 | public Action getALSReferenceAction_5_0() { return cALSReferenceAction_5_0; } | ||
1806 | |||
1807 | //referred=[ALSRelationDeclaration] | ||
1808 | public Assignment getReferredAssignment_5_1() { return cReferredAssignment_5_1; } | ||
1809 | |||
1810 | //[ALSRelationDeclaration] | ||
1811 | public CrossReference getReferredALSRelationDeclarationCrossReference_5_1_0() { return cReferredALSRelationDeclarationCrossReference_5_1_0; } | ||
1812 | |||
1813 | //ID | ||
1814 | public RuleCall getReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1() { return cReferredALSRelationDeclarationIDTerminalRuleCall_5_1_0_1; } | ||
1815 | |||
1816 | //{ALSNumberLiteral} value=INT | ||
1817 | public Group getGroup_6() { return cGroup_6; } | ||
1818 | |||
1819 | //{ALSNumberLiteral} | ||
1820 | public Action getALSNumberLiteralAction_6_0() { return cALSNumberLiteralAction_6_0; } | ||
1821 | |||
1822 | //value=INT | ||
1823 | public Assignment getValueAssignment_6_1() { return cValueAssignment_6_1; } | ||
1824 | |||
1825 | //INT | ||
1826 | public RuleCall getValueINTTerminalRuleCall_6_1_0() { return cValueINTTerminalRuleCall_6_1_0; } | ||
1827 | |||
1828 | //{ALSStringLiteral} value=STRING | ||
1829 | public Group getGroup_7() { return cGroup_7; } | ||
1830 | |||
1831 | //{ALSStringLiteral} | ||
1832 | public Action getALSStringLiteralAction_7_0() { return cALSStringLiteralAction_7_0; } | ||
1833 | |||
1834 | //value=STRING | ||
1835 | public Assignment getValueAssignment_7_1() { return cValueAssignment_7_1; } | ||
1836 | |||
1837 | //STRING | ||
1838 | public RuleCall getValueSTRINGTerminalRuleCall_7_1_0() { return cValueSTRINGTerminalRuleCall_7_1_0; } | ||
1839 | |||
1840 | //'(' ALSTerm ')' | ||
1841 | public Group getGroup_8() { return cGroup_8; } | ||
1842 | |||
1843 | //'(' | ||
1844 | public Keyword getLeftParenthesisKeyword_8_0() { return cLeftParenthesisKeyword_8_0; } | ||
1845 | |||
1846 | //ALSTerm | ||
1847 | public RuleCall getALSTermParserRuleCall_8_1() { return cALSTermParserRuleCall_8_1; } | ||
1848 | |||
1849 | //')' | ||
1850 | public Keyword getRightParenthesisKeyword_8_2() { return cRightParenthesisKeyword_8_2; } | ||
1851 | } | ||
1852 | |||
1853 | public class ALSRunCommandElements extends AbstractParserRuleElementFinder { | ||
1854 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSRunCommand"); | ||
1855 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1856 | private final Action cALSRunCommandAction_0 = (Action)cGroup.eContents().get(0); | ||
1857 | private final Keyword cRunKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1858 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
1859 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
1860 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | ||
1861 | private final Keyword cForKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); | ||
1862 | private final Assignment cTypeScopesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); | ||
1863 | private final RuleCall cTypeScopesALSTypeScopeParserRuleCall_4_1_0 = (RuleCall)cTypeScopesAssignment_4_1.eContents().get(0); | ||
1864 | private final Group cGroup_4_2 = (Group)cGroup_4.eContents().get(2); | ||
1865 | private final Keyword cCommaKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0); | ||
1866 | private final Assignment cTypeScopesAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1); | ||
1867 | private final RuleCall cTypeScopesALSTypeScopeParserRuleCall_4_2_1_0 = (RuleCall)cTypeScopesAssignment_4_2_1.eContents().get(0); | ||
1868 | |||
1869 | //////////////////////////////////// | ||
1870 | //// ALS Commands and scopes | ||
1871 | //////////////////////////////////// | ||
1872 | //ALSRunCommand: | ||
1873 | // {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?; | ||
1874 | @Override public ParserRule getRule() { return rule; } | ||
1875 | |||
1876 | //{ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)? | ||
1877 | public Group getGroup() { return cGroup; } | ||
1878 | |||
1879 | //{ALSRunCommand} | ||
1880 | public Action getALSRunCommandAction_0() { return cALSRunCommandAction_0; } | ||
1881 | |||
1882 | //'run' | ||
1883 | public Keyword getRunKeyword_1() { return cRunKeyword_1; } | ||
1884 | |||
1885 | //'{' | ||
1886 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } | ||
1887 | |||
1888 | //'}' | ||
1889 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
1890 | |||
1891 | //('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)? | ||
1892 | public Group getGroup_4() { return cGroup_4; } | ||
1893 | |||
1894 | //'for' | ||
1895 | public Keyword getForKeyword_4_0() { return cForKeyword_4_0; } | ||
1896 | |||
1897 | //typeScopes+=ALSTypeScope | ||
1898 | public Assignment getTypeScopesAssignment_4_1() { return cTypeScopesAssignment_4_1; } | ||
1899 | |||
1900 | //ALSTypeScope | ||
1901 | public RuleCall getTypeScopesALSTypeScopeParserRuleCall_4_1_0() { return cTypeScopesALSTypeScopeParserRuleCall_4_1_0; } | ||
1902 | |||
1903 | //(',' typeScopes+=ALSTypeScope)* | ||
1904 | public Group getGroup_4_2() { return cGroup_4_2; } | ||
1905 | |||
1906 | //',' | ||
1907 | public Keyword getCommaKeyword_4_2_0() { return cCommaKeyword_4_2_0; } | ||
1908 | |||
1909 | //typeScopes+=ALSTypeScope | ||
1910 | public Assignment getTypeScopesAssignment_4_2_1() { return cTypeScopesAssignment_4_2_1; } | ||
1911 | |||
1912 | //ALSTypeScope | ||
1913 | public RuleCall getTypeScopesALSTypeScopeParserRuleCall_4_2_1_0() { return cTypeScopesALSTypeScopeParserRuleCall_4_2_1_0; } | ||
1914 | } | ||
1915 | |||
1916 | public class ALSTypeScopeElements extends AbstractParserRuleElementFinder { | ||
1917 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSTypeScope"); | ||
1918 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1919 | private final RuleCall cALSSigScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1920 | private final RuleCall cALSIntScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1921 | private final RuleCall cALSStringScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
1922 | |||
1923 | //ALSTypeScope: | ||
1924 | // ALSSigScope | ALSIntScope | ALSStringScope; | ||
1925 | @Override public ParserRule getRule() { return rule; } | ||
1926 | |||
1927 | //ALSSigScope | ALSIntScope | ALSStringScope | ||
1928 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1929 | |||
1930 | //ALSSigScope | ||
1931 | public RuleCall getALSSigScopeParserRuleCall_0() { return cALSSigScopeParserRuleCall_0; } | ||
1932 | |||
1933 | //ALSIntScope | ||
1934 | public RuleCall getALSIntScopeParserRuleCall_1() { return cALSIntScopeParserRuleCall_1; } | ||
1935 | |||
1936 | //ALSStringScope | ||
1937 | public RuleCall getALSStringScopeParserRuleCall_2() { return cALSStringScopeParserRuleCall_2; } | ||
1938 | } | ||
1939 | |||
1940 | public class ALSSigScopeElements extends AbstractParserRuleElementFinder { | ||
1941 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSSigScope"); | ||
1942 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1943 | private final Assignment cExactlyAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
1944 | private final Keyword cExactlyExactlyKeyword_0_0 = (Keyword)cExactlyAssignment_0.eContents().get(0); | ||
1945 | private final Assignment cNumberAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1946 | private final RuleCall cNumberINTTerminalRuleCall_1_0 = (RuleCall)cNumberAssignment_1.eContents().get(0); | ||
1947 | private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1948 | private final CrossReference cTypeALSSignatureDeclarationCrossReference_2_0 = (CrossReference)cTypeAssignment_2.eContents().get(0); | ||
1949 | private final RuleCall cTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1 = (RuleCall)cTypeALSSignatureDeclarationCrossReference_2_0.eContents().get(1); | ||
1950 | |||
1951 | //ALSSigScope: | ||
1952 | // exactly?='exactly'? number=INT type=[ALSSignatureDeclaration]; | ||
1953 | @Override public ParserRule getRule() { return rule; } | ||
1954 | |||
1955 | //exactly?='exactly'? number=INT type=[ALSSignatureDeclaration] | ||
1956 | public Group getGroup() { return cGroup; } | ||
1957 | |||
1958 | //exactly?='exactly'? | ||
1959 | public Assignment getExactlyAssignment_0() { return cExactlyAssignment_0; } | ||
1960 | |||
1961 | //'exactly' | ||
1962 | public Keyword getExactlyExactlyKeyword_0_0() { return cExactlyExactlyKeyword_0_0; } | ||
1963 | |||
1964 | //number=INT | ||
1965 | public Assignment getNumberAssignment_1() { return cNumberAssignment_1; } | ||
1966 | |||
1967 | //INT | ||
1968 | public RuleCall getNumberINTTerminalRuleCall_1_0() { return cNumberINTTerminalRuleCall_1_0; } | ||
1969 | |||
1970 | //type=[ALSSignatureDeclaration] | ||
1971 | public Assignment getTypeAssignment_2() { return cTypeAssignment_2; } | ||
1972 | |||
1973 | //[ALSSignatureDeclaration] | ||
1974 | public CrossReference getTypeALSSignatureDeclarationCrossReference_2_0() { return cTypeALSSignatureDeclarationCrossReference_2_0; } | ||
1975 | |||
1976 | //ID | ||
1977 | public RuleCall getTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1() { return cTypeALSSignatureDeclarationIDTerminalRuleCall_2_0_1; } | ||
1978 | } | ||
1979 | |||
1980 | public class ALSIntScopeElements extends AbstractParserRuleElementFinder { | ||
1981 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSIntScope"); | ||
1982 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1983 | private final Assignment cNumberAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
1984 | private final RuleCall cNumberINTTerminalRuleCall_0_0 = (RuleCall)cNumberAssignment_0.eContents().get(0); | ||
1985 | private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1986 | |||
1987 | //ALSIntScope: | ||
1988 | // number=INT 'Int'; | ||
1989 | @Override public ParserRule getRule() { return rule; } | ||
1990 | |||
1991 | //number=INT 'Int' | ||
1992 | public Group getGroup() { return cGroup; } | ||
1993 | |||
1994 | //number=INT | ||
1995 | public Assignment getNumberAssignment_0() { return cNumberAssignment_0; } | ||
1996 | |||
1997 | //INT | ||
1998 | public RuleCall getNumberINTTerminalRuleCall_0_0() { return cNumberINTTerminalRuleCall_0_0; } | ||
1999 | |||
2000 | //'Int' | ||
2001 | public Keyword getIntKeyword_1() { return cIntKeyword_1; } | ||
2002 | } | ||
2003 | |||
2004 | public class ALSStringScopeElements extends AbstractParserRuleElementFinder { | ||
2005 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSStringScope"); | ||
2006 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
2007 | private final Keyword cExactlyKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
2008 | private final Assignment cNumberAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
2009 | private final RuleCall cNumberINTTerminalRuleCall_1_0 = (RuleCall)cNumberAssignment_1.eContents().get(0); | ||
2010 | private final Keyword cStringKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
2011 | |||
2012 | //ALSStringScope: | ||
2013 | // 'exactly' number=INT 'String'; | ||
2014 | @Override public ParserRule getRule() { return rule; } | ||
2015 | |||
2016 | //'exactly' number=INT 'String' | ||
2017 | public Group getGroup() { return cGroup; } | ||
2018 | |||
2019 | //'exactly' | ||
2020 | public Keyword getExactlyKeyword_0() { return cExactlyKeyword_0; } | ||
2021 | |||
2022 | //number=INT | ||
2023 | public Assignment getNumberAssignment_1() { return cNumberAssignment_1; } | ||
2024 | |||
2025 | //INT | ||
2026 | public RuleCall getNumberINTTerminalRuleCall_1_0() { return cNumberINTTerminalRuleCall_1_0; } | ||
2027 | |||
2028 | //'String' | ||
2029 | public Keyword getStringKeyword_2() { return cStringKeyword_2; } | ||
2030 | } | ||
2031 | |||
2032 | |||
2033 | public class ALSMultiplicityElements extends AbstractEnumRuleElementFinder { | ||
2034 | private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSMultiplicity"); | ||
2035 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
2036 | private final EnumLiteralDeclaration cAllEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); | ||
2037 | private final Keyword cAllAllKeyword_0_0 = (Keyword)cAllEnumLiteralDeclaration_0.eContents().get(0); | ||
2038 | private final EnumLiteralDeclaration cNoEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); | ||
2039 | private final Keyword cNoNoKeyword_1_0 = (Keyword)cNoEnumLiteralDeclaration_1.eContents().get(0); | ||
2040 | private final EnumLiteralDeclaration cSomeEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); | ||
2041 | private final Keyword cSomeSomeKeyword_2_0 = (Keyword)cSomeEnumLiteralDeclaration_2.eContents().get(0); | ||
2042 | private final EnumLiteralDeclaration cLoneEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); | ||
2043 | private final Keyword cLoneLoneKeyword_3_0 = (Keyword)cLoneEnumLiteralDeclaration_3.eContents().get(0); | ||
2044 | private final EnumLiteralDeclaration cOneEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); | ||
2045 | private final Keyword cOneOneKeyword_4_0 = (Keyword)cOneEnumLiteralDeclaration_4.eContents().get(0); | ||
2046 | private final EnumLiteralDeclaration cSetEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); | ||
2047 | private final Keyword cSetSetKeyword_5_0 = (Keyword)cSetEnumLiteralDeclaration_5.eContents().get(0); | ||
2048 | |||
2049 | //enum ALSMultiplicity: | ||
2050 | // all | no | some | lone | one | set; | ||
2051 | public EnumRule getRule() { return rule; } | ||
2052 | |||
2053 | //all | no | some | lone | one | set | ||
2054 | public Alternatives getAlternatives() { return cAlternatives; } | ||
2055 | |||
2056 | //all | ||
2057 | public EnumLiteralDeclaration getAllEnumLiteralDeclaration_0() { return cAllEnumLiteralDeclaration_0; } | ||
2058 | |||
2059 | //"all" | ||
2060 | public Keyword getAllAllKeyword_0_0() { return cAllAllKeyword_0_0; } | ||
2061 | |||
2062 | //no | ||
2063 | public EnumLiteralDeclaration getNoEnumLiteralDeclaration_1() { return cNoEnumLiteralDeclaration_1; } | ||
2064 | |||
2065 | //"no" | ||
2066 | public Keyword getNoNoKeyword_1_0() { return cNoNoKeyword_1_0; } | ||
2067 | |||
2068 | //some | ||
2069 | public EnumLiteralDeclaration getSomeEnumLiteralDeclaration_2() { return cSomeEnumLiteralDeclaration_2; } | ||
2070 | |||
2071 | //"some" | ||
2072 | public Keyword getSomeSomeKeyword_2_0() { return cSomeSomeKeyword_2_0; } | ||
2073 | |||
2074 | //lone | ||
2075 | public EnumLiteralDeclaration getLoneEnumLiteralDeclaration_3() { return cLoneEnumLiteralDeclaration_3; } | ||
2076 | |||
2077 | //"lone" | ||
2078 | public Keyword getLoneLoneKeyword_3_0() { return cLoneLoneKeyword_3_0; } | ||
2079 | |||
2080 | //one | ||
2081 | public EnumLiteralDeclaration getOneEnumLiteralDeclaration_4() { return cOneEnumLiteralDeclaration_4; } | ||
2082 | |||
2083 | //"one" | ||
2084 | public Keyword getOneOneKeyword_4_0() { return cOneOneKeyword_4_0; } | ||
2085 | |||
2086 | //set | ||
2087 | public EnumLiteralDeclaration getSetEnumLiteralDeclaration_5() { return cSetEnumLiteralDeclaration_5; } | ||
2088 | |||
2089 | //"set" | ||
2090 | public Keyword getSetSetKeyword_5_0() { return cSetSetKeyword_5_0; } | ||
2091 | } | ||
2092 | |||
2093 | public class ALSNumericOperatorElements extends AbstractEnumRuleElementFinder { | ||
2094 | private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ALSNumericOperator"); | ||
2095 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
2096 | private final EnumLiteralDeclaration cPlusEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); | ||
2097 | private final Keyword cPlusPlusKeyword_0_0 = (Keyword)cPlusEnumLiteralDeclaration_0.eContents().get(0); | ||
2098 | private final EnumLiteralDeclaration cSubEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); | ||
2099 | private final Keyword cSubSubKeyword_1_0 = (Keyword)cSubEnumLiteralDeclaration_1.eContents().get(0); | ||
2100 | private final EnumLiteralDeclaration cMulEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); | ||
2101 | private final Keyword cMulMulKeyword_2_0 = (Keyword)cMulEnumLiteralDeclaration_2.eContents().get(0); | ||
2102 | private final EnumLiteralDeclaration cRemEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); | ||
2103 | private final Keyword cRemRemKeyword_3_0 = (Keyword)cRemEnumLiteralDeclaration_3.eContents().get(0); | ||
2104 | private final EnumLiteralDeclaration cDivEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); | ||
2105 | private final Keyword cDivDivKeyword_4_0 = (Keyword)cDivEnumLiteralDeclaration_4.eContents().get(0); | ||
2106 | |||
2107 | //enum ALSNumericOperator: | ||
2108 | // plus | sub | mul | rem | div; | ||
2109 | public EnumRule getRule() { return rule; } | ||
2110 | |||
2111 | //plus | sub | mul | rem | div | ||
2112 | public Alternatives getAlternatives() { return cAlternatives; } | ||
2113 | |||
2114 | //plus | ||
2115 | public EnumLiteralDeclaration getPlusEnumLiteralDeclaration_0() { return cPlusEnumLiteralDeclaration_0; } | ||
2116 | |||
2117 | //"plus" | ||
2118 | public Keyword getPlusPlusKeyword_0_0() { return cPlusPlusKeyword_0_0; } | ||
2119 | |||
2120 | //sub | ||
2121 | public EnumLiteralDeclaration getSubEnumLiteralDeclaration_1() { return cSubEnumLiteralDeclaration_1; } | ||
2122 | |||
2123 | //"sub" | ||
2124 | public Keyword getSubSubKeyword_1_0() { return cSubSubKeyword_1_0; } | ||
2125 | |||
2126 | //mul | ||
2127 | public EnumLiteralDeclaration getMulEnumLiteralDeclaration_2() { return cMulEnumLiteralDeclaration_2; } | ||
2128 | |||
2129 | //"mul" | ||
2130 | public Keyword getMulMulKeyword_2_0() { return cMulMulKeyword_2_0; } | ||
2131 | |||
2132 | //rem | ||
2133 | public EnumLiteralDeclaration getRemEnumLiteralDeclaration_3() { return cRemEnumLiteralDeclaration_3; } | ||
2134 | |||
2135 | //"rem" | ||
2136 | public Keyword getRemRemKeyword_3_0() { return cRemRemKeyword_3_0; } | ||
2137 | |||
2138 | //div | ||
2139 | public EnumLiteralDeclaration getDivEnumLiteralDeclaration_4() { return cDivEnumLiteralDeclaration_4; } | ||
2140 | |||
2141 | //"div" | ||
2142 | public Keyword getDivDivKeyword_4_0() { return cDivDivKeyword_4_0; } | ||
2143 | } | ||
2144 | |||
2145 | private final ALSDocumentElements pALSDocument; | ||
2146 | private final TerminalRule tID; | ||
2147 | private final ALSIDElements pALSID; | ||
2148 | private final ALSMultiplicityElements eALSMultiplicity; | ||
2149 | private final ALSRelationDeclarationElements pALSRelationDeclaration; | ||
2150 | private final ALSTypeDeclarationElements pALSTypeDeclaration; | ||
2151 | private final ALSEnumDeclarationElements pALSEnumDeclaration; | ||
2152 | private final ALSEnumLiteralElements pALSEnumLiteral; | ||
2153 | private final ALSSignatureDeclarationElements pALSSignatureDeclaration; | ||
2154 | private final ALSSignatureBodyElements pALSSignatureBody; | ||
2155 | private final ALSFieldDeclarationElements pALSFieldDeclaration; | ||
2156 | private final ALSDefinitionElements pALSDefinition; | ||
2157 | private final ALSFunctionDefinitionElements pALSFunctionDefinition; | ||
2158 | private final ALSRelationDefinitionElements pALSRelationDefinition; | ||
2159 | private final ALSFactDeclarationElements pALSFactDeclaration; | ||
2160 | private final ALSTermElements pALSTerm; | ||
2161 | private final ALSQuantifiedElements pALSQuantified; | ||
2162 | private final ALSOrElements pALSOr; | ||
2163 | private final ALSIffElements pALSIff; | ||
2164 | private final ALSImplElements pALSImpl; | ||
2165 | private final ALSAndElements pALSAnd; | ||
2166 | private final ALSComparisonElements pALSComparison; | ||
2167 | private final ALSOverrideElements pALSOverride; | ||
2168 | private final ALSRangeRestrictionRightElements pALSRangeRestrictionRight; | ||
2169 | private final ALSRangeRestrictionLeftElements pALSRangeRestrictionLeft; | ||
2170 | private final ALSJoinElements pALSJoin; | ||
2171 | private final ALSMinusElements pALSMinus; | ||
2172 | private final ALSPlusElements pALSPlus; | ||
2173 | private final ALSIntersectionElements pALSIntersection; | ||
2174 | private final ALSDirectProductElements pALSDirectProduct; | ||
2175 | private final ALSPreficedElements pALSPreficed; | ||
2176 | private final ALSNumericOperatorElements eALSNumericOperator; | ||
2177 | private final ALSVariableDeclarationElements pALSVariableDeclaration; | ||
2178 | private final ALSBasicRelationTermElements pALSBasicRelationTerm; | ||
2179 | private final ALSRunCommandElements pALSRunCommand; | ||
2180 | private final ALSTypeScopeElements pALSTypeScope; | ||
2181 | private final ALSSigScopeElements pALSSigScope; | ||
2182 | private final ALSIntScopeElements pALSIntScope; | ||
2183 | private final ALSStringScopeElements pALSStringScope; | ||
2184 | |||
2185 | private final Grammar grammar; | ||
2186 | |||
2187 | private final TerminalsGrammarAccess gaTerminals; | ||
2188 | |||
2189 | @Inject | ||
2190 | public AlloyLanguageGrammarAccess(GrammarProvider grammarProvider, | ||
2191 | TerminalsGrammarAccess gaTerminals) { | ||
2192 | this.grammar = internalFindGrammar(grammarProvider); | ||
2193 | this.gaTerminals = gaTerminals; | ||
2194 | this.pALSDocument = new ALSDocumentElements(); | ||
2195 | this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.AlloyLanguage.ID"); | ||
2196 | this.pALSID = new ALSIDElements(); | ||
2197 | this.eALSMultiplicity = new ALSMultiplicityElements(); | ||
2198 | this.pALSRelationDeclaration = new ALSRelationDeclarationElements(); | ||
2199 | this.pALSTypeDeclaration = new ALSTypeDeclarationElements(); | ||
2200 | this.pALSEnumDeclaration = new ALSEnumDeclarationElements(); | ||
2201 | this.pALSEnumLiteral = new ALSEnumLiteralElements(); | ||
2202 | this.pALSSignatureDeclaration = new ALSSignatureDeclarationElements(); | ||
2203 | this.pALSSignatureBody = new ALSSignatureBodyElements(); | ||
2204 | this.pALSFieldDeclaration = new ALSFieldDeclarationElements(); | ||
2205 | this.pALSDefinition = new ALSDefinitionElements(); | ||
2206 | this.pALSFunctionDefinition = new ALSFunctionDefinitionElements(); | ||
2207 | this.pALSRelationDefinition = new ALSRelationDefinitionElements(); | ||
2208 | this.pALSFactDeclaration = new ALSFactDeclarationElements(); | ||
2209 | this.pALSTerm = new ALSTermElements(); | ||
2210 | this.pALSQuantified = new ALSQuantifiedElements(); | ||
2211 | this.pALSOr = new ALSOrElements(); | ||
2212 | this.pALSIff = new ALSIffElements(); | ||
2213 | this.pALSImpl = new ALSImplElements(); | ||
2214 | this.pALSAnd = new ALSAndElements(); | ||
2215 | this.pALSComparison = new ALSComparisonElements(); | ||
2216 | this.pALSOverride = new ALSOverrideElements(); | ||
2217 | this.pALSRangeRestrictionRight = new ALSRangeRestrictionRightElements(); | ||
2218 | this.pALSRangeRestrictionLeft = new ALSRangeRestrictionLeftElements(); | ||
2219 | this.pALSJoin = new ALSJoinElements(); | ||
2220 | this.pALSMinus = new ALSMinusElements(); | ||
2221 | this.pALSPlus = new ALSPlusElements(); | ||
2222 | this.pALSIntersection = new ALSIntersectionElements(); | ||
2223 | this.pALSDirectProduct = new ALSDirectProductElements(); | ||
2224 | this.pALSPreficed = new ALSPreficedElements(); | ||
2225 | this.eALSNumericOperator = new ALSNumericOperatorElements(); | ||
2226 | this.pALSVariableDeclaration = new ALSVariableDeclarationElements(); | ||
2227 | this.pALSBasicRelationTerm = new ALSBasicRelationTermElements(); | ||
2228 | this.pALSRunCommand = new ALSRunCommandElements(); | ||
2229 | this.pALSTypeScope = new ALSTypeScopeElements(); | ||
2230 | this.pALSSigScope = new ALSSigScopeElements(); | ||
2231 | this.pALSIntScope = new ALSIntScopeElements(); | ||
2232 | this.pALSStringScope = new ALSStringScopeElements(); | ||
2233 | } | ||
2234 | |||
2235 | protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { | ||
2236 | Grammar grammar = grammarProvider.getGrammar(this); | ||
2237 | while (grammar != null) { | ||
2238 | if ("hu.bme.mit.inf.dslreasoner.AlloyLanguage".equals(grammar.getName())) { | ||
2239 | return grammar; | ||
2240 | } | ||
2241 | List<Grammar> grammars = grammar.getUsedGrammars(); | ||
2242 | if (!grammars.isEmpty()) { | ||
2243 | grammar = grammars.iterator().next(); | ||
2244 | } else { | ||
2245 | return null; | ||
2246 | } | ||
2247 | } | ||
2248 | return grammar; | ||
2249 | } | ||
2250 | |||
2251 | @Override | ||
2252 | public Grammar getGrammar() { | ||
2253 | return grammar; | ||
2254 | } | ||
2255 | |||
2256 | |||
2257 | public TerminalsGrammarAccess getTerminalsGrammarAccess() { | ||
2258 | return gaTerminals; | ||
2259 | } | ||
2260 | |||
2261 | |||
2262 | //ALSDocument: | ||
2263 | // (enumDeclarations+=ALSEnumDeclaration | signatureBodies+=ALSSignatureBody | | ||
2264 | // functionDefinitions+=ALSFunctionDefinition | relationDefinitions+=ALSRelationDefinition | | ||
2265 | // factDeclarations+=ALSFactDeclaration)+ | ||
2266 | // runCommand=ALSRunCommand; | ||
2267 | public ALSDocumentElements getALSDocumentAccess() { | ||
2268 | return pALSDocument; | ||
2269 | } | ||
2270 | |||
2271 | public ParserRule getALSDocumentRule() { | ||
2272 | return getALSDocumentAccess().getRule(); | ||
2273 | } | ||
2274 | |||
2275 | //terminal ID: | ||
2276 | // ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | "'" | '"' | '0'..'9')*; | ||
2277 | public TerminalRule getIDRule() { | ||
2278 | return tID; | ||
2279 | } | ||
2280 | |||
2281 | //ALSID: | ||
2282 | // ID; | ||
2283 | public ALSIDElements getALSIDAccess() { | ||
2284 | return pALSID; | ||
2285 | } | ||
2286 | |||
2287 | public ParserRule getALSIDRule() { | ||
2288 | return getALSIDAccess().getRule(); | ||
2289 | } | ||
2290 | |||
2291 | //enum ALSMultiplicity: | ||
2292 | // all | no | some | lone | one | set; | ||
2293 | public ALSMultiplicityElements getALSMultiplicityAccess() { | ||
2294 | return eALSMultiplicity; | ||
2295 | } | ||
2296 | |||
2297 | public EnumRule getALSMultiplicityRule() { | ||
2298 | return getALSMultiplicityAccess().getRule(); | ||
2299 | } | ||
2300 | |||
2301 | //////////////////////////////////// | ||
2302 | //// ALS types | ||
2303 | //////////////////////////////////// | ||
2304 | //ALSRelationDeclaration: | ||
2305 | // ALSTypeDeclaration | ALSEnumLiteral | ALSFieldDeclaration | ALSVariableDeclaration; | ||
2306 | public ALSRelationDeclarationElements getALSRelationDeclarationAccess() { | ||
2307 | return pALSRelationDeclaration; | ||
2308 | } | ||
2309 | |||
2310 | public ParserRule getALSRelationDeclarationRule() { | ||
2311 | return getALSRelationDeclarationAccess().getRule(); | ||
2312 | } | ||
2313 | |||
2314 | //ALSTypeDeclaration: | ||
2315 | // ALSEnumDeclaration | ALSSignatureDeclaration; | ||
2316 | public ALSTypeDeclarationElements getALSTypeDeclarationAccess() { | ||
2317 | return pALSTypeDeclaration; | ||
2318 | } | ||
2319 | |||
2320 | public ParserRule getALSTypeDeclarationRule() { | ||
2321 | return getALSTypeDeclarationAccess().getRule(); | ||
2322 | } | ||
2323 | |||
2324 | //ALSEnumDeclaration: | ||
2325 | // 'enum' name=ALSID '{' | ||
2326 | // literal+=ALSEnumLiteral ("," literal+=ALSEnumLiteral)* | ||
2327 | // '}'; | ||
2328 | public ALSEnumDeclarationElements getALSEnumDeclarationAccess() { | ||
2329 | return pALSEnumDeclaration; | ||
2330 | } | ||
2331 | |||
2332 | public ParserRule getALSEnumDeclarationRule() { | ||
2333 | return getALSEnumDeclarationAccess().getRule(); | ||
2334 | } | ||
2335 | |||
2336 | //ALSEnumLiteral: | ||
2337 | // name=ALSID; | ||
2338 | public ALSEnumLiteralElements getALSEnumLiteralAccess() { | ||
2339 | return pALSEnumLiteral; | ||
2340 | } | ||
2341 | |||
2342 | public ParserRule getALSEnumLiteralRule() { | ||
2343 | return getALSEnumLiteralAccess().getRule(); | ||
2344 | } | ||
2345 | |||
2346 | //ALSSignatureDeclaration: | ||
2347 | // name=ALSID; | ||
2348 | public ALSSignatureDeclarationElements getALSSignatureDeclarationAccess() { | ||
2349 | return pALSSignatureDeclaration; | ||
2350 | } | ||
2351 | |||
2352 | public ParserRule getALSSignatureDeclarationRule() { | ||
2353 | return getALSSignatureDeclarationAccess().getRule(); | ||
2354 | } | ||
2355 | |||
2356 | //ALSSignatureBody: | ||
2357 | // (multiplicity=ALSMultiplicity? & abstract?='abstract'?) | ||
2358 | // 'sig' | ||
2359 | // declarations+=ALSSignatureDeclaration (',' declarations+=ALSSignatureDeclaration)* ('extends' | ||
2360 | // supertype=[ALSSignatureDeclaration] | 'in' superset+=[ALSSignatureDeclaration] ('+' | ||
2361 | // superset+=[ALSSignatureDeclaration])*)? | ||
2362 | // '{' (fields+=ALSFieldDeclaration ("," fields+=ALSFieldDeclaration)*)? '}'; | ||
2363 | public ALSSignatureBodyElements getALSSignatureBodyAccess() { | ||
2364 | return pALSSignatureBody; | ||
2365 | } | ||
2366 | |||
2367 | public ParserRule getALSSignatureBodyRule() { | ||
2368 | return getALSSignatureBodyAccess().getRule(); | ||
2369 | } | ||
2370 | |||
2371 | //ALSFieldDeclaration: | ||
2372 | // name=ALSID ':' multiplicity=ALSMultiplicity? type=ALSTerm; | ||
2373 | public ALSFieldDeclarationElements getALSFieldDeclarationAccess() { | ||
2374 | return pALSFieldDeclaration; | ||
2375 | } | ||
2376 | |||
2377 | public ParserRule getALSFieldDeclarationRule() { | ||
2378 | return getALSFieldDeclarationAccess().getRule(); | ||
2379 | } | ||
2380 | |||
2381 | //ALSDefinition: | ||
2382 | // ALSFunctionDefinition | ALSRelationDefinition; | ||
2383 | public ALSDefinitionElements getALSDefinitionAccess() { | ||
2384 | return pALSDefinition; | ||
2385 | } | ||
2386 | |||
2387 | public ParserRule getALSDefinitionRule() { | ||
2388 | return getALSDefinitionAccess().getRule(); | ||
2389 | } | ||
2390 | |||
2391 | //ALSFunctionDefinition: | ||
2392 | // "fun" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" ":" type=ALSTerm | ||
2393 | // "{" value=ALSTerm "}"; | ||
2394 | public ALSFunctionDefinitionElements getALSFunctionDefinitionAccess() { | ||
2395 | return pALSFunctionDefinition; | ||
2396 | } | ||
2397 | |||
2398 | public ParserRule getALSFunctionDefinitionRule() { | ||
2399 | return getALSFunctionDefinitionAccess().getRule(); | ||
2400 | } | ||
2401 | |||
2402 | //ALSRelationDefinition: | ||
2403 | // "pred" name=ALSID "[" variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* "]" | ||
2404 | // "{" value=ALSTerm "}"; | ||
2405 | public ALSRelationDefinitionElements getALSRelationDefinitionAccess() { | ||
2406 | return pALSRelationDefinition; | ||
2407 | } | ||
2408 | |||
2409 | public ParserRule getALSRelationDefinitionRule() { | ||
2410 | return getALSRelationDefinitionAccess().getRule(); | ||
2411 | } | ||
2412 | |||
2413 | //ALSFactDeclaration: | ||
2414 | // {ALSFactDeclaration} 'fact' name=ALSID? '{' term=ALSTerm '}'; | ||
2415 | public ALSFactDeclarationElements getALSFactDeclarationAccess() { | ||
2416 | return pALSFactDeclaration; | ||
2417 | } | ||
2418 | |||
2419 | public ParserRule getALSFactDeclarationRule() { | ||
2420 | return getALSFactDeclarationAccess().getRule(); | ||
2421 | } | ||
2422 | |||
2423 | //////////////////////////////////// | ||
2424 | //// ALS terms | ||
2425 | //////////////////////////////////// | ||
2426 | //ALSTerm: | ||
2427 | // ALSQuantified; | ||
2428 | public ALSTermElements getALSTermAccess() { | ||
2429 | return pALSTerm; | ||
2430 | } | ||
2431 | |||
2432 | public ParserRule getALSTermRule() { | ||
2433 | return getALSTermAccess().getRule(); | ||
2434 | } | ||
2435 | |||
2436 | //ALSQuantified ALSTerm: | ||
2437 | // {ALSQuantifiedEx} type=ALSMultiplicity | ||
2438 | // disj?='disj'? variables+=ALSVariableDeclaration (',' variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | | ||
2439 | // ALSOr; | ||
2440 | public ALSQuantifiedElements getALSQuantifiedAccess() { | ||
2441 | return pALSQuantified; | ||
2442 | } | ||
2443 | |||
2444 | public ParserRule getALSQuantifiedRule() { | ||
2445 | return getALSQuantifiedAccess().getRule(); | ||
2446 | } | ||
2447 | |||
2448 | //ALSOr ALSTerm: | ||
2449 | // ALSIff ({ALSOr.leftOperand=current} ("||" | "or") rightOperand=ALSIff)?; | ||
2450 | public ALSOrElements getALSOrAccess() { | ||
2451 | return pALSOr; | ||
2452 | } | ||
2453 | |||
2454 | public ParserRule getALSOrRule() { | ||
2455 | return getALSOrAccess().getRule(); | ||
2456 | } | ||
2457 | |||
2458 | //ALSIff ALSTerm: | ||
2459 | // ALSImpl ({ALSIff.leftOperand=current} ("<=>" | "iff") rightOperand=ALSImpl)?; | ||
2460 | public ALSIffElements getALSIffAccess() { | ||
2461 | return pALSIff; | ||
2462 | } | ||
2463 | |||
2464 | public ParserRule getALSIffRule() { | ||
2465 | return getALSIffAccess().getRule(); | ||
2466 | } | ||
2467 | |||
2468 | //ALSImpl ALSTerm: | ||
2469 | // ALSAnd ({ALSImpl.leftOperand=current} ("=>" | "implies") rightOperand=ALSAnd ('else' elseOperand=ALSAnd)?)?; | ||
2470 | public ALSImplElements getALSImplAccess() { | ||
2471 | return pALSImpl; | ||
2472 | } | ||
2473 | |||
2474 | public ParserRule getALSImplRule() { | ||
2475 | return getALSImplAccess().getRule(); | ||
2476 | } | ||
2477 | |||
2478 | //ALSAnd ALSTerm: | ||
2479 | // ALSComparison ({ALSAnd.leftOperand=current} ("&&" | "and") rightOperand=ALSComparison)?; | ||
2480 | public ALSAndElements getALSAndAccess() { | ||
2481 | return pALSAnd; | ||
2482 | } | ||
2483 | |||
2484 | public ParserRule getALSAndRule() { | ||
2485 | return getALSAndAccess().getRule(); | ||
2486 | } | ||
2487 | |||
2488 | //ALSComparison ALSTerm: | ||
2489 | // ALSOverride (({ALSEquals.leftOperand=current} "=" | {ALSNotEquals.leftOperand=current} "!=" | | ||
2490 | // {ALSSubset.leftOperand=current} "in" | {ALSLess.leftOperand=current} ">" | {ALSLeq.leftOperand=current} ">=" | | ||
2491 | // {ALSMore.leftOperand=current} "<" | {ALSMeq.leftOperand=current} "<=") rightOperand=ALSOverride)?; | ||
2492 | public ALSComparisonElements getALSComparisonAccess() { | ||
2493 | return pALSComparison; | ||
2494 | } | ||
2495 | |||
2496 | public ParserRule getALSComparisonRule() { | ||
2497 | return getALSComparisonAccess().getRule(); | ||
2498 | } | ||
2499 | |||
2500 | //ALSOverride ALSTerm: | ||
2501 | // ALSRangeRestrictionRight ({ALSOverride.leftOperand=current} '++' rightOperand=ALSRangeRestrictionRight)?; | ||
2502 | public ALSOverrideElements getALSOverrideAccess() { | ||
2503 | return pALSOverride; | ||
2504 | } | ||
2505 | |||
2506 | public ParserRule getALSOverrideRule() { | ||
2507 | return getALSOverrideAccess().getRule(); | ||
2508 | } | ||
2509 | |||
2510 | //ALSRangeRestrictionRight ALSTerm: | ||
2511 | // ALSRangeRestrictionLeft ({ALSRangeRestrictionRight.relation=current} ':>' filter=ALSRangeRestrictionLeft)?; | ||
2512 | public ALSRangeRestrictionRightElements getALSRangeRestrictionRightAccess() { | ||
2513 | return pALSRangeRestrictionRight; | ||
2514 | } | ||
2515 | |||
2516 | public ParserRule getALSRangeRestrictionRightRule() { | ||
2517 | return getALSRangeRestrictionRightAccess().getRule(); | ||
2518 | } | ||
2519 | |||
2520 | //ALSRangeRestrictionLeft ALSTerm: | ||
2521 | // ALSJoin ({ALSRangeRestrictionLeft.filter=current} '<:' relation=ALSJoin)?; | ||
2522 | public ALSRangeRestrictionLeftElements getALSRangeRestrictionLeftAccess() { | ||
2523 | return pALSRangeRestrictionLeft; | ||
2524 | } | ||
2525 | |||
2526 | public ParserRule getALSRangeRestrictionLeftRule() { | ||
2527 | return getALSRangeRestrictionLeftAccess().getRule(); | ||
2528 | } | ||
2529 | |||
2530 | //ALSJoin ALSTerm: | ||
2531 | // ALSMinus ({ALSJoin.leftOperand=current} '.' rightOperand=ALSMinus)*; | ||
2532 | public ALSJoinElements getALSJoinAccess() { | ||
2533 | return pALSJoin; | ||
2534 | } | ||
2535 | |||
2536 | public ParserRule getALSJoinRule() { | ||
2537 | return getALSJoinAccess().getRule(); | ||
2538 | } | ||
2539 | |||
2540 | //ALSMinus ALSTerm: | ||
2541 | // ALSPlus ({ALSMinus.leftOperand=current} '-' rightOperand=ALSPlus)*; | ||
2542 | public ALSMinusElements getALSMinusAccess() { | ||
2543 | return pALSMinus; | ||
2544 | } | ||
2545 | |||
2546 | public ParserRule getALSMinusRule() { | ||
2547 | return getALSMinusAccess().getRule(); | ||
2548 | } | ||
2549 | |||
2550 | //ALSPlus ALSTerm: | ||
2551 | // ALSIntersection ({ALSPlus.leftOperand=current} '+' rightOperand=ALSIntersection)*; | ||
2552 | public ALSPlusElements getALSPlusAccess() { | ||
2553 | return pALSPlus; | ||
2554 | } | ||
2555 | |||
2556 | public ParserRule getALSPlusRule() { | ||
2557 | return getALSPlusAccess().getRule(); | ||
2558 | } | ||
2559 | |||
2560 | //ALSIntersection ALSTerm: | ||
2561 | // ALSDirectProduct ({ALSIntersection.leftOperand=current} '&' rightOperand=ALSDirectProduct)*; | ||
2562 | public ALSIntersectionElements getALSIntersectionAccess() { | ||
2563 | return pALSIntersection; | ||
2564 | } | ||
2565 | |||
2566 | public ParserRule getALSIntersectionRule() { | ||
2567 | return getALSIntersectionAccess().getRule(); | ||
2568 | } | ||
2569 | |||
2570 | ////ALSMultiply returns ALSTerm: ALSDirectProduct ({ALSMultiply.leftOperand = current} '*' rightOperand = ALSDirectProduct)*; | ||
2571 | //ALSDirectProduct ALSTerm: | ||
2572 | // ALSPreficed ({ALSDirectProduct.leftOperand=current} leftMultiplicit=ALSMultiplicity? | ||
2573 | // '->' | ||
2574 | // rightMultiplicit=ALSMultiplicity? | ||
2575 | // rightOperand=ALSPreficed)?; | ||
2576 | public ALSDirectProductElements getALSDirectProductAccess() { | ||
2577 | return pALSDirectProduct; | ||
2578 | } | ||
2579 | |||
2580 | public ParserRule getALSDirectProductRule() { | ||
2581 | return getALSDirectProductAccess().getRule(); | ||
2582 | } | ||
2583 | |||
2584 | //ALSPreficed ALSTerm: | ||
2585 | // {ALSNot} => ("!" | 'not') operand=ALSBasicRelationTerm | {ALSInverseRelation} => "~" operand=ALSBasicRelationTerm | | ||
2586 | // {AlSTransitiveClosure} "^" operand=ALSBasicRelationTerm | {ALSReflectiveTransitiveClosure} "*" | ||
2587 | // operand=ALSBasicRelationTerm | {ALSCardinality} '#' operand=ALSBasicRelationTerm | {ALSUnaryMinus} => '-' | ||
2588 | // operand=ALSBasicRelationTerm | {ALSSum} 'sum' variables+=ALSVariableDeclaration (',' | ||
2589 | // variables+=ALSVariableDeclaration)* '{' expression=ALSTerm '}' | {ALSFunctionCall} | ||
2590 | // (referredDefinition=[ALSDefinition] | referredNumericOperator=ALSNumericOperator) '[' params+=ALSTerm (',' | ||
2591 | // params+=ALSTerm)* ']' | ALSBasicRelationTerm; | ||
2592 | public ALSPreficedElements getALSPreficedAccess() { | ||
2593 | return pALSPreficed; | ||
2594 | } | ||
2595 | |||
2596 | public ParserRule getALSPreficedRule() { | ||
2597 | return getALSPreficedAccess().getRule(); | ||
2598 | } | ||
2599 | |||
2600 | //enum ALSNumericOperator: | ||
2601 | // plus | sub | mul | rem | div; | ||
2602 | public ALSNumericOperatorElements getALSNumericOperatorAccess() { | ||
2603 | return eALSNumericOperator; | ||
2604 | } | ||
2605 | |||
2606 | public EnumRule getALSNumericOperatorRule() { | ||
2607 | return getALSNumericOperatorAccess().getRule(); | ||
2608 | } | ||
2609 | |||
2610 | ////ALSVariable: name = ALSID; | ||
2611 | //ALSVariableDeclaration: | ||
2612 | // name=ALSID ':' range=ALSTerm; | ||
2613 | public ALSVariableDeclarationElements getALSVariableDeclarationAccess() { | ||
2614 | return pALSVariableDeclaration; | ||
2615 | } | ||
2616 | |||
2617 | public ParserRule getALSVariableDeclarationRule() { | ||
2618 | return getALSVariableDeclarationAccess().getRule(); | ||
2619 | } | ||
2620 | |||
2621 | //ALSBasicRelationTerm ALSTerm: | ||
2622 | // {ALSNone} 'none' | {ALSIden} 'iden' | {ALSUniv} 'univ' | {ALSInt} 'Int' | {ALSString} 'String' | {ALSReference} | ||
2623 | // referred=[ALSRelationDeclaration] | {ALSNumberLiteral} value=INT | {ALSStringLiteral} value=STRING | | ||
2624 | // '(' ALSTerm ')'; | ||
2625 | public ALSBasicRelationTermElements getALSBasicRelationTermAccess() { | ||
2626 | return pALSBasicRelationTerm; | ||
2627 | } | ||
2628 | |||
2629 | public ParserRule getALSBasicRelationTermRule() { | ||
2630 | return getALSBasicRelationTermAccess().getRule(); | ||
2631 | } | ||
2632 | |||
2633 | //////////////////////////////////// | ||
2634 | //// ALS Commands and scopes | ||
2635 | //////////////////////////////////// | ||
2636 | //ALSRunCommand: | ||
2637 | // {ALSRunCommand} 'run' '{' '}' ('for' typeScopes+=ALSTypeScope (',' typeScopes+=ALSTypeScope)*)?; | ||
2638 | public ALSRunCommandElements getALSRunCommandAccess() { | ||
2639 | return pALSRunCommand; | ||
2640 | } | ||
2641 | |||
2642 | public ParserRule getALSRunCommandRule() { | ||
2643 | return getALSRunCommandAccess().getRule(); | ||
2644 | } | ||
2645 | |||
2646 | //ALSTypeScope: | ||
2647 | // ALSSigScope | ALSIntScope | ALSStringScope; | ||
2648 | public ALSTypeScopeElements getALSTypeScopeAccess() { | ||
2649 | return pALSTypeScope; | ||
2650 | } | ||
2651 | |||
2652 | public ParserRule getALSTypeScopeRule() { | ||
2653 | return getALSTypeScopeAccess().getRule(); | ||
2654 | } | ||
2655 | |||
2656 | //ALSSigScope: | ||
2657 | // exactly?='exactly'? number=INT type=[ALSSignatureDeclaration]; | ||
2658 | public ALSSigScopeElements getALSSigScopeAccess() { | ||
2659 | return pALSSigScope; | ||
2660 | } | ||
2661 | |||
2662 | public ParserRule getALSSigScopeRule() { | ||
2663 | return getALSSigScopeAccess().getRule(); | ||
2664 | } | ||
2665 | |||
2666 | //ALSIntScope: | ||
2667 | // number=INT 'Int'; | ||
2668 | public ALSIntScopeElements getALSIntScopeAccess() { | ||
2669 | return pALSIntScope; | ||
2670 | } | ||
2671 | |||
2672 | public ParserRule getALSIntScopeRule() { | ||
2673 | return getALSIntScopeAccess().getRule(); | ||
2674 | } | ||
2675 | |||
2676 | //ALSStringScope: | ||
2677 | // 'exactly' number=INT 'String'; | ||
2678 | public ALSStringScopeElements getALSStringScopeAccess() { | ||
2679 | return pALSStringScope; | ||
2680 | } | ||
2681 | |||
2682 | public ParserRule getALSStringScopeRule() { | ||
2683 | return getALSStringScopeAccess().getRule(); | ||
2684 | } | ||
2685 | |||
2686 | //terminal INT returns ecore::EInt: | ||
2687 | // '0'..'9'+; | ||
2688 | public TerminalRule getINTRule() { | ||
2689 | return gaTerminals.getINTRule(); | ||
2690 | } | ||
2691 | |||
2692 | //terminal STRING: | ||
2693 | // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'"; | ||
2694 | public TerminalRule getSTRINGRule() { | ||
2695 | return gaTerminals.getSTRINGRule(); | ||
2696 | } | ||
2697 | |||
2698 | //terminal ML_COMMENT: | ||
2699 | // '/*'->'*/'; | ||
2700 | public TerminalRule getML_COMMENTRule() { | ||
2701 | return gaTerminals.getML_COMMENTRule(); | ||
2702 | } | ||
2703 | |||
2704 | //terminal SL_COMMENT: | ||
2705 | // '//' !('\n' | '\r')* ('\r'? '\n')?; | ||
2706 | public TerminalRule getSL_COMMENTRule() { | ||
2707 | return gaTerminals.getSL_COMMENTRule(); | ||
2708 | } | ||
2709 | |||
2710 | //terminal WS: | ||
2711 | // ' ' | '\t' | '\r' | '\n'+; | ||
2712 | public TerminalRule getWSRule() { | ||
2713 | return gaTerminals.getWSRule(); | ||
2714 | } | ||
2715 | |||
2716 | //terminal ANY_OTHER: | ||
2717 | // .; | ||
2718 | public TerminalRule getANY_OTHERRule() { | ||
2719 | return gaTerminals.getANY_OTHERRule(); | ||
2720 | } | ||
2721 | } | ||
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java new file mode 100644 index 00000000..3780b64b --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/validation/AbstractAlloyLanguageValidator.java | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | * generated by Xtext | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.validation; | ||
5 | |||
6 | import java.util.ArrayList; | ||
7 | import java.util.List; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | public class AbstractAlloyLanguageValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { | ||
11 | |||
12 | @Override | ||
13 | protected List<EPackage> getEPackages() { | ||
14 | List<EPackage> result = new ArrayList<EPackage>(); | ||
15 | result.add(hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage.eINSTANCE); | ||
16 | return result; | ||
17 | } | ||
18 | } | ||