Package macromedia.asc.embedding.avmplus

Examples of macromedia.asc.embedding.avmplus.ClassBuilder


        {
            String name = "Function";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._functionType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_function);
            statics._functionType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._functionType);
            statics.builtins.put(name, statics._functionType);
        }
        return statics._functionType;
    }
View Full Code Here


        {
            String name = "int";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._intType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_int);
            statics._intType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._intType);
            statics.builtins.put(name, statics._intType);
        }
        return statics._intType;
    }
View Full Code Here

        {
            String name = "uint";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._uintType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_uint);
            statics._uintType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._uintType);
            statics.builtins.put(name, statics._uintType);
        }
        return statics._uintType;
    }
View Full Code Here

        {
            String name = "Number";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._numberType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_double);
            statics._numberType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._numberType);
            statics.builtins.put(name, statics._numberType);
        }
        return statics._numberType;
    }
View Full Code Here

        {
            String name = "double";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._doubleType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_double);
            statics._doubleType.baseclass = objectType(); // since this is not in older Global.abc
            statics._doubleType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._doubleType);
            statics.builtins.put(name, statics._doubleType);
        }
        return statics._doubleType;
View Full Code Here

        {
            String name = "decimal";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._decimalType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_decimal);
            statics._decimalType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._decimalType);
            statics.builtins.put(name, statics._decimalType);
        }
        return statics._decimalType;
    }
View Full Code Here

        {
            String name = "XML";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._xmlType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_xml);
            statics._xmlType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._xmlType);
            statics.builtins.put(name, statics._xmlType);
        }
        return statics._xmlType;
    }
View Full Code Here

        {
            String name = "RegExp";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._regExpType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_object);
            statics._regExpType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._regExpType);
            statics.builtins.put(name, statics._regExpType);
        }
        return statics._regExpType;
    }
View Full Code Here

        {
            String name = "XMLList";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._xmlListType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_xml);
            statics._xmlListType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._xmlListType);
            statics.builtins.put(name, statics._xmlListType);
        }
        return statics._xmlListType;
    }
View Full Code Here

        {
            String name = "Vector";
            QName qname = new QName(getNamespace("__AS3__.vec"), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._vectorType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_object);
            statics._vectorType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._vectorType);
            statics._vectorType.is_parameterized = true;
            statics.builtins.put(qname.toString(), statics._vectorType);
        }
        return statics._vectorType;
View Full Code Here

TOP

Related Classes of macromedia.asc.embedding.avmplus.ClassBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.