Examples of pushNumericConstant()


Examples of org.apache.flex.abc.instructionlist.InstructionList.pushNumericConstant()

        Name vector_name = new Name(CONSTANT_Qname, ns_set, IASLanguageConstants.Vector);

        result.addAll(currentScope.getPropertyValue(vector_name, currentScope.getProject().getBuiltinType(BuiltinType.VECTOR)));
        generateTypeNameParameter(type_param, result);
        result.addInstruction(OP_applytype, 1);
        result.pushNumericConstant(elements.size());
        result.addInstruction(OP_construct, 1);

        //  Share this instruction; there may be many elements.
        Instruction setter = arrayAccess(iNode, OP_setproperty);
View Full Code Here

Examples of org.apache.flex.abc.instructionlist.InstructionList.pushNumericConstant()

        Instruction setter = arrayAccess(iNode, OP_setproperty);

        for ( int i = 0; i < elements.size(); i++ )
        {
            result.addInstruction(OP_dup);
            result.pushNumericConstant(i);
            result.addAll(elements.elementAt(i));
            result.addInstruction(setter);
        }

        return result;
View Full Code Here

Examples of org.apache.flex.abc.instructionlist.InstructionList.pushNumericConstant()

        InstructionList ret = new InstructionList();
        int propertyCount = 0;
       
        Set<BindingInfo> bindingInfo = bindingDataBase.getBindingInfo();
        ret.pushNumericConstant(bindingInfo.size()); // number of bindings
        propertyCount++;
       
        for (BindingInfo bi : bindingInfo)
        {
            String s;
View Full Code Here

Examples of org.apache.flex.abc.instructionlist.InstructionList.pushNumericConstant()

        {
            parameterFunctionBody.addInstruction(OP_findpropstrict, IMXMLTypeConstants.NAME_ARGUMENTERROR);
   
            // Make a new ArugmentError with correct ID
            parameterFunctionBody.addInstruction(OP_pushstring, "unimp param func");
            parameterFunctionBody.pushNumericConstant(1069);
            parameterFunctionBody.addInstruction(OP_constructprop, 
                    new Object[] {  IMXMLTypeConstants.NAME_ARGUMENTERROR, 2 });    
            // stack : ArgumentError
              
            parameterFunctionBody.addInstruction(OP_throw);  
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.