Class OperationDfnGenerator

java.lang.Object
org.ek9lang.compiler.phase7.OperationDfnGenerator
All Implemented Interfaces:
BiConsumer<Operation,EK9Parser.OperationDetailsContext>

final class OperationDfnGenerator extends Object implements BiConsumer<Operation,EK9Parser.OperationDetailsContext>
Deals with the generation of the IR for OperationDetails. This is used quite widely by many of the constructs defined in the grammar. methods, operators, etc. In various construct types.

But the context for this is only for methods/operators that do actually have processing defined. Note, that in Ek9 it is possible to use the 'default' reserved word to get EK9 to generate the appropriate functionality. For example '?' _isSet can be auto generated if the properties on the aggregate have the '?' _isSet Operator.

This processing does NOT deal with that.