mixins() 공개 추상적인 메소드

public abstract mixins ( ) : List
리턴 List
예제 #1
0
파일: FTypeEmit.cs 프로젝트: nomit007/f4
        private void findMixins(Type t, Hashtable acc)
        {
            // if mixin I haven't seen add to accumulator
              string qname = t.qname();
              if (t.isMixin() && acc[qname] == null)
            acc[qname] = t;

              // recurse
              for (int i=0; i<t.mixins().sz(); ++i)
            findMixins((Type)t.mixins().get(i), acc);
        }