Package org.ek9lang.compiler.phase3
Class TryReturnOrError
java.lang.Object
org.ek9lang.compiler.support.CheckReturns
org.ek9lang.compiler.phase3.TryReturnOrError
- All Implemented Interfaces:
Consumer<EK9Parser.TryStatementExpressionContext>
final class TryReturnOrError
extends CheckReturns
implements Consumer<EK9Parser.TryStatementExpressionContext>
Ensures that a try statement/expression is used correctly in or out of an expression.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.support.CheckReturns
errorListener
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ek9lang.compiler.support.CheckReturns
returningParamOrError
-
Constructor Details
-
TryReturnOrError
TryReturnOrError(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.TryStatementExpressionContext>
-