Ejemplo n.º 1
0
        internal BytecodeToken ReadRef(Func <UnPackageItem, string> func)
        {
            int           index = _reader.ReadInt32();
            UnPackageItem item  = _package.ResolveClassItem(index);

            if (item == null)
            {
                return(ErrToken("// unresolved reference " + index));
            }
            return(Token(func(item)));
        }
Ejemplo n.º 2
0
 internal UnClass(UnExport self, int superIndex, UnPackageItem outerInstance, byte[] bytecode, FlagValues flags,
                  UnPackageItem defaults, string config, List <string> hideCategories, List <UnPackageItem> interfaces)
     : base(self, superIndex, bytecode)
 {
     _outerInstance  = outerInstance;
     _flags          = flags;
     _defaults       = defaults;
     _config         = config;
     _hideCategories = hideCategories;
     _interfaces     = interfaces;
 }
Ejemplo n.º 3
0
 protected UnContainer(UnExport self, int superIndex, byte[] bytecode)
     : base(self, bytecode)
 {
     _super = superIndex == 0 ? null : _self.Package.ResolveClassItem(superIndex);
 }
Ejemplo n.º 4
0
 public UnClassClassProperty(UnExport export, int arraySize, FlagValues flags, int category, UnPackageItem type1, UnPackageItem type2, short repOffset)
     : base(export, arraySize, flags, category, repOffset)
 {
     Type1 = type1;
     Type2 = type2;
 }
Ejemplo n.º 5
0
 public UnTypedClassProperty(UnExport export, int arraySize, FlagValues flags, int category, UnPackageItem type, short repOffset)
     : base(export, arraySize, flags, category, repOffset)
 {
     Type = type;
 }
Ejemplo n.º 6
0
 public UnTypedClassProperty(UnExport export, int arraySize, FlagValues flags, int category, UnPackageItem type, short repOffset)
     : base(export, arraySize, flags, category, repOffset)
 {
     Type = type;
 }
Ejemplo n.º 7
0
 public UnClassClassProperty(UnExport export, int arraySize, FlagValues flags, int category, UnPackageItem type1, UnPackageItem type2, short repOffset)
     : base(export, arraySize, flags, category, repOffset)
 {
     Type1 = type1;
     Type2 = type2;
 }
Ejemplo n.º 8
0
 protected UnContainer(UnExport self, int superIndex, byte[] bytecode)
     : base(self, bytecode)
 {
     _super = superIndex == 0 ? null : _self.Package.ResolveClassItem(superIndex);
 }
Ejemplo n.º 9
0
 internal UnClass(UnExport self, int superIndex, UnPackageItem outerInstance, byte[] bytecode, FlagValues flags, 
     UnPackageItem defaults, string config, List<string> hideCategories, List<UnPackageItem> interfaces)
     : base(self, superIndex, bytecode)
 {
     _outerInstance = outerInstance;
     _flags = flags;
     _defaults = defaults;
     _config = config;
     _hideCategories = hideCategories;
     _interfaces = interfaces;
 }