final Resource res  final IFileSystemAccess access
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
{
      EList<EObject> _contents = res.getContents();
      EObject _head = IterableExtensions.<EObject>head(_contents);
      AbstractSection _mainSection = ((XdocFile) _head)==null?(AbstractSection)null:((XdocFile) _head).getMainSection();
      final AbstractSection doc = _mainSection;
      if ((doc instanceof org.eclipse.xtext.xdoc.xdoc.Document)) {
        this.generate(((Document) doc), access);
  public void generate(final Document document, final IFileSystemAccess access) {
      Map<AbstractSection,String> _computeURLs = this.eclipseNamingExtensions.computeURLs(document);
      final Map<AbstractSection,String> fileNames = _computeURLs;
      StringConcatenation _generateToc = this.tocGenerator.generateToc(document, fileNames);
      String _get = fileNames.get(document);
      StringConcatenation _generateRootDocument = this.generateRootDocument(document, fileNames);
      access.generateFile(_get, _generateRootDocument);
        this.generate(c, fileNames, access);
void doGenerate(final Resource res, final IFileSystemAccess access)
final Document document  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
StringConcatenation _builder = new StringConcatenation();
    _builder.append("<html>");
    _builder.newLine();
    _builder.append("<head>");
    _builder.newLine();
    _builder.append("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" >");
    _builder.newLine();
    _builder.append("<title>");
    TextOrMarkup _title = document.getTitle();
    CharSequence _genPlainText = this.plainText.genPlainText(_title);
    _builder.append(_genPlainText, "");
    _builder.append("</title>");
    _builder.newLineIfNotEmpty();
    _builder.newLine();
    _builder.append("<link href=\"book.css\" rel=\"stylesheet\" type=\"text/css\">");
    _builder.newLine();
    _builder.append("<link href=\"code.css\" rel=\"stylesheet\" type=\"text/css\">");
    _builder.newLine();
    _builder.append("<link rel=\"home\" href=\"");
    String _get = fileNames.get(document);
    _builder.append(_get, "");
    _builder.append("\" title=\"\">");
    _builder.newLineIfNotEmpty();
    _builder.append("</head>");
    _builder.newLine();
    _builder.append("<body>");
    _builder.newLine();
    _builder.append("<h1>");
    TextOrMarkup _title_1 = document.getTitle();
    CharSequence _genPlainText_1 = this.plainText.genPlainText(_title_1);
    _builder.append(_genPlainText_1, "");
    _builder.append("</h1>");
    _builder.newLineIfNotEmpty();
    {
      EList<TextOrMarkup> _contents = document.getContents();
      for(TextOrMarkup content : _contents) {
        StringConcatenation _generatePar = this.generatePar(content, fileNames);
        _builder.append(_generatePar, "");
        _builder.newLineIfNotEmpty();
StringConcatenation generateRootDocument(final Document document, final Map<AbstractSection,String> fileNames)
final AbstractSection section  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
StringConcatenation _builder = new StringConcatenation();
    _builder.append("<li><a href=\"");
    String _get = fileNames.get(section);
    _builder.append(_get, "");
    _builder.append("\">");
    TextOrMarkup _title = section.getTitle();
    CharSequence _genPlainText = this.plainText.genPlainText(_title);
    _builder.append(_genPlainText, "");
    _builder.append("</a>");
    _builder.newLineIfNotEmpty();
    {
      List<? extends AbstractSection> _sections = this.sectionExtension.sections(section);
      boolean hasAnyElements = false;
      for(AbstractSection ss : _sections) {
        if (!hasAnyElements) {
          hasAnyElements = true;
          _builder.append("<ol>", "	");
StringConcatenation generateEntryInRoot(final AbstractSection section, final Map<AbstractSection,String> fileNames)
final Chapter chapter  final Map<AbstractSection String> fileNames  final IFileSystemAccess access
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
String _get = fileNames.get(chapter);
    CharSequence _generate = this.generate(chapter, fileNames);
    access.generateFile(_get, _generate);
  protected CharSequence _generate(final Chapter chapter, final Map<AbstractSection,String> fileNames) {
    TextOrMarkup _title = chapter.getTitle();
    {
      String _labelName = this.eclipseNamingExtensions.labelName(chapter, fileNames);
      boolean _operator_notEquals = ObjectExtensions.operator_notEquals(_labelName, null);
      if (_operator_notEquals) {
        _builder.append("<a name=\"");
        String _labelName_1 = this.eclipseNamingExtensions.labelName(chapter, fileNames);
        _builder.append(_labelName_1, "");
        _builder.append("\"></a>");
void generate(final Chapter chapter, final Map<AbstractSection,String> fileNames, final IFileSystemAccess access)
final AbstractSection aS  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
String _labelName = this.eclipseNamingExtensions.labelName(aS, fileNames);
        StringConcatenation _generatePar = this.generatePar(c, fileNames);
      List<? extends AbstractSection> _sections = this.sectionExtension.sections(aS);
      for(AbstractSection ss : _sections) {
        CharSequence _generate = this.generate(ss, fileNames);
  protected CharSequence _generate(final Section4 aS, final Map<AbstractSection,String> fileNames) {
    String _labelName = this.eclipseNamingExtensions.labelName(aS, fileNames);
    StringConcatenation _genNonParContent = this.genNonParContent(_title, fileNames);
        StringConcatenation _generatePar = this.generatePar(tom, fileNames);
  public StringConcatenation generatePar(final TextOrMarkup tom, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(c, fileNames);
  protected CharSequence _generate(final Todo todo, final Map<AbstractSection,String> fileNames) {
  protected CharSequence _generate(final Ref ref, final Map<AbstractSection,String> fileNames) {
        Object _url = this.url(_ref, fileNames);
        _builder.append(_url, "");
        _builder.append("\">section ");
        Identifiable _ref_2 = ref.getRef();
        Object _url_1 = this.url(_ref_2, fileNames);
        _builder.append(_url_1, "");
            StringConcatenation _genNonParContent = this.genNonParContent(tom, fileNames);
  protected Object _url(final Anchor anchor, final Map<AbstractSection,String> fileNames) {
    URI _xblockexpression = null;
    {
      AbstractSection _containerOfType = EcoreUtil2.<AbstractSection>getContainerOfType(anchor, org.eclipse.xtext.xdoc.xdoc.AbstractSection.class);
      final AbstractSection section = _containerOfType;
      String _get = fileNames.get(section);
      final String fileName = _get;
      boolean _operator_equals = ObjectExtensions.operator_equals(fileName, null);
      if (_operator_equals) {
        return null;
CharSequence _generate(final AbstractSection aS, final Map<AbstractSection,String> fileNames)
final AbstractSection section  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
String _get = fileNames.get(section);
    return _get;
Object _url(final AbstractSection section, final Map<AbstractSection,String> fileNames)
final TextOrMarkup tom  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
CharSequence _generate = this.generate(obj, fileNames);
  protected CharSequence _generate(final UnorderedList ul, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(i, fileNames);
  protected CharSequence _generate(final OrderedList ul, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(i, fileNames);
  protected CharSequence _generate(final Item i, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(tom, fileNames);
  protected CharSequence _generate(final Anchor a, final Map<AbstractSection,String> fileNames) {
    _builder.append("<a name=\"anchor-");
  protected CharSequence _generate(final ImageRef img, final Map<AbstractSection,String> fileNames) {
  protected CharSequence _generate(final TextPart tp, final Map<AbstractSection,String> fileNames) {
  protected CharSequence _generate(final Table table, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(tr, fileNames);
  protected CharSequence _generate(final TableRow tr, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(td, fileNames);
  protected CharSequence _generate(final TableData td, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(c, fileNames);
  protected CharSequence _generate(final Emphasize em, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(c, fileNames);
  protected CharSequence _generate(final Link link, final Map<AbstractSection,String> fileNames) {
  protected CharSequence _generate(final CodeRef cRef, final Map<AbstractSection,String> fileNames) {
  protected CharSequence _generate(final CodeBlock cb, final Map<AbstractSection,String> fileNames) {
      StringConcatenation _generateCode = this.generateCode(((Code) _head), _language, fileNames);
            StringConcatenation _generateCode_1 = this.generateCode(code, _language_1, fileNames);
  protected StringConcatenation _generateCode(final Code code, final LangDef lang, final Map<AbstractSection,String> fileNames) {
  protected StringConcatenation _generateCode(final MarkupInCode code, final LangDef lang, final Map<AbstractSection,String> fileNames) {
    CharSequence _generate = this.generate(code, fileNames);
  protected StringConcatenation _generateCode(final Code code, final Void v, final Map<AbstractSection,String> fileNames) {
  public StringConcatenation genNonParContent(final TextOrMarkup tom, final Map<AbstractSection,String> fileNames) {
        CharSequence _generate = this.generate(obj, fileNames);
  public CharSequence generate(final EObject chapter, final Map<AbstractSection,String> fileNames) {
         && (fileNames instanceof Map)) {
      return _generate((Chapter)chapter, (Map<AbstractSection,String>)fileNames);
CharSequence _generate(final TextOrMarkup tom, final Map<AbstractSection,String> fileNames)
final Identifiable section  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
if ((section instanceof AbstractSection)
         && (fileNames instanceof Map)) {
      return _url((AbstractSection)section, (Map<AbstractSection,String>)fileNames);
Object url(final Identifiable section, final Map<AbstractSection,String> fileNames)
final AbstractSection section  final Map<AbstractSection String> fileNames
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
String _xblockexpression = null;
    {
      String _get = fileNames.get(section);
      final String fileName = _get;
      boolean _operator_equals = ObjectExtensions.operator_equals(fileName, null);
      if (_operator_equals) {
        return null;
String labelName(final AbstractSection section, final Map<AbstractSection,String> fileNames)
final Document document  final String fileName  final String prefix  final int index  final Map<AbstractSection String> result
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
{
      Resource _eResource = document.eResource();
      URI _uRI = _eResource.getURI();
      URI _trimFileExtension = _uRI.trimFileExtension();
      String _lastSegment = _trimFileExtension.lastSegment();
      String _operator_plus = StringExtensions.operator_plus(_lastSegment, ".html");
      String name = _operator_plus;
      final Map<AbstractSection,String> typeConverted_result = (Map<AbstractSection,String>)result;
      typeConverted_result.put(document, name);
      List<? extends AbstractSection> _sections = this.sectionExtension.sections(document);
      final List<? extends AbstractSection> sections = _sections;
      int _size = sections.size();
      int _operator_minus = IntegerExtensions.operator_minus(((Integer)_size), ((Integer)1));
      Iterable<Integer> _operator_upTo = IntegerExtensions.operator_upTo(((Integer)0), ((Integer)_operator_minus));
      for (Integer i : _operator_upTo) {
        final List<? extends AbstractSection> typeConverted_sections = (List<? extends AbstractSection>)sections;
        AbstractSection _get = typeConverted_sections.get(i);
        this.computeURLs(_get, fileName, "", i, result);
void _computeURLs(final Document document, final String fileName, final String prefix, final int index, final Map<AbstractSection,String> result)
final Chapter chapter  final String fileName  final String prefix  final int index  final Map<AbstractSection String> result
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
Resource _eResource = chapter.eResource();
      URI _trimFileExtension = _uRI.trimFileExtension();
      String _lastSegment = _trimFileExtension.lastSegment();
      String name = _lastSegment;
      int _operator_minus = IntegerExtensions.operator_minus(1);
      boolean _operator_notEquals = ObjectExtensions.operator_notEquals(((Integer)index), ((Integer)_operator_minus));
      if (_operator_notEquals) {
        String _operator_plus_1 = StringExtensions.operator_plus(_operator_plus, ((Integer)index));
        name = _operator_plus_2;
        name = _operator_plus_3;
      final Map<AbstractSection,String> typeConverted_result = (Map<AbstractSection,String>)result;
      typeConverted_result.put(chapter, name);
      List<? extends AbstractSection> _sections = this.sectionExtension.sections(chapter);
      final List<? extends AbstractSection> sections = _sections;
      int _size = sections.size();
      int _operator_minus_1 = IntegerExtensions.operator_minus(((Integer)_size), ((Integer)1));
      Iterable<Integer> _operator_upTo = IntegerExtensions.operator_upTo(((Integer)0), ((Integer)_operator_minus_1));
      for (Integer i : _operator_upTo) {
        final List<? extends AbstractSection> typeConverted_sections = (List<? extends AbstractSection>)sections;
        AbstractSection _get = typeConverted_sections.get(i);
        this.computeURLs(_get, name, "", i, result);
  protected void _computeURLs(final ChapterRef chapterRef, final String fileName, final String prefix, final int index, final Map<AbstractSection,String> result) {
    {
      Chapter _chapter = chapterRef.getChapter();
      int _operator_minus = IntegerExtensions.operator_minus(1);
      this.computeURLs(_chapter, fileName, prefix, ((Integer)_operator_minus), result);
      final Map<AbstractSection,String> typeConverted_result = (Map<AbstractSection,String>)result;
      Chapter _chapter_1 = chapterRef.getChapter();
      String _get = result.get(_chapter_1);
      typeConverted_result.put(chapterRef, _get);
void _computeURLs(final Chapter chapter, final String fileName, final String prefix, final int index, final Map<AbstractSection,String> result)
final SectionRef sectionRef  final String fileName  final String prefix  final int index  final Map<AbstractSection String> result
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
Section _section = sectionRef.getSection();
      this.computeURLs(_section, fileName, prefix, ((Integer)index), result);
      final Map<AbstractSection,String> typeConverted_result = (Map<AbstractSection,String>)result;
      Section _section_1 = sectionRef.getSection();
      String _get = result.get(_section_1);
      typeConverted_result.put(sectionRef, _get);
  protected void _computeURLs(final Section2Ref sectionRef, final String fileName, final String prefix, final int index, final Map<AbstractSection,String> result) {
      Section2 _section2 = sectionRef.getSection2();
      this.computeURLs(_section2, fileName, prefix, ((Integer)index), result);
      final Map<AbstractSection,String> typeConverted_result = (Map<AbstractSection,String>)result;
      Section2 _section2_1 = sectionRef.getSection2();
      String _get = result.get(_section2_1);
      typeConverted_result.put(sectionRef, _get);
  protected void _computeURLs(final AbstractSection section, final String fileName, final String prefix, final int index, final Map<AbstractSection,String> result) {
    {
      String _operator_plus = StringExtensions.operator_plus(fileName, "#");
      Comparable<? extends Object> _xifexpression = null;
      boolean _isNullOrEmpty = StringExtensions.isNullOrEmpty(prefix);
      if (_isNullOrEmpty) {
        _xifexpression = index;
void _computeURLs(final SectionRef sectionRef, final String fileName, final String prefix, final int index, final Map<AbstractSection,String> result)
final AbstractSection chapterRef  final String fileName  final String prefix  final Integer index  final Map<AbstractSection String> result
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
if ((chapterRef instanceof ChapterRef)
         && (fileName instanceof String)
         && (prefix instanceof String)
         && (index instanceof Integer)
         && (result instanceof Map)) {
      _computeURLs((ChapterRef)chapterRef, (String)fileName, (String)prefix, (Integer)index, (Map<AbstractSection,String>)result);
void computeURLs(final AbstractSection chapterRef, final String fileName, final String prefix, final Integer index, final Map<AbstractSection,String> result)
final Chapter chapter  final IFileSystemAccess access
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
String _fileName = this.eclipseNamingExtensions.fileName(chapter);
    String _decode = URLDecoder.decode(_fileName);
    CharSequence _generate = this.generate(chapter);
    access.generateFile(_decode, _generate);
  protected CharSequence _generate(final Chapter aS) {
    TextOrMarkup _title = aS.getTitle();
    _builder.append("<a name=\"");
    String _labelName = this.eclipseNamingExtensions.labelName(aS);
    _builder.append(_labelName, "");
    _builder.append("\"></a>");
    String _headtag = this.headtag(aS);
    TextOrMarkup _title_1 = aS.getTitle();
    String _headtag_1 = this.headtag(aS);
      EList<TextOrMarkup> _contents = aS.getContents();
        StringConcatenation _generatePar = this.generatePar(content);
      List<? extends AbstractSection> _subSection = this.utils.subSection(aS);
      for(AbstractSection ss : _subSection) {
        CharSequence _generate = this.generate(ss);
  protected CharSequence _generate(final AbstractSection aS) {
    String _labelName = this.eclipseNamingExtensions.labelName(aS);
        StringConcatenation _generatePar = this.generatePar(c);
      List<? extends AbstractSection> _subSection = this.utils.subSection(aS);
      for(AbstractSection ss : _subSection) {
        CharSequence _generate = this.generate(ss);
  protected CharSequence _generate(final Section4 aS) {
    String _labelName = this.eclipseNamingExtensions.labelName(aS);
    StringConcatenation _genNonParContent = this.genNonParContent(_title);
        StringConcatenation _generatePar = this.generatePar(tom);
  public StringConcatenation generatePar(final TextOrMarkup tom) {
        CharSequence _generate = this.generate(c);
  protected CharSequence _generate(final Todo todo) {
  protected CharSequence _generate(final Ref ref) {
        String _fileName = this.eclipseNamingExtensions.fileName(_ref);
        _builder.append(_fileName, "");
        _builder.append("#");
        _builder.append("\">section ");
        Identifiable _ref_2 = ref.getRef();
        String _name_1 = _ref_2.getName();
        _builder.append(_name_1, "");
        Identifiable _ref_3 = ref.getRef();
        String _fileName_1 = this.eclipseNamingExtensions.fileName(_ref_3);
        _builder.append(_fileName_1, "");
        _builder.append("#");
        Identifiable _ref_4 = ref.getRef();
        String _name_2 = _ref_4.getName();
        _builder.append(_name_2, "");
            StringConcatenation _genNonParContent = this.genNonParContent(tom);
  protected CharSequence _generate(final TextOrMarkup tom) {
        CharSequence _generate = this.generate(obj);
  protected CharSequence _generate(final UnorderedList ul) {
        CharSequence _generate = this.generate(i);
  protected CharSequence _generate(final OrderedList ul) {
        CharSequence _generate = this.generate(i);
  protected CharSequence _generate(final Item i) {
        CharSequence _generate = this.generate(tom);
  protected CharSequence _generate(final Anchor a) {
    _builder.append("<a name=\"");
  protected CharSequence _generate(final ImageRef img) {
  protected CharSequence _generate(final TextPart tp) {
  protected CharSequence _generate(final Table table) {
        CharSequence _generate = this.generate(tr);
  protected CharSequence _generate(final TableRow tr) {
        CharSequence _generate = this.generate(td);
  protected CharSequence _generate(final TableData td) {
        CharSequence _generate = this.generate(c);
  protected CharSequence _generate(final Emphasize em) {
        CharSequence _generate = this.generate(c);
  protected CharSequence _generate(final Link link) {
  protected CharSequence _generate(final CodeRef cRef) {
  protected CharSequence _generate(final CodeBlock cb) {
      StringConcatenation _generateCode = this.generateCode(((Code) _head), _language);
            StringConcatenation _generateCode_1 = this.generateCode(code, _language_1);
  protected StringConcatenation _generateCode(final Code code, final LangDef lang) {
  protected StringConcatenation _generateCode(final MarkupInCode code, final LangDef lang) {
    CharSequence _generate = this.generate(code);
  protected StringConcatenation _generateCode(final Code code, final Void v) {
  public StringConcatenation genNonParContent(final TextOrMarkup tom) {
        CharSequence _generate = this.generate(obj);
  public void generate(final AbstractSection chapter, final IFileSystemAccess access) throws UnsupportedEncodingException {
         && (access instanceof IFileSystemAccess)) {
      _generate((Chapter)chapter, (IFileSystemAccess)access);
void _generate(final Chapter chapter, final IFileSystemAccess access)
final EObject aS
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/XdocGenerator.java
if ((aS instanceof Chapter)) {
      return _generate((Chapter)aS);
CharSequence generate(final EObject aS)
final AbstractSection aS
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
String _xifexpression = null;
    EObject _eContainer = aS.eContainer();
    if ((_eContainer instanceof org.eclipse.xtext.xdoc.xdoc.XdocFile)) {
      _xifexpression = "";
String urlSuffix(final AbstractSection aS)
final Object any
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
return "";
  protected String _fileName(final EObject obj) {
    EObject _eContainer = obj.eContainer();
    String _fileName = this.fileName(_eContainer);
    return _fileName;
  protected String _fileName(final Chapter obj) {
    String _xblockexpression = null;
      Resource _eResource = obj.eResource();
      String _lastSegment = _uRI.lastSegment();
      final String name = _lastSegment;
      String _xifexpression = null;
      EObject _eContainer = obj.eContainer();
      if ((_eContainer instanceof org.eclipse.xtext.xdoc.xdoc.Document)) {
        EObject _eContainer_1 = obj.eContainer();
        List<? extends AbstractSection> _subSection = this.utils.subSection(((Document) _eContainer_1));
        int _indexOf = _subSection.indexOf(obj);
        String _operator_plus_1 = StringExtensions.operator_plus(_operator_plus, ((Integer)_indexOf));
        _xifexpression = _operator_plus_2;
        _xifexpression = _operator_plus_3;
      _xblockexpression = (_xifexpression);
String _labelName(final Object any)
final AbstractSection obj
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
String _xifexpression = null;
    EObject _eContainer = obj.eContainer();
    if ((_eContainer instanceof org.eclipse.xtext.xdoc.xdoc.XdocFile)) {
      String _xblockexpression = null;
      {
        AbstractSection _virtualContainer = this.virtualContainer(obj);
        final AbstractSection vCon = _virtualContainer;
        String _xifexpression_1 = null;
        boolean _operator_notEquals = ObjectExtensions.operator_notEquals(vCon, null);
        if (_operator_notEquals) {
          String _fileName = this.fileName(vCon);
          _xifexpression_1 = _fileName;
String _fileName(final AbstractSection obj)
final ChapterRef obj
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
Chapter _chapter = obj.getChapter();
    String _fileName = this.fileName(_chapter);
    return _fileName;
  protected String _fileName(final SectionRef obj) {
    Section _section = obj.getSection();
    String _fileName = this.fileName(_section);
    return _fileName;
String _fileName(final ChapterRef obj)
final Section2Ref obj
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
Section2 _section2 = obj.getSection2();
    String _fileName = this.fileName(_section2);
    return _fileName;
  protected String _labelName(final AbstractSection aS) {
    String _xblockexpression = null;
      AbstractSection _switchResult = null;
      final AbstractSection aS_1 = aS;
      boolean matched = false;
      if (!matched) {
        if (aS_1 instanceof ChapterRef) {
          final ChapterRef aS_2 = (ChapterRef) aS_1;
          matched=true;
          Chapter _chapter = aS_2.getChapter();
          _switchResult = _chapter;
String _fileName(final Section2Ref obj)
final AbstractSection obj
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
AbstractSection _xblockexpression = null;
      Iterable<IResourceDescription> _allResourceDescriptions = this.index.getAllResourceDescriptions();
      final Function1<IResourceDescription,Boolean> _function = new Function1<IResourceDescription,Boolean>() {
          public Boolean apply(final IResourceDescription r) {
            Iterable<QualifiedName> _importedNames = r.getImportedNames();
            final Function1<QualifiedName,Boolean> _function_1 = new Function1<QualifiedName,Boolean>() {
                public Boolean apply(final QualifiedName e) {
                  String _name = obj.getName();
                  String _lowerCase = _name.toLowerCase();
                  QualifiedName _create = QualifiedName.create(_lowerCase);
                  boolean _operator_equals = ObjectExtensions.operator_equals(e, _create);
                  return ((Boolean)_operator_equals);
AbstractSection virtualContainer(final AbstractSection obj)
final IResourceDescription r_1
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
Iterable<IReferenceDescription> _referenceDescriptions = r_1.getReferenceDescriptions();
            final Function1<IReferenceDescription,Boolean> _function_3 = new Function1<IReferenceDescription,Boolean>() {
                public Boolean apply(final IReferenceDescription ref) {
                  boolean _operator_or = false;
                  EReference _eReference = ref.getEReference();
                  EClass _eReferenceType = _eReference.getEReferenceType();
                  boolean _operator_equals_1 = ObjectExtensions.operator_equals(_eReferenceType, Literals.SECTION2);
                  if (_operator_equals_1) {
                    _operator_or = true;
Boolean apply(final IResourceDescription r_1)
final Object aS
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
if ((aS instanceof AbstractSection)) {
      return _labelName((AbstractSection)aS);
String labelName(final Object aS)
final EObject obj
org.eclipse.xtext.xdoc/xtend-gen/org/eclipse/xtext/xdoc/generator/util/EclipseNamingExtensions.java
if ((obj instanceof ChapterRef)) {
      return _fileName((ChapterRef)obj);
String fileName(final EObject obj)