Example #1
0
        public override void visit(DLoad load)
        {
            TypeSet fromTypes = load.from.typeSet;

            for (int i = 0; i < fromTypes.numTypes; i++)
            {
                TypeUnit tu     = fromTypes[i];
                TypeUnit actual = tu.load();
                if (actual == null)
                {
                    actual = tu;
                }
                load.addType(actual);
            }
        }
Example #2
0
        public override void visit(DLoad load)
        {
            var fromTypes = load.from.typeSet;

            for (var i = 0; i < fromTypes.numTypes; i++)
            {
                var tu     = fromTypes[i];
                var actual = tu.load();
                if (actual == null)
                {
                    actual = tu;
                }

                load.addType(actual);
            }
        }
Example #3
0
 public override void visit(DLoad load)
 {
     TypeSet fromTypes = load.from.typeSet;
     for (int i = 0; i < fromTypes.numTypes; i++)
     {
         TypeUnit tu = fromTypes[i];
         TypeUnit actual = tu.load();
         if (actual == null)
             actual = tu;
         load.addType(actual);
     }
 }