Package org.openquark.cal.valuenode

Examples of org.openquark.cal.valuenode.RecordValueNode


                    }
                   
                } else if (isListRecord) {
                   
                    List<FieldName> contextRecordFieldNames = ((RecordType)unconstrainedListElementType).getHasFieldNames();
                    RecordValueNode currentRecordValue = (RecordValueNode)listElementNode;
                    for (int j = 0, n = currentRecordValue.getNFieldNames(); j < n; j++) {
                        ValueNode currentFieldItem = currentRecordValue.getValueAt(j);
                       
                        TypeExpr unconstrainedFieldType;
                        if (contextRecordFieldNames.contains(currentRecordValue.getFieldName(j))) {
                           
                            unconstrainedFieldType = ((RecordType)unconstrainedListElementType).getHasFieldType(currentRecordValue.getFieldName(j));
                           
                        } else {
                       
                            // This field does not exist in the context; then it was added to our list type
                            // while the node was bound.
View Full Code Here

TOP

Related Classes of org.openquark.cal.valuenode.RecordValueNode

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.