Package org.ek9lang.compiler.phase3
Class DynamicFunctionBodyPresentOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.DynamicFunctionBodyPresentOrError
- All Implemented Interfaces:
Consumer<EK9Parser.DynamicFunctionDeclarationContext>
final class DynamicFunctionBodyPresentOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.DynamicFunctionDeclarationContext>
Checks if a dynamic function body is needed and provided.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionDynamicFunctionBodyPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new function to check dynamic functions. -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
DynamicFunctionBodyPresentOrError
DynamicFunctionBodyPresentOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new function to check dynamic functions.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.DynamicFunctionDeclarationContext>
-