Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl')
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java131
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore804
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel340
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi1127
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java46
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java7986
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java17
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java39
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g2754
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens84
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java3450
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLParser.java7300
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/services/VSLGrammarAccess.java3023
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AdditiveExpression.java91
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AndOrXorExpression.java91
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/BooleanLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/CollectionOrTuple.java88
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ConditionalExpression.java91
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DataTypeName.java115
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DateTimeLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DefaultLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsExpression.java146
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsName.java115
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/EqualityExpression.java91
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Expression.java88
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsExpression.java146
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsName.java115
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/IntegerLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Interval.java175
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/JitterExp.java117
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValueNamePairs.java74
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValues.java74
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Literal.java88
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/MultiplicativeExpression.java91
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NameOrChoiceOrBehaviorCall.java147
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NullLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NumberLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/OperationCallExpression.java118
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PrimaryExpression.java114
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PropertyCallExpression.java89
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/QualifiedName.java115
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RealLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RelationalExpression.java91
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/StringLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/SuffixExpression.java85
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/TimeExpression.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Tuple.java88
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnaryExpression.java143
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnlimitedLiteralRule.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLFactory.java427
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLPackage.java3615
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueNamePair.java115
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueSpecification.java51
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VariableDeclaration.java175
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AdditiveExpressionImpl.java271
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AndOrXorExpressionImpl.java271
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/BooleanLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/CollectionOrTupleImpl.java251
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ConditionalExpressionImpl.java271
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java328
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DateTimeLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DefaultLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsExpressionImpl.java424
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsNameImpl.java328
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/EqualityExpressionImpl.java271
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ExpressionImpl.java251
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsExpressionImpl.java424
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsNameImpl.java328
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntegerLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntervalImpl.java481
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/JitterExpImpl.java337
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValueNamePairsImpl.java211
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValuesImpl.java211
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/LiteralImpl.java228
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/MultiplicativeExpressionImpl.java271
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NameOrChoiceOrBehaviorCallImpl.java414
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NullLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NumberLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/OperationCallExpressionImpl.java327
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PrimaryExpressionImpl.java339
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PropertyCallExpressionImpl.java224
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/QualifiedNameImpl.java327
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RealLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RelationalExpressionImpl.java271
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/StringLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/SuffixExpressionImpl.java251
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TimeExpressionImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TupleImpl.java251
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnaryExpressionImpl.java419
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnlimitedLiteralRuleImpl.java82
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLFactoryImpl.java722
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLPackageImpl.java2159
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueNamePairImpl.java328
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueSpecificationImpl.java83
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VariableDeclarationImpl.java482
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLAdapterFactory.java1014
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceFactoryImpl.java55
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceImpl.java32
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLSwitch.java1265
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLXMLProcessor.java54
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java23
101 files changed, 0 insertions, 49827 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java
deleted file mode 100644
index 4ecb175b177..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.marte.vsl;
-
-import java.util.Properties;
-
-import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
-
-import com.google.inject.Binder;
-import com.google.inject.name.Names;
-
-/**
- * Manual modifications go to {org.eclipse.papyrus.marte.vsl.VSLRuntimeModule}
- */
-@SuppressWarnings("all")
-public abstract class AbstractVSLRuntimeModule extends DefaultRuntimeModule {
-
- protected Properties properties = null;
-
- @Override
- public void configure(Binder binder) {
- properties = tryBindProperties(binder, "org/eclipse/papyrus/marte/vsl/VSL.properties");
- super.configure(binder);
- }
-
- public void configureLanguageName(Binder binder) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.marte.vsl.VSL");
- }
-
- public void configureFileExtensions(Binder binder) {
- if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("vsl");
- }
- }
-
- // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
- public java.lang.ClassLoader bindClassLoaderToInstance() {
- return getClass().getClassLoader();
- }
-
- // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
- public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
- return org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.papyrus.marte.vsl.parseTreeConstruction.VSLParsetreeConstructor.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
- return org.eclipse.papyrus.marte.vsl.parser.antlr.VSLParser.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
- public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
- return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
- return org.eclipse.papyrus.marte.vsl.parser.antlr.VSLAntlrTokenFileProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
- return org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public com.google.inject.Provider<org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer> provideInternalVSLLexer() {
- return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureRuntimeLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
- public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
- return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
- @org.eclipse.xtext.service.SingletonBinding(eager = true)
- public Class<? extends org.eclipse.papyrus.marte.vsl.validation.VSLJavaValidator> bindVSLJavaValidator() {
- return org.eclipse.papyrus.marte.vsl.validation.VSLJavaValidator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
- public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
- return org.eclipse.papyrus.marte.vsl.scoping.VSLScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE))
- .to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
- public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
- return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
- binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
- @Override
- public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
- return org.eclipse.xtext.naming.SimpleNameProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
- @Override
- public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
- return org.eclipse.papyrus.marte.vsl.formatting.VSLFormatter.class;
- }
-
-}
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore
deleted file mode 100644
index af592bc7441..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore
+++ /dev/null
@@ -1,804 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="vSL" nsURI="http://www.eclipse.org/papyrus/marte/vsl/VSL" nsPrefix="vSL">
- <eClassifiers xsi:type="ecore:EClass" name="Expression" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" eType="#//AndOrXorExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AndOrXorExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//EqualityExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="EqualityExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//RelationalExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RelationalExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//ConditionalExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ConditionalExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//AdditiveExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AdditiveExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//MultiplicativeExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MultiplicativeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//UnaryExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UnaryExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="unary" eType="#//UnaryExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" eType="#//PrimaryExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PrimaryExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="prefix" eType="#//ValueSpecification"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="suffix" eType="#//SuffixExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SuffixExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="suffix" eType="#//SuffixExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PropertyCallExpression" eSuperTypes="#//SuffixExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../model/UML.ecore#//Property"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OperationCallExpression" eSuperTypes="#//SuffixExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="operation" eType="ecore:EClass ../../../../../../model/UML.ecore#//Operation"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" eType="#//ListOfValues"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Literal" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NameOrChoiceOrBehaviorCall" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="ecore:EClass ../../../../../../model/UML.ecore#//NamedElement"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" eType="#//ListOfValues"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass ../../../../../../model/UML.ecore#//Namespace"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="#//QualifiedName"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Interval" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="isLowerIncluded" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="lower" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="upper" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="isUpperIncluded" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CollectionOrTuple" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="listOfValues" eType="#//ListOfValues"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Tuple" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="listOfValueNamePairs" eType="#//ListOfValueNamePairs"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ListOfValues">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
- eType="#//Expression" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ListOfValueNamePairs">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="valueNamePairs" upperBound="-1"
- eType="#//ValueNamePair" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ValueNamePair">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../model/UML.ecore#//Property"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TimeExpression" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="InstantObsExpression" eSuperTypes="#//TimeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="#//InstantObsName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="InstantObsName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="instantId" eType="ecore:EClass ../../../../../../model/UML.ecore#//TimeObservation"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DurationObsExpression" eSuperTypes="#//TimeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="#//DurationObsName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DurationObsName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="durationId" eType="ecore:EClass ../../../../../../model/UML.ecore#//DurationObservation"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="JitterExp" eSuperTypes="#//TimeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="firstInstant" eType="#//InstantObsExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="secondInstant" eType="#//InstantObsExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="VariableDeclaration" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="variableDeclaration" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//DataTypeName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="initValue" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DataTypeName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass ../../../../../../model/UML.ecore#//DataType"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NumberLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IntegerLiteralRule" eSuperTypes="#//NumberLiteralRule">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UnlimitedLiteralRule" eSuperTypes="#//NumberLiteralRule">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RealLiteralRule" eSuperTypes="#//NumberLiteralRule">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DateTimeLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BooleanLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NullLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DefaultLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="StringLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel
deleted file mode 100644
index a7e2c22624b..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel
+++ /dev/null
@@ -1,340 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.marte.vsl/src-gen" editDirectory="/org.eclipse.papyrus.marte.vsl.edit/src"
- editorDirectory="/org.eclipse.papyrus.marte.vsl.editor/src" modelPluginID="org.eclipse.papyrus.marte.vsl"
- forceOverwrite="true" modelName="VSL" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.marte.vsl.edit"
- editorPluginID="org.eclipse.papyrus.marte.vsl.editor" runtimeVersion="2.9" usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../../../../../model/UML.genmodel#//uml">
- <genPackages prefix="VSL" basePackage="org.eclipse.papyrus.marte.vsl" resource="XML"
- disposableProviderFactory="true" ecorePackage="VSL.ecore#/">
- <genClasses ecoreClass="VSL.ecore#//Expression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Expression/exp"/>
- <genOperations ecoreOperation="VSL.ecore#//Expression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Expression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Expression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Expression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//AndOrXorExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//AndOrXorExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//AndOrXorExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//AndOrXorExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//AndOrXorExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//AndOrXorExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//AndOrXorExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//EqualityExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//EqualityExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//EqualityExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//EqualityExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//EqualityExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//EqualityExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//EqualityExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//RelationalExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//RelationalExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//RelationalExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//RelationalExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//RelationalExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//RelationalExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//RelationalExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ConditionalExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ConditionalExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//ConditionalExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//ConditionalExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ConditionalExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ConditionalExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ConditionalExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//AdditiveExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//AdditiveExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//AdditiveExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//AdditiveExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//AdditiveExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//AdditiveExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//AdditiveExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//MultiplicativeExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//MultiplicativeExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//MultiplicativeExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//MultiplicativeExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//MultiplicativeExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//MultiplicativeExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//MultiplicativeExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//UnaryExpression">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//UnaryExpression/op"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//UnaryExpression/unary"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//UnaryExpression/exp"/>
- <genOperations ecoreOperation="VSL.ecore#//UnaryExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//UnaryExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//UnaryExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//UnaryExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//PrimaryExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//PrimaryExpression/prefix"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//PrimaryExpression/suffix"/>
- <genOperations ecoreOperation="VSL.ecore#//PrimaryExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//PrimaryExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//PrimaryExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//PrimaryExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ValueSpecification">
- <genOperations ecoreOperation="VSL.ecore#//ValueSpecification/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ValueSpecification/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ValueSpecification/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ValueSpecification/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//SuffixExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//SuffixExpression/suffix"/>
- <genOperations ecoreOperation="VSL.ecore#//SuffixExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//SuffixExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//SuffixExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//SuffixExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//PropertyCallExpression">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//PropertyCallExpression/property"/>
- <genOperations ecoreOperation="VSL.ecore#//PropertyCallExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//PropertyCallExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//PropertyCallExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//PropertyCallExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//OperationCallExpression">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//OperationCallExpression/operation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//OperationCallExpression/arguments"/>
- <genOperations ecoreOperation="VSL.ecore#//OperationCallExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//OperationCallExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//OperationCallExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//OperationCallExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//Literal">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Literal/value"/>
- <genOperations ecoreOperation="VSL.ecore#//Literal/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Literal/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Literal/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Literal/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//NameOrChoiceOrBehaviorCall">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//NameOrChoiceOrBehaviorCall/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//NameOrChoiceOrBehaviorCall/id"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//NameOrChoiceOrBehaviorCall/arguments"/>
- <genOperations ecoreOperation="VSL.ecore#//NameOrChoiceOrBehaviorCall/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//NameOrChoiceOrBehaviorCall/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//NameOrChoiceOrBehaviorCall/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//NameOrChoiceOrBehaviorCall/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//QualifiedName">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//QualifiedName/path"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//QualifiedName/remaining"/>
- <genOperations ecoreOperation="VSL.ecore#//QualifiedName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//QualifiedName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//QualifiedName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//QualifiedName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//Interval">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Interval/isLowerIncluded"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Interval/lower"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Interval/upper"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Interval/isUpperIncluded"/>
- <genOperations ecoreOperation="VSL.ecore#//Interval/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Interval/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Interval/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Interval/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//CollectionOrTuple">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//CollectionOrTuple/listOfValues"/>
- <genOperations ecoreOperation="VSL.ecore#//CollectionOrTuple/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//CollectionOrTuple/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//CollectionOrTuple/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//CollectionOrTuple/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//Tuple">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Tuple/listOfValueNamePairs"/>
- <genOperations ecoreOperation="VSL.ecore#//Tuple/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Tuple/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Tuple/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Tuple/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ListOfValues">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ListOfValues/values"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValues/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ListOfValues/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValues/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValues/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ListOfValueNamePairs">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ListOfValueNamePairs/valueNamePairs"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValueNamePairs/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ListOfValueNamePairs/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValueNamePairs/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValueNamePairs/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ValueNamePair">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//ValueNamePair/property"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ValueNamePair/value"/>
- <genOperations ecoreOperation="VSL.ecore#//ValueNamePair/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ValueNamePair/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ValueNamePair/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ValueNamePair/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//TimeExpression">
- <genOperations ecoreOperation="VSL.ecore#//TimeExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//TimeExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//TimeExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//TimeExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//InstantObsExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/id"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/index"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/condition"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//InstantObsExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//InstantObsName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsName/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsName/instantId"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//InstantObsName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DurationObsExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/id"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/index"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/condition"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DurationObsExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DurationObsName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsName/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsName/durationId"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DurationObsName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//JitterExp">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//JitterExp/firstInstant"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//JitterExp/secondInstant"/>
- <genOperations ecoreOperation="VSL.ecore#//JitterExp/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//JitterExp/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//JitterExp/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//JitterExp/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//VariableDeclaration">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//VariableDeclaration/variableDeclaration"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//VariableDeclaration/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//VariableDeclaration/type"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//VariableDeclaration/initValue"/>
- <genOperations ecoreOperation="VSL.ecore#//VariableDeclaration/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//VariableDeclaration/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//VariableDeclaration/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//VariableDeclaration/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DataTypeName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DataTypeName/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DataTypeName/type"/>
- <genOperations ecoreOperation="VSL.ecore#//DataTypeName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DataTypeName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DataTypeName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DataTypeName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//NumberLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//NumberLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//NumberLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//NumberLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//NumberLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//IntegerLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//IntegerLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//IntegerLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//IntegerLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//IntegerLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//UnlimitedLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//UnlimitedLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//UnlimitedLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//UnlimitedLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//UnlimitedLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//RealLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//RealLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//RealLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//RealLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//RealLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DateTimeLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//DateTimeLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DateTimeLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DateTimeLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DateTimeLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//BooleanLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//BooleanLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//BooleanLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//BooleanLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//BooleanLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//NullLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//NullLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//NullLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//NullLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//NullLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DefaultLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//DefaultLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DefaultLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DefaultLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DefaultLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//StringLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//StringLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//StringLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//StringLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//StringLiteralRule/getContextElement"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi
deleted file mode 100644
index e1f6e6903e1..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi
+++ /dev/null
@@ -1,1127 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext">
- <xtext:Grammar name="org.eclipse.papyrus.marte.vsl.VSL" usedGrammars="/1">
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="uml">
- <ePackage href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- </metamodelDeclarations>
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
- <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- </metamodelDeclarations>
- <metamodelDeclarations xsi:type="xtext:GeneratedMetamodel" name="vSL">
- <ePackage href="http://www.eclipse.org/papyrus/marte/vsl/VSL#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:ParserRule" name="Expression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Expression"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AndOrXorExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//AndOrXorExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="and"/>
- <elements xsi:type="xtext:Keyword" value="or"/>
- <elements xsi:type="xtext:Keyword" value="xor"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="EqualityExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//EqualityExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="=="/>
- <elements xsi:type="xtext:Keyword" value="&lt;>"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="RelationalExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//RelationalExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="&lt;"/>
- <elements xsi:type="xtext:Keyword" value=">"/>
- <elements xsi:type="xtext:Keyword" value="&lt;="/>
- <elements xsi:type="xtext:Keyword" value=">="/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ConditionalExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ConditionalExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Keyword" value="?"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AdditiveExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//AdditiveExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="MultiplicativeExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//MultiplicativeExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="*"/>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Keyword" value="mod"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnaryExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//UnaryExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="op" operator="=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="not"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- <elements xsi:type="xtext:Keyword" value="+"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="unary" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PrimaryExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//PrimaryExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="prefix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ValueSpecification">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ValueSpecification"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SuffixExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//SuffixExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PropertyCallExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//PropertyCallExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="property" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="OperationCallExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//OperationCallExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="operation" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Operation"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="arguments" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Literal">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Literal"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.37"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.39"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.41"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.43"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.44"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NameOrChoiceOrBehaviorCall">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//NameOrChoiceOrBehaviorCall"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="arguments" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="QualifiedName">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//QualifiedName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="path" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Namespace"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="::"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="remaining" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Interval">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Interval"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="]"/>
- <elements xsi:type="xtext:Assignment" feature="isLowerIncluded" operator="=">
- <terminal xsi:type="xtext:Keyword" value="["/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="lower" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=".."/>
- <elements xsi:type="xtext:Assignment" feature="upper" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="isUpperIncluded" operator="=">
- <terminal xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="["/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="CollectionOrTuple">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//CollectionOrTuple"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" feature="listOfValues" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Tuple">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Tuple"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" feature="listOfValueNamePairs" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ListOfValues">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ListOfValues"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ListOfValueNamePairs">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ListOfValueNamePairs"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="valueNamePairs" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="valueNamePairs" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ValueNamePair">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ValueNamePair"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="property" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Property"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TimeExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//TimeExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstantObsExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//InstantObsExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="@"/>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="index" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="when"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstantObsName">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//InstantObsName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="instantId" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//TimeObservation"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DurationObsExpression">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DurationObsExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="&amp;"/>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="index" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="when"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DurationObsName">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DurationObsName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="durationId" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//DurationObservation"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="JitterExp">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//JitterExp"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="jitter("/>
- <elements xsi:type="xtext:Assignment" feature="firstInstant" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="-"/>
- <elements xsi:type="xtext:Assignment" feature="secondInstant" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="VariableDeclaration">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//VariableDeclaration"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="variableDeclaration" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="$"/>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.30"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="initValue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="initValue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="VariableDirectionKind">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="in"/>
- <elements xsi:type="xtext:Keyword" value="out"/>
- <elements xsi:type="xtext:Keyword" value="inout"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DataTypeName">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DataTypeName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//DataType"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NumberLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//NumberLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.34"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.35"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="IntegerLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//IntegerLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.33"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="IntegerLiteral">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0x"/>
- <elements xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="F"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="f"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0b"/>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="1"/>
- </elements>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnlimitedLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//UnlimitedLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:Keyword" value="*"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="RealLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//RealLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.36"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="RealLiteral">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="E"/>
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DateTimeLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DateTimeLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.38"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="DateTimeLiteral">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="1"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="2"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="3"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="5"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="5"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="1"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="3"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:Keyword" value="1"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="Mon"/>
- <elements xsi:type="xtext:Keyword" value="Tue"/>
- <elements xsi:type="xtext:Keyword" value="Wed"/>
- <elements xsi:type="xtext:Keyword" value="Thr"/>
- <elements xsi:type="xtext:Keyword" value="Fri"/>
- <elements xsi:type="xtext:Keyword" value="Sat"/>
- <elements xsi:type="xtext:Keyword" value="Sun"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="1"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="3"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:Keyword" value="1"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="Mon"/>
- <elements xsi:type="xtext:Keyword" value="Tue"/>
- <elements xsi:type="xtext:Keyword" value="Wed"/>
- <elements xsi:type="xtext:Keyword" value="Thr"/>
- <elements xsi:type="xtext:Keyword" value="Fri"/>
- <elements xsi:type="xtext:Keyword" value="Sat"/>
- <elements xsi:type="xtext:Keyword" value="Sun"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="Mon"/>
- <elements xsi:type="xtext:Keyword" value="Tue"/>
- <elements xsi:type="xtext:Keyword" value="Wed"/>
- <elements xsi:type="xtext:Keyword" value="Thr"/>
- <elements xsi:type="xtext:Keyword" value="Fri"/>
- <elements xsi:type="xtext:Keyword" value="Sat"/>
- <elements xsi:type="xtext:Keyword" value="Sun"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="BooleanLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//BooleanLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.40"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="BooleanLiteral">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="true"/>
- <elements xsi:type="xtext:Keyword" value="false"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NullLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//NullLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.42"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="NullLiteral">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Keyword" value="null"/>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DefaultLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DefaultLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:Keyword" value="/"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="StringLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//StringLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
- </alternatives>
- </rules>
- </xtext:Grammar>
- <xtext:Grammar name="org.eclipse.xtext.common.Terminals" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
- <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:TerminalRule" name="ID">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="^"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="_"/>
- </elements>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="INT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </type>
- <alternatives xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="STRING">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="b"/>
- <elements xsi:type="xtext:Keyword" value="t"/>
- <elements xsi:type="xtext:Keyword" value="n"/>
- <elements xsi:type="xtext:Keyword" value="f"/>
- <elements xsi:type="xtext:Keyword" value="r"/>
- <elements xsi:type="xtext:Keyword" value="u"/>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Keyword" value="\"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:NegatedToken">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="b"/>
- <elements xsi:type="xtext:Keyword" value="t"/>
- <elements xsi:type="xtext:Keyword" value="n"/>
- <elements xsi:type="xtext:Keyword" value="f"/>
- <elements xsi:type="xtext:Keyword" value="r"/>
- <elements xsi:type="xtext:Keyword" value="u"/>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Keyword" value="\"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:NegatedToken">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="'"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ML_COMMENT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="/*"/>
- <elements xsi:type="xtext:UntilToken">
- <terminal xsi:type="xtext:Keyword" value="*/"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="SL_COMMENT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="//"/>
- <elements xsi:type="xtext:NegatedToken" cardinality="*">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="&#xA;"/>
- <elements xsi:type="xtext:Keyword" value="&#xD;"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="&#xD;"/>
- <elements xsi:type="xtext:Keyword" value="&#xA;"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="WS">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Keyword" value="&#x9;"/>
- <elements xsi:type="xtext:Keyword" value="&#xD;"/>
- <elements xsi:type="xtext:Keyword" value="&#xA;"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ANY_OTHER">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Wildcard"/>
- </rules>
- </xtext:Grammar>
-</xmi:XMI>
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java
deleted file mode 100644
index 260eec3a338..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.marte.vsl;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.xtext.ISetup;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-
-/**
- * Generated from StandaloneSetup.xpt!
- */
-@SuppressWarnings("all")
-public class VSLStandaloneSetupGenerated implements ISetup {
-
- @Override
- public Injector createInjectorAndDoEMFRegistration() {
- org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
-
- Injector injector = createInjector();
- register(injector);
- return injector;
- }
-
- public Injector createInjector() {
- return Guice.createInjector(new org.eclipse.papyrus.marte.vsl.VSLRuntimeModule());
- }
-
- public void register(Injector injector) {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/marte/vsl/VSL")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/marte/vsl/VSL", org.eclipse.papyrus.marte.vsl.vSL.VSLPackage.eINSTANCE);
- }
-
- org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
- org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("vsl", resourceFactory);
- org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("vsl", serviceProvider);
-
-
-
-
- }
-}
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java
deleted file mode 100644
index 412ea46a29a..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java
+++ /dev/null
@@ -1,7986 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.marte.vsl.parseTreeConstruction;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess;
-import org.eclipse.xtext.Alternatives;
-import org.eclipse.xtext.Assignment;
-import org.eclipse.xtext.Group;
-import org.eclipse.xtext.Keyword;
-import org.eclipse.xtext.RuleCall;
-import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer;
-import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor;
-
-import com.google.inject.Inject;
-
-@SuppressWarnings("all")
-public class VSLParsetreeConstructor extends AbstractParseTreeConstructor {
-
- @Inject
- private VSLGrammarAccess grammarAccess;
-
- @Override
- protected AbstractToken getRootToken(IEObjectConsumer inst) {
- return new ThisRootNode(inst);
- }
-
- protected class ThisRootNode extends RootToken {
- public ThisRootNode(IEObjectConsumer inst) {
- super(inst);
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- case 1:
- return new AndOrXorExpression_Group(this, this, 1, inst);
- case 2:
- return new EqualityExpression_Group(this, this, 2, inst);
- case 3:
- return new RelationalExpression_Group(this, this, 3, inst);
- case 4:
- return new ConditionalExpression_Group(this, this, 4, inst);
- case 5:
- return new AdditiveExpression_Group(this, this, 5, inst);
- case 6:
- return new MultiplicativeExpression_Group(this, this, 6, inst);
- case 7:
- return new UnaryExpression_Alternatives(this, this, 7, inst);
- case 8:
- return new PrimaryExpression_Group(this, this, 8, inst);
- case 9:
- return new ValueSpecification_Alternatives(this, this, 9, inst);
- case 10:
- return new SuffixExpression_Alternatives(this, this, 10, inst);
- case 11:
- return new PropertyCallExpression_Group(this, this, 11, inst);
- case 12:
- return new OperationCallExpression_Group(this, this, 12, inst);
- case 13:
- return new Literal_Alternatives(this, this, 13, inst);
- case 14:
- return new NameOrChoiceOrBehaviorCall_Group(this, this, 14, inst);
- case 15:
- return new QualifiedName_Group(this, this, 15, inst);
- case 16:
- return new Interval_Group(this, this, 16, inst);
- case 17:
- return new CollectionOrTuple_Group(this, this, 17, inst);
- case 18:
- return new Tuple_Group(this, this, 18, inst);
- case 19:
- return new ListOfValues_Group(this, this, 19, inst);
- case 20:
- return new ListOfValueNamePairs_Group(this, this, 20, inst);
- case 21:
- return new ValueNamePair_Group(this, this, 21, inst);
- case 22:
- return new TimeExpression_Alternatives(this, this, 22, inst);
- case 23:
- return new InstantObsExpression_Group(this, this, 23, inst);
- case 24:
- return new InstantObsName_Group(this, this, 24, inst);
- case 25:
- return new DurationObsExpression_Group(this, this, 25, inst);
- case 26:
- return new DurationObsName_Group(this, this, 26, inst);
- case 27:
- return new JitterExp_Group(this, this, 27, inst);
- case 28:
- return new VariableDeclaration_Group(this, this, 28, inst);
- case 29:
- return new DataTypeName_Group(this, this, 29, inst);
- case 30:
- return new NumberLiteralRule_Alternatives(this, this, 30, inst);
- case 31:
- return new IntegerLiteralRule_ValueAssignment(this, this, 31, inst);
- case 32:
- return new UnlimitedLiteralRule_ValueAssignment(this, this, 32, inst);
- case 33:
- return new RealLiteralRule_ValueAssignment(this, this, 33, inst);
- case 34:
- return new DateTimeLiteralRule_ValueAssignment(this, this, 34, inst);
- case 35:
- return new BooleanLiteralRule_ValueAssignment(this, this, 35, inst);
- case 36:
- return new NullLiteralRule_ValueAssignment(this, this, 36, inst);
- case 37:
- return new DefaultLiteralRule_ValueAssignment(this, this, 37, inst);
- case 38:
- return new StringLiteralRule_ValueAssignment(this, this, 38, inst);
- default:
- return null;
- }
- }
- }
-
-
- /************
- * begin Rule Expression ****************
- *
- * Expression:
- *
- * exp=AndOrXorExpression;
- *
- **/
-
- // exp=AndOrXorExpression
- protected class Expression_ExpAssignment extends AssignmentToken {
-
- public Expression_ExpAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getExpressionAccess().getExpAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndOrXorExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getExpressionRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- /************ end Rule Expression ****************/
-
-
- /************
- * begin Rule AndOrXorExpression ****************
- *
- * AndOrXorExpression:
- *
- * exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)*;
- *
- **/
-
- // exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)*
- protected class AndOrXorExpression_Group extends GroupToken {
-
- public AndOrXorExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAndOrXorExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndOrXorExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AndOrXorExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=EqualityExpression
- protected class AndOrXorExpression_ExpAssignment_0 extends AssignmentToken {
-
- public AndOrXorExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAndOrXorExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EqualityExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getEqualityExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // (op+=("and" | "or" | "xor") exp+=EqualityExpression)*
- protected class AndOrXorExpression_Group_1 extends GroupToken {
-
- public AndOrXorExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAndOrXorExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndOrXorExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op+=("and" | "or" | "xor")
- protected class AndOrXorExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public AndOrXorExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAndOrXorExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndOrXorExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AndOrXorExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=EqualityExpression
- protected class AndOrXorExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public AndOrXorExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAndOrXorExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EqualityExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getEqualityExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new AndOrXorExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule AndOrXorExpression ****************/
-
-
- /************
- * begin Rule EqualityExpression ****************
- *
- * EqualityExpression:
- *
- * exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)*;
- *
- **/
-
- // exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)*
- protected class EqualityExpression_Group extends GroupToken {
-
- public EqualityExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getEqualityExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EqualityExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new EqualityExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getEqualityExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=RelationalExpression
- protected class EqualityExpression_ExpAssignment_0 extends AssignmentToken {
-
- public EqualityExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getEqualityExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RelationalExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getRelationalExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // (op+=("==" | "<>") exp+=RelationalExpression)*
- protected class EqualityExpression_Group_1 extends GroupToken {
-
- public EqualityExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getEqualityExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EqualityExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op+=("==" | "<>")
- protected class EqualityExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public EqualityExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getEqualityExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EqualityExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new EqualityExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=RelationalExpression
- protected class EqualityExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public EqualityExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getEqualityExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RelationalExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getRelationalExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new EqualityExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule EqualityExpression ****************/
-
-
- /************
- * begin Rule RelationalExpression ****************
- *
- * RelationalExpression:
- *
- * exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)*;
- *
- **/
-
- // exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)*
- protected class RelationalExpression_Group extends GroupToken {
-
- public RelationalExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RelationalExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new RelationalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getRelationalExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=ConditionalExpression
- protected class RelationalExpression_ExpAssignment_0 extends AssignmentToken {
-
- public RelationalExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getConditionalExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)*
- protected class RelationalExpression_Group_1 extends GroupToken {
-
- public RelationalExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RelationalExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op+=("<" | ">" | "<=" | ">=")
- protected class RelationalExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public RelationalExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RelationalExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new RelationalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=ConditionalExpression
- protected class RelationalExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public RelationalExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getConditionalExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new RelationalExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule RelationalExpression ****************/
-
-
- /************
- * begin Rule ConditionalExpression ****************
- *
- * ConditionalExpression:
- *
- * exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)?;
- *
- **/
-
- // exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)?
- protected class ConditionalExpression_Group extends GroupToken {
-
- public ConditionalExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConditionalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=AdditiveExpression
- protected class ConditionalExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ConditionalExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AdditiveExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAdditiveExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)?
- protected class ConditionalExpression_Group_1 extends GroupToken {
-
- public ConditionalExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalExpression_ExpAssignment_1_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op+="?"
- protected class ConditionalExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public ConditionalExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=AdditiveExpression
- protected class ConditionalExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public ConditionalExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AdditiveExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAdditiveExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new ConditionalExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ":"
- protected class ConditionalExpression_ColonKeyword_1_2 extends KeywordToken {
-
- public ConditionalExpression_ColonKeyword_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // exp+=AdditiveExpression
- protected class ConditionalExpression_ExpAssignment_1_3 extends AssignmentToken {
-
- public ConditionalExpression_ExpAssignment_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalExpressionAccess().getExpAssignment_1_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AdditiveExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAdditiveExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new ConditionalExpression_ColonKeyword_1_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ConditionalExpression ****************/
-
-
- /************
- * begin Rule AdditiveExpression ****************
- *
- * AdditiveExpression:
- *
- * exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)*;
- *
- **/
-
- // exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)*
- protected class AdditiveExpression_Group extends GroupToken {
-
- public AdditiveExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAdditiveExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AdditiveExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AdditiveExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAdditiveExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=MultiplicativeExpression
- protected class AdditiveExpression_ExpAssignment_0 extends AssignmentToken {
-
- public AdditiveExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdditiveExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicativeExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // (op+=("+" | "-") exp+=MultiplicativeExpression)*
- protected class AdditiveExpression_Group_1 extends GroupToken {
-
- public AdditiveExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAdditiveExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AdditiveExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op+=("+" | "-")
- protected class AdditiveExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public AdditiveExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AdditiveExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AdditiveExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=MultiplicativeExpression
- protected class AdditiveExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public AdditiveExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAdditiveExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicativeExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new AdditiveExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule AdditiveExpression ****************/
-
-
- /************
- * begin Rule MultiplicativeExpression ****************
- *
- * MultiplicativeExpression:
- *
- * exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)*;
- *
- **/
-
- // exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)*
- protected class MultiplicativeExpression_Group extends GroupToken {
-
- public MultiplicativeExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicativeExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicativeExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new MultiplicativeExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=UnaryExpression
- protected class MultiplicativeExpression_ExpAssignment_0 extends AssignmentToken {
-
- public MultiplicativeExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicativeExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnaryExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getUnaryExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // (op+=("*" | "/" | "mod") exp+=UnaryExpression)*
- protected class MultiplicativeExpression_Group_1 extends GroupToken {
-
- public MultiplicativeExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicativeExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicativeExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op+=("*" | "/" | "mod")
- protected class MultiplicativeExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public MultiplicativeExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicativeExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new MultiplicativeExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=UnaryExpression
- protected class MultiplicativeExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public MultiplicativeExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicativeExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnaryExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getUnaryExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new MultiplicativeExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule MultiplicativeExpression ****************/
-
-
- /************
- * begin Rule UnaryExpression ****************
- *
- * UnaryExpression:
- *
- * op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression;
- *
- **/
-
- // op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression
- protected class UnaryExpression_Alternatives extends AlternativesToken {
-
- public UnaryExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnaryExpression_Group_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new UnaryExpression_ExpAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUnaryExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // op=("not" | "-" | "+") unary=UnaryExpression
- protected class UnaryExpression_Group_0 extends GroupToken {
-
- public UnaryExpression_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnaryExpression_UnaryAssignment_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op=("not" | "-" | "+")
- protected class UnaryExpression_OpAssignment_0_0 extends AssignmentToken {
-
- public UnaryExpression_OpAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getOpAssignment_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("op", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2();
- return obj;
- }
- return null;
- }
-
- }
-
- // unary=UnaryExpression
- protected class UnaryExpression_UnaryAssignment_0_1 extends AssignmentToken {
-
- public UnaryExpression_UnaryAssignment_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getUnaryAssignment_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnaryExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("unary", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("unary");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getUnaryExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new UnaryExpression_OpAssignment_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // exp=PrimaryExpression
- protected class UnaryExpression_ExpAssignment_1 extends AssignmentToken {
-
- public UnaryExpression_ExpAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getExpAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PrimaryExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getPrimaryExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
-
- /************ end Rule UnaryExpression ****************/
-
-
- /************
- * begin Rule PrimaryExpression ****************
- *
- * PrimaryExpression:
- *
- * prefix=ValueSpecification ("." suffix=SuffixExpression)?;
- *
- **/
-
- // prefix=ValueSpecification ("." suffix=SuffixExpression)?
- protected class PrimaryExpression_Group extends GroupToken {
-
- public PrimaryExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getPrimaryExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PrimaryExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new PrimaryExpression_PrefixAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getPrimaryExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // prefix=ValueSpecification
- protected class PrimaryExpression_PrefixAssignment_0 extends AssignmentToken {
-
- public PrimaryExpression_PrefixAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPrimaryExpressionAccess().getPrefixAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueSpecification_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("prefix", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("prefix");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getValueSpecificationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // ("." suffix=SuffixExpression)?
- protected class PrimaryExpression_Group_1 extends GroupToken {
-
- public PrimaryExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getPrimaryExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PrimaryExpression_SuffixAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "."
- protected class PrimaryExpression_FullStopKeyword_1_0 extends KeywordToken {
-
- public PrimaryExpression_FullStopKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PrimaryExpression_PrefixAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression
- protected class PrimaryExpression_SuffixAssignment_1_1 extends AssignmentToken {
-
- public PrimaryExpression_SuffixAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPrimaryExpressionAccess().getSuffixAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuffixExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("suffix", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("suffix");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSuffixExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new PrimaryExpression_FullStopKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule PrimaryExpression ****************/
-
-
- /************
- * begin Rule ValueSpecification ****************
- *
- * ValueSpecification:
- *
- * Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration |
- *
- * "(" Expression ")";
- *
- **/
-
- // Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration | "("
- //
- // Expression ")"
- protected class ValueSpecification_Alternatives extends AlternativesToken {
-
- public ValueSpecification_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueSpecification_LiteralParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ValueSpecification_NameOrChoiceOrBehaviorCallParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new ValueSpecification_IntervalParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new ValueSpecification_CollectionOrTupleParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4:
- return new ValueSpecification_TupleParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- case 5:
- return new ValueSpecification_TimeExpressionParserRuleCall_5(lastRuleCallOrigin, this, 5, inst);
- case 6:
- return new ValueSpecification_VariableDeclarationParserRuleCall_6(lastRuleCallOrigin, this, 6, inst);
- case 7:
- return new ValueSpecification_Group_7(lastRuleCallOrigin, this, 7, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getCollectionOrTupleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIntervalRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getTupleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getVariableDeclarationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // Literal
- protected class ValueSpecification_LiteralParserRuleCall_0 extends RuleCallToken {
-
- public ValueSpecification_LiteralParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Literal_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(Literal_Alternatives.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // NameOrChoiceOrBehaviorCall
- protected class ValueSpecification_NameOrChoiceOrBehaviorCallParserRuleCall_1 extends RuleCallToken {
-
- public ValueSpecification_NameOrChoiceOrBehaviorCallParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NameOrChoiceOrBehaviorCall_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // Interval
- protected class ValueSpecification_IntervalParserRuleCall_2 extends RuleCallToken {
-
- public ValueSpecification_IntervalParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIntervalRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(Interval_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // CollectionOrTuple
- protected class ValueSpecification_CollectionOrTupleParserRuleCall_3 extends RuleCallToken {
-
- public ValueSpecification_CollectionOrTupleParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectionOrTuple_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCollectionOrTupleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(CollectionOrTuple_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // Tuple
- protected class ValueSpecification_TupleParserRuleCall_4 extends RuleCallToken {
-
- public ValueSpecification_TupleParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTupleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(Tuple_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // TimeExpression
- protected class ValueSpecification_TimeExpressionParserRuleCall_5 extends RuleCallToken {
-
- public ValueSpecification_TimeExpressionParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TimeExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(TimeExpression_Alternatives.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // VariableDeclaration
- protected class ValueSpecification_VariableDeclarationParserRuleCall_6 extends RuleCallToken {
-
- public ValueSpecification_VariableDeclarationParserRuleCall_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getVariableDeclarationRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(VariableDeclaration_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // "(" Expression ")"
- protected class ValueSpecification_Group_7 extends GroupToken {
-
- public ValueSpecification_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getGroup_7();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueSpecification_RightParenthesisKeyword_7_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "("
- protected class ValueSpecification_LeftParenthesisKeyword_7_0 extends KeywordToken {
-
- public ValueSpecification_LeftParenthesisKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // Expression
- protected class ValueSpecification_ExpressionParserRuleCall_7_1 extends RuleCallToken {
-
- public ValueSpecification_ExpressionParserRuleCall_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (checkForRecursion(Expression_ExpAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueSpecification_LeftParenthesisKeyword_7_0(lastRuleCallOrigin, next, actIndex, inst);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class ValueSpecification_RightParenthesisKeyword_7_2 extends KeywordToken {
-
- public ValueSpecification_RightParenthesisKeyword_7_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueSpecification_ExpressionParserRuleCall_7_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule ValueSpecification ****************/
-
-
- /************
- * begin Rule SuffixExpression ****************
- *
- * SuffixExpression:
- *
- * PropertyCallExpression | OperationCallExpression;
- *
- **/
-
- // PropertyCallExpression | OperationCallExpression
- protected class SuffixExpression_Alternatives extends AlternativesToken {
-
- public SuffixExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuffixExpression_PropertyCallExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SuffixExpression_OperationCallExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // PropertyCallExpression
- protected class SuffixExpression_PropertyCallExpressionParserRuleCall_0 extends RuleCallToken {
-
- public SuffixExpression_PropertyCallExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(PropertyCallExpression_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // OperationCallExpression
- protected class SuffixExpression_OperationCallExpressionParserRuleCall_1 extends RuleCallToken {
-
- public SuffixExpression_OperationCallExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(OperationCallExpression_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
-
- /************ end Rule SuffixExpression ****************/
-
-
- /************
- * begin Rule PropertyCallExpression ****************
- *
- * PropertyCallExpression:
- *
- * property=[uml::Property] ("." suffix=SuffixExpression)?;
- *
- **/
-
- // property=[uml::Property] ("." suffix=SuffixExpression)?
- protected class PropertyCallExpression_Group extends GroupToken {
-
- public PropertyCallExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new PropertyCallExpression_PropertyAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // property=[uml::Property]
- protected class PropertyCallExpression_PropertyAssignment_0 extends AssignmentToken {
-
- public PropertyCallExpression_PropertyAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getPropertyAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("property", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("property");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
- // ("." suffix=SuffixExpression)?
- protected class PropertyCallExpression_Group_1 extends GroupToken {
-
- public PropertyCallExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_SuffixAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "."
- protected class PropertyCallExpression_FullStopKeyword_1_0 extends KeywordToken {
-
- public PropertyCallExpression_FullStopKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_PropertyAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression
- protected class PropertyCallExpression_SuffixAssignment_1_1 extends AssignmentToken {
-
- public PropertyCallExpression_SuffixAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getSuffixAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuffixExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("suffix", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("suffix");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSuffixExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new PropertyCallExpression_FullStopKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule PropertyCallExpression ****************/
-
-
- /************
- * begin Rule OperationCallExpression ****************
- *
- * OperationCallExpression:
- *
- * operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)?;
- *
- **/
-
- // operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)?
- protected class OperationCallExpression_Group extends GroupToken {
-
- public OperationCallExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_Group_4(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationCallExpression_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // operation=[uml::Operation]
- protected class OperationCallExpression_OperationAssignment_0 extends AssignmentToken {
-
- public OperationCallExpression_OperationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getOperationAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("operation", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operation");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
- // "("
- protected class OperationCallExpression_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public OperationCallExpression_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_OperationAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // arguments=ListOfValues?
- protected class OperationCallExpression_ArgumentsAssignment_2 extends AssignmentToken {
-
- public OperationCallExpression_ArgumentsAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getArgumentsAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValues_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("arguments", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("arguments");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getListOfValuesRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new OperationCallExpression_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class OperationCallExpression_RightParenthesisKeyword_3 extends KeywordToken {
-
- public OperationCallExpression_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_ArgumentsAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationCallExpression_LeftParenthesisKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ("." suffix=SuffixExpression)?
- protected class OperationCallExpression_Group_4 extends GroupToken {
-
- public OperationCallExpression_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getGroup_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_SuffixAssignment_4_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "."
- protected class OperationCallExpression_FullStopKeyword_4_0 extends KeywordToken {
-
- public OperationCallExpression_FullStopKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression
- protected class OperationCallExpression_SuffixAssignment_4_1 extends AssignmentToken {
-
- public OperationCallExpression_SuffixAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getSuffixAssignment_4_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuffixExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("suffix", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("suffix");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSuffixExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new OperationCallExpression_FullStopKeyword_4_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule OperationCallExpression ****************/
-
-
- /************
- * begin Rule Literal ****************
- *
- * Literal:
- *
- * NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule |
- *
- * StringLiteralRule;
- *
- **/
-
- // NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule | StringLiteralRule
- protected class Literal_Alternatives extends AlternativesToken {
-
- public Literal_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getLiteralAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Literal_NumberLiteralRuleParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Literal_DateTimeLiteralRuleParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new Literal_BooleanLiteralRuleParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new Literal_NullLiteralRuleParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4:
- return new Literal_DefaultLiteralRuleParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- case 5:
- return new Literal_StringLiteralRuleParserRuleCall_5(lastRuleCallOrigin, this, 5, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // NumberLiteralRule
- protected class Literal_NumberLiteralRuleParserRuleCall_0 extends RuleCallToken {
-
- public Literal_NumberLiteralRuleParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NumberLiteralRule_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NumberLiteralRule_Alternatives.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // DateTimeLiteralRule
- protected class Literal_DateTimeLiteralRuleParserRuleCall_1 extends RuleCallToken {
-
- public Literal_DateTimeLiteralRuleParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DateTimeLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(DateTimeLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // BooleanLiteralRule
- protected class Literal_BooleanLiteralRuleParserRuleCall_2 extends RuleCallToken {
-
- public Literal_BooleanLiteralRuleParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BooleanLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(BooleanLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // NullLiteralRule
- protected class Literal_NullLiteralRuleParserRuleCall_3 extends RuleCallToken {
-
- public Literal_NullLiteralRuleParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NullLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NullLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // DefaultLiteralRule
- protected class Literal_DefaultLiteralRuleParserRuleCall_4 extends RuleCallToken {
-
- public Literal_DefaultLiteralRuleParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DefaultLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(DefaultLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // StringLiteralRule
- protected class Literal_StringLiteralRuleParserRuleCall_5 extends RuleCallToken {
-
- public Literal_StringLiteralRuleParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new StringLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(StringLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
-
- /************ end Rule Literal ****************/
-
-
- /************
- * begin Rule NameOrChoiceOrBehaviorCall ****************
- *
- * NameOrChoiceOrBehaviorCall:
- *
- * path=QualifiedName? // can resolve to :
- * // - EnumSpecification,
- * // - VariableCallExpression
- *
- *
- * // - PropertyCallExpression
- * // - ChoiceExpression
- * id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")?;
- *
- **/
-
- // path=QualifiedName? // can resolve to :
- // // - EnumSpecification,
- // // - VariableCallExpression
- //
- //
- // // - PropertyCallExpression
- // // - ChoiceExpression
- // id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")?
- protected class NameOrChoiceOrBehaviorCall_Group extends GroupToken {
-
- public NameOrChoiceOrBehaviorCall_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NameOrChoiceOrBehaviorCall_IdAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // path=QualifiedName?
- protected class NameOrChoiceOrBehaviorCall_PathAssignment_0 extends AssignmentToken {
-
- public NameOrChoiceOrBehaviorCall_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("path", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // id=[uml::NamedElement]
- protected class NameOrChoiceOrBehaviorCall_IdAssignment_1 extends AssignmentToken {
-
- public NameOrChoiceOrBehaviorCall_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("id", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
- // ("(" arguments=ListOfValues? ")")?
- protected class NameOrChoiceOrBehaviorCall_Group_2 extends GroupToken {
-
- public NameOrChoiceOrBehaviorCall_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_RightParenthesisKeyword_2_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class NameOrChoiceOrBehaviorCall_LeftParenthesisKeyword_2_0 extends KeywordToken {
-
- public NameOrChoiceOrBehaviorCall_LeftParenthesisKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_IdAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // arguments=ListOfValues?
- protected class NameOrChoiceOrBehaviorCall_ArgumentsAssignment_2_1 extends AssignmentToken {
-
- public NameOrChoiceOrBehaviorCall_ArgumentsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValues_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("arguments", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("arguments");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getListOfValuesRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_LeftParenthesisKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class NameOrChoiceOrBehaviorCall_RightParenthesisKeyword_2_2 extends KeywordToken {
-
- public NameOrChoiceOrBehaviorCall_RightParenthesisKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameOrChoiceOrBehaviorCall_ArgumentsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule NameOrChoiceOrBehaviorCall ****************/
-
-
- /************
- * begin Rule QualifiedName ****************
- *
- * QualifiedName:
- *
- * path=[uml::Namespace] "::" remaining=QualifiedName?;
- *
- **/
-
- // path=[uml::Namespace] "::" remaining=QualifiedName?
- protected class QualifiedName_Group extends GroupToken {
-
- public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getQualifiedNameAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // path=[uml::Namespace]
- protected class QualifiedName_PathAssignment_0 extends AssignmentToken {
-
- public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameAccess().getPathAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("path", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
- // "::"
- protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken {
-
- public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // remaining=QualifiedName?
- protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken {
-
- public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("remaining", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule QualifiedName ****************/
-
-
- /************
- * begin Rule Interval ****************
- *
- * Interval:
- *
- * ("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "[");
- *
- **/
-
- // ("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "[")
- protected class Interval_Group extends GroupToken {
-
- public Interval_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getIntervalAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_Alternatives_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIntervalRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "]" | isLowerIncluded="["
- protected class Interval_Alternatives_0 extends AlternativesToken {
-
- public Interval_Alternatives_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getIntervalAccess().getAlternatives_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_RightSquareBracketKeyword_0_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Interval_IsLowerIncludedAssignment_0_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "]"
- protected class Interval_RightSquareBracketKeyword_0_0 extends KeywordToken {
-
- public Interval_RightSquareBracketKeyword_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // isLowerIncluded="["
- protected class Interval_IsLowerIncludedAssignment_0_1 extends AssignmentToken {
-
- public Interval_IsLowerIncludedAssignment_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIntervalAccess().getIsLowerIncludedAssignment_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("isLowerIncluded", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("isLowerIncluded");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
- // lower=Expression
- protected class Interval_LowerAssignment_1 extends AssignmentToken {
-
- public Interval_LowerAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIntervalAccess().getLowerAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("lower", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lower");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new Interval_Alternatives_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ".."
- protected class Interval_FullStopFullStopKeyword_2 extends KeywordToken {
-
- public Interval_FullStopFullStopKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_LowerAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // upper=Expression
- protected class Interval_UpperAssignment_3 extends AssignmentToken {
-
- public Interval_UpperAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIntervalAccess().getUpperAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("upper", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("upper");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new Interval_FullStopFullStopKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // isUpperIncluded="]" | "["
- protected class Interval_Alternatives_4 extends AlternativesToken {
-
- public Interval_Alternatives_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getIntervalAccess().getAlternatives_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_IsUpperIncludedAssignment_4_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Interval_LeftSquareBracketKeyword_4_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // isUpperIncluded="]"
- protected class Interval_IsUpperIncludedAssignment_4_0 extends AssignmentToken {
-
- public Interval_IsUpperIncludedAssignment_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIntervalAccess().getIsUpperIncludedAssignment_4_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_UpperAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("isUpperIncluded", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("isUpperIncluded");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "["
- protected class Interval_LeftSquareBracketKeyword_4_1 extends KeywordToken {
-
- public Interval_LeftSquareBracketKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Interval_UpperAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule Interval ****************/
-
-
- /************
- * begin Rule CollectionOrTuple ****************
- *
- * CollectionOrTuple:
- *
- * "{" listOfValues=ListOfValues "}";
- *
- **/
-
- // "{" listOfValues=ListOfValues "}"
- protected class CollectionOrTuple_Group extends GroupToken {
-
- public CollectionOrTuple_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getCollectionOrTupleAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectionOrTuple_RightCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCollectionOrTupleRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "{"
- protected class CollectionOrTuple_LeftCurlyBracketKeyword_0 extends KeywordToken {
-
- public CollectionOrTuple_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // listOfValues=ListOfValues
- protected class CollectionOrTuple_ListOfValuesAssignment_1 extends AssignmentToken {
-
- public CollectionOrTuple_ListOfValuesAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCollectionOrTupleAccess().getListOfValuesAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValues_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("listOfValues", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("listOfValues");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getListOfValuesRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new CollectionOrTuple_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "}"
- protected class CollectionOrTuple_RightCurlyBracketKeyword_2 extends KeywordToken {
-
- public CollectionOrTuple_RightCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectionOrTuple_ListOfValuesAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule CollectionOrTuple ****************/
-
-
- /************
- * begin Rule Tuple ****************
- *
- * Tuple:
- *
- * "{" listOfValueNamePairs=ListOfValueNamePairs "}";
- *
- **/
-
- // "{" listOfValueNamePairs=ListOfValueNamePairs "}"
- protected class Tuple_Group extends GroupToken {
-
- public Tuple_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTupleAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_RightCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTupleRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "{"
- protected class Tuple_LeftCurlyBracketKeyword_0 extends KeywordToken {
-
- public Tuple_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // listOfValueNamePairs=ListOfValueNamePairs
- protected class Tuple_ListOfValueNamePairsAssignment_1 extends AssignmentToken {
-
- public Tuple_ListOfValueNamePairsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTupleAccess().getListOfValueNamePairsAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValueNamePairs_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("listOfValueNamePairs", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("listOfValueNamePairs");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new Tuple_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "}"
- protected class Tuple_RightCurlyBracketKeyword_2 extends KeywordToken {
-
- public Tuple_RightCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_ListOfValueNamePairsAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule Tuple ****************/
-
-
- /************
- * begin Rule ListOfValues ****************
- *
- * ListOfValues:
- *
- * values+=Expression ("," values+=Expression)*;
- *
- **/
-
- // values+=Expression ("," values+=Expression)*
- protected class ListOfValues_Group extends GroupToken {
-
- public ListOfValues_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getListOfValuesAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValues_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ListOfValues_ValuesAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getListOfValuesRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // values+=Expression
- protected class ListOfValues_ValuesAssignment_0 extends AssignmentToken {
-
- public ListOfValues_ValuesAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getListOfValuesAccess().getValuesAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("values", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // ("," values+=Expression)*
- protected class ListOfValues_Group_1 extends GroupToken {
-
- public ListOfValues_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getListOfValuesAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValues_ValuesAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class ListOfValues_CommaKeyword_1_0 extends KeywordToken {
-
- public ListOfValues_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValues_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ListOfValues_ValuesAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // values+=Expression
- protected class ListOfValues_ValuesAssignment_1_1 extends AssignmentToken {
-
- public ListOfValues_ValuesAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getListOfValuesAccess().getValuesAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("values", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new ListOfValues_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ListOfValues ****************/
-
-
- /************
- * begin Rule ListOfValueNamePairs ****************
- *
- * ListOfValueNamePairs:
- *
- * valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)*;
- *
- **/
-
- // valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)*
- protected class ListOfValueNamePairs_Group extends GroupToken {
-
- public ListOfValueNamePairs_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getListOfValueNamePairsAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValueNamePairs_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ListOfValueNamePairs_ValueNamePairsAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // valueNamePairs+=ValueNamePair
- protected class ListOfValueNamePairs_ValueNamePairsAssignment_0 extends AssignmentToken {
-
- public ListOfValueNamePairs_ValueNamePairsAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueNamePair_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("valueNamePairs", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("valueNamePairs");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getValueNamePairRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // ("," valueNamePairs+=ValueNamePair)*
- protected class ListOfValueNamePairs_Group_1 extends GroupToken {
-
- public ListOfValueNamePairs_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getListOfValueNamePairsAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValueNamePairs_ValueNamePairsAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class ListOfValueNamePairs_CommaKeyword_1_0 extends KeywordToken {
-
- public ListOfValueNamePairs_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ListOfValueNamePairs_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ListOfValueNamePairs_ValueNamePairsAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // valueNamePairs+=ValueNamePair
- protected class ListOfValueNamePairs_ValueNamePairsAssignment_1_1 extends AssignmentToken {
-
- public ListOfValueNamePairs_ValueNamePairsAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueNamePair_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("valueNamePairs", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("valueNamePairs");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getValueNamePairRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new ListOfValueNamePairs_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ListOfValueNamePairs ****************/
-
-
- /************
- * begin Rule ValueNamePair ****************
- *
- * ValueNamePair:
- *
- * property=[uml::Property] "=" value=Expression;
- *
- **/
-
- // property=[uml::Property] "=" value=Expression
- protected class ValueNamePair_Group extends GroupToken {
-
- public ValueNamePair_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getValueNamePairAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueNamePair_ValueAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getValueNamePairRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // property=[uml::Property]
- protected class ValueNamePair_PropertyAssignment_0 extends AssignmentToken {
-
- public ValueNamePair_PropertyAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getValueNamePairAccess().getPropertyAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("property", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("property");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
- // "="
- protected class ValueNamePair_EqualsSignKeyword_1 extends KeywordToken {
-
- public ValueNamePair_EqualsSignKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ValueNamePair_PropertyAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // value=Expression
- protected class ValueNamePair_ValueAssignment_2 extends AssignmentToken {
-
- public ValueNamePair_ValueAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getValueNamePairAccess().getValueAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new ValueNamePair_EqualsSignKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule ValueNamePair ****************/
-
-
- /************
- * begin Rule TimeExpression ****************
- *
- * TimeExpression:
- *
- * InstantObsExpression | DurationObsExpression | JitterExp;
- *
- **/
-
- // InstantObsExpression | DurationObsExpression | JitterExp
- protected class TimeExpression_Alternatives extends AlternativesToken {
-
- public TimeExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getTimeExpressionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TimeExpression_InstantObsExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new TimeExpression_DurationObsExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new TimeExpression_JitterExpParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // InstantObsExpression
- protected class TimeExpression_InstantObsExpressionParserRuleCall_0 extends RuleCallToken {
-
- public TimeExpression_InstantObsExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(InstantObsExpression_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // DurationObsExpression
- protected class TimeExpression_DurationObsExpressionParserRuleCall_1 extends RuleCallToken {
-
- public TimeExpression_DurationObsExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(DurationObsExpression_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // JitterExp
- protected class TimeExpression_JitterExpParserRuleCall_2 extends RuleCallToken {
-
- public TimeExpression_JitterExpParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new JitterExp_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(JitterExp_Group.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
-
- /************ end Rule TimeExpression ****************/
-
-
- /************
- * begin Rule InstantObsExpression ****************
- *
- * InstantObsExpression:
- *
- * "@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?;
- *
- **/
-
- // "@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?
- protected class InstantObsExpression_Group extends GroupToken {
-
- public InstantObsExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_Group_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InstantObsExpression_Group_2(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new InstantObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "@"
- protected class InstantObsExpression_CommercialAtKeyword_0 extends KeywordToken {
-
- public InstantObsExpression_CommercialAtKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // id=InstantObsName
- protected class InstantObsExpression_IdAssignment_1 extends AssignmentToken {
-
- public InstantObsExpression_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getIdAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("id", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getInstantObsNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new InstantObsExpression_CommercialAtKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("(" index=Expression ")")?
- protected class InstantObsExpression_Group_2 extends GroupToken {
-
- public InstantObsExpression_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_RightParenthesisKeyword_2_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class InstantObsExpression_LeftParenthesisKeyword_2_0 extends KeywordToken {
-
- public InstantObsExpression_LeftParenthesisKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // index=Expression
- protected class InstantObsExpression_IndexAssignment_2_1 extends AssignmentToken {
-
- public InstantObsExpression_IndexAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getIndexAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("index", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("index");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new InstantObsExpression_LeftParenthesisKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class InstantObsExpression_RightParenthesisKeyword_2_2 extends KeywordToken {
-
- public InstantObsExpression_RightParenthesisKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_IndexAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // ("when" "(" condition=Expression ")")?
- protected class InstantObsExpression_Group_3 extends GroupToken {
-
- public InstantObsExpression_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getGroup_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_RightParenthesisKeyword_3_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "when"
- protected class InstantObsExpression_WhenKeyword_3_0 extends KeywordToken {
-
- public InstantObsExpression_WhenKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InstantObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class InstantObsExpression_LeftParenthesisKeyword_3_1 extends KeywordToken {
-
- public InstantObsExpression_LeftParenthesisKeyword_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_WhenKeyword_3_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // condition=Expression
- protected class InstantObsExpression_ConditionAssignment_3_2 extends AssignmentToken {
-
- public InstantObsExpression_ConditionAssignment_3_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getConditionAssignment_3_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("condition", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("condition");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new InstantObsExpression_LeftParenthesisKeyword_3_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class InstantObsExpression_RightParenthesisKeyword_3_3 extends KeywordToken {
-
- public InstantObsExpression_RightParenthesisKeyword_3_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_ConditionAssignment_3_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule InstantObsExpression ****************/
-
-
- /************
- * begin Rule InstantObsName ****************
- *
- * InstantObsName:
- *
- * path=QualifiedName? instantId=[uml::TimeObservation];
- *
- **/
-
- // path=QualifiedName? instantId=[uml::TimeObservation]
- protected class InstantObsName_Group extends GroupToken {
-
- public InstantObsName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstantObsNameAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsName_InstantIdAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstantObsNameRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // path=QualifiedName?
- protected class InstantObsName_PathAssignment_0 extends AssignmentToken {
-
- public InstantObsName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstantObsNameAccess().getPathAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("path", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // instantId=[uml::TimeObservation]
- protected class InstantObsName_InstantIdAssignment_1 extends AssignmentToken {
-
- public InstantObsName_InstantIdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstantObsNameAccess().getInstantIdAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("instantId", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("instantId");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
-
- /************ end Rule InstantObsName ****************/
-
-
- /************
- * begin Rule DurationObsExpression ****************
- *
- * DurationObsExpression:
- *
- * "&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?;
- *
- **/
-
- // "&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?
- protected class DurationObsExpression_Group extends GroupToken {
-
- public DurationObsExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_Group_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new DurationObsExpression_Group_2(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new DurationObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "&"
- protected class DurationObsExpression_AmpersandKeyword_0 extends KeywordToken {
-
- public DurationObsExpression_AmpersandKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // id=DurationObsName
- protected class DurationObsExpression_IdAssignment_1 extends AssignmentToken {
-
- public DurationObsExpression_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getIdAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("id", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getDurationObsNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new DurationObsExpression_AmpersandKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("(" index=Expression ")")?
- protected class DurationObsExpression_Group_2 extends GroupToken {
-
- public DurationObsExpression_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_RightParenthesisKeyword_2_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class DurationObsExpression_LeftParenthesisKeyword_2_0 extends KeywordToken {
-
- public DurationObsExpression_LeftParenthesisKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // index=Expression
- protected class DurationObsExpression_IndexAssignment_2_1 extends AssignmentToken {
-
- public DurationObsExpression_IndexAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getIndexAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("index", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("index");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new DurationObsExpression_LeftParenthesisKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class DurationObsExpression_RightParenthesisKeyword_2_2 extends KeywordToken {
-
- public DurationObsExpression_RightParenthesisKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_IndexAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // ("when" "(" condition=Expression ")")?
- protected class DurationObsExpression_Group_3 extends GroupToken {
-
- public DurationObsExpression_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getGroup_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_RightParenthesisKeyword_3_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "when"
- protected class DurationObsExpression_WhenKeyword_3_0 extends KeywordToken {
-
- public DurationObsExpression_WhenKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new DurationObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class DurationObsExpression_LeftParenthesisKeyword_3_1 extends KeywordToken {
-
- public DurationObsExpression_LeftParenthesisKeyword_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_WhenKeyword_3_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // condition=Expression
- protected class DurationObsExpression_ConditionAssignment_3_2 extends AssignmentToken {
-
- public DurationObsExpression_ConditionAssignment_3_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getConditionAssignment_3_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("condition", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("condition");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new DurationObsExpression_LeftParenthesisKeyword_3_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class DurationObsExpression_RightParenthesisKeyword_3_3 extends KeywordToken {
-
- public DurationObsExpression_RightParenthesisKeyword_3_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsExpression_ConditionAssignment_3_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule DurationObsExpression ****************/
-
-
- /************
- * begin Rule DurationObsName ****************
- *
- * DurationObsName:
- *
- * path=QualifiedName? durationId=[uml::DurationObservation];
- *
- **/
-
- // path=QualifiedName? durationId=[uml::DurationObservation]
- protected class DurationObsName_Group extends GroupToken {
-
- public DurationObsName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDurationObsNameAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsName_DurationIdAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDurationObsNameRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // path=QualifiedName?
- protected class DurationObsName_PathAssignment_0 extends AssignmentToken {
-
- public DurationObsName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDurationObsNameAccess().getPathAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("path", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // durationId=[uml::DurationObservation]
- protected class DurationObsName_DurationIdAssignment_1 extends AssignmentToken {
-
- public DurationObsName_DurationIdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDurationObsNameAccess().getDurationIdAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DurationObsName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("durationId", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("durationId");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
-
- /************ end Rule DurationObsName ****************/
-
-
- /************
- * begin Rule JitterExp ****************
- *
- * JitterExp:
- *
- * "jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")";
- *
- **/
-
- // "jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")"
- protected class JitterExp_Group extends GroupToken {
-
- public JitterExp_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new JitterExp_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "jitter("
- protected class JitterExp_JitterKeyword_0 extends KeywordToken {
-
- public JitterExp_JitterKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getJitterKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // firstInstant=InstantObsExpression
- protected class JitterExp_FirstInstantAssignment_1 extends AssignmentToken {
-
- public JitterExp_FirstInstantAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getFirstInstantAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("firstInstant", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("firstInstant");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getInstantObsExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new JitterExp_JitterKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("-" secondInstant=InstantObsExpression)?
- protected class JitterExp_Group_2 extends GroupToken {
-
- public JitterExp_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new JitterExp_SecondInstantAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "-"
- protected class JitterExp_HyphenMinusKeyword_2_0 extends KeywordToken {
-
- public JitterExp_HyphenMinusKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new JitterExp_FirstInstantAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // secondInstant=InstantObsExpression
- protected class JitterExp_SecondInstantAssignment_2_1 extends AssignmentToken {
-
- public JitterExp_SecondInstantAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getSecondInstantAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstantObsExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("secondInstant", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("secondInstant");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getInstantObsExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new JitterExp_HyphenMinusKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ")"
- protected class JitterExp_RightParenthesisKeyword_3 extends KeywordToken {
-
- public JitterExp_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new JitterExp_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new JitterExp_FirstInstantAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule JitterExp ****************/
-
-
- /************
- * begin Rule VariableDeclaration ****************
- *
- * VariableDeclaration:
- *
- * variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? |
- *
- * "=" "(" initValue=Expression ")");
- *
- **/
-
- // variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? | "="
- //
- // "(" initValue=Expression ")")
- protected class VariableDeclaration_Group extends GroupToken {
-
- public VariableDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_Alternatives_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getVariableDeclarationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // variableDeclaration=VariableDirectionKind?
- protected class VariableDeclaration_VariableDeclarationAssignment_0 extends AssignmentToken {
-
- public VariableDeclaration_VariableDeclarationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getVariableDeclarationAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("variableDeclaration", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variableDeclaration");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), value, null)) {
- type = AssignmentType.DATATYPE_RULE_CALL;
- element = grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "$"
- protected class VariableDeclaration_DollarSignKeyword_1 extends KeywordToken {
-
- public VariableDeclaration_DollarSignKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_VariableDeclarationAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- }
-
- // name=ID
- protected class VariableDeclaration_NameAssignment_2 extends AssignmentToken {
-
- public VariableDeclaration_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_DollarSignKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("name", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ":" type=DataTypeName ("=" "(" initValue=Expression ")")? | "=" "(" initValue=Expression ")"
- protected class VariableDeclaration_Alternatives_3 extends AlternativesToken {
-
- public VariableDeclaration_Alternatives_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getAlternatives_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_Group_3_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new VariableDeclaration_Group_3_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ":" type=DataTypeName ("=" "(" initValue=Expression ")")?
- protected class VariableDeclaration_Group_3_0 extends GroupToken {
-
- public VariableDeclaration_Group_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getGroup_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_Group_3_0_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new VariableDeclaration_TypeAssignment_3_0_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ":"
- protected class VariableDeclaration_ColonKeyword_3_0_0 extends KeywordToken {
-
- public VariableDeclaration_ColonKeyword_3_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // type=DataTypeName
- protected class VariableDeclaration_TypeAssignment_3_0_1 extends AssignmentToken {
-
- public VariableDeclaration_TypeAssignment_3_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getTypeAssignment_3_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DataTypeName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("type", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getDataTypeNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new VariableDeclaration_ColonKeyword_3_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("=" "(" initValue=Expression ")")?
- protected class VariableDeclaration_Group_3_0_2 extends GroupToken {
-
- public VariableDeclaration_Group_3_0_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getGroup_3_0_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_RightParenthesisKeyword_3_0_2_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "="
- protected class VariableDeclaration_EqualsSignKeyword_3_0_2_0 extends KeywordToken {
-
- public VariableDeclaration_EqualsSignKeyword_3_0_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_TypeAssignment_3_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class VariableDeclaration_LeftParenthesisKeyword_3_0_2_1 extends KeywordToken {
-
- public VariableDeclaration_LeftParenthesisKeyword_3_0_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_EqualsSignKeyword_3_0_2_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // initValue=Expression
- protected class VariableDeclaration_InitValueAssignment_3_0_2_2 extends AssignmentToken {
-
- public VariableDeclaration_InitValueAssignment_3_0_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getInitValueAssignment_3_0_2_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("initValue", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("initValue");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new VariableDeclaration_LeftParenthesisKeyword_3_0_2_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class VariableDeclaration_RightParenthesisKeyword_3_0_2_3 extends KeywordToken {
-
- public VariableDeclaration_RightParenthesisKeyword_3_0_2_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_InitValueAssignment_3_0_2_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- // "=" "(" initValue=Expression ")"
- protected class VariableDeclaration_Group_3_1 extends GroupToken {
-
- public VariableDeclaration_Group_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getGroup_3_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_RightParenthesisKeyword_3_1_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "="
- protected class VariableDeclaration_EqualsSignKeyword_3_1_0 extends KeywordToken {
-
- public VariableDeclaration_EqualsSignKeyword_3_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class VariableDeclaration_LeftParenthesisKeyword_3_1_1 extends KeywordToken {
-
- public VariableDeclaration_LeftParenthesisKeyword_3_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_EqualsSignKeyword_3_1_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // initValue=Expression
- protected class VariableDeclaration_InitValueAssignment_3_1_2 extends AssignmentToken {
-
- public VariableDeclaration_InitValueAssignment_3_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getInitValueAssignment_3_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ExpAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("initValue", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("initValue");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- case 0:
- return new VariableDeclaration_LeftParenthesisKeyword_3_1_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class VariableDeclaration_RightParenthesisKeyword_3_1_3 extends KeywordToken {
-
- public VariableDeclaration_RightParenthesisKeyword_3_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclaration_InitValueAssignment_3_1_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
-
- /************ end Rule VariableDeclaration ****************/
-
-
-
- /************
- * begin Rule DataTypeName ****************
- *
- * DataTypeName:
- *
- * path=QualifiedName? type=[uml::DataType];
- *
- **/
-
- // path=QualifiedName? type=[uml::DataType]
- protected class DataTypeName_Group extends GroupToken {
-
- public DataTypeName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDataTypeNameAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DataTypeName_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDataTypeNameRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // path=QualifiedName?
- protected class DataTypeName_PathAssignment_0 extends AssignmentToken {
-
- public DataTypeName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDataTypeNameAccess().getPathAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("path", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if (value == inst.getEObject() && !inst.isConsumed()) {
- return null;
- }
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
- }
- }
- }
-
- // type=[uml::DataType]
- protected class DataTypeName_TypeAssignment_1 extends AssignmentToken {
-
- public DataTypeName_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDataTypeNameAccess().getTypeAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DataTypeName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("type", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0().getType().getClassifier())) {
- type = AssignmentType.CROSS_REFERENCE;
- element = grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0();
- return obj;
- }
- }
- return null;
- }
-
- }
-
-
- /************ end Rule DataTypeName ****************/
-
-
- /************
- * begin Rule NumberLiteralRule ****************
- *
- * //////////////////////////////////////////////////////////////////////////////////////////////////////
- * //LITERAL
- *
- *
- * //////////////////////////////////////////////////////////////////////////////////////////////////////
- *
- *
- * NumberLiteralRule:
- *
- * IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule;
- *
- **/
-
- // IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule
- protected class NumberLiteralRule_Alternatives extends AlternativesToken {
-
- public NumberLiteralRule_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getNumberLiteralRuleAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NumberLiteralRule_IntegerLiteralRuleParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NumberLiteralRule_UnlimitedLiteralRuleParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new NumberLiteralRule_RealLiteralRuleParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // IntegerLiteralRule
- protected class NumberLiteralRule_IntegerLiteralRuleParserRuleCall_0 extends RuleCallToken {
-
- public NumberLiteralRule_IntegerLiteralRuleParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IntegerLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(IntegerLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // UnlimitedLiteralRule
- protected class NumberLiteralRule_UnlimitedLiteralRuleParserRuleCall_1 extends RuleCallToken {
-
- public NumberLiteralRule_UnlimitedLiteralRuleParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnlimitedLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(UnlimitedLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
- // RealLiteralRule
- protected class NumberLiteralRule_RealLiteralRuleParserRuleCall_2 extends RuleCallToken {
-
- public NumberLiteralRule_RealLiteralRuleParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RealLiteralRule_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(RealLiteralRule_ValueAssignment.class, eObjectConsumer)) {
- return null;
- }
- return eObjectConsumer;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, inst);
- }
- }
- }
-
-
- /************ end Rule NumberLiteralRule ****************/
-
-
- /************
- * begin Rule IntegerLiteralRule ****************
- *
- * IntegerLiteralRule:
- *
- * value=IntegerLiteral;
- *
- **/
-
- // value=IntegerLiteral
- protected class IntegerLiteralRule_ValueAssignment extends AssignmentToken {
-
- public IntegerLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIntegerLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule IntegerLiteralRule ****************/
-
-
- /************
- * begin Rule UnlimitedLiteralRule ****************
- *
- * //UnlimitedLiteralRule :
- * // value = UnlimitedLiteral ;
- * //terminal UnlimitedLiteral :
- * // '*' ;
- * UnlimitedLiteralRule:
- *
- * value="*";
- *
- **/
-
- // value="*"
- protected class UnlimitedLiteralRule_ValueAssignment extends AssignmentToken {
-
- public UnlimitedLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnlimitedLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule UnlimitedLiteralRule ****************/
-
-
- /************
- * begin Rule RealLiteralRule ****************
- *
- * RealLiteralRule:
- *
- * value=RealLiteral;
- *
- **/
-
- // value=RealLiteral
- protected class RealLiteralRule_ValueAssignment extends AssignmentToken {
-
- public RealLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRealLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule RealLiteralRule ****************/
-
-
- /************
- * begin Rule DateTimeLiteralRule ****************
- *
- * //DateTimeLiteral:
- * // TimeString (DateString)? (DayString)? |
- * // DateString (DayString)? |
- * // DayString ;
- *
- *
- * //terminal DateString :
- *
- *
- * // ('0'..'9')('0'..'9')('0'..'9')('0'..'9')'/'('0'('0'..'9')|'1'('0'..'2'))'/'(('0'..'2')('0'..'9')|'3' ('0'|'1')) ;
- *
- *
- * //terminal TimeString :
- *
- *
- * // (('0'..'1')('0'..'9')|'2'('0'..'3'))':'('0'..'5')('0'..'9')(':'('0'..'5')('0'..'9')(':'('0'..'9')('0'..'9'))?)? ;
- *
- *
- * //terminal DayString :
- * // "Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | "Sun" ;
- * DateTimeLiteralRule:
- *
- * value=DateTimeLiteral;
- *
- **/
-
- // value=DateTimeLiteral
- protected class DateTimeLiteralRule_ValueAssignment extends AssignmentToken {
-
- public DateTimeLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDateTimeLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule DateTimeLiteralRule ****************/
-
-
- /************
- * begin Rule BooleanLiteralRule ****************
- *
- * BooleanLiteralRule:
- *
- * value=BooleanLiteral;
- *
- **/
-
- // value=BooleanLiteral
- protected class BooleanLiteralRule_ValueAssignment extends AssignmentToken {
-
- public BooleanLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getBooleanLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule BooleanLiteralRule ****************/
-
-
- /************
- * begin Rule NullLiteralRule ****************
- *
- * NullLiteralRule:
- *
- * value=NullLiteral;
- *
- **/
-
- // value=NullLiteral
- protected class NullLiteralRule_ValueAssignment extends AssignmentToken {
-
- public NullLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNullLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule NullLiteralRule ****************/
-
-
- /************
- * begin Rule DefaultLiteralRule ****************
- *
- * //DefaultLiteralRule :
- * // value = DefaultLiteral ;
- * //terminal DefaultLiteral :
- * // '/' ;
- * DefaultLiteralRule:
- *
- * value="/";
- *
- **/
-
- // value="/"
- protected class DefaultLiteralRule_ValueAssignment extends AssignmentToken {
-
- public DefaultLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDefaultLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule DefaultLiteralRule ****************/
-
-
- /************
- * begin Rule StringLiteralRule ****************
- *
- * StringLiteralRule:
- *
- * value=STRING;
- *
- **/
-
- // value=STRING
- protected class StringLiteralRule_ValueAssignment extends AssignmentToken {
-
- public StringLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStringLiteralRuleAccess().getValueAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule StringLiteralRule ****************/
-
-}
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java
deleted file mode 100644
index 60f53e4f50c..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.marte.vsl.parser.antlr;
-
-import java.io.InputStream;
-
-import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
-
-public class VSLAntlrTokenFileProvider implements IAntlrTokenFileProvider {
-
- @Override
- public InputStream getAntlrTokenFile() {
- ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens");
- }
-}
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java
deleted file mode 100644
index 7d219cfb2df..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.marte.vsl.parser.antlr;
-
-import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-
-import com.google.inject.Inject;
-
-public class VSLParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
-
- @Inject
- private VSLGrammarAccess grammarAccess;
-
- @Override
- protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
- tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
- }
-
- @Override
- protected org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLParser createParser(XtextTokenStream stream) {
- return new org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLParser(stream, getGrammarAccess());
- }
-
- @Override
- protected String getDefaultRuleName() {
- return "Expression";
- }
-
- public VSLGrammarAccess getGrammarAccess() {
- return this.grammarAccess;
- }
-
- public void setGrammarAccess(VSLGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
-}
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g
deleted file mode 100644
index 36db441a496..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g
+++ /dev/null
@@ -1,2754 +0,0 @@
-/*
-* generated by Xtext
-*/
-grammar InternalVSL;
-
-options {
- superClass=AbstractInternalAntlrParser;
-
-}
-
-@lexer::header {
-package org.eclipse.papyrus.marte.vsl.parser.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.parser.antlr.Lexer;
-}
-
-@parser::header {
-package org.eclipse.papyrus.marte.vsl.parser.antlr.internal;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
-import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess;
-
-}
-
-@parser::members {
-
- private VSLGrammarAccess grammarAccess;
-
- public InternalVSLParser(TokenStream input, VSLGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "Expression";
- }
-
- @Override
- protected VSLGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-}
-
-@rulecatch {
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
-}
-
-
-
-
-// Entry rule entryRuleExpression
-entryRuleExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getExpressionRule()); }
- iv_ruleExpression=ruleExpression
- { $current=$iv_ruleExpression.current; }
- EOF
-;
-
-// Rule Expression
-ruleExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- {
- newCompositeNode(grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0());
- }
- lv_exp_0_0=ruleAndOrXorExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExpressionRule());
- }
- set(
- $current,
- "exp",
- lv_exp_0_0,
- "AndOrXorExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleAndOrXorExpression
-entryRuleAndOrXorExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAndOrXorExpressionRule()); }
- iv_ruleAndOrXorExpression=ruleAndOrXorExpression
- { $current=$iv_ruleAndOrXorExpression.current; }
- EOF
-;
-
-// Rule AndOrXorExpression
-ruleAndOrXorExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleEqualityExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAndOrXorExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "EqualityExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= 'and'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAndOrXorExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= 'or'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAndOrXorExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
- | lv_op_1_3= 'xor'
- {
- newLeafNode(lv_op_1_3, grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAndOrXorExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_3, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleEqualityExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAndOrXorExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "EqualityExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleEqualityExpression
-entryRuleEqualityExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getEqualityExpressionRule()); }
- iv_ruleEqualityExpression=ruleEqualityExpression
- { $current=$iv_ruleEqualityExpression.current; }
- EOF
-;
-
-// Rule EqualityExpression
-ruleEqualityExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleRelationalExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getEqualityExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "RelationalExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '=='
- {
- newLeafNode(lv_op_1_1, grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getEqualityExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '<>'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getEqualityExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleRelationalExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getEqualityExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "RelationalExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleRelationalExpression
-entryRuleRelationalExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getRelationalExpressionRule()); }
- iv_ruleRelationalExpression=ruleRelationalExpression
- { $current=$iv_ruleRelationalExpression.current; }
- EOF
-;
-
-// Rule RelationalExpression
-ruleRelationalExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleConditionalExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRelationalExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "ConditionalExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '<'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '>'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
- | lv_op_1_3= '<='
- {
- newLeafNode(lv_op_1_3, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_3, null);
- }
-
- | lv_op_1_4= '>='
- {
- newLeafNode(lv_op_1_4, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_4, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleConditionalExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRelationalExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "ConditionalExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleConditionalExpression
-entryRuleConditionalExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getConditionalExpressionRule()); }
- iv_ruleConditionalExpression=ruleConditionalExpression
- { $current=$iv_ruleConditionalExpression.current; }
- EOF
-;
-
-// Rule ConditionalExpression
-ruleConditionalExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleAdditiveExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
- lv_op_1_0= '?'
- {
- newLeafNode(lv_op_1_0, grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getConditionalExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_0, "?");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleAdditiveExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=':'
- {
- newLeafNode(otherlv_3, grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0());
- }
- lv_exp_4_0=ruleAdditiveExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_4_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleAdditiveExpression
-entryRuleAdditiveExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAdditiveExpressionRule()); }
- iv_ruleAdditiveExpression=ruleAdditiveExpression
- { $current=$iv_ruleAdditiveExpression.current; }
- EOF
-;
-
-// Rule AdditiveExpression
-ruleAdditiveExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleMultiplicativeExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "MultiplicativeExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '+'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAdditiveExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '-'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAdditiveExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleMultiplicativeExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "MultiplicativeExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleMultiplicativeExpression
-entryRuleMultiplicativeExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); }
- iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression
- { $current=$iv_ruleMultiplicativeExpression.current; }
- EOF
-;
-
-// Rule MultiplicativeExpression
-ruleMultiplicativeExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleUnaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '*'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '/'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
- | lv_op_1_3= 'mod'
- {
- newLeafNode(lv_op_1_3, grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_3, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleUnaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleUnaryExpression
-entryRuleUnaryExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getUnaryExpressionRule()); }
- iv_ruleUnaryExpression=ruleUnaryExpression
- { $current=$iv_ruleUnaryExpression.current; }
- EOF
-;
-
-// Rule UnaryExpression
-ruleUnaryExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
-(
- lv_op_0_1= 'not'
- {
- newLeafNode(lv_op_0_1, grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_1, null);
- }
-
- | lv_op_0_2= '-'
- {
- newLeafNode(lv_op_0_2, grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_2, null);
- }
-
- | lv_op_0_3= '+'
- {
- newLeafNode(lv_op_0_3, grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_3, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0());
- }
- lv_unary_1_0=ruleUnaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- $current,
- "unary",
- lv_unary_1_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
- |(
-(
- {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0());
- }
- lv_exp_2_0=rulePrimaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- $current,
- "exp",
- lv_exp_2_0,
- "PrimaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRulePrimaryExpression
-entryRulePrimaryExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getPrimaryExpressionRule()); }
- iv_rulePrimaryExpression=rulePrimaryExpression
- { $current=$iv_rulePrimaryExpression.current; }
- EOF
-;
-
-// Rule PrimaryExpression
-rulePrimaryExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0());
- }
- lv_prefix_0_0=ruleValueSpecification {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPrimaryExpressionRule());
- }
- set(
- $current,
- "prefix",
- lv_prefix_0_0,
- "ValueSpecification");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='.'
- {
- newLeafNode(otherlv_1, grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0());
- }
- lv_suffix_2_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPrimaryExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_2_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleValueSpecification
-entryRuleValueSpecification returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getValueSpecificationRule()); }
- iv_ruleValueSpecification=ruleValueSpecification
- { $current=$iv_ruleValueSpecification.current; }
- EOF
-;
-
-// Rule ValueSpecification
-ruleValueSpecification returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0());
- }
- this_Literal_0=ruleLiteral
- {
- $current = $this_Literal_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1());
- }
- this_NameOrChoiceOrBehaviorCall_1=ruleNameOrChoiceOrBehaviorCall
- {
- $current = $this_NameOrChoiceOrBehaviorCall_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2());
- }
- this_Interval_2=ruleInterval
- {
- $current = $this_Interval_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3());
- }
- this_CollectionOrTuple_3=ruleCollectionOrTuple
- {
- $current = $this_CollectionOrTuple_3.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4());
- }
- this_Tuple_4=ruleTuple
- {
- $current = $this_Tuple_4.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5());
- }
- this_TimeExpression_5=ruleTimeExpression
- {
- $current = $this_TimeExpression_5.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6());
- }
- this_VariableDeclaration_6=ruleVariableDeclaration
- {
- $current = $this_VariableDeclaration_6.current;
- afterParserOrEnumRuleCall();
- }
-
- |( otherlv_7='('
- {
- newLeafNode(otherlv_7, grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0());
- }
-
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1());
- }
- this_Expression_8=ruleExpression
- {
- $current = $this_Expression_8.current;
- afterParserOrEnumRuleCall();
- }
- otherlv_9=')'
- {
- newLeafNode(otherlv_9, grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2());
- }
-))
-;
-
-
-
-
-
-// Entry rule entryRuleSuffixExpression
-entryRuleSuffixExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSuffixExpressionRule()); }
- iv_ruleSuffixExpression=ruleSuffixExpression
- { $current=$iv_ruleSuffixExpression.current; }
- EOF
-;
-
-// Rule SuffixExpression
-ruleSuffixExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0());
- }
- this_PropertyCallExpression_0=rulePropertyCallExpression
- {
- $current = $this_PropertyCallExpression_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1());
- }
- this_OperationCallExpression_1=ruleOperationCallExpression
- {
- $current = $this_OperationCallExpression_1.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRulePropertyCallExpression
-entryRulePropertyCallExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getPropertyCallExpressionRule()); }
- iv_rulePropertyCallExpression=rulePropertyCallExpression
- { $current=$iv_rulePropertyCallExpression.current; }
- EOF
-;
-
-// Rule PropertyCallExpression
-rulePropertyCallExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getPropertyCallExpressionRule());
- }
- }
- otherlv_0=RULE_ID
- {
- newLeafNode(otherlv_0, grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0());
- }
-
-)
-)( otherlv_1='.'
- {
- newLeafNode(otherlv_1, grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0());
- }
- lv_suffix_2_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_2_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleOperationCallExpression
-entryRuleOperationCallExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getOperationCallExpressionRule()); }
- iv_ruleOperationCallExpression=ruleOperationCallExpression
- { $current=$iv_ruleOperationCallExpression.current; }
- EOF
-;
-
-// Rule OperationCallExpression
-ruleOperationCallExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getOperationCallExpressionRule());
- }
- }
- otherlv_0=RULE_ID
- {
- newLeafNode(otherlv_0, grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0());
- }
-
-)
-) otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0());
- }
- lv_arguments_2_0=ruleListOfValues {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule());
- }
- set(
- $current,
- "arguments",
- lv_arguments_2_0,
- "ListOfValues");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_3=')'
- {
- newLeafNode(otherlv_3, grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3());
- }
-( otherlv_4='.'
- {
- newLeafNode(otherlv_4, grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0());
- }
- lv_suffix_5_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_5_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleLiteral
-entryRuleLiteral returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLiteralRule()); }
- iv_ruleLiteral=ruleLiteral
- { $current=$iv_ruleLiteral.current; }
- EOF
-;
-
-// Rule Literal
-ruleLiteral returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0());
- }
- this_NumberLiteralRule_0=ruleNumberLiteralRule
- {
- $current = $this_NumberLiteralRule_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1());
- }
- this_DateTimeLiteralRule_1=ruleDateTimeLiteralRule
- {
- $current = $this_DateTimeLiteralRule_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2());
- }
- this_BooleanLiteralRule_2=ruleBooleanLiteralRule
- {
- $current = $this_BooleanLiteralRule_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3());
- }
- this_NullLiteralRule_3=ruleNullLiteralRule
- {
- $current = $this_NullLiteralRule_3.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4());
- }
- this_DefaultLiteralRule_4=ruleDefaultLiteralRule
- {
- $current = $this_DefaultLiteralRule_4.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5());
- }
- this_StringLiteralRule_5=ruleStringLiteralRule
- {
- $current = $this_StringLiteralRule_5.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleNameOrChoiceOrBehaviorCall
-entryRuleNameOrChoiceOrBehaviorCall returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallRule()); }
- iv_ruleNameOrChoiceOrBehaviorCall=ruleNameOrChoiceOrBehaviorCall
- { $current=$iv_ruleNameOrChoiceOrBehaviorCall.current; }
- EOF
-;
-
-// Rule NameOrChoiceOrBehaviorCall
-ruleNameOrChoiceOrBehaviorCall returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0());
- }
- lv_path_0_0=ruleQualifiedName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameOrChoiceOrBehaviorCallRule());
- }
- set(
- $current,
- "path",
- lv_path_0_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameOrChoiceOrBehaviorCallRule());
- }
- }
- otherlv_1=RULE_ID
- {
- newLeafNode(otherlv_1, grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0());
- }
-
-)
-)( otherlv_2='('
- {
- newLeafNode(otherlv_2, grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0());
- }
- lv_arguments_3_0=ruleListOfValues {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameOrChoiceOrBehaviorCallRule());
- }
- set(
- $current,
- "arguments",
- lv_arguments_3_0,
- "ListOfValues");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2());
- }
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleQualifiedName
-entryRuleQualifiedName returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getQualifiedNameRule()); }
- iv_ruleQualifiedName=ruleQualifiedName
- { $current=$iv_ruleQualifiedName.current; }
- EOF
-;
-
-// Rule QualifiedName
-ruleQualifiedName returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getQualifiedNameRule());
- }
- }
- otherlv_0=RULE_ID
- {
- newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
- }
-
-)
-) otherlv_1='::'
- {
- newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
- }
- lv_remaining_2_0=ruleQualifiedName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
- }
- set(
- $current,
- "remaining",
- lv_remaining_2_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleInterval
-entryRuleInterval returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getIntervalRule()); }
- iv_ruleInterval=ruleInterval
- { $current=$iv_ruleInterval.current; }
- EOF
-;
-
-// Rule Interval
-ruleInterval returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(( otherlv_0=']'
- {
- newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0());
- }
-
- |(
-(
- lv_isLowerIncluded_1_0= '['
- {
- newLeafNode(lv_isLowerIncluded_1_0, grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getIntervalRule());
- }
- setWithLastConsumed($current, "isLowerIncluded", lv_isLowerIncluded_1_0, "[");
- }
-
-)
-))(
-(
- {
- newCompositeNode(grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0());
- }
- lv_lower_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIntervalRule());
- }
- set(
- $current,
- "lower",
- lv_lower_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3='..'
- {
- newLeafNode(otherlv_3, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0());
- }
- lv_upper_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIntervalRule());
- }
- set(
- $current,
- "upper",
- lv_upper_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
- lv_isUpperIncluded_5_0= ']'
- {
- newLeafNode(lv_isUpperIncluded_5_0, grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getIntervalRule());
- }
- setWithLastConsumed($current, "isUpperIncluded", lv_isUpperIncluded_5_0, "]");
- }
-
-)
-)
- | otherlv_6='['
- {
- newLeafNode(otherlv_6, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1());
- }
-))
-;
-
-
-
-
-
-// Entry rule entryRuleCollectionOrTuple
-entryRuleCollectionOrTuple returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getCollectionOrTupleRule()); }
- iv_ruleCollectionOrTuple=ruleCollectionOrTuple
- { $current=$iv_ruleCollectionOrTuple.current; }
- EOF
-;
-
-// Rule CollectionOrTuple
-ruleCollectionOrTuple returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='{'
- {
- newLeafNode(otherlv_0, grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0());
- }
- lv_listOfValues_1_0=ruleListOfValues {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCollectionOrTupleRule());
- }
- set(
- $current,
- "listOfValues",
- lv_listOfValues_1_0,
- "ListOfValues");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2='}'
- {
- newLeafNode(otherlv_2, grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleTuple
-entryRuleTuple returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTupleRule()); }
- iv_ruleTuple=ruleTuple
- { $current=$iv_ruleTuple.current; }
- EOF
-;
-
-// Rule Tuple
-ruleTuple returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='{'
- {
- newLeafNode(otherlv_0, grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0());
- }
- lv_listOfValueNamePairs_1_0=ruleListOfValueNamePairs {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTupleRule());
- }
- set(
- $current,
- "listOfValueNamePairs",
- lv_listOfValueNamePairs_1_0,
- "ListOfValueNamePairs");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2='}'
- {
- newLeafNode(otherlv_2, grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleListOfValues
-entryRuleListOfValues returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getListOfValuesRule()); }
- iv_ruleListOfValues=ruleListOfValues
- { $current=$iv_ruleListOfValues.current; }
- EOF
-;
-
-// Rule ListOfValues
-ruleListOfValues returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0());
- }
- lv_values_0_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getListOfValuesRule());
- }
- add(
- $current,
- "values",
- lv_values_0_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1=','
- {
- newLeafNode(otherlv_1, grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0());
- }
- lv_values_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getListOfValuesRule());
- }
- add(
- $current,
- "values",
- lv_values_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleListOfValueNamePairs
-entryRuleListOfValueNamePairs returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getListOfValueNamePairsRule()); }
- iv_ruleListOfValueNamePairs=ruleListOfValueNamePairs
- { $current=$iv_ruleListOfValueNamePairs.current; }
- EOF
-;
-
-// Rule ListOfValueNamePairs
-ruleListOfValueNamePairs returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0());
- }
- lv_valueNamePairs_0_0=ruleValueNamePair {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getListOfValueNamePairsRule());
- }
- add(
- $current,
- "valueNamePairs",
- lv_valueNamePairs_0_0,
- "ValueNamePair");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1=','
- {
- newLeafNode(otherlv_1, grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0());
- }
- lv_valueNamePairs_2_0=ruleValueNamePair {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getListOfValueNamePairsRule());
- }
- add(
- $current,
- "valueNamePairs",
- lv_valueNamePairs_2_0,
- "ValueNamePair");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleValueNamePair
-entryRuleValueNamePair returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getValueNamePairRule()); }
- iv_ruleValueNamePair=ruleValueNamePair
- { $current=$iv_ruleValueNamePair.current; }
- EOF
-;
-
-// Rule ValueNamePair
-ruleValueNamePair returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getValueNamePairRule());
- }
- }
- otherlv_0=RULE_ID
- {
- newLeafNode(otherlv_0, grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0());
- }
-
-)
-) otherlv_1='='
- {
- newLeafNode(otherlv_1, grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0());
- }
- lv_value_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getValueNamePairRule());
- }
- set(
- $current,
- "value",
- lv_value_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleTimeExpression
-entryRuleTimeExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTimeExpressionRule()); }
- iv_ruleTimeExpression=ruleTimeExpression
- { $current=$iv_ruleTimeExpression.current; }
- EOF
-;
-
-// Rule TimeExpression
-ruleTimeExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0());
- }
- this_InstantObsExpression_0=ruleInstantObsExpression
- {
- $current = $this_InstantObsExpression_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1());
- }
- this_DurationObsExpression_1=ruleDurationObsExpression
- {
- $current = $this_DurationObsExpression_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2());
- }
- this_JitterExp_2=ruleJitterExp
- {
- $current = $this_JitterExp_2.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleInstantObsExpression
-entryRuleInstantObsExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInstantObsExpressionRule()); }
- iv_ruleInstantObsExpression=ruleInstantObsExpression
- { $current=$iv_ruleInstantObsExpression.current; }
- EOF
-;
-
-// Rule InstantObsExpression
-ruleInstantObsExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='@'
- {
- newLeafNode(otherlv_0, grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0());
- }
- lv_id_1_0=ruleInstantObsName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstantObsExpressionRule());
- }
- set(
- $current,
- "id",
- lv_id_1_0,
- "InstantObsName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_2='('
- {
- newLeafNode(otherlv_2, grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0());
- }
- lv_index_3_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstantObsExpressionRule());
- }
- set(
- $current,
- "index",
- lv_index_3_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2());
- }
-)?( otherlv_5='when'
- {
- newLeafNode(otherlv_5, grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0());
- }
- otherlv_6='('
- {
- newLeafNode(otherlv_6, grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0());
- }
- lv_condition_7_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstantObsExpressionRule());
- }
- set(
- $current,
- "condition",
- lv_condition_7_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_8=')'
- {
- newLeafNode(otherlv_8, grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3());
- }
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleInstantObsName
-entryRuleInstantObsName returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInstantObsNameRule()); }
- iv_ruleInstantObsName=ruleInstantObsName
- { $current=$iv_ruleInstantObsName.current; }
- EOF
-;
-
-// Rule InstantObsName
-ruleInstantObsName returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0());
- }
- lv_path_0_0=ruleQualifiedName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstantObsNameRule());
- }
- set(
- $current,
- "path",
- lv_path_0_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getInstantObsNameRule());
- }
- }
- otherlv_1=RULE_ID
- {
- newLeafNode(otherlv_1, grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0());
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleDurationObsExpression
-entryRuleDurationObsExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDurationObsExpressionRule()); }
- iv_ruleDurationObsExpression=ruleDurationObsExpression
- { $current=$iv_ruleDurationObsExpression.current; }
- EOF
-;
-
-// Rule DurationObsExpression
-ruleDurationObsExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='&'
- {
- newLeafNode(otherlv_0, grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0());
- }
- lv_id_1_0=ruleDurationObsName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDurationObsExpressionRule());
- }
- set(
- $current,
- "id",
- lv_id_1_0,
- "DurationObsName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_2='('
- {
- newLeafNode(otherlv_2, grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0());
- }
- lv_index_3_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDurationObsExpressionRule());
- }
- set(
- $current,
- "index",
- lv_index_3_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2());
- }
-)?( otherlv_5='when'
- {
- newLeafNode(otherlv_5, grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0());
- }
- otherlv_6='('
- {
- newLeafNode(otherlv_6, grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0());
- }
- lv_condition_7_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDurationObsExpressionRule());
- }
- set(
- $current,
- "condition",
- lv_condition_7_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_8=')'
- {
- newLeafNode(otherlv_8, grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3());
- }
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleDurationObsName
-entryRuleDurationObsName returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDurationObsNameRule()); }
- iv_ruleDurationObsName=ruleDurationObsName
- { $current=$iv_ruleDurationObsName.current; }
- EOF
-;
-
-// Rule DurationObsName
-ruleDurationObsName returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0());
- }
- lv_path_0_0=ruleQualifiedName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDurationObsNameRule());
- }
- set(
- $current,
- "path",
- lv_path_0_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDurationObsNameRule());
- }
- }
- otherlv_1=RULE_ID
- {
- newLeafNode(otherlv_1, grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0());
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleJitterExp
-entryRuleJitterExp returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getJitterExpRule()); }
- iv_ruleJitterExp=ruleJitterExp
- { $current=$iv_ruleJitterExp.current; }
- EOF
-;
-
-// Rule JitterExp
-ruleJitterExp returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='jitter('
- {
- newLeafNode(otherlv_0, grammarAccess.getJitterExpAccess().getJitterKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0());
- }
- lv_firstInstant_1_0=ruleInstantObsExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getJitterExpRule());
- }
- set(
- $current,
- "firstInstant",
- lv_firstInstant_1_0,
- "InstantObsExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_2='-'
- {
- newLeafNode(otherlv_2, grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0());
- }
- lv_secondInstant_3_0=ruleInstantObsExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getJitterExpRule());
- }
- set(
- $current,
- "secondInstant",
- lv_secondInstant_3_0,
- "InstantObsExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))? otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleVariableDeclaration
-entryRuleVariableDeclaration returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getVariableDeclarationRule()); }
- iv_ruleVariableDeclaration=ruleVariableDeclaration
- { $current=$iv_ruleVariableDeclaration.current; }
- EOF
-;
-
-// Rule VariableDeclaration
-ruleVariableDeclaration returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0());
- }
- lv_variableDeclaration_0_0=ruleVariableDirectionKind {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getVariableDeclarationRule());
- }
- set(
- $current,
- "variableDeclaration",
- lv_variableDeclaration_0_0,
- "VariableDirectionKind");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_1='$'
- {
- newLeafNode(otherlv_1, grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1());
- }
-(
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getVariableDeclarationRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-)(( otherlv_3=':'
- {
- newLeafNode(otherlv_3, grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0());
- }
- lv_type_4_0=ruleDataTypeName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getVariableDeclarationRule());
- }
- set(
- $current,
- "type",
- lv_type_4_0,
- "DataTypeName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_5='='
- {
- newLeafNode(otherlv_5, grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0());
- }
- otherlv_6='('
- {
- newLeafNode(otherlv_6, grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0());
- }
- lv_initValue_7_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getVariableDeclarationRule());
- }
- set(
- $current,
- "initValue",
- lv_initValue_7_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_8=')'
- {
- newLeafNode(otherlv_8, grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3());
- }
-)?)
- |( otherlv_9='='
- {
- newLeafNode(otherlv_9, grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0());
- }
- otherlv_10='('
- {
- newLeafNode(otherlv_10, grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0());
- }
- lv_initValue_11_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getVariableDeclarationRule());
- }
- set(
- $current,
- "initValue",
- lv_initValue_11_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_12=')'
- {
- newLeafNode(otherlv_12, grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3());
- }
-)))
-;
-
-
-
-
-
-// Entry rule entryRuleVariableDirectionKind
-entryRuleVariableDirectionKind returns [String current=null]
- :
- { newCompositeNode(grammarAccess.getVariableDirectionKindRule()); }
- iv_ruleVariableDirectionKind=ruleVariableDirectionKind
- { $current=$iv_ruleVariableDirectionKind.current.getText(); }
- EOF
-;
-
-// Rule VariableDirectionKind
-ruleVariableDirectionKind returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- kw='in'
- {
- $current.merge(kw);
- newLeafNode(kw, grammarAccess.getVariableDirectionKindAccess().getInKeyword_0());
- }
-
- |
- kw='out'
- {
- $current.merge(kw);
- newLeafNode(kw, grammarAccess.getVariableDirectionKindAccess().getOutKeyword_1());
- }
-
- |
- kw='inout'
- {
- $current.merge(kw);
- newLeafNode(kw, grammarAccess.getVariableDirectionKindAccess().getInoutKeyword_2());
- }
-)
- ;
-
-
-
-
-
-// Entry rule entryRuleDataTypeName
-entryRuleDataTypeName returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDataTypeNameRule()); }
- iv_ruleDataTypeName=ruleDataTypeName
- { $current=$iv_ruleDataTypeName.current; }
- EOF
-;
-
-// Rule DataTypeName
-ruleDataTypeName returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0());
- }
- lv_path_0_0=ruleQualifiedName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDataTypeNameRule());
- }
- set(
- $current,
- "path",
- lv_path_0_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDataTypeNameRule());
- }
- }
- otherlv_1=RULE_ID
- {
- newLeafNode(otherlv_1, grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0());
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleNumberLiteralRule
-entryRuleNumberLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNumberLiteralRuleRule()); }
- iv_ruleNumberLiteralRule=ruleNumberLiteralRule
- { $current=$iv_ruleNumberLiteralRule.current; }
- EOF
-;
-
-// Rule NumberLiteralRule
-ruleNumberLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0());
- }
- this_IntegerLiteralRule_0=ruleIntegerLiteralRule
- {
- $current = $this_IntegerLiteralRule_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1());
- }
- this_UnlimitedLiteralRule_1=ruleUnlimitedLiteralRule
- {
- $current = $this_UnlimitedLiteralRule_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2());
- }
- this_RealLiteralRule_2=ruleRealLiteralRule
- {
- $current = $this_RealLiteralRule_2.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleIntegerLiteralRule
-entryRuleIntegerLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getIntegerLiteralRuleRule()); }
- iv_ruleIntegerLiteralRule=ruleIntegerLiteralRule
- { $current=$iv_ruleIntegerLiteralRule.current; }
- EOF
-;
-
-// Rule IntegerLiteralRule
-ruleIntegerLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_INTEGERLITERAL
- {
- newLeafNode(lv_value_0_0, grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getIntegerLiteralRuleRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "IntegerLiteral");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleUnlimitedLiteralRule
-entryRuleUnlimitedLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getUnlimitedLiteralRuleRule()); }
- iv_ruleUnlimitedLiteralRule=ruleUnlimitedLiteralRule
- { $current=$iv_ruleUnlimitedLiteralRule.current; }
- EOF
-;
-
-// Rule UnlimitedLiteralRule
-ruleUnlimitedLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0= '*'
- {
- newLeafNode(lv_value_0_0, grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnlimitedLiteralRuleRule());
- }
- setWithLastConsumed($current, "value", lv_value_0_0, "*");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleRealLiteralRule
-entryRuleRealLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getRealLiteralRuleRule()); }
- iv_ruleRealLiteralRule=ruleRealLiteralRule
- { $current=$iv_ruleRealLiteralRule.current; }
- EOF
-;
-
-// Rule RealLiteralRule
-ruleRealLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_REALLITERAL
- {
- newLeafNode(lv_value_0_0, grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRealLiteralRuleRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "RealLiteral");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleDateTimeLiteralRule
-entryRuleDateTimeLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDateTimeLiteralRuleRule()); }
- iv_ruleDateTimeLiteralRule=ruleDateTimeLiteralRule
- { $current=$iv_ruleDateTimeLiteralRule.current; }
- EOF
-;
-
-// Rule DateTimeLiteralRule
-ruleDateTimeLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_DATETIMELITERAL
- {
- newLeafNode(lv_value_0_0, grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDateTimeLiteralRuleRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "DateTimeLiteral");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleBooleanLiteralRule
-entryRuleBooleanLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getBooleanLiteralRuleRule()); }
- iv_ruleBooleanLiteralRule=ruleBooleanLiteralRule
- { $current=$iv_ruleBooleanLiteralRule.current; }
- EOF
-;
-
-// Rule BooleanLiteralRule
-ruleBooleanLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_BOOLEANLITERAL
- {
- newLeafNode(lv_value_0_0, grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getBooleanLiteralRuleRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "BooleanLiteral");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleNullLiteralRule
-entryRuleNullLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNullLiteralRuleRule()); }
- iv_ruleNullLiteralRule=ruleNullLiteralRule
- { $current=$iv_ruleNullLiteralRule.current; }
- EOF
-;
-
-// Rule NullLiteralRule
-ruleNullLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_NULLLITERAL
- {
- newLeafNode(lv_value_0_0, grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNullLiteralRuleRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "NullLiteral");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleDefaultLiteralRule
-entryRuleDefaultLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDefaultLiteralRuleRule()); }
- iv_ruleDefaultLiteralRule=ruleDefaultLiteralRule
- { $current=$iv_ruleDefaultLiteralRule.current; }
- EOF
-;
-
-// Rule DefaultLiteralRule
-ruleDefaultLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0= '/'
- {
- newLeafNode(lv_value_0_0, grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDefaultLiteralRuleRule());
- }
- setWithLastConsumed($current, "value", lv_value_0_0, "/");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleStringLiteralRule
-entryRuleStringLiteralRule returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getStringLiteralRuleRule()); }
- iv_ruleStringLiteralRule=ruleStringLiteralRule
- { $current=$iv_ruleStringLiteralRule.current; }
- EOF
-;
-
-// Rule StringLiteralRule
-ruleStringLiteralRule returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_STRING
- {
- newLeafNode(lv_value_0_0, grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getStringLiteralRuleRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "STRING");
- }
-
-)
-)
-;
-
-
-
-
-
-RULE_INTEGERLITERAL : ('+'|'-')? (('0'..'9')+|'0x' ('0'..'9'|'A'..'F'|'a'..'f')+|'0b' ('0'..'1')+);
-
-RULE_REALLITERAL : ('+'|'-')? ('0'..'9')+ '.' ('0'..'9')+ ('E' ('+'|'-')? ('0'..'9')+)?;
-
-RULE_DATETIMELITERAL : (('0'..'1' '0'..'9'|'2' '0'..'3') ':' '0'..'5' '0'..'9' (':' '0'..'5' '0'..'9' (':' '0'..'9' '0'..'9')?)? (' ' '0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')))? (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|'0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')) (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'));
-
-RULE_BOOLEANLITERAL : ('true'|'false');
-
-RULE_NULLLITERAL : 'null';
-
-RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
-
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
-
-
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens
deleted file mode 100644
index 6b5cb8fe470..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens
+++ /dev/null
@@ -1,84 +0,0 @@
-RULE_DATETIMELITERAL=7
-RULE_ID=4
-T__29=29
-T__28=28
-T__27=27
-T__26=26
-T__25=25
-T__24=24
-T__23=23
-T__22=22
-RULE_ANY_OTHER=15
-T__21=21
-T__20=20
-RULE_REALLITERAL=6
-RULE_BOOLEANLITERAL=8
-T__19=19
-T__16=16
-T__51=51
-T__18=18
-T__17=17
-RULE_INT=11
-T__50=50
-RULE_NULLLITERAL=9
-T__42=42
-T__43=43
-T__40=40
-T__41=41
-T__46=46
-T__47=47
-T__44=44
-T__45=45
-T__48=48
-T__49=49
-RULE_INTEGERLITERAL=5
-RULE_SL_COMMENT=13
-RULE_ML_COMMENT=12
-T__30=30
-T__31=31
-RULE_STRING=10
-T__32=32
-T__33=33
-T__34=34
-T__35=35
-T__36=36
-T__37=37
-T__38=38
-T__39=39
-RULE_WS=14
-'..'=39
-'out'=50
-'>='=24
-'when'=45
-'=='=19
-'/'=30
-'mod'=31
-'>'=22
-'='=43
-'<>'=20
-'@'=44
-'::'=36
-'+'=27
-'.'=33
-')'=35
-'xor'=18
-'$'=48
-'}'=41
-'jitter('=47
-'inout'=51
-'and'=16
-'{'=40
-'?'=25
-'<='=23
-'<'=21
-':'=26
-'not'=32
-'('=34
-'-'=28
-'or'=17
-'*'=29
-'['=38
-','=42
-'in'=49
-'&'=46
-']'=37
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java
deleted file mode 100644
index 9818a35b5a3..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java
+++ /dev/null
@@ -1,3450 +0,0 @@
-package org.eclipse.papyrus.marte.vsl.parser.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.antlr.runtime.BaseRecognizer;
-import org.antlr.runtime.CharStream;
-import org.antlr.runtime.DFA;
-import org.antlr.runtime.EarlyExitException;
-import org.antlr.runtime.IntStream;
-import org.antlr.runtime.MismatchedSetException;
-import org.antlr.runtime.NoViableAltException;
-import org.antlr.runtime.RecognitionException;
-import org.antlr.runtime.RecognizerSharedState;
-import org.eclipse.xtext.parser.antlr.Lexer;
-
-@SuppressWarnings("all")
-public class InternalVSLLexer extends Lexer {
- public static final int RULE_DATETIMELITERAL = 7;
- public static final int RULE_ID = 4;
- public static final int T__29 = 29;
- public static final int T__28 = 28;
- public static final int T__27 = 27;
- public static final int T__26 = 26;
- public static final int T__25 = 25;
- public static final int T__24 = 24;
- public static final int T__23 = 23;
- public static final int T__22 = 22;
- public static final int T__21 = 21;
- public static final int RULE_ANY_OTHER = 15;
- public static final int T__20 = 20;
- public static final int RULE_REALLITERAL = 6;
- public static final int EOF = -1;
- public static final int T__19 = 19;
- public static final int RULE_BOOLEANLITERAL = 8;
- public static final int T__16 = 16;
- public static final int T__51 = 51;
- public static final int T__18 = 18;
- public static final int T__17 = 17;
- public static final int RULE_INT = 11;
- public static final int T__50 = 50;
- public static final int RULE_NULLLITERAL = 9;
- public static final int T__42 = 42;
- public static final int T__43 = 43;
- public static final int T__40 = 40;
- public static final int T__41 = 41;
- public static final int T__46 = 46;
- public static final int T__47 = 47;
- public static final int T__44 = 44;
- public static final int T__45 = 45;
- public static final int T__48 = 48;
- public static final int T__49 = 49;
- public static final int RULE_INTEGERLITERAL = 5;
- public static final int RULE_SL_COMMENT = 13;
- public static final int RULE_ML_COMMENT = 12;
- public static final int T__30 = 30;
- public static final int T__31 = 31;
- public static final int RULE_STRING = 10;
- public static final int T__32 = 32;
- public static final int T__33 = 33;
- public static final int T__34 = 34;
- public static final int T__35 = 35;
- public static final int T__36 = 36;
- public static final int T__37 = 37;
- public static final int T__38 = 38;
- public static final int T__39 = 39;
- public static final int RULE_WS = 14;
-
- // delegates
- // delegators
-
- public InternalVSLLexer() {
- ;
- }
-
- public InternalVSLLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
-
- public InternalVSLLexer(CharStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
- @Override
- public String getGrammarFileName() {
- return "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g";
- }
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:11:7: ( 'and' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:11:9: 'and'
- {
- match("and");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:12:7: ( 'or' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:12:9: 'or'
- {
- match("or");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:13:7: ( 'xor' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:13:9: 'xor'
- {
- match("xor");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:14:7: ( '==' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:14:9: '=='
- {
- match("==");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:15:7: ( '<>' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:15:9: '<>'
- {
- match("<>");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:16:7: ( '<' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:16:9: '<'
- {
- match('<');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:17:7: ( '>' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:17:9: '>'
- {
- match('>');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:18:7: ( '<=' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:18:9: '<='
- {
- match("<=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:19:7: ( '>=' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:19:9: '>='
- {
- match(">=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:20:7: ( '?' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:20:9: '?'
- {
- match('?');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:21:7: ( ':' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:21:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:22:7: ( '+' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:22:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:23:7: ( '-' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:23:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:24:7: ( '*' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:24:9: '*'
- {
- match('*');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:25:7: ( '/' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:25:9: '/'
- {
- match('/');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:26:7: ( 'mod' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:26:9: 'mod'
- {
- match("mod");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:27:7: ( 'not' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:27:9: 'not'
- {
- match("not");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:28:7: ( '.' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:28:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:29:7: ( '(' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:29:9: '('
- {
- match('(');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:30:7: ( ')' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:30:9: ')'
- {
- match(')');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:31:7: ( '::' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:31:9: '::'
- {
- match("::");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__36"
-
- // $ANTLR start "T__37"
- public final void mT__37() throws RecognitionException {
- try {
- int _type = T__37;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:32:7: ( ']' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:32:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:33:7: ( '[' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:33:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__38"
-
- // $ANTLR start "T__39"
- public final void mT__39() throws RecognitionException {
- try {
- int _type = T__39;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:34:7: ( '..' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:34:9: '..'
- {
- match("..");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__39"
-
- // $ANTLR start "T__40"
- public final void mT__40() throws RecognitionException {
- try {
- int _type = T__40;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:35:7: ( '{' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:35:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__40"
-
- // $ANTLR start "T__41"
- public final void mT__41() throws RecognitionException {
- try {
- int _type = T__41;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:36:7: ( '}' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:36:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__41"
-
- // $ANTLR start "T__42"
- public final void mT__42() throws RecognitionException {
- try {
- int _type = T__42;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:37:7: ( ',' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:37:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__42"
-
- // $ANTLR start "T__43"
- public final void mT__43() throws RecognitionException {
- try {
- int _type = T__43;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:38:7: ( '=' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:38:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__43"
-
- // $ANTLR start "T__44"
- public final void mT__44() throws RecognitionException {
- try {
- int _type = T__44;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:39:7: ( '@' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:39:9: '@'
- {
- match('@');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__44"
-
- // $ANTLR start "T__45"
- public final void mT__45() throws RecognitionException {
- try {
- int _type = T__45;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:40:7: ( 'when' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:40:9: 'when'
- {
- match("when");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__45"
-
- // $ANTLR start "T__46"
- public final void mT__46() throws RecognitionException {
- try {
- int _type = T__46;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:41:7: ( '&' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:41:9: '&'
- {
- match('&');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__46"
-
- // $ANTLR start "T__47"
- public final void mT__47() throws RecognitionException {
- try {
- int _type = T__47;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:42:7: ( 'jitter(' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:42:9: 'jitter('
- {
- match("jitter(");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__47"
-
- // $ANTLR start "T__48"
- public final void mT__48() throws RecognitionException {
- try {
- int _type = T__48;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:43:7: ( '$' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:43:9: '$'
- {
- match('$');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__48"
-
- // $ANTLR start "T__49"
- public final void mT__49() throws RecognitionException {
- try {
- int _type = T__49;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:44:7: ( 'in' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:44:9: 'in'
- {
- match("in");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__49"
-
- // $ANTLR start "T__50"
- public final void mT__50() throws RecognitionException {
- try {
- int _type = T__50;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:45:7: ( 'out' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:45:9: 'out'
- {
- match("out");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__50"
-
- // $ANTLR start "T__51"
- public final void mT__51() throws RecognitionException {
- try {
- int _type = T__51;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:46:7: ( 'inout' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:46:9: 'inout'
- {
- match("inout");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__51"
-
- // $ANTLR start "RULE_INTEGERLITERAL"
- public final void mRULE_INTEGERLITERAL() throws RecognitionException {
- try {
- int _type = RULE_INTEGERLITERAL;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:21: ( ( '+' | '-' )? ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:23: ( '+' | '-' )? ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ )
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:23: ( '+' | '-' )?
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == '+' || LA1_0 == '-')) {
- alt1 = 1;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:
- {
- if (input.LA(1) == '+' || input.LA(1) == '-') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:34: ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ )
- int alt5 = 3;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '0')) {
- switch (input.LA(2)) {
- case 'x': {
- alt5 = 2;
- }
- break;
- case 'b': {
- alt5 = 3;
- }
- break;
- default:
- alt5 = 1;
- }
-
- }
- else if (((LA5_0 >= '1' && LA5_0 <= '9'))) {
- alt5 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 5, 0, input);
-
- throw nvae;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:35: ( '0' .. '9' )+
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:35: ( '0' .. '9' )+
- int cnt2 = 0;
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= '0' && LA2_0 <= '9'))) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:36: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt2 >= 1) {
- break loop2;
- }
- EarlyExitException eee =
- new EarlyExitException(2, input);
- throw eee;
- }
- cnt2++;
- } while (true);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:47: '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+
- {
- match("0x");
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:52: ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+
- int cnt3 = 0;
- loop3: do {
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if (((LA3_0 >= '0' && LA3_0 <= '9') || (LA3_0 >= 'A' && LA3_0 <= 'F') || (LA3_0 >= 'a' && LA3_0 <= 'f'))) {
- alt3 = 1;
- }
-
-
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:
- {
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- if (cnt3 >= 1) {
- break loop3;
- }
- EarlyExitException eee =
- new EarlyExitException(3, input);
- throw eee;
- }
- cnt3++;
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:82: '0b' ( '0' .. '1' )+
- {
- match("0b");
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:87: ( '0' .. '1' )+
- int cnt4 = 0;
- loop4: do {
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if (((LA4_0 >= '0' && LA4_0 <= '1'))) {
- alt4 = 1;
- }
-
-
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:88: '0' .. '1'
- {
- matchRange('0', '1');
-
- }
- break;
-
- default:
- if (cnt4 >= 1) {
- break loop4;
- }
- EarlyExitException eee =
- new EarlyExitException(4, input);
- throw eee;
- }
- cnt4++;
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INTEGERLITERAL"
-
- // $ANTLR start "RULE_REALLITERAL"
- public final void mRULE_REALLITERAL() throws RecognitionException {
- try {
- int _type = RULE_REALLITERAL;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:18: ( ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:20: ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )?
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:20: ( '+' | '-' )?
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if ((LA6_0 == '+' || LA6_0 == '-')) {
- alt6 = 1;
- }
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:
- {
- if (input.LA(1) == '+' || input.LA(1) == '-') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:31: ( '0' .. '9' )+
- int cnt7 = 0;
- loop7: do {
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if (((LA7_0 >= '0' && LA7_0 <= '9'))) {
- alt7 = 1;
- }
-
-
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:32: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt7 >= 1) {
- break loop7;
- }
- EarlyExitException eee =
- new EarlyExitException(7, input);
- throw eee;
- }
- cnt7++;
- } while (true);
-
- match('.');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:47: ( '0' .. '9' )+
- int cnt8 = 0;
- loop8: do {
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if (((LA8_0 >= '0' && LA8_0 <= '9'))) {
- alt8 = 1;
- }
-
-
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:48: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt8 >= 1) {
- break loop8;
- }
- EarlyExitException eee =
- new EarlyExitException(8, input);
- throw eee;
- }
- cnt8++;
- } while (true);
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:59: ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == 'E')) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:60: 'E' ( '+' | '-' )? ( '0' .. '9' )+
- {
- match('E');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:64: ( '+' | '-' )?
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if ((LA9_0 == '+' || LA9_0 == '-')) {
- alt9 = 1;
- }
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:
- {
- if (input.LA(1) == '+' || input.LA(1) == '-') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:75: ( '0' .. '9' )+
- int cnt10 = 0;
- loop10: do {
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if (((LA10_0 >= '0' && LA10_0 <= '9'))) {
- alt10 = 1;
- }
-
-
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2732:76: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt10 >= 1) {
- break loop10;
- }
- EarlyExitException eee =
- new EarlyExitException(10, input);
- throw eee;
- }
- cnt10++;
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_REALLITERAL"
-
- // $ANTLR start "RULE_DATETIMELITERAL"
- public final void mRULE_DATETIMELITERAL() throws RecognitionException {
- try {
- int _type = RULE_DATETIMELITERAL;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:22: ( ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9'
- // )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0'
- // .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )?
- // )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' ..
- // '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' ..
- // '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' ..
- // '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun'
- // ) )
- int alt25 = 3;
- switch (input.LA(1)) {
- case '0':
- case '1': {
- int LA25_1 = input.LA(2);
-
- if (((LA25_1 >= '0' && LA25_1 <= '9'))) {
- int LA25_5 = input.LA(3);
-
- if (((LA25_5 >= '0' && LA25_5 <= '9'))) {
- alt25 = 2;
- }
- else if ((LA25_5 == ':')) {
- alt25 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 25, 5, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 25, 1, input);
-
- throw nvae;
- }
- }
- break;
- case '2': {
- int LA25_2 = input.LA(2);
-
- if (((LA25_2 >= '0' && LA25_2 <= '3'))) {
- int LA25_6 = input.LA(3);
-
- if (((LA25_6 >= '0' && LA25_6 <= '9'))) {
- alt25 = 2;
- }
- else if ((LA25_6 == ':')) {
- alt25 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 25, 6, input);
-
- throw nvae;
- }
- }
- else if (((LA25_2 >= '4' && LA25_2 <= '9'))) {
- alt25 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 25, 2, input);
-
- throw nvae;
- }
- }
- break;
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '8':
- case '9': {
- alt25 = 2;
- }
- break;
- case 'F':
- case 'M':
- case 'S':
- case 'T':
- case 'W': {
- alt25 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 25, 0, input);
-
- throw nvae;
- }
-
- switch (alt25) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9'
- // )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )?
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' )
- int alt12 = 2;
- int LA12_0 = input.LA(1);
-
- if (((LA12_0 >= '0' && LA12_0 <= '1'))) {
- alt12 = 1;
- }
- else if ((LA12_0 == '2')) {
- alt12 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
-
- throw nvae;
- }
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:26: '0' .. '1' '0' .. '9'
- {
- matchRange('0', '1');
- matchRange('0', '9');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:44: '2' '0' .. '3'
- {
- match('2');
- matchRange('0', '3');
-
- }
- break;
-
- }
-
- match(':');
- matchRange('0', '5');
- matchRange('0', '9');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:80: ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )?
- int alt14 = 2;
- int LA14_0 = input.LA(1);
-
- if ((LA14_0 == ':')) {
- alt14 = 1;
- }
- switch (alt14) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:81: ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )?
- {
- match(':');
- matchRange('0', '5');
- matchRange('0', '9');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:103: ( ':' '0' .. '9' '0' .. '9' )?
- int alt13 = 2;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == ':')) {
- alt13 = 1;
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:104: ':' '0' .. '9' '0' .. '9'
- {
- match(':');
- matchRange('0', '9');
- matchRange('0', '9');
-
- }
- break;
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:130: ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' |
- // '3' ( '0' | '1' ) ) )?
- int alt17 = 2;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == ' ')) {
- int LA17_1 = input.LA(2);
-
- if (((LA17_1 >= '0' && LA17_1 <= '9'))) {
- alt17 = 1;
- }
- }
- switch (alt17) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:131: ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' |
- // '3' ( '0' | '1' ) )
- {
- match(' ');
- matchRange('0', '9');
- matchRange('0', '9');
- matchRange('0', '9');
- matchRange('0', '9');
- match('/');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:175: ( '0' '0' .. '9' | '1' '0' .. '2' )
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == '0')) {
- alt15 = 1;
- }
- else if ((LA15_0 == '1')) {
- alt15 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
-
- throw nvae;
- }
- switch (alt15) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:176: '0' '0' .. '9'
- {
- match('0');
- matchRange('0', '9');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:189: '1' '0' .. '2'
- {
- match('1');
- matchRange('0', '2');
-
- }
- break;
-
- }
-
- match('/');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:207: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) )
- int alt16 = 2;
- int LA16_0 = input.LA(1);
-
- if (((LA16_0 >= '0' && LA16_0 <= '2'))) {
- alt16 = 1;
- }
- else if ((LA16_0 == '3')) {
- alt16 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
- switch (alt16) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:208: '0' .. '2' '0' .. '9'
- {
- matchRange('0', '2');
- matchRange('0', '9');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:226: '3' ( '0' | '1' )
- {
- match('3');
- if ((input.LA(1) >= '0' && input.LA(1) <= '1')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:243: ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )?
- int alt19 = 2;
- int LA19_0 = input.LA(1);
-
- if ((LA19_0 == ' ')) {
- alt19 = 1;
- }
- switch (alt19) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:244: ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )
- {
- match(' ');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )
- int alt18 = 7;
- alt18 = dfa18.predict(input);
- switch (alt18) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:249: 'Mon'
- {
- match("Mon");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:255: 'Tue'
- {
- match("Tue");
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:261: 'Wed'
- {
- match("Wed");
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:267: 'Thr'
- {
- match("Thr");
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:273: 'Fri'
- {
- match("Fri");
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:279: 'Sat'
- {
- match("Sat");
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:285: 'Sun'
- {
- match("Sun");
-
-
- }
- break;
-
- }
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:294: '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0'
- // | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )?
- {
- matchRange('0', '9');
- matchRange('0', '9');
- matchRange('0', '9');
- matchRange('0', '9');
- match('/');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:334: ( '0' '0' .. '9' | '1' '0' .. '2' )
- int alt20 = 2;
- int LA20_0 = input.LA(1);
-
- if ((LA20_0 == '0')) {
- alt20 = 1;
- }
- else if ((LA20_0 == '1')) {
- alt20 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
-
- throw nvae;
- }
- switch (alt20) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:335: '0' '0' .. '9'
- {
- match('0');
- matchRange('0', '9');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:348: '1' '0' .. '2'
- {
- match('1');
- matchRange('0', '2');
-
- }
- break;
-
- }
-
- match('/');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:366: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) )
- int alt21 = 2;
- int LA21_0 = input.LA(1);
-
- if (((LA21_0 >= '0' && LA21_0 <= '2'))) {
- alt21 = 1;
- }
- else if ((LA21_0 == '3')) {
- alt21 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
-
- throw nvae;
- }
- switch (alt21) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:367: '0' .. '2' '0' .. '9'
- {
- matchRange('0', '2');
- matchRange('0', '9');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:385: '3' ( '0' | '1' )
- {
- match('3');
- if ((input.LA(1) >= '0' && input.LA(1) <= '1')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:400: ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )?
- int alt23 = 2;
- int LA23_0 = input.LA(1);
-
- if ((LA23_0 == ' ')) {
- alt23 = 1;
- }
- switch (alt23) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:401: ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )
- {
- match(' ');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )
- int alt22 = 7;
- alt22 = dfa22.predict(input);
- switch (alt22) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:406: 'Mon'
- {
- match("Mon");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:412: 'Tue'
- {
- match("Tue");
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:418: 'Wed'
- {
- match("Wed");
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:424: 'Thr'
- {
- match("Thr");
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:430: 'Fri'
- {
- match("Fri");
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:436: 'Sat'
- {
- match("Sat");
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:442: 'Sun'
- {
- match("Sun");
-
-
- }
- break;
-
- }
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )
- int alt24 = 7;
- alt24 = dfa24.predict(input);
- switch (alt24) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:452: 'Mon'
- {
- match("Mon");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:458: 'Tue'
- {
- match("Tue");
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:464: 'Wed'
- {
- match("Wed");
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:470: 'Thr'
- {
- match("Thr");
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:476: 'Fri'
- {
- match("Fri");
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:482: 'Sat'
- {
- match("Sat");
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2734:488: 'Sun'
- {
- match("Sun");
-
-
- }
- break;
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_DATETIMELITERAL"
-
- // $ANTLR start "RULE_BOOLEANLITERAL"
- public final void mRULE_BOOLEANLITERAL() throws RecognitionException {
- try {
- int _type = RULE_BOOLEANLITERAL;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2736:21: ( ( 'true' | 'false' ) )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2736:23: ( 'true' | 'false' )
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2736:23: ( 'true' | 'false' )
- int alt26 = 2;
- int LA26_0 = input.LA(1);
-
- if ((LA26_0 == 't')) {
- alt26 = 1;
- }
- else if ((LA26_0 == 'f')) {
- alt26 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 26, 0, input);
-
- throw nvae;
- }
- switch (alt26) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2736:24: 'true'
- {
- match("true");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2736:31: 'false'
- {
- match("false");
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_BOOLEANLITERAL"
-
- // $ANTLR start "RULE_NULLLITERAL"
- public final void mRULE_NULLLITERAL() throws RecognitionException {
- try {
- int _type = RULE_NULLLITERAL;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2738:18: ( 'null' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2738:20: 'null'
- {
- match("null");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_NULLLITERAL"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2740:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2740:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2740:11: ( '^' )?
- int alt27 = 2;
- int LA27_0 = input.LA(1);
-
- if ((LA27_0 == '^')) {
- alt27 = 1;
- }
- switch (alt27) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2740:11: '^'
- {
- match('^');
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2740:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop28: do {
- int alt28 = 2;
- int LA28_0 = input.LA(1);
-
- if (((LA28_0 >= '0' && LA28_0 <= '9') || (LA28_0 >= 'A' && LA28_0 <= 'Z') || LA28_0 == '_' || (LA28_0 >= 'a' && LA28_0 <= 'z'))) {
- alt28 = 1;
- }
-
-
- switch (alt28) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:
- {
- if ((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')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop28;
- }
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2742:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2742:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2742:12: ( '0' .. '9' )+
- int cnt29 = 0;
- loop29: do {
- int alt29 = 2;
- int LA29_0 = input.LA(1);
-
- if (((LA29_0 >= '0' && LA29_0 <= '9'))) {
- alt29 = 1;
- }
-
-
- switch (alt29) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2742:13: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt29 >= 1) {
- break loop29;
- }
- EarlyExitException eee =
- new EarlyExitException(29, input);
- throw eee;
- }
- cnt29++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' (
- // '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\'
- // ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' (
- // '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt32 = 2;
- int LA32_0 = input.LA(1);
-
- if ((LA32_0 == '\"')) {
- alt32 = 1;
- }
- else if ((LA32_0 == '\'')) {
- alt32 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 32, 0, input);
-
- throw nvae;
- }
- switch (alt32) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop30: do {
- int alt30 = 3;
- int LA30_0 = input.LA(1);
-
- if ((LA30_0 == '\\')) {
- alt30 = 1;
- }
- else if (((LA30_0 >= '\u0000' && LA30_0 <= '!') || (LA30_0 >= '#' && LA30_0 <= '[') || (LA30_0 >= ']' && LA30_0 <= '\uFFFF'))) {
- alt30 = 2;
- }
-
-
- switch (alt30) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
- {
- match('\\');
- if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || (input.LA(1) >= 't' && input.LA(1) <= 'u')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:66: ~ ( ( '\\\\' | '\"' ) )
- {
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop30;
- }
- } while (true);
-
- match('\"');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
- {
- match('\'');
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop31: do {
- int alt31 = 3;
- int LA31_0 = input.LA(1);
-
- if ((LA31_0 == '\\')) {
- alt31 = 1;
- }
- else if (((LA31_0 >= '\u0000' && LA31_0 <= '&') || (LA31_0 >= '(' && LA31_0 <= '[') || (LA31_0 >= ']' && LA31_0 <= '\uFFFF'))) {
- alt31 = 2;
- }
-
-
- switch (alt31) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
- {
- match('\\');
- if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || (input.LA(1) >= 't' && input.LA(1) <= 'u')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2744:137: ~ ( ( '\\\\' | '\\'' ) )
- {
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop31;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2746:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2746:19: '/*' ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2746:24: ( options {greedy=false; } : . )*
- loop33: do {
- int alt33 = 2;
- int LA33_0 = input.LA(1);
-
- if ((LA33_0 == '*')) {
- int LA33_1 = input.LA(2);
-
- if ((LA33_1 == '/')) {
- alt33 = 2;
- }
- else if (((LA33_1 >= '\u0000' && LA33_1 <= '.') || (LA33_1 >= '0' && LA33_1 <= '\uFFFF'))) {
- alt33 = 1;
- }
-
-
- }
- else if (((LA33_0 >= '\u0000' && LA33_0 <= ')') || (LA33_0 >= '+' && LA33_0 <= '\uFFFF'))) {
- alt33 = 1;
- }
-
-
- switch (alt33) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2746:52: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop33;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop34: do {
- int alt34 = 2;
- int LA34_0 = input.LA(1);
-
- if (((LA34_0 >= '\u0000' && LA34_0 <= '\t') || (LA34_0 >= '\u000B' && LA34_0 <= '\f') || (LA34_0 >= '\u000E' && LA34_0 <= '\uFFFF'))) {
- alt34 = 1;
- }
-
-
- switch (alt34) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:24: ~ ( ( '\\n' | '\\r' ) )
- {
- 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')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop34;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:40: ( ( '\\r' )? '\\n' )?
- int alt36 = 2;
- int LA36_0 = input.LA(1);
-
- if ((LA36_0 == '\n' || LA36_0 == '\r')) {
- alt36 = 1;
- }
- switch (alt36) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:41: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:41: ( '\\r' )?
- int alt35 = 2;
- int LA35_0 = input.LA(1);
-
- if ((LA35_0 == '\r')) {
- alt35 = 1;
- }
- switch (alt35) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2748:41: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2750:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2750:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2750:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt37 = 0;
- loop37: do {
- int alt37 = 2;
- int LA37_0 = input.LA(1);
-
- if (((LA37_0 >= '\t' && LA37_0 <= '\n') || LA37_0 == '\r' || LA37_0 == ' ')) {
- alt37 = 1;
- }
-
-
- switch (alt37) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:
- {
- if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- if (cnt37 >= 1) {
- break loop37;
- }
- EarlyExitException eee =
- new EarlyExitException(37, input);
- throw eee;
- }
- cnt37++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2752:16: ( . )
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2752:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ANY_OTHER"
-
- @Override
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:8: ( 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 | RULE_INTEGERLITERAL | RULE_REALLITERAL | RULE_DATETIMELITERAL | RULE_BOOLEANLITERAL |
- // RULE_NULLLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt38 = 48;
- alt38 = dfa38.predict(input);
- switch (alt38) {
- case 1:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:10: T__16
- {
- mT__16();
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:16: T__17
- {
- mT__17();
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:22: T__18
- {
- mT__18();
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:28: T__19
- {
- mT__19();
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:34: T__20
- {
- mT__20();
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:40: T__21
- {
- mT__21();
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:46: T__22
- {
- mT__22();
-
- }
- break;
- case 8:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:52: T__23
- {
- mT__23();
-
- }
- break;
- case 9:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:58: T__24
- {
- mT__24();
-
- }
- break;
- case 10:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:64: T__25
- {
- mT__25();
-
- }
- break;
- case 11:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:70: T__26
- {
- mT__26();
-
- }
- break;
- case 12:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:76: T__27
- {
- mT__27();
-
- }
- break;
- case 13:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:82: T__28
- {
- mT__28();
-
- }
- break;
- case 14:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:88: T__29
- {
- mT__29();
-
- }
- break;
- case 15:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:94: T__30
- {
- mT__30();
-
- }
- break;
- case 16:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:100: T__31
- {
- mT__31();
-
- }
- break;
- case 17:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:106: T__32
- {
- mT__32();
-
- }
- break;
- case 18:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:112: T__33
- {
- mT__33();
-
- }
- break;
- case 19:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:118: T__34
- {
- mT__34();
-
- }
- break;
- case 20:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:124: T__35
- {
- mT__35();
-
- }
- break;
- case 21:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:130: T__36
- {
- mT__36();
-
- }
- break;
- case 22:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:136: T__37
- {
- mT__37();
-
- }
- break;
- case 23:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:142: T__38
- {
- mT__38();
-
- }
- break;
- case 24:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:148: T__39
- {
- mT__39();
-
- }
- break;
- case 25:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:154: T__40
- {
- mT__40();
-
- }
- break;
- case 26:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:160: T__41
- {
- mT__41();
-
- }
- break;
- case 27:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:166: T__42
- {
- mT__42();
-
- }
- break;
- case 28:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:172: T__43
- {
- mT__43();
-
- }
- break;
- case 29:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:178: T__44
- {
- mT__44();
-
- }
- break;
- case 30:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:184: T__45
- {
- mT__45();
-
- }
- break;
- case 31:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:190: T__46
- {
- mT__46();
-
- }
- break;
- case 32:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:196: T__47
- {
- mT__47();
-
- }
- break;
- case 33:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:202: T__48
- {
- mT__48();
-
- }
- break;
- case 34:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:208: T__49
- {
- mT__49();
-
- }
- break;
- case 35:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:214: T__50
- {
- mT__50();
-
- }
- break;
- case 36:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:220: T__51
- {
- mT__51();
-
- }
- break;
- case 37:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:226: RULE_INTEGERLITERAL
- {
- mRULE_INTEGERLITERAL();
-
- }
- break;
- case 38:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:246: RULE_REALLITERAL
- {
- mRULE_REALLITERAL();
-
- }
- break;
- case 39:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:263: RULE_DATETIMELITERAL
- {
- mRULE_DATETIMELITERAL();
-
- }
- break;
- case 40:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:284: RULE_BOOLEANLITERAL
- {
- mRULE_BOOLEANLITERAL();
-
- }
- break;
- case 41:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:304: RULE_NULLLITERAL
- {
- mRULE_NULLLITERAL();
-
- }
- break;
- case 42:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:321: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 43:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:329: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 44:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:338: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 45:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:350: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 46:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:366: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 47:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:382: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 48:
- // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:390: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA18 dfa18 = new DFA18(this);
- protected DFA22 dfa22 = new DFA22(this);
- protected DFA24 dfa24 = new DFA24(this);
- protected DFA38 dfa38 = new DFA38(this);
- static final String DFA18_eotS =
- "\12\uffff";
- static final String DFA18_eofS =
- "\12\uffff";
- static final String DFA18_minS =
- "\1\106\1\uffff\1\150\2\uffff\1\141\4\uffff";
- static final String DFA18_maxS =
- "\1\127\1\uffff\1\165\2\uffff\1\165\4\uffff";
- static final String DFA18_acceptS =
- "\1\uffff\1\1\1\uffff\1\3\1\5\1\uffff\1\2\1\4\1\6\1\7";
- static final String DFA18_specialS =
- "\12\uffff}>";
- static final String[] DFA18_transitionS = {
- "\1\4\6\uffff\1\1\5\uffff\1\5\1\2\2\uffff\1\3",
- "",
- "\1\7\14\uffff\1\6",
- "",
- "",
- "\1\10\23\uffff\1\11",
- "",
- "",
- "",
- ""
- };
-
- static final short[] DFA18_eot = DFA.unpackEncodedString(DFA18_eotS);
- static final short[] DFA18_eof = DFA.unpackEncodedString(DFA18_eofS);
- static final char[] DFA18_min = DFA.unpackEncodedStringToUnsignedChars(DFA18_minS);
- static final char[] DFA18_max = DFA.unpackEncodedStringToUnsignedChars(DFA18_maxS);
- static final short[] DFA18_accept = DFA.unpackEncodedString(DFA18_acceptS);
- static final short[] DFA18_special = DFA.unpackEncodedString(DFA18_specialS);
- static final short[][] DFA18_transition;
-
- static {
- int numStates = DFA18_transitionS.length;
- DFA18_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA18_transition[i] = DFA.unpackEncodedString(DFA18_transitionS[i]);
- }
- }
-
- class DFA18 extends DFA {
-
- public DFA18(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 18;
- this.eot = DFA18_eot;
- this.eof = DFA18_eof;
- this.min = DFA18_min;
- this.max = DFA18_max;
- this.accept = DFA18_accept;
- this.special = DFA18_special;
- this.transition = DFA18_transition;
- }
-
- @Override
- public String getDescription() {
- return "2734:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )";
- }
- }
-
- static final String DFA22_eotS =
- "\12\uffff";
- static final String DFA22_eofS =
- "\12\uffff";
- static final String DFA22_minS =
- "\1\106\1\uffff\1\150\2\uffff\1\141\4\uffff";
- static final String DFA22_maxS =
- "\1\127\1\uffff\1\165\2\uffff\1\165\4\uffff";
- static final String DFA22_acceptS =
- "\1\uffff\1\1\1\uffff\1\3\1\5\1\uffff\1\2\1\4\1\6\1\7";
- static final String DFA22_specialS =
- "\12\uffff}>";
- static final String[] DFA22_transitionS = {
- "\1\4\6\uffff\1\1\5\uffff\1\5\1\2\2\uffff\1\3",
- "",
- "\1\7\14\uffff\1\6",
- "",
- "",
- "\1\10\23\uffff\1\11",
- "",
- "",
- "",
- ""
- };
-
- static final short[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS);
- static final short[] DFA22_eof = DFA.unpackEncodedString(DFA22_eofS);
- static final char[] DFA22_min = DFA.unpackEncodedStringToUnsignedChars(DFA22_minS);
- static final char[] DFA22_max = DFA.unpackEncodedStringToUnsignedChars(DFA22_maxS);
- static final short[] DFA22_accept = DFA.unpackEncodedString(DFA22_acceptS);
- static final short[] DFA22_special = DFA.unpackEncodedString(DFA22_specialS);
- static final short[][] DFA22_transition;
-
- static {
- int numStates = DFA22_transitionS.length;
- DFA22_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA22_transition[i] = DFA.unpackEncodedString(DFA22_transitionS[i]);
- }
- }
-
- class DFA22 extends DFA {
-
- public DFA22(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 22;
- this.eot = DFA22_eot;
- this.eof = DFA22_eof;
- this.min = DFA22_min;
- this.max = DFA22_max;
- this.accept = DFA22_accept;
- this.special = DFA22_special;
- this.transition = DFA22_transition;
- }
-
- @Override
- public String getDescription() {
- return "2734:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )";
- }
- }
-
- static final String DFA24_eotS =
- "\12\uffff";
- static final String DFA24_eofS =
- "\12\uffff";
- static final String DFA24_minS =
- "\1\106\1\uffff\1\150\2\uffff\1\141\4\uffff";
- static final String DFA24_maxS =
- "\1\127\1\uffff\1\165\2\uffff\1\165\4\uffff";
- static final String DFA24_acceptS =
- "\1\uffff\1\1\1\uffff\1\3\1\5\1\uffff\1\2\1\4\1\6\1\7";
- static final String DFA24_specialS =
- "\12\uffff}>";
- static final String[] DFA24_transitionS = {
- "\1\4\6\uffff\1\1\5\uffff\1\5\1\2\2\uffff\1\3",
- "",
- "\1\7\14\uffff\1\6",
- "",
- "",
- "\1\10\23\uffff\1\11",
- "",
- "",
- "",
- ""
- };
-
- static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
- static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
- static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
- static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
- static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
- static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
- static final short[][] DFA24_transition;
-
- static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
- }
- }
-
- class DFA24 extends DFA {
-
- public DFA24(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 24;
- this.eot = DFA24_eot;
- this.eof = DFA24_eof;
- this.min = DFA24_min;
- this.max = DFA24_max;
- this.accept = DFA24_accept;
- this.special = DFA24_special;
- this.transition = DFA24_transition;
- }
-
- @Override
- public String getDescription() {
- return "2734:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )";
- }
- }
-
- static final String DFA38_eotS =
- "\1\uffff\3\57\1\64\1\67\1\71\1\uffff\1\74\1\75\1\100\1\uffff\1" +
- "\104\2\57\1\111\10\uffff\1\57\1\uffff\1\57\1\uffff\1\57\4\127\7" +
- "\57\1\55\1\uffff\2\55\2\uffff\1\57\1\uffff\1\150\2\57\13\uffff\2" +
- "\127\5\uffff\3\57\12\uffff\1\57\1\uffff\1\57\1\uffff\1\161\1\uffff" +
- "\1\127\1\uffff\2\127\11\57\2\uffff\1\175\1\uffff\1\176\1\177\1\u0080" +
- "\1\u0081\4\57\1\uffff\1\127\1\uffff\7\163\2\57\5\uffff\1\u0089\1" +
- "\u008a\2\57\1\127\1\u008e\1\57\2\uffff\1\57\1\u0091\1\127\1\uffff" +
- "\1\u008e\1\57\2\uffff";
- static final String DFA38_eofS =
- "\u0093\uffff";
- static final String DFA38_minS =
- "\1\0\1\156\1\162\1\157\3\75\1\uffff\1\72\2\60\1\uffff\1\52\2\157" +
- "\1\56\10\uffff\1\150\1\uffff\1\151\1\uffff\1\156\4\56\1\157\1\150" +
- "\1\145\1\162\1\141\1\162\1\141\1\101\1\uffff\2\0\2\uffff\1\144\1" +
- "\uffff\1\60\1\164\1\162\13\uffff\2\56\5\uffff\1\144\1\164\1\154" +
- "\12\uffff\1\145\1\uffff\1\164\1\uffff\1\60\1\uffff\1\56\1\uffff" +
- "\2\56\1\156\1\145\1\162\1\144\1\151\1\164\1\156\1\165\1\154\2\uffff" +
- "\1\60\1\uffff\4\60\1\154\1\156\1\164\1\165\1\uffff\1\56\1\uffff" +
- "\7\60\1\145\1\163\5\uffff\2\60\1\145\1\164\1\56\1\60\1\145\2\uffff" +
- "\1\162\1\60\1\56\1\uffff\1\60\1\50\2\uffff";
- static final String DFA38_maxS =
- "\1\uffff\1\156\1\165\1\157\1\75\1\76\1\75\1\uffff\1\72\2\71\1\uffff" +
- "\1\57\1\157\1\165\1\56\10\uffff\1\150\1\uffff\1\151\1\uffff\1\156" +
- "\4\71\1\157\1\165\1\145\1\162\1\165\1\162\1\141\1\172\1\uffff\2" +
- "\uffff\2\uffff\1\144\1\uffff\1\172\1\164\1\162\13\uffff\2\71\5\uffff" +
- "\1\144\1\164\1\154\12\uffff\1\145\1\uffff\1\164\1\uffff\1\172\1" +
- "\uffff\1\72\1\uffff\1\72\1\71\1\156\1\145\1\162\1\144\1\151\1\164" +
- "\1\156\1\165\1\154\2\uffff\1\172\1\uffff\4\172\1\154\1\156\1\164" +
- "\1\165\1\uffff\1\71\1\uffff\7\172\1\145\1\163\5\uffff\2\172\1\145" +
- "\1\164\1\71\1\172\1\145\2\uffff\1\162\1\172\1\71\1\uffff\1\172\1" +
- "\50\2\uffff";
- static final String DFA38_acceptS =
- "\7\uffff\1\12\3\uffff\1\16\4\uffff\1\23\1\24\1\26\1\27\1\31\1\32" +
- "\1\33\1\35\1\uffff\1\37\1\uffff\1\41\15\uffff\1\52\2\uffff\1\57" +
- "\1\60\1\uffff\1\52\3\uffff\1\4\1\34\1\5\1\10\1\6\1\11\1\7\1\12\1" +
- "\25\1\13\1\14\2\uffff\1\15\1\16\1\55\1\56\1\17\