Package org.openquark.cal.compiler.Expression.Let

Examples of org.openquark.cal.compiler.Expression.Let.LetDefn


           
            @Override
            public void enterVar(Expression.Var var) {
                // If this is a let variable in the counts map increment the reference count.
                String varName = var.getName().getUnqualifiedName();
                LetDefn letDef = varNamToDef.get(varName);
                if (letDef != null) {
                    letDef.incrementUseCount();
                }
            }
            @Override
            public void enterLetNonRec(Expression.LetNonRec let) {
                // Add the let variable to the counts map with a reference count of zero.
View Full Code Here


           
            @Override
            public void enterVar(Expression.Var var) {
                // If this is a let variable in the counts map increment the reference count.
                String varName = var.getName().getUnqualifiedName();
                LetDefn letDef = varNamToDef.get(varName);
                if (letDef != null) {
                    letDef.incrementUseCount();
                }
            }
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.Expression.Let.LetDefn

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.