Class ReturningVariableOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase5.ReturningVariableOrError
- All Implemented Interfaces:
BiConsumer<IScope, EK9Parser.OperationDetailsContext>
final class ReturningVariableOrError
extends TypedSymbolAccess
implements BiConsumer<IScope, EK9Parser.OperationDetailsContext>
Checks if return variables are initialised.
-
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionReturningVariableOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IScope mainScope, EK9Parser.OperationDetailsContext ctx) Methods inherited from class TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbolMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
ReturningVariableOrError
ReturningVariableOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<IScope, EK9Parser.OperationDetailsContext>
-