[61] | 1 | /**
|
---|
| 2 | */
|
---|
| 3 | package de.ugoe.cs.swe.bnftools.ebnf.impl;
|
---|
| 4 |
|
---|
| 5 | import de.ugoe.cs.swe.bnftools.ebnf.Atom;
|
---|
| 6 | import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry;
|
---|
| 7 | import de.ugoe.cs.swe.bnftools.ebnf.DefinitionList;
|
---|
| 8 | import de.ugoe.cs.swe.bnftools.ebnf.DeltaEntry;
|
---|
| 9 | import de.ugoe.cs.swe.bnftools.ebnf.EbnfFactory;
|
---|
| 10 | import de.ugoe.cs.swe.bnftools.ebnf.EbnfPackage;
|
---|
| 11 | import de.ugoe.cs.swe.bnftools.ebnf.EtsiBnf;
|
---|
| 12 | import de.ugoe.cs.swe.bnftools.ebnf.ExtRule;
|
---|
| 13 | import de.ugoe.cs.swe.bnftools.ebnf.GlobalCombinator;
|
---|
| 14 | import de.ugoe.cs.swe.bnftools.ebnf.GroupedSequence;
|
---|
| 15 | import de.ugoe.cs.swe.bnftools.ebnf.HookCombinator;
|
---|
| 16 | import de.ugoe.cs.swe.bnftools.ebnf.Import;
|
---|
| 17 | import de.ugoe.cs.swe.bnftools.ebnf.ImportSection;
|
---|
| 18 | import de.ugoe.cs.swe.bnftools.ebnf.MergeEntry;
|
---|
| 19 | import de.ugoe.cs.swe.bnftools.ebnf.MergeRule;
|
---|
| 20 | import de.ugoe.cs.swe.bnftools.ebnf.OptionalSequence;
|
---|
| 21 | import de.ugoe.cs.swe.bnftools.ebnf.RepeatedSequence;
|
---|
| 22 | import de.ugoe.cs.swe.bnftools.ebnf.Rule;
|
---|
| 23 | import de.ugoe.cs.swe.bnftools.ebnf.RuleCombinator;
|
---|
| 24 | import de.ugoe.cs.swe.bnftools.ebnf.RuleReference;
|
---|
| 25 | import de.ugoe.cs.swe.bnftools.ebnf.SectionHeading;
|
---|
| 26 | import de.ugoe.cs.swe.bnftools.ebnf.SingleDefinition;
|
---|
| 27 | import de.ugoe.cs.swe.bnftools.ebnf.StringRule;
|
---|
| 28 | import de.ugoe.cs.swe.bnftools.ebnf.Term;
|
---|
| 29 |
|
---|
| 30 | import org.eclipse.emf.ecore.EAttribute;
|
---|
| 31 | import org.eclipse.emf.ecore.EClass;
|
---|
| 32 | import org.eclipse.emf.ecore.EPackage;
|
---|
| 33 | import org.eclipse.emf.ecore.EReference;
|
---|
| 34 |
|
---|
| 35 | import org.eclipse.emf.ecore.impl.EPackageImpl;
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * <!-- begin-user-doc -->
|
---|
| 39 | * An implementation of the model <b>Package</b>.
|
---|
| 40 | * <!-- end-user-doc -->
|
---|
| 41 | * @generated
|
---|
| 42 | */
|
---|
| 43 | public class EbnfPackageImpl extends EPackageImpl implements EbnfPackage
|
---|
| 44 | {
|
---|
| 45 | /**
|
---|
| 46 | * <!-- begin-user-doc -->
|
---|
| 47 | * <!-- end-user-doc -->
|
---|
| 48 | * @generated
|
---|
| 49 | */
|
---|
| 50 | private EClass etsiBnfEClass = null;
|
---|
| 51 |
|
---|
| 52 | /**
|
---|
| 53 | * <!-- begin-user-doc -->
|
---|
| 54 | * <!-- end-user-doc -->
|
---|
| 55 | * @generated
|
---|
| 56 | */
|
---|
| 57 | private EClass importSectionEClass = null;
|
---|
| 58 |
|
---|
| 59 | /**
|
---|
| 60 | * <!-- begin-user-doc -->
|
---|
| 61 | * <!-- end-user-doc -->
|
---|
| 62 | * @generated
|
---|
| 63 | */
|
---|
| 64 | private EClass bnfEntryEClass = null;
|
---|
| 65 |
|
---|
| 66 | /**
|
---|
| 67 | * <!-- begin-user-doc -->
|
---|
| 68 | * <!-- end-user-doc -->
|
---|
| 69 | * @generated
|
---|
| 70 | */
|
---|
| 71 | private EClass deltaEntryEClass = null;
|
---|
| 72 |
|
---|
| 73 | /**
|
---|
| 74 | * <!-- begin-user-doc -->
|
---|
| 75 | * <!-- end-user-doc -->
|
---|
| 76 | * @generated
|
---|
| 77 | */
|
---|
| 78 | private EClass mergeEntryEClass = null;
|
---|
| 79 |
|
---|
| 80 | /**
|
---|
| 81 | * <!-- begin-user-doc -->
|
---|
| 82 | * <!-- end-user-doc -->
|
---|
| 83 | * @generated
|
---|
| 84 | */
|
---|
| 85 | private EClass sectionHeadingEClass = null;
|
---|
| 86 |
|
---|
| 87 | /**
|
---|
| 88 | * <!-- begin-user-doc -->
|
---|
| 89 | * <!-- end-user-doc -->
|
---|
| 90 | * @generated
|
---|
| 91 | */
|
---|
| 92 | private EClass importEClass = null;
|
---|
| 93 |
|
---|
| 94 | /**
|
---|
| 95 | * <!-- begin-user-doc -->
|
---|
| 96 | * <!-- end-user-doc -->
|
---|
| 97 | * @generated
|
---|
| 98 | */
|
---|
| 99 | private EClass ruleEClass = null;
|
---|
| 100 |
|
---|
| 101 | /**
|
---|
| 102 | * <!-- begin-user-doc -->
|
---|
| 103 | * <!-- end-user-doc -->
|
---|
| 104 | * @generated
|
---|
| 105 | */
|
---|
| 106 | private EClass extRuleEClass = null;
|
---|
| 107 |
|
---|
| 108 | /**
|
---|
| 109 | * <!-- begin-user-doc -->
|
---|
| 110 | * <!-- end-user-doc -->
|
---|
| 111 | * @generated
|
---|
| 112 | */
|
---|
| 113 | private EClass mergeRuleEClass = null;
|
---|
| 114 |
|
---|
| 115 | /**
|
---|
| 116 | * <!-- begin-user-doc -->
|
---|
| 117 | * <!-- end-user-doc -->
|
---|
| 118 | * @generated
|
---|
| 119 | */
|
---|
| 120 | private EClass globalCombinatorEClass = null;
|
---|
| 121 |
|
---|
| 122 | /**
|
---|
| 123 | * <!-- begin-user-doc -->
|
---|
| 124 | * <!-- end-user-doc -->
|
---|
| 125 | * @generated
|
---|
| 126 | */
|
---|
| 127 | private EClass ruleCombinatorEClass = null;
|
---|
| 128 |
|
---|
| 129 | /**
|
---|
| 130 | * <!-- begin-user-doc -->
|
---|
| 131 | * <!-- end-user-doc -->
|
---|
| 132 | * @generated
|
---|
| 133 | */
|
---|
| 134 | private EClass hookCombinatorEClass = null;
|
---|
| 135 |
|
---|
| 136 | /**
|
---|
| 137 | * <!-- begin-user-doc -->
|
---|
| 138 | * <!-- end-user-doc -->
|
---|
| 139 | * @generated
|
---|
| 140 | */
|
---|
| 141 | private EClass definitionListEClass = null;
|
---|
| 142 |
|
---|
| 143 | /**
|
---|
| 144 | * <!-- begin-user-doc -->
|
---|
| 145 | * <!-- end-user-doc -->
|
---|
| 146 | * @generated
|
---|
| 147 | */
|
---|
| 148 | private EClass singleDefinitionEClass = null;
|
---|
| 149 |
|
---|
| 150 | /**
|
---|
| 151 | * <!-- begin-user-doc -->
|
---|
| 152 | * <!-- end-user-doc -->
|
---|
| 153 | * @generated
|
---|
| 154 | */
|
---|
| 155 | private EClass termEClass = null;
|
---|
| 156 |
|
---|
| 157 | /**
|
---|
| 158 | * <!-- begin-user-doc -->
|
---|
| 159 | * <!-- end-user-doc -->
|
---|
| 160 | * @generated
|
---|
| 161 | */
|
---|
| 162 | private EClass atomEClass = null;
|
---|
| 163 |
|
---|
| 164 | /**
|
---|
| 165 | * <!-- begin-user-doc -->
|
---|
| 166 | * <!-- end-user-doc -->
|
---|
| 167 | * @generated
|
---|
| 168 | */
|
---|
| 169 | private EClass ruleReferenceEClass = null;
|
---|
| 170 |
|
---|
| 171 | /**
|
---|
| 172 | * <!-- begin-user-doc -->
|
---|
| 173 | * <!-- end-user-doc -->
|
---|
| 174 | * @generated
|
---|
| 175 | */
|
---|
| 176 | private EClass stringRuleEClass = null;
|
---|
| 177 |
|
---|
| 178 | /**
|
---|
| 179 | * <!-- begin-user-doc -->
|
---|
| 180 | * <!-- end-user-doc -->
|
---|
| 181 | * @generated
|
---|
| 182 | */
|
---|
| 183 | private EClass groupedSequenceEClass = null;
|
---|
| 184 |
|
---|
| 185 | /**
|
---|
| 186 | * <!-- begin-user-doc -->
|
---|
| 187 | * <!-- end-user-doc -->
|
---|
| 188 | * @generated
|
---|
| 189 | */
|
---|
| 190 | private EClass optionalSequenceEClass = null;
|
---|
| 191 |
|
---|
| 192 | /**
|
---|
| 193 | * <!-- begin-user-doc -->
|
---|
| 194 | * <!-- end-user-doc -->
|
---|
| 195 | * @generated
|
---|
| 196 | */
|
---|
| 197 | private EClass repeatedSequenceEClass = null;
|
---|
| 198 |
|
---|
| 199 | /**
|
---|
| 200 | * Creates an instance of the model <b>Package</b>, registered with
|
---|
| 201 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
|
---|
| 202 | * package URI value.
|
---|
| 203 | * <p>Note: the correct way to create the package is via the static
|
---|
| 204 | * factory method {@link #init init()}, which also performs
|
---|
| 205 | * initialization of the package, or returns the registered package,
|
---|
| 206 | * if one already exists.
|
---|
| 207 | * <!-- begin-user-doc -->
|
---|
| 208 | * <!-- end-user-doc -->
|
---|
| 209 | * @see org.eclipse.emf.ecore.EPackage.Registry
|
---|
| 210 | * @see de.ugoe.cs.swe.bnftools.ebnf.EbnfPackage#eNS_URI
|
---|
| 211 | * @see #init()
|
---|
| 212 | * @generated
|
---|
| 213 | */
|
---|
| 214 | private EbnfPackageImpl()
|
---|
| 215 | {
|
---|
| 216 | super(eNS_URI, EbnfFactory.eINSTANCE);
|
---|
| 217 | }
|
---|
| 218 |
|
---|
| 219 | /**
|
---|
| 220 | * <!-- begin-user-doc -->
|
---|
| 221 | * <!-- end-user-doc -->
|
---|
| 222 | * @generated
|
---|
| 223 | */
|
---|
| 224 | private static boolean isInited = false;
|
---|
| 225 |
|
---|
| 226 | /**
|
---|
| 227 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
|
---|
| 228 | *
|
---|
| 229 | * <p>This method is used to initialize {@link EbnfPackage#eINSTANCE} when that field is accessed.
|
---|
| 230 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
|
---|
| 231 | * <!-- begin-user-doc -->
|
---|
| 232 | * <!-- end-user-doc -->
|
---|
| 233 | * @see #eNS_URI
|
---|
| 234 | * @see #createPackageContents()
|
---|
| 235 | * @see #initializePackageContents()
|
---|
| 236 | * @generated
|
---|
| 237 | */
|
---|
| 238 | public static EbnfPackage init()
|
---|
| 239 | {
|
---|
| 240 | if (isInited) return (EbnfPackage)EPackage.Registry.INSTANCE.getEPackage(EbnfPackage.eNS_URI);
|
---|
| 241 |
|
---|
| 242 | // Obtain or create and register package
|
---|
| 243 | EbnfPackageImpl theEbnfPackage = (EbnfPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EbnfPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EbnfPackageImpl());
|
---|
| 244 |
|
---|
| 245 | isInited = true;
|
---|
| 246 |
|
---|
| 247 | // Create package meta-data objects
|
---|
| 248 | theEbnfPackage.createPackageContents();
|
---|
| 249 |
|
---|
| 250 | // Initialize created meta-data
|
---|
| 251 | theEbnfPackage.initializePackageContents();
|
---|
| 252 |
|
---|
| 253 | // Mark meta-data to indicate it can't be changed
|
---|
| 254 | theEbnfPackage.freeze();
|
---|
| 255 |
|
---|
| 256 |
|
---|
| 257 | // Update the registry and return the package
|
---|
| 258 | EPackage.Registry.INSTANCE.put(EbnfPackage.eNS_URI, theEbnfPackage);
|
---|
| 259 | return theEbnfPackage;
|
---|
| 260 | }
|
---|
| 261 |
|
---|
| 262 | /**
|
---|
| 263 | * <!-- begin-user-doc -->
|
---|
| 264 | * <!-- end-user-doc -->
|
---|
| 265 | * @generated
|
---|
| 266 | */
|
---|
| 267 | public EClass getEtsiBnf()
|
---|
| 268 | {
|
---|
| 269 | return etsiBnfEClass;
|
---|
| 270 | }
|
---|
| 271 |
|
---|
| 272 | /**
|
---|
| 273 | * <!-- begin-user-doc -->
|
---|
| 274 | * <!-- end-user-doc -->
|
---|
| 275 | * @generated
|
---|
| 276 | */
|
---|
| 277 | public EAttribute getEtsiBnf_Name()
|
---|
| 278 | {
|
---|
| 279 | return (EAttribute)etsiBnfEClass.getEStructuralFeatures().get(0);
|
---|
| 280 | }
|
---|
| 281 |
|
---|
| 282 | /**
|
---|
| 283 | * <!-- begin-user-doc -->
|
---|
| 284 | * <!-- end-user-doc -->
|
---|
| 285 | * @generated
|
---|
| 286 | */
|
---|
| 287 | public EAttribute getEtsiBnf_Type()
|
---|
| 288 | {
|
---|
| 289 | return (EAttribute)etsiBnfEClass.getEStructuralFeatures().get(1);
|
---|
| 290 | }
|
---|
| 291 |
|
---|
| 292 | /**
|
---|
| 293 | * <!-- begin-user-doc -->
|
---|
| 294 | * <!-- end-user-doc -->
|
---|
| 295 | * @generated
|
---|
| 296 | */
|
---|
| 297 | public EReference getEtsiBnf_ImportSection()
|
---|
| 298 | {
|
---|
| 299 | return (EReference)etsiBnfEClass.getEStructuralFeatures().get(2);
|
---|
| 300 | }
|
---|
| 301 |
|
---|
| 302 | /**
|
---|
| 303 | * <!-- begin-user-doc -->
|
---|
| 304 | * <!-- end-user-doc -->
|
---|
| 305 | * @generated
|
---|
| 306 | */
|
---|
| 307 | public EReference getEtsiBnf_BnfEntry()
|
---|
| 308 | {
|
---|
| 309 | return (EReference)etsiBnfEClass.getEStructuralFeatures().get(3);
|
---|
| 310 | }
|
---|
| 311 |
|
---|
| 312 | /**
|
---|
| 313 | * <!-- begin-user-doc -->
|
---|
| 314 | * <!-- end-user-doc -->
|
---|
| 315 | * @generated
|
---|
| 316 | */
|
---|
| 317 | public EReference getEtsiBnf_DeltaEntry()
|
---|
| 318 | {
|
---|
| 319 | return (EReference)etsiBnfEClass.getEStructuralFeatures().get(4);
|
---|
| 320 | }
|
---|
| 321 |
|
---|
| 322 | /**
|
---|
| 323 | * <!-- begin-user-doc -->
|
---|
| 324 | * <!-- end-user-doc -->
|
---|
| 325 | * @generated
|
---|
| 326 | */
|
---|
| 327 | public EReference getEtsiBnf_MergeEntry()
|
---|
| 328 | {
|
---|
| 329 | return (EReference)etsiBnfEClass.getEStructuralFeatures().get(5);
|
---|
| 330 | }
|
---|
| 331 |
|
---|
| 332 | /**
|
---|
| 333 | * <!-- begin-user-doc -->
|
---|
| 334 | * <!-- end-user-doc -->
|
---|
| 335 | * @generated
|
---|
| 336 | */
|
---|
| 337 | public EClass getImportSection()
|
---|
| 338 | {
|
---|
| 339 | return importSectionEClass;
|
---|
| 340 | }
|
---|
| 341 |
|
---|
| 342 | /**
|
---|
| 343 | * <!-- begin-user-doc -->
|
---|
| 344 | * <!-- end-user-doc -->
|
---|
| 345 | * @generated
|
---|
| 346 | */
|
---|
| 347 | public EReference getImportSection_Imports()
|
---|
| 348 | {
|
---|
| 349 | return (EReference)importSectionEClass.getEStructuralFeatures().get(0);
|
---|
| 350 | }
|
---|
| 351 |
|
---|
| 352 | /**
|
---|
| 353 | * <!-- begin-user-doc -->
|
---|
| 354 | * <!-- end-user-doc -->
|
---|
| 355 | * @generated
|
---|
| 356 | */
|
---|
| 357 | public EClass getBnfEntry()
|
---|
| 358 | {
|
---|
| 359 | return bnfEntryEClass;
|
---|
| 360 | }
|
---|
| 361 |
|
---|
| 362 | /**
|
---|
| 363 | * <!-- begin-user-doc -->
|
---|
| 364 | * <!-- end-user-doc -->
|
---|
| 365 | * @generated
|
---|
| 366 | */
|
---|
| 367 | public EReference getBnfEntry_Sectionheader()
|
---|
| 368 | {
|
---|
| 369 | return (EReference)bnfEntryEClass.getEStructuralFeatures().get(0);
|
---|
| 370 | }
|
---|
| 371 |
|
---|
| 372 | /**
|
---|
| 373 | * <!-- begin-user-doc -->
|
---|
| 374 | * <!-- end-user-doc -->
|
---|
| 375 | * @generated
|
---|
| 376 | */
|
---|
| 377 | public EReference getBnfEntry_Rule()
|
---|
| 378 | {
|
---|
| 379 | return (EReference)bnfEntryEClass.getEStructuralFeatures().get(1);
|
---|
| 380 | }
|
---|
| 381 |
|
---|
| 382 | /**
|
---|
| 383 | * <!-- begin-user-doc -->
|
---|
| 384 | * <!-- end-user-doc -->
|
---|
| 385 | * @generated
|
---|
| 386 | */
|
---|
| 387 | public EClass getDeltaEntry()
|
---|
| 388 | {
|
---|
| 389 | return deltaEntryEClass;
|
---|
| 390 | }
|
---|
| 391 |
|
---|
| 392 | /**
|
---|
| 393 | * <!-- begin-user-doc -->
|
---|
| 394 | * <!-- end-user-doc -->
|
---|
| 395 | * @generated
|
---|
| 396 | */
|
---|
| 397 | public EReference getDeltaEntry_Rule()
|
---|
| 398 | {
|
---|
| 399 | return (EReference)deltaEntryEClass.getEStructuralFeatures().get(0);
|
---|
| 400 | }
|
---|
| 401 |
|
---|
| 402 | /**
|
---|
| 403 | * <!-- begin-user-doc -->
|
---|
| 404 | * <!-- end-user-doc -->
|
---|
| 405 | * @generated
|
---|
| 406 | */
|
---|
| 407 | public EReference getDeltaEntry_Sectionheader()
|
---|
| 408 | {
|
---|
| 409 | return (EReference)deltaEntryEClass.getEStructuralFeatures().get(1);
|
---|
| 410 | }
|
---|
| 411 |
|
---|
| 412 | /**
|
---|
| 413 | * <!-- begin-user-doc -->
|
---|
| 414 | * <!-- end-user-doc -->
|
---|
| 415 | * @generated
|
---|
| 416 | */
|
---|
| 417 | public EReference getDeltaEntry_ExtRule()
|
---|
| 418 | {
|
---|
| 419 | return (EReference)deltaEntryEClass.getEStructuralFeatures().get(2);
|
---|
| 420 | }
|
---|
| 421 |
|
---|
| 422 | /**
|
---|
| 423 | * <!-- begin-user-doc -->
|
---|
| 424 | * <!-- end-user-doc -->
|
---|
| 425 | * @generated
|
---|
| 426 | */
|
---|
| 427 | public EClass getMergeEntry()
|
---|
| 428 | {
|
---|
| 429 | return mergeEntryEClass;
|
---|
| 430 | }
|
---|
| 431 |
|
---|
| 432 | /**
|
---|
| 433 | * <!-- begin-user-doc -->
|
---|
| 434 | * <!-- end-user-doc -->
|
---|
| 435 | * @generated
|
---|
| 436 | */
|
---|
| 437 | public EReference getMergeEntry_Sectionheader()
|
---|
| 438 | {
|
---|
| 439 | return (EReference)mergeEntryEClass.getEStructuralFeatures().get(0);
|
---|
| 440 | }
|
---|
| 441 |
|
---|
| 442 | /**
|
---|
| 443 | * <!-- begin-user-doc -->
|
---|
| 444 | * <!-- end-user-doc -->
|
---|
| 445 | * @generated
|
---|
| 446 | */
|
---|
| 447 | public EReference getMergeEntry_MergeRule()
|
---|
| 448 | {
|
---|
| 449 | return (EReference)mergeEntryEClass.getEStructuralFeatures().get(1);
|
---|
| 450 | }
|
---|
| 451 |
|
---|
| 452 | /**
|
---|
| 453 | * <!-- begin-user-doc -->
|
---|
| 454 | * <!-- end-user-doc -->
|
---|
| 455 | * @generated
|
---|
| 456 | */
|
---|
| 457 | public EClass getSectionHeading()
|
---|
| 458 | {
|
---|
| 459 | return sectionHeadingEClass;
|
---|
| 460 | }
|
---|
| 461 |
|
---|
| 462 | /**
|
---|
| 463 | * <!-- begin-user-doc -->
|
---|
| 464 | * <!-- end-user-doc -->
|
---|
| 465 | * @generated
|
---|
| 466 | */
|
---|
| 467 | public EAttribute getSectionHeading_SectionHeader()
|
---|
| 468 | {
|
---|
| 469 | return (EAttribute)sectionHeadingEClass.getEStructuralFeatures().get(0);
|
---|
| 470 | }
|
---|
| 471 |
|
---|
| 472 | /**
|
---|
| 473 | * <!-- begin-user-doc -->
|
---|
| 474 | * <!-- end-user-doc -->
|
---|
| 475 | * @generated
|
---|
| 476 | */
|
---|
| 477 | public EClass getImport()
|
---|
| 478 | {
|
---|
| 479 | return importEClass;
|
---|
| 480 | }
|
---|
| 481 |
|
---|
| 482 | /**
|
---|
| 483 | * <!-- begin-user-doc -->
|
---|
| 484 | * <!-- end-user-doc -->
|
---|
| 485 | * @generated
|
---|
| 486 | */
|
---|
| 487 | public EAttribute getImport_ImportURI()
|
---|
| 488 | {
|
---|
| 489 | return (EAttribute)importEClass.getEStructuralFeatures().get(0);
|
---|
| 490 | }
|
---|
| 491 |
|
---|
| 492 | /**
|
---|
| 493 | * <!-- begin-user-doc -->
|
---|
| 494 | * <!-- end-user-doc -->
|
---|
| 495 | * @generated
|
---|
| 496 | */
|
---|
| 497 | public EAttribute getImport_GrammarType()
|
---|
| 498 | {
|
---|
| 499 | return (EAttribute)importEClass.getEStructuralFeatures().get(1);
|
---|
| 500 | }
|
---|
| 501 |
|
---|
| 502 | /**
|
---|
| 503 | * <!-- begin-user-doc -->
|
---|
| 504 | * <!-- end-user-doc -->
|
---|
| 505 | * @generated
|
---|
| 506 | */
|
---|
| 507 | public EAttribute getImport_Label()
|
---|
| 508 | {
|
---|
| 509 | return (EAttribute)importEClass.getEStructuralFeatures().get(2);
|
---|
| 510 | }
|
---|
| 511 |
|
---|
| 512 | /**
|
---|
| 513 | * <!-- begin-user-doc -->
|
---|
| 514 | * <!-- end-user-doc -->
|
---|
| 515 | * @generated
|
---|
| 516 | */
|
---|
| 517 | public EClass getRule()
|
---|
| 518 | {
|
---|
| 519 | return ruleEClass;
|
---|
| 520 | }
|
---|
| 521 |
|
---|
| 522 | /**
|
---|
| 523 | * <!-- begin-user-doc -->
|
---|
| 524 | * <!-- end-user-doc -->
|
---|
| 525 | * @generated
|
---|
| 526 | */
|
---|
| 527 | public EAttribute getRule_Rulenumber()
|
---|
| 528 | {
|
---|
| 529 | return (EAttribute)ruleEClass.getEStructuralFeatures().get(0);
|
---|
| 530 | }
|
---|
| 531 |
|
---|
| 532 | /**
|
---|
| 533 | * <!-- begin-user-doc -->
|
---|
| 534 | * <!-- end-user-doc -->
|
---|
| 535 | * @generated
|
---|
| 536 | */
|
---|
| 537 | public EAttribute getRule_Rulevariant()
|
---|
| 538 | {
|
---|
| 539 | return (EAttribute)ruleEClass.getEStructuralFeatures().get(1);
|
---|
| 540 | }
|
---|
| 541 |
|
---|
| 542 | /**
|
---|
| 543 | * <!-- begin-user-doc -->
|
---|
| 544 | * <!-- end-user-doc -->
|
---|
| 545 | * @generated
|
---|
| 546 | */
|
---|
| 547 | public EAttribute getRule_Name()
|
---|
| 548 | {
|
---|
| 549 | return (EAttribute)ruleEClass.getEStructuralFeatures().get(2);
|
---|
| 550 | }
|
---|
| 551 |
|
---|
| 552 | /**
|
---|
| 553 | * <!-- begin-user-doc -->
|
---|
| 554 | * <!-- end-user-doc -->
|
---|
| 555 | * @generated
|
---|
| 556 | */
|
---|
| 557 | public EReference getRule_DefinitionList()
|
---|
| 558 | {
|
---|
| 559 | return (EReference)ruleEClass.getEStructuralFeatures().get(3);
|
---|
| 560 | }
|
---|
| 561 |
|
---|
| 562 | /**
|
---|
| 563 | * <!-- begin-user-doc -->
|
---|
| 564 | * <!-- end-user-doc -->
|
---|
| 565 | * @generated
|
---|
| 566 | */
|
---|
| 567 | public EClass getExtRule()
|
---|
| 568 | {
|
---|
| 569 | return extRuleEClass;
|
---|
| 570 | }
|
---|
| 571 |
|
---|
| 572 | /**
|
---|
| 573 | * <!-- begin-user-doc -->
|
---|
| 574 | * <!-- end-user-doc -->
|
---|
| 575 | * @generated
|
---|
| 576 | */
|
---|
| 577 | public EAttribute getExtRule_Rulenumber()
|
---|
| 578 | {
|
---|
| 579 | return (EAttribute)extRuleEClass.getEStructuralFeatures().get(0);
|
---|
| 580 | }
|
---|
| 581 |
|
---|
| 582 | /**
|
---|
| 583 | * <!-- begin-user-doc -->
|
---|
| 584 | * <!-- end-user-doc -->
|
---|
| 585 | * @generated
|
---|
| 586 | */
|
---|
| 587 | public EAttribute getExtRule_Rulevariant()
|
---|
| 588 | {
|
---|
| 589 | return (EAttribute)extRuleEClass.getEStructuralFeatures().get(1);
|
---|
| 590 | }
|
---|
| 591 |
|
---|
| 592 | /**
|
---|
| 593 | * <!-- begin-user-doc -->
|
---|
| 594 | * <!-- end-user-doc -->
|
---|
| 595 | * @generated
|
---|
| 596 | */
|
---|
| 597 | public EAttribute getExtRule_Name()
|
---|
| 598 | {
|
---|
| 599 | return (EAttribute)extRuleEClass.getEStructuralFeatures().get(2);
|
---|
| 600 | }
|
---|
| 601 |
|
---|
| 602 | /**
|
---|
| 603 | * <!-- begin-user-doc -->
|
---|
| 604 | * <!-- end-user-doc -->
|
---|
| 605 | * @generated
|
---|
| 606 | */
|
---|
| 607 | public EAttribute getExtRule_Ruleext()
|
---|
| 608 | {
|
---|
| 609 | return (EAttribute)extRuleEClass.getEStructuralFeatures().get(3);
|
---|
| 610 | }
|
---|
| 611 |
|
---|
| 612 | /**
|
---|
| 613 | * <!-- begin-user-doc -->
|
---|
| 614 | * <!-- end-user-doc -->
|
---|
| 615 | * @generated
|
---|
| 616 | */
|
---|
| 617 | public EReference getExtRule_Elements()
|
---|
| 618 | {
|
---|
| 619 | return (EReference)extRuleEClass.getEStructuralFeatures().get(4);
|
---|
| 620 | }
|
---|
| 621 |
|
---|
| 622 | /**
|
---|
| 623 | * <!-- begin-user-doc -->
|
---|
| 624 | * <!-- end-user-doc -->
|
---|
| 625 | * @generated
|
---|
| 626 | */
|
---|
| 627 | public EClass getMergeRule()
|
---|
| 628 | {
|
---|
| 629 | return mergeRuleEClass;
|
---|
| 630 | }
|
---|
| 631 |
|
---|
| 632 | /**
|
---|
| 633 | * <!-- begin-user-doc -->
|
---|
| 634 | * <!-- end-user-doc -->
|
---|
| 635 | * @generated
|
---|
| 636 | */
|
---|
| 637 | public EAttribute getMergeRule_Logic()
|
---|
| 638 | {
|
---|
| 639 | return (EAttribute)mergeRuleEClass.getEStructuralFeatures().get(0);
|
---|
| 640 | }
|
---|
| 641 |
|
---|
| 642 | /**
|
---|
| 643 | * <!-- begin-user-doc -->
|
---|
| 644 | * <!-- end-user-doc -->
|
---|
| 645 | * @generated
|
---|
| 646 | */
|
---|
| 647 | public EClass getGlobalCombinator()
|
---|
| 648 | {
|
---|
| 649 | return globalCombinatorEClass;
|
---|
| 650 | }
|
---|
| 651 |
|
---|
| 652 | /**
|
---|
| 653 | * <!-- begin-user-doc -->
|
---|
| 654 | * <!-- end-user-doc -->
|
---|
| 655 | * @generated
|
---|
| 656 | */
|
---|
| 657 | public EClass getRuleCombinator()
|
---|
| 658 | {
|
---|
| 659 | return ruleCombinatorEClass;
|
---|
| 660 | }
|
---|
| 661 |
|
---|
| 662 | /**
|
---|
| 663 | * <!-- begin-user-doc -->
|
---|
| 664 | * <!-- end-user-doc -->
|
---|
| 665 | * @generated
|
---|
| 666 | */
|
---|
| 667 | public EAttribute getRuleCombinator_Name()
|
---|
| 668 | {
|
---|
| 669 | return (EAttribute)ruleCombinatorEClass.getEStructuralFeatures().get(0);
|
---|
| 670 | }
|
---|
| 671 |
|
---|
| 672 | /**
|
---|
| 673 | * <!-- begin-user-doc -->
|
---|
| 674 | * <!-- end-user-doc -->
|
---|
| 675 | * @generated
|
---|
| 676 | */
|
---|
| 677 | public EAttribute getRuleCombinator_LABEL()
|
---|
| 678 | {
|
---|
| 679 | return (EAttribute)ruleCombinatorEClass.getEStructuralFeatures().get(1);
|
---|
| 680 | }
|
---|
| 681 |
|
---|
| 682 | /**
|
---|
| 683 | * <!-- begin-user-doc -->
|
---|
| 684 | * <!-- end-user-doc -->
|
---|
| 685 | * @generated
|
---|
| 686 | */
|
---|
| 687 | public EClass getHookCombinator()
|
---|
| 688 | {
|
---|
| 689 | return hookCombinatorEClass;
|
---|
| 690 | }
|
---|
| 691 |
|
---|
| 692 | /**
|
---|
| 693 | * <!-- begin-user-doc -->
|
---|
| 694 | * <!-- end-user-doc -->
|
---|
| 695 | * @generated
|
---|
| 696 | */
|
---|
| 697 | public EAttribute getHookCombinator_Name()
|
---|
| 698 | {
|
---|
| 699 | return (EAttribute)hookCombinatorEClass.getEStructuralFeatures().get(0);
|
---|
| 700 | }
|
---|
| 701 |
|
---|
| 702 | /**
|
---|
| 703 | * <!-- begin-user-doc -->
|
---|
| 704 | * <!-- end-user-doc -->
|
---|
| 705 | * @generated
|
---|
| 706 | */
|
---|
| 707 | public EAttribute getHookCombinator_Ruleext()
|
---|
| 708 | {
|
---|
| 709 | return (EAttribute)hookCombinatorEClass.getEStructuralFeatures().get(1);
|
---|
| 710 | }
|
---|
| 711 |
|
---|
| 712 | /**
|
---|
| 713 | * <!-- begin-user-doc -->
|
---|
| 714 | * <!-- end-user-doc -->
|
---|
| 715 | * @generated
|
---|
| 716 | */
|
---|
| 717 | public EAttribute getHookCombinator_LABEL()
|
---|
| 718 | {
|
---|
| 719 | return (EAttribute)hookCombinatorEClass.getEStructuralFeatures().get(2);
|
---|
| 720 | }
|
---|
| 721 |
|
---|
| 722 | /**
|
---|
| 723 | * <!-- begin-user-doc -->
|
---|
| 724 | * <!-- end-user-doc -->
|
---|
| 725 | * @generated
|
---|
| 726 | */
|
---|
| 727 | public EClass getDefinitionList()
|
---|
| 728 | {
|
---|
| 729 | return definitionListEClass;
|
---|
| 730 | }
|
---|
| 731 |
|
---|
| 732 | /**
|
---|
| 733 | * <!-- begin-user-doc -->
|
---|
| 734 | * <!-- end-user-doc -->
|
---|
| 735 | * @generated
|
---|
| 736 | */
|
---|
| 737 | public EReference getDefinitionList_SingleDefinition()
|
---|
| 738 | {
|
---|
| 739 | return (EReference)definitionListEClass.getEStructuralFeatures().get(0);
|
---|
| 740 | }
|
---|
| 741 |
|
---|
| 742 | /**
|
---|
| 743 | * <!-- begin-user-doc -->
|
---|
| 744 | * <!-- end-user-doc -->
|
---|
| 745 | * @generated
|
---|
| 746 | */
|
---|
| 747 | public EClass getSingleDefinition()
|
---|
| 748 | {
|
---|
| 749 | return singleDefinitionEClass;
|
---|
| 750 | }
|
---|
| 751 |
|
---|
| 752 | /**
|
---|
| 753 | * <!-- begin-user-doc -->
|
---|
| 754 | * <!-- end-user-doc -->
|
---|
| 755 | * @generated
|
---|
| 756 | */
|
---|
| 757 | public EReference getSingleDefinition_Terms()
|
---|
| 758 | {
|
---|
| 759 | return (EReference)singleDefinitionEClass.getEStructuralFeatures().get(0);
|
---|
| 760 | }
|
---|
| 761 |
|
---|
| 762 | /**
|
---|
| 763 | * <!-- begin-user-doc -->
|
---|
| 764 | * <!-- end-user-doc -->
|
---|
| 765 | * @generated
|
---|
| 766 | */
|
---|
| 767 | public EClass getTerm()
|
---|
| 768 | {
|
---|
| 769 | return termEClass;
|
---|
| 770 | }
|
---|
| 771 |
|
---|
| 772 | /**
|
---|
| 773 | * <!-- begin-user-doc -->
|
---|
| 774 | * <!-- end-user-doc -->
|
---|
| 775 | * @generated
|
---|
| 776 | */
|
---|
| 777 | public EReference getTerm_TermAtom()
|
---|
| 778 | {
|
---|
| 779 | return (EReference)termEClass.getEStructuralFeatures().get(0);
|
---|
| 780 | }
|
---|
| 781 |
|
---|
| 782 | /**
|
---|
| 783 | * <!-- begin-user-doc -->
|
---|
| 784 | * <!-- end-user-doc -->
|
---|
| 785 | * @generated
|
---|
| 786 | */
|
---|
| 787 | public EReference getTerm_TermGroupedSequence()
|
---|
| 788 | {
|
---|
| 789 | return (EReference)termEClass.getEStructuralFeatures().get(1);
|
---|
| 790 | }
|
---|
| 791 |
|
---|
| 792 | /**
|
---|
| 793 | * <!-- begin-user-doc -->
|
---|
| 794 | * <!-- end-user-doc -->
|
---|
| 795 | * @generated
|
---|
| 796 | */
|
---|
| 797 | public EReference getTerm_TermOptionalSequence()
|
---|
| 798 | {
|
---|
| 799 | return (EReference)termEClass.getEStructuralFeatures().get(2);
|
---|
| 800 | }
|
---|
| 801 |
|
---|
| 802 | /**
|
---|
| 803 | * <!-- begin-user-doc -->
|
---|
| 804 | * <!-- end-user-doc -->
|
---|
| 805 | * @generated
|
---|
| 806 | */
|
---|
| 807 | public EReference getTerm_TermRepeatedSequence()
|
---|
| 808 | {
|
---|
| 809 | return (EReference)termEClass.getEStructuralFeatures().get(3);
|
---|
| 810 | }
|
---|
| 811 |
|
---|
| 812 | /**
|
---|
| 813 | * <!-- begin-user-doc -->
|
---|
| 814 | * <!-- end-user-doc -->
|
---|
| 815 | * @generated
|
---|
| 816 | */
|
---|
| 817 | public EClass getAtom()
|
---|
| 818 | {
|
---|
| 819 | return atomEClass;
|
---|
| 820 | }
|
---|
| 821 |
|
---|
| 822 | /**
|
---|
| 823 | * <!-- begin-user-doc -->
|
---|
| 824 | * <!-- end-user-doc -->
|
---|
| 825 | * @generated
|
---|
| 826 | */
|
---|
| 827 | public EReference getAtom_AtomStringRule()
|
---|
| 828 | {
|
---|
| 829 | return (EReference)atomEClass.getEStructuralFeatures().get(0);
|
---|
| 830 | }
|
---|
| 831 |
|
---|
| 832 | /**
|
---|
| 833 | * <!-- begin-user-doc -->
|
---|
| 834 | * <!-- end-user-doc -->
|
---|
| 835 | * @generated
|
---|
| 836 | */
|
---|
| 837 | public EReference getAtom_AtomRuleReference()
|
---|
| 838 | {
|
---|
| 839 | return (EReference)atomEClass.getEStructuralFeatures().get(1);
|
---|
| 840 | }
|
---|
| 841 |
|
---|
| 842 | /**
|
---|
| 843 | * <!-- begin-user-doc -->
|
---|
| 844 | * <!-- end-user-doc -->
|
---|
| 845 | * @generated
|
---|
| 846 | */
|
---|
| 847 | public EClass getRuleReference()
|
---|
| 848 | {
|
---|
| 849 | return ruleReferenceEClass;
|
---|
| 850 | }
|
---|
| 851 |
|
---|
| 852 | /**
|
---|
| 853 | * <!-- begin-user-doc -->
|
---|
| 854 | * <!-- end-user-doc -->
|
---|
| 855 | * @generated
|
---|
| 856 | */
|
---|
| 857 | public EReference getRuleReference_Ruleref()
|
---|
| 858 | {
|
---|
| 859 | return (EReference)ruleReferenceEClass.getEStructuralFeatures().get(0);
|
---|
| 860 | }
|
---|
| 861 |
|
---|
| 862 | /**
|
---|
| 863 | * <!-- begin-user-doc -->
|
---|
| 864 | * <!-- end-user-doc -->
|
---|
| 865 | * @generated
|
---|
| 866 | */
|
---|
| 867 | public EClass getStringRule()
|
---|
| 868 | {
|
---|
| 869 | return stringRuleEClass;
|
---|
| 870 | }
|
---|
| 871 |
|
---|
| 872 | /**
|
---|
| 873 | * <!-- begin-user-doc -->
|
---|
| 874 | * <!-- end-user-doc -->
|
---|
| 875 | * @generated
|
---|
| 876 | */
|
---|
| 877 | public EAttribute getStringRule_Literal()
|
---|
| 878 | {
|
---|
| 879 | return (EAttribute)stringRuleEClass.getEStructuralFeatures().get(0);
|
---|
| 880 | }
|
---|
| 881 |
|
---|
| 882 | /**
|
---|
| 883 | * <!-- begin-user-doc -->
|
---|
| 884 | * <!-- end-user-doc -->
|
---|
| 885 | * @generated
|
---|
| 886 | */
|
---|
| 887 | public EAttribute getStringRule_Colon()
|
---|
| 888 | {
|
---|
| 889 | return (EAttribute)stringRuleEClass.getEStructuralFeatures().get(1);
|
---|
| 890 | }
|
---|
| 891 |
|
---|
| 892 | /**
|
---|
| 893 | * <!-- begin-user-doc -->
|
---|
| 894 | * <!-- end-user-doc -->
|
---|
| 895 | * @generated
|
---|
| 896 | */
|
---|
| 897 | public EClass getGroupedSequence()
|
---|
| 898 | {
|
---|
| 899 | return groupedSequenceEClass;
|
---|
| 900 | }
|
---|
| 901 |
|
---|
| 902 | /**
|
---|
| 903 | * <!-- begin-user-doc -->
|
---|
| 904 | * <!-- end-user-doc -->
|
---|
| 905 | * @generated
|
---|
| 906 | */
|
---|
| 907 | public EReference getGroupedSequence_DefinitionList()
|
---|
| 908 | {
|
---|
| 909 | return (EReference)groupedSequenceEClass.getEStructuralFeatures().get(0);
|
---|
| 910 | }
|
---|
| 911 |
|
---|
| 912 | /**
|
---|
| 913 | * <!-- begin-user-doc -->
|
---|
| 914 | * <!-- end-user-doc -->
|
---|
| 915 | * @generated
|
---|
| 916 | */
|
---|
| 917 | public EClass getOptionalSequence()
|
---|
| 918 | {
|
---|
| 919 | return optionalSequenceEClass;
|
---|
| 920 | }
|
---|
| 921 |
|
---|
| 922 | /**
|
---|
| 923 | * <!-- begin-user-doc -->
|
---|
| 924 | * <!-- end-user-doc -->
|
---|
| 925 | * @generated
|
---|
| 926 | */
|
---|
| 927 | public EReference getOptionalSequence_DefinitionList()
|
---|
| 928 | {
|
---|
| 929 | return (EReference)optionalSequenceEClass.getEStructuralFeatures().get(0);
|
---|
| 930 | }
|
---|
| 931 |
|
---|
| 932 | /**
|
---|
| 933 | * <!-- begin-user-doc -->
|
---|
| 934 | * <!-- end-user-doc -->
|
---|
| 935 | * @generated
|
---|
| 936 | */
|
---|
| 937 | public EClass getRepeatedSequence()
|
---|
| 938 | {
|
---|
| 939 | return repeatedSequenceEClass;
|
---|
| 940 | }
|
---|
| 941 |
|
---|
| 942 | /**
|
---|
| 943 | * <!-- begin-user-doc -->
|
---|
| 944 | * <!-- end-user-doc -->
|
---|
| 945 | * @generated
|
---|
| 946 | */
|
---|
| 947 | public EReference getRepeatedSequence_Definitions()
|
---|
| 948 | {
|
---|
| 949 | return (EReference)repeatedSequenceEClass.getEStructuralFeatures().get(0);
|
---|
| 950 | }
|
---|
| 951 |
|
---|
| 952 | /**
|
---|
| 953 | * <!-- begin-user-doc -->
|
---|
| 954 | * <!-- end-user-doc -->
|
---|
| 955 | * @generated
|
---|
| 956 | */
|
---|
| 957 | public EAttribute getRepeatedSequence_Morethanonce()
|
---|
| 958 | {
|
---|
| 959 | return (EAttribute)repeatedSequenceEClass.getEStructuralFeatures().get(1);
|
---|
| 960 | }
|
---|
| 961 |
|
---|
| 962 | /**
|
---|
| 963 | * <!-- begin-user-doc -->
|
---|
| 964 | * <!-- end-user-doc -->
|
---|
| 965 | * @generated
|
---|
| 966 | */
|
---|
| 967 | public EbnfFactory getEbnfFactory()
|
---|
| 968 | {
|
---|
| 969 | return (EbnfFactory)getEFactoryInstance();
|
---|
| 970 | }
|
---|
| 971 |
|
---|
| 972 | /**
|
---|
| 973 | * <!-- begin-user-doc -->
|
---|
| 974 | * <!-- end-user-doc -->
|
---|
| 975 | * @generated
|
---|
| 976 | */
|
---|
| 977 | private boolean isCreated = false;
|
---|
| 978 |
|
---|
| 979 | /**
|
---|
| 980 | * Creates the meta-model objects for the package. This method is
|
---|
| 981 | * guarded to have no affect on any invocation but its first.
|
---|
| 982 | * <!-- begin-user-doc -->
|
---|
| 983 | * <!-- end-user-doc -->
|
---|
| 984 | * @generated
|
---|
| 985 | */
|
---|
| 986 | public void createPackageContents()
|
---|
| 987 | {
|
---|
| 988 | if (isCreated) return;
|
---|
| 989 | isCreated = true;
|
---|
| 990 |
|
---|
| 991 | // Create classes and their features
|
---|
| 992 | etsiBnfEClass = createEClass(ETSI_BNF);
|
---|
| 993 | createEAttribute(etsiBnfEClass, ETSI_BNF__NAME);
|
---|
| 994 | createEAttribute(etsiBnfEClass, ETSI_BNF__TYPE);
|
---|
| 995 | createEReference(etsiBnfEClass, ETSI_BNF__IMPORT_SECTION);
|
---|
| 996 | createEReference(etsiBnfEClass, ETSI_BNF__BNF_ENTRY);
|
---|
| 997 | createEReference(etsiBnfEClass, ETSI_BNF__DELTA_ENTRY);
|
---|
| 998 | createEReference(etsiBnfEClass, ETSI_BNF__MERGE_ENTRY);
|
---|
| 999 |
|
---|
| 1000 | importSectionEClass = createEClass(IMPORT_SECTION);
|
---|
| 1001 | createEReference(importSectionEClass, IMPORT_SECTION__IMPORTS);
|
---|
| 1002 |
|
---|
| 1003 | bnfEntryEClass = createEClass(BNF_ENTRY);
|
---|
| 1004 | createEReference(bnfEntryEClass, BNF_ENTRY__SECTIONHEADER);
|
---|
| 1005 | createEReference(bnfEntryEClass, BNF_ENTRY__RULE);
|
---|
| 1006 |
|
---|
| 1007 | deltaEntryEClass = createEClass(DELTA_ENTRY);
|
---|
| 1008 | createEReference(deltaEntryEClass, DELTA_ENTRY__RULE);
|
---|
| 1009 | createEReference(deltaEntryEClass, DELTA_ENTRY__SECTIONHEADER);
|
---|
| 1010 | createEReference(deltaEntryEClass, DELTA_ENTRY__EXT_RULE);
|
---|
| 1011 |
|
---|
| 1012 | mergeEntryEClass = createEClass(MERGE_ENTRY);
|
---|
| 1013 | createEReference(mergeEntryEClass, MERGE_ENTRY__SECTIONHEADER);
|
---|
| 1014 | createEReference(mergeEntryEClass, MERGE_ENTRY__MERGE_RULE);
|
---|
| 1015 |
|
---|
| 1016 | sectionHeadingEClass = createEClass(SECTION_HEADING);
|
---|
| 1017 | createEAttribute(sectionHeadingEClass, SECTION_HEADING__SECTION_HEADER);
|
---|
| 1018 |
|
---|
| 1019 | importEClass = createEClass(IMPORT);
|
---|
| 1020 | createEAttribute(importEClass, IMPORT__IMPORT_URI);
|
---|
| 1021 | createEAttribute(importEClass, IMPORT__GRAMMAR_TYPE);
|
---|
| 1022 | createEAttribute(importEClass, IMPORT__LABEL);
|
---|
| 1023 |
|
---|
| 1024 | ruleEClass = createEClass(RULE);
|
---|
| 1025 | createEAttribute(ruleEClass, RULE__RULENUMBER);
|
---|
| 1026 | createEAttribute(ruleEClass, RULE__RULEVARIANT);
|
---|
| 1027 | createEAttribute(ruleEClass, RULE__NAME);
|
---|
| 1028 | createEReference(ruleEClass, RULE__DEFINITION_LIST);
|
---|
| 1029 |
|
---|
| 1030 | extRuleEClass = createEClass(EXT_RULE);
|
---|
| 1031 | createEAttribute(extRuleEClass, EXT_RULE__RULENUMBER);
|
---|
| 1032 | createEAttribute(extRuleEClass, EXT_RULE__RULEVARIANT);
|
---|
| 1033 | createEAttribute(extRuleEClass, EXT_RULE__NAME);
|
---|
| 1034 | createEAttribute(extRuleEClass, EXT_RULE__RULEEXT);
|
---|
| 1035 | createEReference(extRuleEClass, EXT_RULE__ELEMENTS);
|
---|
| 1036 |
|
---|
| 1037 | mergeRuleEClass = createEClass(MERGE_RULE);
|
---|
| 1038 | createEAttribute(mergeRuleEClass, MERGE_RULE__LOGIC);
|
---|
| 1039 |
|
---|
| 1040 | globalCombinatorEClass = createEClass(GLOBAL_COMBINATOR);
|
---|
| 1041 |
|
---|
| 1042 | ruleCombinatorEClass = createEClass(RULE_COMBINATOR);
|
---|
| 1043 | createEAttribute(ruleCombinatorEClass, RULE_COMBINATOR__NAME);
|
---|
| 1044 | createEAttribute(ruleCombinatorEClass, RULE_COMBINATOR__LABEL);
|
---|
| 1045 |
|
---|
| 1046 | hookCombinatorEClass = createEClass(HOOK_COMBINATOR);
|
---|
| 1047 | createEAttribute(hookCombinatorEClass, HOOK_COMBINATOR__NAME);
|
---|
| 1048 | createEAttribute(hookCombinatorEClass, HOOK_COMBINATOR__RULEEXT);
|
---|
| 1049 | createEAttribute(hookCombinatorEClass, HOOK_COMBINATOR__LABEL);
|
---|
| 1050 |
|
---|
| 1051 | definitionListEClass = createEClass(DEFINITION_LIST);
|
---|
| 1052 | createEReference(definitionListEClass, DEFINITION_LIST__SINGLE_DEFINITION);
|
---|
| 1053 |
|
---|
| 1054 | singleDefinitionEClass = createEClass(SINGLE_DEFINITION);
|
---|
| 1055 | createEReference(singleDefinitionEClass, SINGLE_DEFINITION__TERMS);
|
---|
| 1056 |
|
---|
| 1057 | termEClass = createEClass(TERM);
|
---|
| 1058 | createEReference(termEClass, TERM__TERM_ATOM);
|
---|
| 1059 | createEReference(termEClass, TERM__TERM_GROUPED_SEQUENCE);
|
---|
| 1060 | createEReference(termEClass, TERM__TERM_OPTIONAL_SEQUENCE);
|
---|
| 1061 | createEReference(termEClass, TERM__TERM_REPEATED_SEQUENCE);
|
---|
| 1062 |
|
---|
| 1063 | atomEClass = createEClass(ATOM);
|
---|
| 1064 | createEReference(atomEClass, ATOM__ATOM_STRING_RULE);
|
---|
| 1065 | createEReference(atomEClass, ATOM__ATOM_RULE_REFERENCE);
|
---|
| 1066 |
|
---|
| 1067 | ruleReferenceEClass = createEClass(RULE_REFERENCE);
|
---|
| 1068 | createEReference(ruleReferenceEClass, RULE_REFERENCE__RULEREF);
|
---|
| 1069 |
|
---|
| 1070 | stringRuleEClass = createEClass(STRING_RULE);
|
---|
| 1071 | createEAttribute(stringRuleEClass, STRING_RULE__LITERAL);
|
---|
| 1072 | createEAttribute(stringRuleEClass, STRING_RULE__COLON);
|
---|
| 1073 |
|
---|
| 1074 | groupedSequenceEClass = createEClass(GROUPED_SEQUENCE);
|
---|
| 1075 | createEReference(groupedSequenceEClass, GROUPED_SEQUENCE__DEFINITION_LIST);
|
---|
| 1076 |
|
---|
| 1077 | optionalSequenceEClass = createEClass(OPTIONAL_SEQUENCE);
|
---|
| 1078 | createEReference(optionalSequenceEClass, OPTIONAL_SEQUENCE__DEFINITION_LIST);
|
---|
| 1079 |
|
---|
| 1080 | repeatedSequenceEClass = createEClass(REPEATED_SEQUENCE);
|
---|
| 1081 | createEReference(repeatedSequenceEClass, REPEATED_SEQUENCE__DEFINITIONS);
|
---|
| 1082 | createEAttribute(repeatedSequenceEClass, REPEATED_SEQUENCE__MORETHANONCE);
|
---|
| 1083 | }
|
---|
| 1084 |
|
---|
| 1085 | /**
|
---|
| 1086 | * <!-- begin-user-doc -->
|
---|
| 1087 | * <!-- end-user-doc -->
|
---|
| 1088 | * @generated
|
---|
| 1089 | */
|
---|
| 1090 | private boolean isInitialized = false;
|
---|
| 1091 |
|
---|
| 1092 | /**
|
---|
| 1093 | * Complete the initialization of the package and its meta-model. This
|
---|
| 1094 | * method is guarded to have no affect on any invocation but its first.
|
---|
| 1095 | * <!-- begin-user-doc -->
|
---|
| 1096 | * <!-- end-user-doc -->
|
---|
| 1097 | * @generated
|
---|
| 1098 | */
|
---|
| 1099 | public void initializePackageContents()
|
---|
| 1100 | {
|
---|
| 1101 | if (isInitialized) return;
|
---|
| 1102 | isInitialized = true;
|
---|
| 1103 |
|
---|
| 1104 | // Initialize package
|
---|
| 1105 | setName(eNAME);
|
---|
| 1106 | setNsPrefix(eNS_PREFIX);
|
---|
| 1107 | setNsURI(eNS_URI);
|
---|
| 1108 |
|
---|
| 1109 | // Create type parameters
|
---|
| 1110 |
|
---|
| 1111 | // Set bounds for type parameters
|
---|
| 1112 |
|
---|
| 1113 | // Add supertypes to classes
|
---|
| 1114 | globalCombinatorEClass.getESuperTypes().add(this.getMergeRule());
|
---|
| 1115 | ruleCombinatorEClass.getESuperTypes().add(this.getMergeRule());
|
---|
| 1116 | hookCombinatorEClass.getESuperTypes().add(this.getMergeRule());
|
---|
| 1117 |
|
---|
| 1118 | // Initialize classes and features; add operations and parameters
|
---|
| 1119 | initEClass(etsiBnfEClass, EtsiBnf.class, "EtsiBnf", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1120 | initEAttribute(getEtsiBnf_Name(), ecorePackage.getEString(), "name", null, 0, 1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1121 | initEAttribute(getEtsiBnf_Type(), ecorePackage.getEString(), "type", null, 0, 1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1122 | initEReference(getEtsiBnf_ImportSection(), this.getImportSection(), null, "importSection", null, 0, 1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1123 | initEReference(getEtsiBnf_BnfEntry(), this.getBnfEntry(), null, "bnfEntry", null, 0, -1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1124 | initEReference(getEtsiBnf_DeltaEntry(), this.getDeltaEntry(), null, "deltaEntry", null, 0, -1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1125 | initEReference(getEtsiBnf_MergeEntry(), this.getMergeEntry(), null, "mergeEntry", null, 0, -1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1126 |
|
---|
| 1127 | initEClass(importSectionEClass, ImportSection.class, "ImportSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1128 | initEReference(getImportSection_Imports(), this.getImport(), null, "imports", null, 0, -1, ImportSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1129 |
|
---|
| 1130 | initEClass(bnfEntryEClass, BnfEntry.class, "BnfEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1131 | initEReference(getBnfEntry_Sectionheader(), this.getSectionHeading(), null, "sectionheader", null, 0, 1, BnfEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1132 | initEReference(getBnfEntry_Rule(), this.getRule(), null, "rule", null, 0, 1, BnfEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1133 |
|
---|
| 1134 | initEClass(deltaEntryEClass, DeltaEntry.class, "DeltaEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1135 | initEReference(getDeltaEntry_Rule(), this.getRule(), null, "rule", null, 0, 1, DeltaEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1136 | initEReference(getDeltaEntry_Sectionheader(), this.getSectionHeading(), null, "sectionheader", null, 0, 1, DeltaEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1137 | initEReference(getDeltaEntry_ExtRule(), this.getExtRule(), null, "extRule", null, 0, 1, DeltaEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1138 |
|
---|
| 1139 | initEClass(mergeEntryEClass, MergeEntry.class, "MergeEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1140 | initEReference(getMergeEntry_Sectionheader(), this.getSectionHeading(), null, "sectionheader", null, 0, 1, MergeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1141 | initEReference(getMergeEntry_MergeRule(), this.getMergeRule(), null, "mergeRule", null, 0, 1, MergeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1142 |
|
---|
| 1143 | initEClass(sectionHeadingEClass, SectionHeading.class, "SectionHeading", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1144 | initEAttribute(getSectionHeading_SectionHeader(), ecorePackage.getEString(), "sectionHeader", null, 0, 1, SectionHeading.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1145 |
|
---|
| 1146 | initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1147 | initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1148 | initEAttribute(getImport_GrammarType(), ecorePackage.getEString(), "grammarType", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1149 | initEAttribute(getImport_Label(), ecorePackage.getEString(), "label", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1150 |
|
---|
| 1151 | initEClass(ruleEClass, Rule.class, "Rule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1152 | initEAttribute(getRule_Rulenumber(), ecorePackage.getEInt(), "rulenumber", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1153 | initEAttribute(getRule_Rulevariant(), ecorePackage.getEString(), "rulevariant", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1154 | initEAttribute(getRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1155 | initEReference(getRule_DefinitionList(), this.getDefinitionList(), null, "definitionList", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1156 |
|
---|
| 1157 | initEClass(extRuleEClass, ExtRule.class, "ExtRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1158 | initEAttribute(getExtRule_Rulenumber(), ecorePackage.getEInt(), "rulenumber", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1159 | initEAttribute(getExtRule_Rulevariant(), ecorePackage.getEString(), "rulevariant", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1160 | initEAttribute(getExtRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1161 | initEAttribute(getExtRule_Ruleext(), ecorePackage.getEInt(), "ruleext", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1162 | initEReference(getExtRule_Elements(), this.getAtom(), null, "elements", null, 0, -1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1163 |
|
---|
| 1164 | initEClass(mergeRuleEClass, MergeRule.class, "MergeRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1165 | initEAttribute(getMergeRule_Logic(), ecorePackage.getEString(), "logic", null, 0, 1, MergeRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1166 |
|
---|
| 1167 | initEClass(globalCombinatorEClass, GlobalCombinator.class, "GlobalCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1168 |
|
---|
| 1169 | initEClass(ruleCombinatorEClass, RuleCombinator.class, "RuleCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1170 | initEAttribute(getRuleCombinator_Name(), ecorePackage.getEString(), "name", null, 0, 1, RuleCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1171 | initEAttribute(getRuleCombinator_LABEL(), ecorePackage.getEString(), "LABEL", null, 0, -1, RuleCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1172 |
|
---|
| 1173 | initEClass(hookCombinatorEClass, HookCombinator.class, "HookCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1174 | initEAttribute(getHookCombinator_Name(), ecorePackage.getEString(), "name", null, 0, 1, HookCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1175 | initEAttribute(getHookCombinator_Ruleext(), ecorePackage.getEInt(), "ruleext", null, 0, 1, HookCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1176 | initEAttribute(getHookCombinator_LABEL(), ecorePackage.getEString(), "LABEL", null, 0, -1, HookCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1177 |
|
---|
| 1178 | initEClass(definitionListEClass, DefinitionList.class, "DefinitionList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1179 | initEReference(getDefinitionList_SingleDefinition(), this.getSingleDefinition(), null, "singleDefinition", null, 0, -1, DefinitionList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1180 |
|
---|
| 1181 | initEClass(singleDefinitionEClass, SingleDefinition.class, "SingleDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1182 | initEReference(getSingleDefinition_Terms(), this.getTerm(), null, "terms", null, 0, -1, SingleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1183 |
|
---|
| 1184 | initEClass(termEClass, Term.class, "Term", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1185 | initEReference(getTerm_TermAtom(), this.getAtom(), null, "termAtom", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1186 | initEReference(getTerm_TermGroupedSequence(), this.getGroupedSequence(), null, "termGroupedSequence", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1187 | initEReference(getTerm_TermOptionalSequence(), this.getOptionalSequence(), null, "termOptionalSequence", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1188 | initEReference(getTerm_TermRepeatedSequence(), this.getRepeatedSequence(), null, "termRepeatedSequence", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1189 |
|
---|
| 1190 | initEClass(atomEClass, Atom.class, "Atom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1191 | initEReference(getAtom_AtomStringRule(), this.getStringRule(), null, "atomStringRule", null, 0, 1, Atom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1192 | initEReference(getAtom_AtomRuleReference(), this.getRuleReference(), null, "atomRuleReference", null, 0, 1, Atom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1193 |
|
---|
| 1194 | initEClass(ruleReferenceEClass, RuleReference.class, "RuleReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1195 | initEReference(getRuleReference_Ruleref(), this.getRule(), null, "ruleref", null, 0, 1, RuleReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1196 |
|
---|
| 1197 | initEClass(stringRuleEClass, StringRule.class, "StringRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1198 | initEAttribute(getStringRule_Literal(), ecorePackage.getEString(), "literal", null, 0, 1, StringRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1199 | initEAttribute(getStringRule_Colon(), ecorePackage.getEString(), "colon", null, 0, 1, StringRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1200 |
|
---|
| 1201 | initEClass(groupedSequenceEClass, GroupedSequence.class, "GroupedSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1202 | initEReference(getGroupedSequence_DefinitionList(), this.getDefinitionList(), null, "definitionList", null, 0, -1, GroupedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1203 |
|
---|
| 1204 | initEClass(optionalSequenceEClass, OptionalSequence.class, "OptionalSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1205 | initEReference(getOptionalSequence_DefinitionList(), this.getDefinitionList(), null, "definitionList", null, 0, -1, OptionalSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1206 |
|
---|
| 1207 | initEClass(repeatedSequenceEClass, RepeatedSequence.class, "RepeatedSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
---|
| 1208 | initEReference(getRepeatedSequence_Definitions(), this.getDefinitionList(), null, "definitions", null, 0, -1, RepeatedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1209 | initEAttribute(getRepeatedSequence_Morethanonce(), ecorePackage.getEBoolean(), "morethanonce", null, 0, 1, RepeatedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
---|
| 1210 |
|
---|
| 1211 | // Create resource
|
---|
| 1212 | createResource(eNS_URI);
|
---|
| 1213 | }
|
---|
| 1214 |
|
---|
| 1215 | } //EbnfPackageImpl
|
---|