Package org.apache.flex.compiler.internal.scopes

Examples of org.apache.flex.compiler.internal.scopes.ASScopeCache$QName


     * @param scope     the scope you want the cache for.
     * @return          the ASScopeCache for the scope
     */
    public ASScopeCache getCacheForScope(ASScope scope)
    {
        ASScopeCache scopeCache = null;

        // First check and see if we have the result cached in the thread local cache
        Map<ASScope, WeakReference<ASScopeCache>> cache = threadLocalScopeCache.get();
        WeakReference<ASScopeCache> ref = cache.get(scope);
        scopeCache = ref != null ? ref.get() : null;
View Full Code Here


            this.project = project;
        }
        @Override
        public ASScopeCache load(ASScope scope)
        {
            ASScopeCache cache = new ASScopeCache(project, scope);
            project.projectScope.addScopeToCompilationUnitScopeList(scope);
            return cache;
        }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.internal.scopes.ASScopeCache$QName

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.