Package org.ek9lang.compiler.phase3
Class AutoMatchSuperFunctionSignature
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.AutoMatchSuperFunctionSignature
- All Implemented Interfaces:
Consumer<FunctionSymbol>
final class AutoMatchSuperFunctionSignature
extends TypedSymbolAccess
implements Consumer<FunctionSymbol>
The ek9 developer does not need to redeclare incoming or returning parameters for dynamic functions.
They are inferred for the developer - this is that 'inference'.
In short the compiler - uses the same symbols from the super class for incoming and returning parameters.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionAutoMatchSuperFunctionSignature
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
AutoMatchSuperFunctionSignature
AutoMatchSuperFunctionSignature(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<FunctionSymbol>
-