Package org.openquark.cal.compiler.IdentifierResolver.SymbolTable

Examples of org.openquark.cal.compiler.IdentifierResolver.SymbolTable.LocalScope


            if (target.equals(binding.getIdentifierInfo())) {
                // find all the local definitions that are shadowed
                SymbolTable scopeToCheck = scope;
                while (scopeToCheck instanceof LocalScope) {
                    final LocalScope localAncestorScope = (LocalScope)scopeToCheck;
                    for (final Binding<IdentifierInfo.Local> bindingInAncestor : localAncestorScope.getBindings()) {
                        if (newName.equals(bindingInAncestor.getIdentifierInfo().getVarName())) {
                            shadowedLocalDefinitions.put(bindingInAncestor.getIdentifierInfo(), bindingInAncestor);
                        }
                    }
                   
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.IdentifierResolver.SymbolTable.LocalScope

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.