Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D6FC0200C8E for ; Thu, 25 May 2017 01:52:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D5951160BD0; Wed, 24 May 2017 23:52:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 27B49160BB6 for ; Thu, 25 May 2017 01:52:46 +0200 (CEST) Received: (qmail 67239 invoked by uid 500); 24 May 2017 23:52:45 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 67223 invoked by uid 99); 24 May 2017 23:52:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2017 23:52:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A424D1AFDB3 for ; Wed, 24 May 2017 23:52:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=asert-com-au.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id z0H6Ytz_LLSM for ; Wed, 24 May 2017 23:52:42 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DDE315F19B for ; Wed, 24 May 2017 23:52:41 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id b204so261983225oii.1 for ; Wed, 24 May 2017 16:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asert-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=YUW+rtIEZJM7HKUTmOGvt19O9ZlUmmiy9Oc/RtiDZjc=; b=OrLcgJaPtslwQ3FUP8pkaTYg55Oa/WlCLA2IyS+6CCxHVacw7CxCv5gLsTfhs+VjNn YDnPRH55KTfxHzT+bMawFiNOZksdIlWPIkTsK2Ck5TjYi82+0AAYCFBoeGtTqR+tKBuc LuECc2diW3UPM46grcMYm668FoNTWTRdHnchB+eD+QlHgLJJ9l1e5BFbH9vlQOXHW3OP atN0w86i/CLIiQ5sY+5RD7PWsPmT9i4wXxQXYqOXnWR/zRvBqfAK4Kifq/8KxCadUClU /l5RbjEYJe4rIg64Mcrzhb+oYSuFhpkAGKRb13GkcAKw9B6ecf/hhnlAXbynVmEWuPP2 dmuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=YUW+rtIEZJM7HKUTmOGvt19O9ZlUmmiy9Oc/RtiDZjc=; b=mJBbwcXXRSS3zdZNJIVwfPLW5pAZC5CywvuEeq8XKHMQb1ymZ6GY7VloT2UBBhZIPK OY4jvoweM4eoNFcU3K5Ovw7BlqGJcDORElwKdmVfXeqoj15UIB/pj3Z5F+eWgohpQJgM o47xrwn2WWw91DQvcQfitwF38FifwXZ4njfMb7+hTYvBHXMLhAnX6yAZU6Pj9jBa2Xue SRYo0QxuVBfbI7wI/7QLrCNyIwvtXIbNi18LgP8PoOtqRZT+a8iM10Q7xf5ZH4u5f5vc uVpJB/pDff5i07dZG+JoclopcvqswuE3OJv4Q1LsXLYk1ScoNX3lJnm+XYdPnoK0LO3j pqbg== X-Gm-Message-State: AODbwcD3Mu9/oz9Fowc+Kq8CJgDGiJdwu9XRtUwtYH2tAFcuVIUmE7rK 0qE1aF+8THgCFLs3NiS3QKoCbQUiwWRF X-Received: by 10.202.223.70 with SMTP id w67mr16190786oig.124.1495669960473; Wed, 24 May 2017 16:52:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.130.84 with HTTP; Wed, 24 May 2017 16:52:39 -0700 (PDT) Reply-To: paulk@asert.com.au In-Reply-To: References: From: Paul King Date: Thu, 25 May 2017 09:52:39 +1000 Message-ID: Subject: Re: Help with task: Groovydoc improved comment extraction To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary="001a113d54c4b2157905504dccd2" archived-at: Wed, 24 May 2017 23:52:47 -0000 --001a113d54c4b2157905504dccd2 Content-Type: text/plain; charset="UTF-8" Ah, yes I had forgotten about that when I wrote the ticket. I'll rework the ticket in a little while. Cheers, Paul. On Wed, May 24, 2017 at 8:02 AM, Emilian Bold wrote: > I would like to help out with the task listed at > https://helpwanted.apache.org/task.html?6afc5096 > > I've only briefly explored the code, but it seems to me > SimpleGroovyClassDocAssembler#getJavaDocCommentsBeforeNode() is called > with the ANTLR 2.7.7 parsers JavaRecognizer and GroovyRecognizer which > produce org.codehaus.groovy.antlr.GroovySourceAST trees. > > Parrot will produce org.codehaus.groovy.ast.ASTNode trees. > > So the issue isn't just about changing getJavaDocCommentsBeforeNode and > using the comment node (assuming we have EXTRACTING_DOC_COMMENT_ENABLED). > > SimpleGroovyClassDocAssembler must more or less be rewritten for the > Parrot parser. > > --emi > > --001a113d54c4b2157905504dccd2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ah, yes I had forgotten about that when I wrote the ticket= . I'll rework the ticket in a little while.

Cheers, = Paul.

= On Wed, May 24, 2017 at 8:02 AM, Emilian Bold <emilian.bold@gmail.com= > wrote:
I= would like to help out with the task listed at https://helpwanted.apac= he.org/task.html?6afc5096

I've only briefly explor= ed the code, but it seems to me=C2=A0SimpleGroovyClassDocAssembler#getJavaDocCommentsBeforeNode() is called with the ANTLR 2.7.7 parsers=C2= =A0JavaRecognizer and=C2=A0GroovyRecognizer which produce=C2=A0org.codehaus= .groovy.antlr.GroovySourceAST trees.

Parrot w= ill produce=C2=A0org.codehaus.groovy.ast.ASTNode trees.

=
So the issue isn't just about changing getJavaDocCommentsBef= oreNode and using the comment node (assuming we have EXTRACTING_DOC_COMMENT= _ENABLED).

SimpleGroovyClassDocAssembler must= more or less be rewritten for the Parrot parser.

<= div>--emi


--001a113d54c4b2157905504dccd2--