Package org.openquark.cal.compiler.SourceModel.Expr.Record

Examples of org.openquark.cal.compiler.SourceModel.Expr.Record.FieldModification


        int numArgExprs = argExpressionList.size();
        FieldModification[] fieldMods = new FieldModification[numArgExprs];
        Iterator<SourceModel.Expr> it = argExpressionList.listIterator();
        for (int i = 0; i < numArgExprs; i++) {
            SourceModel.Expr connectedExpr = it.next();
            FieldModification fieldMod = FieldModification.Extension.make(SourceModel.Name.Field.make(node.getFieldName(i)), connectedExpr);
            fieldMods[i] = fieldMod;
        }
       
        // Create the record
        SourceModel.Expr expression = SourceModel.Expr.Record.make(null, fieldMods);
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.SourceModel.Expr.Record.FieldModification

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.