Class PartialConstructorFolder

    • Constructor Detail

      • PartialConstructorFolder

        public PartialConstructorFolder()
    • Method Detail

      • setTypes

        public void setTypes​(List<Type> t)
      • getTypes

        public List<Type> getTypes()
      • internalTransform

        public void internalTransform​(Body b,
                                      String phaseName,
                                      Map<String,​String> options)
        This method pushes all newExpr down to be the stmt directly before every invoke of the init only if they are in the types list
        Specified by:
        internalTransform in class BodyTransformer
        Parameters:
        b - the body on which to apply the transformation
        phaseName - the phasename for this transform; not typically used by implementations.
        options - the actual computed options; a combination of default options and Scene specified options.