Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Javadoc fragment are not exposed as Comments #86

Closed

Description

@dpordomingo

Parsing javadocs the comments are not parsed as in other languages, where docs are retrieved as a roleComment node with a token attribute containing the content of the comment itself

/** 
 * documentation for java class
 * multiline documentation here
 */
class HelloWorldApp {}

image

An alternative could be to parse docs in the same way in the other languages
Here is an example in php, where the documentation structure is different compared with java, but consistent with comments in all the languages.

<?php
    class Deposit {

        /**
         * the deposit ownner.
         *
         * @var string witout info
         */
        private $_owner;
    }

image

addendum:
This issue might be related to these similar ones in other languages drivers:
bblfsh/javascript-driver#36 bblfsh/go-driver#28 bblfsh/python-driver#167

Activity

  1. added a commit that references this issue on Nov 7, 2018
    b5fae0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions