mk.fsgrep.match
Class CodeSearch
java.lang.Object
mk.fsgrep.match.FileSearch
mk.fsgrep.match.TextSearch
mk.fsgrep.match.CodeSearch
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- CJavaSearch, PropertiesSearch, SgmlSearch, SqlSearch
public abstract class CodeSearch
- extends TextSearch
- Author:
- Murali Krishnan
Methods inherited from class mk.fsgrep.match.FileSearch |
getCount, getFile, getLinesSearched, getModel, getOrCreateResults, getRE, getResults, incrementCount, incrementLinesSearched, initialize, run, setResults |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeSearch
public CodeSearch()
isInBlockComment
public boolean isInBlockComment()
setInBlockComment
public void setInBlockComment(boolean val)
matchesNonComment
protected boolean matchesNonComment(java.lang.String origLine)
process
protected void process(int linenum,
java.lang.String line)
- Overrides:
process
in class TextSearch
rePrincipleCommentPattern
protected java.util.regex.Pattern rePrincipleCommentPattern()
reLineComment
protected java.util.regex.Pattern reLineComment()
reBlockCommentStart
protected java.util.regex.Pattern reBlockCommentStart()
reBlockCommentEnd
protected java.util.regex.Pattern reBlockCommentEnd()
reBlockCommentOneLine
protected java.util.regex.Pattern reBlockCommentOneLine()
Copyright © 2009. All Rights Reserved.