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