Package org.ek9lang.compiler.phase5
Class MethodOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase5.MethodOrError
- All Implemented Interfaces:
Consumer<EK9Parser.MethodDeclarationContext>
final class MethodOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.MethodDeclarationContext>
Typically checks any returning values to see if they have now been initialised on a method.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
MethodOrError
MethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.MethodDeclarationContext>
-