public class CustomErrorListener.ParseIssue extends Object implements Comparable<CustomErrorListener.ParseIssue>
Constructor and Description |
---|
ParseIssue(int line,
int charPositionInLine,
String message,
String fileName,
CustomErrorListener.ParseIssueType parseIssueType) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CustomErrorListener.ParseIssue that)
Order by parse issues primarily by line number, and secondarily by
character position.
|
int |
getCharPositionInLine()
Obtain character position of the parse issue.
|
String |
getFileName()
Obtain the filename of the script containing the parse issue, if
available.
|
int |
getLine()
Obtain line number of the parse issue.
|
String |
getMessage()
Obtain the message describing the parse issue.
|
CustomErrorListener.ParseIssueType |
getParseIssueType()
Obtain the type of the parse issue.
|
void |
setCharPositionInLine(int charPositionInLine) |
void |
setFileName(String fileName) |
void |
setLine(int line) |
void |
setMessage(String message) |
void |
setParseIssueType(CustomErrorListener.ParseIssueType parseIssueType) |
public ParseIssue(int line, int charPositionInLine, String message, String fileName, CustomErrorListener.ParseIssueType parseIssueType)
public int getLine()
public void setLine(int line)
public int getCharPositionInLine()
public void setCharPositionInLine(int charPositionInLine)
public String getMessage()
public void setMessage(String message)
public String getFileName()
public void setFileName(String fileName)
public CustomErrorListener.ParseIssueType getParseIssueType()
public void setParseIssueType(CustomErrorListener.ParseIssueType parseIssueType)
public int compareTo(CustomErrorListener.ParseIssue that)
compareTo
in interface Comparable<CustomErrorListener.ParseIssue>
Copyright © 2022 The Apache Software Foundation. All rights reserved.