Package org.openquark.cal.compiler.SourceModel

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


                    } else if (element instanceof TypeClassDefn) {
                        ////
                        /// Process a type class definition
                        //
                       
                        final TypeClassDefn typeClass = (TypeClassDefn)element;

                        typeClassBindings.put(
                            typeClass.getTypeClassName(),
                            Binding.Definition.make(
                                new IdentifierInfo.TopLevel.TypeClass(
                                    QualifiedName.make(currentModuleName, typeClass.getTypeClassName())),
                                typeClass,
                                typeClass.getSourceRangeOfName()));

                        for (final TypeClassDefn.ClassMethodDefn classMethod : typeClass.getClassMethodDefns()) {
                            // We process each class method as well
                           
                            functionAndClassMethodBindings.put(
                                classMethod.getMethodName(),
                                Binding.Definition.make(
View Full Code Here

TOP

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

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.