function namedAttributeGroupFoundType()

in src/js/object-mona-parser/object-parser-common.js [340:358]


function namedAttributeGroupFoundType(comments, parsedAnnotations, typeNameSection, attributes, withIncludes) {
  if (withIncludes) {
    return {
      annotations: parsedAnnotations,
      attributes: attributes || [],
      comments: comments.concat(typeNameSection.comments),
      typeName: typeNameSection.typeName,
      includes: typeNameSection.includes || [],
      excludes: typeNameSection.excludes || []
    };
  } else {
    return {
      annotations: parsedAnnotations,
      attributes: attributes || [],
      comments: comments.concat(typeNameSection.comments),
      typeName: typeNameSection.typeName
    };
  }
}