Changeset 100 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer
- Timestamp:
- 10/12/16 15:29:26 (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
r95 r100 5 5 import de.ugoe.cs.swe.bnftools.ebnf.Atom; 6 6 import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry; 7 import de.ugoe.cs.swe.bnftools.ebnf.Comment; 7 8 import de.ugoe.cs.swe.bnftools.ebnf.DefinitionList; 8 9 import de.ugoe.cs.swe.bnftools.ebnf.DeltaEntry; … … 59 60 } 60 61 else break; 62 case EbnfPackage.COMMENT: 63 if(context == grammarAccess.getCommentRule()) { 64 sequence_Comment(context, (Comment) semanticObject); 65 return; 66 } 67 else break; 61 68 case EbnfPackage.DEFINITION_LIST: 62 69 if(context == grammarAccess.getDefinitionListRule()) { … … 197 204 /** 198 205 * Constraint: 199 * (sectionheader=SectionHeading | rule=Rule )206 * (sectionheader=SectionHeading | rule=Rule | comment=Comment) 200 207 */ 201 208 protected void sequence_BnfEntry(EObject context, BnfEntry semanticObject) { 202 209 genericSequencer.createSequence(context, semanticObject); 210 } 211 212 213 /** 214 * Constraint: 215 * content=ML_COMMENT 216 */ 217 protected void sequence_Comment(EObject context, Comment semanticObject) { 218 if(errorAcceptor != null) { 219 if(transientValues.isValueTransient(semanticObject, EbnfPackage.Literals.COMMENT__CONTENT) == ValueTransient.YES) 220 errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, EbnfPackage.Literals.COMMENT__CONTENT)); 221 } 222 INodesForEObjectProvider nodes = createNodeProvider(semanticObject); 223 SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); 224 feeder.accept(grammarAccess.getCommentAccess().getContentML_COMMENTTerminalRuleCall_1_0(), semanticObject.getContent()); 225 feeder.finish(); 203 226 } 204 227 -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer/EbnfSyntacticSequencer.java
r95 r100 76 76 * Syntax: 77 77 * ( 78 ']' | 79 '(' | 80 '|' | 78 81 '}' | 79 82 '*' | 80 ']' | 81 '|' | 82 '(' | 83 '+' | 83 84 '{' | 84 '+' |85 85 ')' | 86 86 '['
Note: See TracChangeset
for help on using the changeset viewer.