Interface CommentParser

    • Method Detail

      • addSingleLineCommentSyntax

        CommentParser addSingleLineCommentSyntax​(String commentPrefix)
         This comment parser is able split a line using "commentPrefix".
         But there's some limitation, like for this case in java:
         String name = "Paul//Smith"; // Noncompliant
         Example:
           parser.addSingleLineCommentSyntax("//");
         
      • parseInto

        void parseInto​(Path path,
                       MultiFileVerifier verifier)
        Parameters:
        path - source file to parse
        verifier - verifier for feed
      • parseInto

        void parseInto​(Path path,
                       SingleFileVerifier verifier)
        Parameters:
        path - source file to parse
        verifier - verifier for feed