Package org.apache.sysds.parser.dml
Class CustomErrorListener.ParseIssue
- java.lang.Object
- 
- org.apache.sysds.parser.dml.CustomErrorListener.ParseIssue
 
- 
- All Implemented Interfaces:
- Comparable<CustomErrorListener.ParseIssue>
 - Enclosing class:
- CustomErrorListener
 
 public class CustomErrorListener.ParseIssue extends Object implements Comparable<CustomErrorListener.ParseIssue> A parse issue (such as an parse error or a parse warning).
- 
- 
Constructor SummaryConstructors Constructor Description ParseIssue(int line, int charPositionInLine, String message, String fileName, CustomErrorListener.ParseIssueType parseIssueType)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CustomErrorListener.ParseIssue that)Order by parse issues primarily by line number, and secondarily by character position.intgetCharPositionInLine()Obtain character position of the parse issue.StringgetFileName()Obtain the filename of the script containing the parse issue, if available.intgetLine()Obtain line number of the parse issue.StringgetMessage()Obtain the message describing the parse issue.CustomErrorListener.ParseIssueTypegetParseIssueType()Obtain the type of the parse issue.voidsetCharPositionInLine(int charPositionInLine)voidsetFileName(String fileName)voidsetLine(int line)voidsetMessage(String message)voidsetParseIssueType(CustomErrorListener.ParseIssueType parseIssueType)
 
- 
- 
- 
Constructor Detail- 
ParseIssuepublic ParseIssue(int line, int charPositionInLine, String message, String fileName, CustomErrorListener.ParseIssueType parseIssueType)
 
- 
 - 
Method Detail- 
getLinepublic int getLine() Obtain line number of the parse issue.- Returns:
- Line number of the parse issue
 
 - 
setLinepublic void setLine(int line) 
 - 
getCharPositionInLinepublic int getCharPositionInLine() Obtain character position of the parse issue.- Returns:
- Character position of the parse issue
 
 - 
setCharPositionInLinepublic void setCharPositionInLine(int charPositionInLine) 
 - 
getMessagepublic String getMessage() Obtain the message describing the parse issue.- Returns:
- Message describing the parse issue
 
 - 
setMessagepublic void setMessage(String message) 
 - 
getFileNamepublic String getFileName() Obtain the filename of the script containing the parse issue, if available.- Returns:
- The filename of the script contain the parse issue (if available)
 
 - 
setFileNamepublic void setFileName(String fileName) 
 - 
getParseIssueTypepublic CustomErrorListener.ParseIssueType getParseIssueType() Obtain the type of the parse issue.- Returns:
- The type of the parse issue.
 
 - 
setParseIssueTypepublic void setParseIssueType(CustomErrorListener.ParseIssueType parseIssueType) 
 - 
compareTopublic int compareTo(CustomErrorListener.ParseIssue that) Order by parse issues primarily by line number, and secondarily by character position.- Specified by:
- compareToin interface- Comparable<CustomErrorListener.ParseIssue>
 
 
- 
 
-