Package org.ek9lang.compiler.support
Class CheckReturns
java.lang.Object
org.ek9lang.compiler.support.CheckReturns
- Direct Known Subclasses:
ForReturnOrError
,SwitchReturnOrError
,TryReturnOrError
,WhileReturnOrError
Ensures that a try statement/expression is used correctly in or out of an expression.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
returningParamOrError
(boolean isStatement, IToken parentToken, EK9Parser.ReturningParamContext returningParamCtx)
-
Field Details
-
errorListener
-
-
Constructor Details
-
CheckReturns
-
-
Method Details
-
returningParamOrError
protected void returningParamOrError(boolean isStatement, IToken parentToken, EK9Parser.ReturningParamContext returningParamCtx)
-