상속: TargetClassType
예제 #1
0
 internal NativeClass(NativeStructType type, NativeFieldInfo[] fields)
 {
     this.type = type;
     this.fields = fields != null ? fields : new NativeFieldInfo [0];
 }
예제 #2
0
 public NativeBaseInfo(NativeStructType base_type)
 {
     this.BaseType = base_type;
 }
예제 #3
0
 public NativeStructObject(NativeStructType type, TargetLocation location)
     : base(type, location)
 {
     this.type = type;
 }
예제 #4
0
 internal NativeClass(NativeStructType type, NativeFieldInfo[] fields)
 {
     this.type   = type;
     this.fields = fields != null ? fields : new NativeFieldInfo [0];
 }
예제 #5
0
 public NativeStructObject(NativeStructType type, TargetLocation location)
     : base(type, location)
 {
     this.type = type;
 }
예제 #6
0
 public DwarfBaseInfo(DieInheritance inheritance, NativeStructType base_type)
     : base(base_type)
 {
     this.Inheritance = inheritance;
 }
예제 #7
0
            protected override TargetType CreateType()
            {
                if (!abbrev.HasChildren)
                    return new NativeTypeAlias (language, Name, Name);

                foreach (Die child in Children) {
                    DieInheritance inheritance = child as DieInheritance;
                    if ((inheritance == null) || !inheritance.HasDataMember)
                        continue;
                    if (!inheritance.Resolve ())
                        continue;
                    debug ("INHERITANCE: {0} {1}", inheritance, inheritance.BaseInfo);
                    base_info = inheritance.BaseInfo;
                    break;
                }

                type = new NativeStructType (language, Name, byte_size, base_info);
                return type;
            }
예제 #8
0
            void DoResolve()
            {
                DieType type = comp_unit.GetType (type_offset);
                if (type == null)
                    return;

                base_type = type.ResolveType () as NativeStructType;
                if (base_type == null)
                    return;

                base_info = new DwarfBaseInfo (this, base_type);
            }
예제 #9
0
 public NativeBaseInfo(NativeStructType base_type)
 {
     this.BaseType = base_type;
 }