public class ProblemReporter extends Object
Constructor | Description |
---|---|
ProblemReporter(List<Problem> problems) |
Modifier and Type | Method | Description |
---|---|---|
void |
report(NodeWithTokenRange<?> node,
String message,
Object... args) |
Report a problem.
|
void |
report(TokenRange range,
String message,
Object... args) |
public void report(NodeWithTokenRange<?> node, String message, Object... args)
message
- description of the problemnode
- the node in which the problem occurred, used to find the Range of the problem.public void report(TokenRange range, String message, Object... args)
Copyright © 2007–2019. All rights reserved.