Package org.openquark.cal.compiler.ClassInstanceIdentifier

Examples of org.openquark.cal.compiler.ClassInstanceIdentifier.UniversalRecordInstance


                    ClassInstanceIdentifier id;
                    if (instanceTypeExpr instanceof RecordType) {
                       
                        RecordType recordType = (RecordType)instanceTypeExpr;
                        if (recordType.isRecordPolymorphic()) {
                            id = new UniversalRecordInstance(qualifiedTypeClassName);
                        } else {
                            throw new IllegalArgumentException();
                        }
                    } else if (instanceTypeExpr instanceof TypeConsApp) {
                        id = new TypeConstructorInstance(qualifiedTypeClassName, ((TypeConsApp)instanceTypeExpr).getName());
View Full Code Here


                    ClassInstanceIdentifier id;
                    if (instanceTypeExpr instanceof RecordType) {
                       
                        RecordType recordType = (RecordType)instanceTypeExpr;
                        if (recordType.isRecordPolymorphic()) {
                            id = new UniversalRecordInstance(qualifiedTypeClassName);
                        } else {
                            throw new IllegalArgumentException();
                        }
                    } else if (instanceTypeExpr instanceof TypeConsApp) {
                        id = new TypeConstructorInstance(qualifiedTypeClassName, ((TypeConsApp)instanceTypeExpr).getName());
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.ClassInstanceIdentifier.UniversalRecordInstance

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.