Class Meta2ClassesTransformation.RefinedReferenceGenerator
The transformation rule to generate a refined reference
public class Meta2ClassesTransformation.RefinedReferenceGenerator : TransformationRule<IClass, IReference, CodeMemberProperty>
- Inheritance
-
Meta2ClassesTransformation.RefinedReferenceGenerator
- Inherited Members
Methods
CreateOutput(IClass, IReference, ITransformationContext)
Creates the output of this transformation rule
public override CodeMemberProperty CreateOutput(IClass input1, IReference input2, ITransformationContext context)
Parameters
input1
IClassThe first input of the transformation rule
input2
IReferenceThe second input of the transformation rule
context
ITransformationContextThe context (and trace!) object
Returns
- CodeMemberProperty
The output for this transformation under this input
Remarks
At this point, not all of the computations have created their output and thus, the trace is not complete. Use the OutputDelayLevel-feature to have the trace contain all elements created in earlier levels
RegisterDependencies()
Registers all the dependencies (both calling and non-calling) and additional configuration
public override void RegisterDependencies()
Remarks
This method is called during initialization of the entire transformation and is independent of any transformation contexts. However, this method may rely on the Transformation-property.
Transform(IClass, IReference, CodeMemberProperty, ITransformationContext)
Initializes the transformation output
public override void Transform(IClass scope, IReference reference, CodeMemberProperty property, ITransformationContext context)
Parameters
scope
IClassreference
IReferenceproperty
CodeMemberPropertycontext
ITransformationContextThe context (and trace!) object
Remarks
At this point, all the transformation outputs are created (also the delayed ones), thus, the trace is fully reliable