public class ProblemReporter extends Object
Constructor and Description |
---|
ProblemReporter(List<Problem> problems) |
Modifier and Type | Method and 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–2017. All rights reserved.