public class RfLintParser extends RegexpLineParser
ANT_TASK, FALSE_POSITIVEDEPRECATION, PROPRIETARY_API| Constructor and Description |
|---|
RfLintParser()
Creates a new parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected Issue |
createIssue(Matcher matcher,
IssueBuilder builder)
Creates a new issue for the specified pattern.
|
Report |
parse(Reader file,
Function<String,String> preProcessor)
Parses the specified input stream for issues.
|
getCurrentLine, postProcessfindIssuesgetFileName, guessCategory, guessCategoryIfEmpty, parse, parse, parseIntparsepublic Report parse(Reader file, Function<String,String> preProcessor)
AbstractParserparse in class RegexpLineParserfile - the reader to get the text frompreProcessor - pre processes each input line before handing it to the actual parserprotected Issue createIssue(Matcher matcher, IssueBuilder builder)
RegexpParserRegexpParser.FALSE_POSITIVE to ignore this
warning.createIssue in class RegexpParsermatcher - the regular expression matcherbuilder - the issue builder to useCopyright © 2018. All rights reserved.