Module rgg
Package de.grogra.rgg

Class ObjectSynth<T,V>

java.lang.Object
de.grogra.rgg.ObjectSynth<T,V>
Type Parameters:
T - the type of objects for which synthesized attributes are computed
V - the type of the synthesized attribute
All Implemented Interfaces:
VoidToObjectGenerator<V>

public final class ObjectSynth<T,V> extends Object implements VoidToObjectGenerator<V>
Instances of ObjectSynth are used in the context of the method Library.synthesize(Object, ObjectToObjectGenerator, ObjectToObject). and represent the information needed for the computation of a synthesized attribute: object is the current object for which the synthesized attribute has to be computed, the generator method evaluateObject yields the values of the synthesized attributes of object's descendants.
Author:
Ole Kniemeyer
  • Field Details

    • object

      public T object
      The current object.
  • Constructor Details

    • ObjectSynth

      public ObjectSynth()
  • Method Details