Interface InterpreterResult
-
- All Known Implementing Classes:
BasicInterpreterResult
,InterpreterResult.OkResult
public interface InterpreterResult
The InterpreterResult captures the status of an interpreter execution. If the execution occured as expected, the result should not report any issues.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InterpreterResult.OkResult
-
Field Summary
Fields Modifier and Type Field Description static InterpreterResult
OK
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<InterpretationIssue>
getIssues()
boolean
hasNoIssues()
static InterpreterResult
of(InterpretationIssue issue)
-
-
-
Field Detail
-
OK
static final InterpreterResult OK
-
-
Method Detail
-
hasNoIssues
boolean hasNoIssues()
-
getIssues
Iterable<InterpretationIssue> getIssues()
-
of
static InterpreterResult of(InterpretationIssue issue)
-
-