Uses of Class
org.ek9lang.compiler.phase7.synthesis.support.SyntheticMethodCallBuilder
Packages that use SyntheticMethodCallBuilder
Package
Description
Synthetic operator and method generation for EK9.
Support classes for synthetic operator IR generation.
-
Uses of SyntheticMethodCallBuilder in org.ek9lang.compiler.phase7.synthesis
Methods in org.ek9lang.compiler.phase7.synthesis that return SyntheticMethodCallBuilderModifier and TypeMethodDescriptionprotected SyntheticMethodCallBuilderAbstractSyntheticGenerator.constructorCall()Create a builder for a constructor call.protected SyntheticMethodCallBuilderAbstractSyntheticGenerator.methodCall()Create a builder for a method call. -
Uses of SyntheticMethodCallBuilder in org.ek9lang.compiler.phase7.synthesis.support
Methods in org.ek9lang.compiler.phase7.synthesis.support that return SyntheticMethodCallBuilderModifier and TypeMethodDescriptionAdd a single argument to the method call.Add multiple arguments to the method call.static SyntheticMethodCallBuilderSyntheticMethodCallBuilder.constructorCall()Create a builder for a constructor call.Set the variable to store the result into.Set the method name to call.static SyntheticMethodCallBuilderSyntheticMethodCallBuilder.methodCall()Create a builder for a method call.Set the target object and its type for an instance method call.The same target, but named by its resolved SYMBOL so the dispatch flag can be derived from it.Set up for a static method call (no target object).Set the target as "super" for a super method call.Set the return type of the method.SyntheticMethodCallBuilder.traitCall()Mark this as a trait call (uses invokeinterface instead of invokevirtual).SyntheticMethodCallBuilder.traitCallIf(boolean condition) Mark this as a trait call only when the condition holds - use when the receiver may or may not be a trait (e.g.Set the type for a constructor call.