Example #1
0
 internal UnFunction(UnExport export, string name, FlagValues flags, byte[] bytecode, int nativeIndex, int operatorPrecedence)
     : base(export, bytecode)
 {
     _name               = name;
     _flags              = flags;
     _nativeIndex        = nativeIndex;
     _operatorPrecedence = operatorPrecedence;
 }
Example #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;
 }
Example #3
0
        public UnClassProperty(UnExport export, int arraySize, FlagValues flags, int category, short repOffset)
        {
            _export    = export;
            _arraySize = arraySize;
            _flags     = flags;
            var categoryName = export.Package.Names[category];

            if (categoryName.Name != "None")
            {
                _category = categoryName;
            }
            RepOffset = repOffset;
        }
Example #4
0
 public UnTypedClassProperty(UnExport export, int arraySize, FlagValues flags, int category, UnPackageItem type, short repOffset)
     : base(export, arraySize, flags, category, repOffset)
 {
     Type = type;
 }
Example #5
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;
 }