Interface SnippetOutcome.SuccessfulWithValue
- All Superinterfaces:
SnippetOutcome,SnippetOutcome.HasSnippet,SnippetOutcome.Successful
- Enclosing interface:
SnippetOutcome
Indicates a successful outcome for which some value was returned, e.g., an evaluated expression
or the invocation of a non-void method.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.dellroad.javabox.SnippetOutcome
SnippetOutcome.CompilerErrors, SnippetOutcome.CompilerSemanticErrors, SnippetOutcome.CompilerSyntaxErrors, SnippetOutcome.ControlViolation, SnippetOutcome.ExceptionThrown, SnippetOutcome.HaltsScript, SnippetOutcome.HasException<T extends Throwable>, SnippetOutcome.HasSnippet, SnippetOutcome.Interrupted, SnippetOutcome.Overwritten, SnippetOutcome.Successful, SnippetOutcome.SuccessfulNoValue, SnippetOutcome.SuccessfulWithValue, SnippetOutcome.Suspended, SnippetOutcome.UnresolvedReferences -
Method Summary
Modifier and TypeMethodDescriptionGet the value returned from the snippet's execution.Methods inherited from interface org.dellroad.javabox.SnippetOutcome
box, offset, sourceMethods inherited from interface org.dellroad.javabox.SnippetOutcome.HasSnippet
snippet
-
Method Details
-
returnValue
Object returnValue()Get the value returned from the snippet's execution.- Returns:
- snippet return value
-