public class StringProblemHandler extends AbstractProblemHandler
StringProblemHandler
counts and accumulates all problem reports, so that
all problems may be processed on completion of semantic/syntactic/lexical analysis.ProblemHandler.Phase, ProblemHandler.Severity
ERROR_MESSAGES
Constructor and Description |
---|
StringProblemHandler(AbstractParser parser) |
Modifier and Type | Method and Description |
---|---|
int |
getProblemCount()
Return the number of reported problems.
|
String |
getProblemString()
Return the accumulated problem report, corresponding the concatenation of each
addProblem invocation argument with a new-line following each. |
analyzerProblem, beginParse, beginValidation, endParse, endValidation, flush, getErrorReportLineOffset, getParser, handleProblem, lexerProblem, parserProblem, setErrorReportLineOffset, setParser, utilityProblem, validatorProblem
public StringProblemHandler(AbstractParser parser)
public int getProblemCount()
public String getProblemString()
addProblem
invocation argument with a new-line following each.Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.