Package org.apache.flex.compiler.common

Examples of org.apache.flex.compiler.common.RecursionGuard


            {
                if (includeThis)
                {
                    theInterfaces.add(iface);
                }
                RecursionGuard guard = new RecursionGuard();
                analyze(iface, guard, problems);
            }
            underlyingIterator = theInterfaces.iterator();
        }
View Full Code Here


            for (IInterfaceDefinition parentIFace : parentIFaces)
            {
                // as we recurse, we need to create new recursion guards at each level. Otherwise a
                // "diamond inheritance hierarchy" would generate a false positive.
                // So we make a copy and pass it down to the next level.
                RecursionGuard childGuard = new RecursionGuard(guard);
                analyze(parentIFace, childGuard, problems);
                if (!childGuard.foundLoop)
                {
                    theInterfaces.add(parentIFace);
                }
View Full Code Here

            assert thisClass != null;
            assert project != null;

            this.project = project;
            nextClass = includeThis ? thisClass : thisClass.resolveBaseClass(project);
            guard = new RecursionGuard(nextClass);
            foundLoop = false;
        }
View Full Code Here

    @Override
    public IMetaTagNode[] getMetaTagNodesByName(String name)
    {
        ArrayList<IMetaTagNode> allMatchingAttributes = new ArrayList<IMetaTagNode>();
        getMetaTagsByName(name, new RecursionGuard(), allMatchingAttributes);
        return allMatchingAttributes.toArray(new IMetaTagNode[0]);
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.common.RecursionGuard

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.