| java.lang.Object org.netbeans.modules.tasklist.todo.SourceCodeCommentParser
SourceCodeCommentParser | final class SourceCodeCommentParser (Code) | | The Source Code Comment Parser allows you to read the comments in a source
code line by line.
author: Trond Norbye author: S. Aubrecht |
Inner Class :static class CommentRegion | |
Method Summary | |
public boolean | nextRegion(CommentRegion reg) get the range for the next comment line... | public void | setText(String text) |
SourceCodeCommentParser | public SourceCodeCommentParser()(Code) | | Default instance, treat all lines as comments!!
|
SourceCodeCommentParser | public SourceCodeCommentParser(String lineComment, String blockStart, String blockEnd)(Code) | | Create a new instance of SourceCodeCommentParser that supports single-
line comments, and multiline comments
Parameters: lineComment - the start tag for a single-line comment Parameters: blockStart - the start tag of a block comment Parameters: blockEnd - the end tag of a block comment |
nextRegion | public boolean nextRegion(CommentRegion reg) throws IOException(Code) | | get the range for the next comment line...
Parameters: ret - Where to store the result false when EOF, true otherwise |
setText | public void setText(String text)(Code) | | Set the document to parse
Parameters: doc - the document to parse |
|
|