Package org.apache.flex.compiler.internal.caches

Examples of org.apache.flex.compiler.internal.caches.PackageNamespaceDefinitionCache$Key


    validateQuery(query);
    validateSplitSize(numSplits);

    List<Query> splits = new ArrayList<Query>(numSplits);
    List<Key> scatterKeys = getScatterKeys(numSplits, query, datastore);
    Key lastKey = null;
    for (Key nextKey : getSplitKey(scatterKeys, numSplits)) {
      splits.add(createSplit(lastKey, nextKey, query));
      lastKey = nextKey;
    }
    splits.add(createSplit(lastKey, null, query));
View Full Code Here


        projects = new MapMaker().weakKeys().makeMap();
        pathToFileSpecMap = new HashMap<String, IFileSpecification>();
        pathToCompilationUnitMapping = new StringToCompilationUnitMap();
        includeFilesToIncludingCompilationUnitMapping = new StringToCompilationUnitMap();

        packageNamespaceDefinitionCache = new PackageNamespaceDefinitionCache();
        embedDataCache = new WeakHashMap<EmbedData, EmbedData>();
        embedLock = new ReentrantReadWriteLock();

        invisibleCompilationUnitReferenceQueue = new FinalizableReferenceQueue();
View Full Code Here

     */
    public PackageScope(ASScope containingScope, String packageName, ScopedBlockNode contentsNode)
    {
        super(containingScope, contentsNode);
        Workspace workspace = (Workspace)containingScope.getWorkspace();
        PackageNamespaceDefinitionCache packageNSCache = workspace.getPackageNamespaceDefinitionCache();
        internalNamespaceReference = packageNSCache.get(packageName, true);
        publicNamespaceReference = packageNSCache.get(packageName, false);

        if( containingScope instanceof ASFileScope )
        {
            // Add the implicit imports, so they still work inside packages,
            // since we won't consult the containing file scope for actionscript files
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.internal.caches.PackageNamespaceDefinitionCache$Key

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.