Changeset 95 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer
- Timestamp:
- 10/12/16 14:34:24 (8 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer/EbnfSemanticSequencer.java
r88 r95 17 17 import de.ugoe.cs.swe.bnftools.ebnf.MergeEntry; 18 18 import de.ugoe.cs.swe.bnftools.ebnf.OptionalSequence; 19 import de.ugoe.cs.swe.bnftools.ebnf.RepeatRange; 19 20 import de.ugoe.cs.swe.bnftools.ebnf.RepeatedSequence; 20 21 import de.ugoe.cs.swe.bnftools.ebnf.Rule; … … 126 127 } 127 128 else break; 129 case EbnfPackage.REPEAT_RANGE: 130 if(context == grammarAccess.getRepeatRangeRule()) { 131 sequence_RepeatRange(context, (RepeatRange) semanticObject); 132 return; 133 } 134 else break; 128 135 case EbnfPackage.REPEATED_SEQUENCE: 129 136 if(context == grammarAccess.getRepeatedSequenceRule()) { … … 309 316 /** 310 317 * Constraint: 311 * (definitions+=DefinitionList morethanonce?='+'?) 318 * (from=INT to=INT) 319 */ 320 protected void sequence_RepeatRange(EObject context, RepeatRange semanticObject) { 321 if(errorAcceptor != null) { 322 if(transientValues.isValueTransient(semanticObject, EbnfPackage.Literals.REPEAT_RANGE__FROM) == ValueTransient.YES) 323 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, EbnfPackage.Literals.REPEAT_RANGE__FROM)); 324 if(transientValues.isValueTransient(semanticObject, EbnfPackage.Literals.REPEAT_RANGE__TO) == ValueTransient.YES) 325 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, EbnfPackage.Literals.REPEAT_RANGE__TO)); 326 } 327 INodesForEObjectProvider nodes = createNodeProvider(semanticObject); 328 SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); 329 feeder.accept(grammarAccess.getRepeatRangeAccess().getFromINTTerminalRuleCall_2_0(), semanticObject.getFrom()); 330 feeder.accept(grammarAccess.getRepeatRangeAccess().getToINTTerminalRuleCall_4_0(), semanticObject.getTo()); 331 feeder.finish(); 332 } 333 334 335 /** 336 * Constraint: 337 * (definitions+=DefinitionList (morethanonce?='+'? | range=RepeatRange?)) 312 338 */ 313 339 protected void sequence_RepeatedSequence(EObject context, RepeatedSequence semanticObject) { -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer/EbnfSyntacticSequencer.java
r88 r95 76 76 * Syntax: 77 77 * ( 78 '{' |79 78 '}' | 80 ' [' |79 '*' | 81 80 ']' | 82 '*' |83 '+' |84 81 '|' | 85 82 '(' | 86 ')' 83 '{' | 84 '+' | 85 ')' | 86 '[' 87 87 )* 88 88 */
Note: See TracChangeset
for help on using the changeset viewer.