Package com.thoughtworks.qdox.parser
Interface CommentScanner
- All Known Subinterfaces:
JavaLexer
- All Known Implementing Classes:
JFlexLexer
public interface CommentScanner
Classes implementing this interface can trigger the handler for every time it has parsed a comment.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommentHandler
(CommentHandler handler) Register this handler as a comment-listener.
-
Method Details
-
addCommentHandler
Register this handler as a comment-listener. If scanner hits a comment, all handlers will be triggered.- Parameters:
handler
- the commentHandler to add to the CommentScanner
-