Examples of IMetaTagsNode


Examples of org.apache.flex.compiler.tree.metadata.IMetaTagsNode

            // resolver will return the ClassNode, not the MetaTagNode.  Catch this
            // case by when we get a ClassNode, walking any metatags on the class
            // looking for an offset that matches this MetaTag offset.
            if (node instanceof ClassNode)
            {
                IMetaTagsNode metaTags = ((ClassNode)node).getMetaTags();
                if (metaTags != null)
                {
                    for (IMetaTagNode metaTagNode : metaTags.getAllTags())
                    {
                        if (metaTagNode.getAbsoluteStart() == getAbsoluteStart())
                            return metaTagNode;
                    }
                }
View Full Code Here

Examples of org.apache.flex.compiler.tree.metadata.IMetaTagsNode

     * @param allMatchingAttributes list to be filled with all matching meta
     * attributes
     */
    protected void getMetaTagsByName(String name, RecursionGuard recursionGuard, ArrayList<IMetaTagNode> allMatchingAttributes)
    {
        IMetaTagsNode metaTags = getMetaTags();
        if (metaTags != null)
        {
            IMetaTagNode[] matchingAttributes = metaTags.getTagsByName(name);
            allMatchingAttributes.addAll(Arrays.asList(matchingAttributes));
        }
        //TODO where is metadata stored
        //    if(!IMetaAttributeConstants.NON_INHERITING_METATAGS.contains(name)) {
        //      IClassNode baseClass = getBaseClassDefinition(recursionGuard);
View Full Code Here

Examples of org.apache.flex.compiler.tree.metadata.IMetaTagsNode

    }
   
    @Override
    public IMetaInfo[] getMetaInfos()
    {
        IMetaTagsNode metaTagsNode = getMetaTags();
        if (metaTagsNode == null)
            return new IMetaInfo[0];
       
        return metaTagsNode.getAllTags();
    }
View Full Code Here

Examples of org.apache.flex.compiler.tree.metadata.IMetaTagsNode

            db.setStatic();
    }

    protected void fillInMetadata(DefinitionBase definition)
    {
        IMetaTagsNode metaTagsNode = getMetaTagsNode();
        if (metaTagsNode == null)
            return;

        IMetaTag[] metaTags = ((MetaTagsNode)metaTagsNode).buildMetaTags(getFileSpecification(), definition);
        definition.setMetaTags(metaTags);
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.