Changeset 99 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src
- Timestamp:
- 10/12/16 15:29:06 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/generator/EbnfGenerator.xtend
r92 r99 24 24 import org.eclipse.core.resources.ResourcesPlugin 25 25 import de.ugoe.cs.swe.bnftools.ebnf.RepeatRange 26 import de.ugoe.cs.swe.bnftools.ebnf.Comment 26 27 27 28 /** … … 111 112 «bnfEntry.sectionheader.compile» 112 113 «ENDIF» 114 «IF bnfEntry.comment!= null» 115 «bnfEntry.comment.compile» 116 «ENDIF» 113 117 ''' 114 118 … … 118 122 119 123 ''' 124 def compile(Comment comment) ''' 125 126 <fo:block><fo:inline color="#00AA00">«comment.content.replaceAll('<','<').replaceAll('>','>')»</fo:inline></fo:block> 127 128 ''' 129 120 130 121 131 def compile(Rule rule) '''<fo:block><fo:inline id="«rule.name»" color="black">«IF rule.rulenumber != 0»«rule.
Note: See TracChangeset
for help on using the changeset viewer.