Package macromedia.asc.parser

Examples of macromedia.asc.parser.AttributeListNode


        ParameterNode parameter =
            AbstractSyntaxTreeUtil.generateParameter(nodeFactory, VALUE, accessorInfo.getTypeName(), true, position);
        ParameterListNode parameterList = nodeFactory.parameterList(null, parameter);
        FunctionSignatureNode functionSignature = nodeFactory.functionSignature(parameterList, null);
        functionSignature.void_anno = true;
        AttributeListNode attributeList = generateAttributeList(nodeFactory, accessorInfo.getAttributeString());
        IdentifierNode propertyNameIdentifier = nodeFactory.identifier(accessorInfo.getPropertyName());
        FunctionNameNode functionName = nodeFactory.functionName(Tokens.SET_TOKEN, propertyNameIdentifier);
        StatementListNode functionStatementList;
        String qualifiedBackingPropertyName = accessorInfo.getQualifiedBackingPropertyName().intern();
        String setterAccessPropertyName;
View Full Code Here


    {
        // Equivalent AS:
        //
        //    private static var _staticBindingEventDispatcher:flash.events.EventDispatcher =
        //        new flash.events.EventDispatcher();
        AttributeListNode attributeList = AbstractSyntaxTreeUtil.generatePrivateStaticAttribute(nodeFactory);
        IdentifierNode _staticBindingEventDispatcherIdentifier = nodeFactory.identifier(_STATIC_BINDING_EVENT_DISPATCHER, false);
        QualifiedIdentifierNode qualifiedIdentifier =
            AbstractSyntaxTreeUtil.generateQualifiedIdentifier(nodeFactory, FLASH_EVENTS,
                                                               EVENT_DISPATCHER_CLASS, false);
        CallExpressionNode callExpression =
View Full Code Here

        NodeFactory nodeFactory = context.getNodeFactory();
        MemberExpressionNode returnTypeMemberExpression =
            AbstractSyntaxTreeUtil.generateGetterSelector(nodeFactory, I_EVENT_DISPATCHER, true);
        TypeExpressionNode returnType = nodeFactory.typeExpression(returnTypeMemberExpression, true, false, -1);
        FunctionSignatureNode functionSignature = nodeFactory.functionSignature(null, returnType);
        AttributeListNode attributeList = AbstractSyntaxTreeUtil.generatePublicStaticAttribute(nodeFactory);
        IdentifierNode staticEventDispatcherIdentifier = nodeFactory.identifier(STATIC_EVENT_DISPATCHER, false);
        FunctionNameNode functionName = nodeFactory.functionName(Tokens.GET_TOKEN, staticEventDispatcherIdentifier);
        MemberExpressionNode memberExpression =
            AbstractSyntaxTreeUtil.generateGetterSelector(nodeFactory, _STATIC_BINDING_EVENT_DISPATCHER, false);
        ListNode returnList = nodeFactory.list(null, memberExpression);
View Full Code Here

        //    public function willTrigger(type:String):Boolean
        //    {
        //        return _bindingEventDispatcher.willTrigger(type);
        //    }
        NodeFactory nodeFactory = context.getNodeFactory();
        AttributeListNode attributeList = AbstractSyntaxTreeUtil.generatePublicAttribute(nodeFactory);

        IdentifierNode willTriggerIdentifier = nodeFactory.identifier(WILL_TRIGGER, false);
        FunctionNameNode functionName = nodeFactory.functionName(Tokens.EMPTY_TOKEN, willTriggerIdentifier);

        ParameterNode typeParameter =
View Full Code Here

                            interfaces[i] = (s == null || s.getDebugName().length() == 0) ? rv.name : s.getDebugName();
                        }
                    }
                }

                AttributeListNode attrs = cd.attrs;
                if (attrs != null)
                {
                    isFinal = attrs.hasFinal ? true : false;
                    isDynamic = attrs.hasDynamic ? true : false;
                }
View Full Code Here

               
                key.name = fd.name.identifier.name;
               
                fullname = fd.fexpr.debug_name;
    
                AttributeListNode attrs = fd.attrs;
                if(attrs != null)
                {
                    isStatic = attrs.hasStatic;
                    isFinal = attrs.hasFinal;
                    isOverride = attrs.hasOverride;
                    hasUserNamespace  = attrs.hasUserNamespace();
                }
               
                ParameterListNode pln = fd.fexpr.signature.parameter;
                if (pln != null)
                {
View Full Code Here

                if (vb.typeref != null)
                {
                    vartype = getRefName(cx, vb.typeref);
                }

                AttributeListNode attrs = vd.attrs;
                if (attrs != null)
                {
                    isStatic = attrs.hasStatic;
                    hasUserNamespace  = attrs.hasUserNamespace();
                }
               
                Slot s = vb.ref.getSlot(cx);
                if (s != null)
                {
View Full Code Here

TOP

Related Classes of macromedia.asc.parser.AttributeListNode

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.