Class EmptyInitializer

  • All Implemented Interfaces:
    IAttributeAccess

    public class EmptyInitializer
    extends Leaf
    An internal temporary node representing an untyped empty initializer. Problem is that we allow the same syntax for empty compound and container initializers, i.e., we can only distinguish them according to their target type. This target type is not available in operation calls, as the operation is not yet determined. Thus, instances of this node (singleton, constant) can be used while parsing but shall be replaced by operation resolution as soon as it becomes clear which type actually shall be used.
    Author:
    Holger Eichelberger