Package org.openquark.cal.compiler.SourceModel

Examples of org.openquark.cal.compiler.SourceModel.ArgBindings


             * @param dataCons the source element corresponding to the new scope.
             * @param caseAndLambdaBoundLocalFunctionIdentifierGenerator the identifier generator for case-bound and lambda-bound variables.
             * @return the new scope.
             */
            SymbolTable newScope(final SymbolTable parent, final Expr.Case.Alt.UnpackDataCons dataCons, final LocalFunctionIdentifierGenerator caseAndLambdaBoundLocalFunctionIdentifierGenerator) {
                final ArgBindings argBindings = dataCons.getArgBindings();

                if (argBindings instanceof ArgBindings.Matching) {
                    final BindingsMap<IdentifierInfo.Local> bindings = BindingsMap.make();

                    for (final FieldPattern fieldPattern : ((ArgBindings.Matching)argBindings).getFieldPatterns()) {
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.SourceModel.ArgBindings

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.