[Swift-commit] r6226 - branches/faster/src/org/griphyn/vdl/engine

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sun Feb 3 23:27:45 CST 2013


Author: hategan
Date: 2013-02-03 23:27:45 -0600 (Sun, 03 Feb 2013)
New Revision: 6226

Modified:
   branches/faster/src/org/griphyn/vdl/engine/Karajan.java
Log:
some vdl -> swift renames

Modified: branches/faster/src/org/griphyn/vdl/engine/Karajan.java
===================================================================
--- branches/faster/src/org/griphyn/vdl/engine/Karajan.java	2013-02-04 05:26:55 UTC (rev 6225)
+++ branches/faster/src/org/griphyn/vdl/engine/Karajan.java	2013-02-04 05:27:45 UTC (rev 6226)
@@ -478,7 +478,7 @@
 			if (!isPrimitiveOrArrayOfPrimitive(var.getType().getLocalPart())) {
     			StringTemplate mappingST = new StringTemplate("mapping");
     			mappingST.setAttribute("descriptor", "concurrent_mapper");
-    			StringTemplate paramST = template("vdl_parameter");
+    			StringTemplate paramST = template("swift_parameter");
     			paramST.setAttribute("name", "prefix");
     			paramST.setAttribute("expr", var.getName() + "-"
     					+ UUIDGenerator.getInstance().generateRandomBasedUUID().toString());
@@ -492,7 +492,7 @@
 	}
 
     private StringTemplate mappingParameter(Param param, VariableScope scope) throws CompilationException {
-        StringTemplate paramST = template("vdl_parameter");
+        StringTemplate paramST = template("swift_parameter");
         paramST.setAttribute("name", param.getName());
         Node expressionDOM = param.getAbstractExpression().getDomNode();
         String namespaceURI = expressionDOM.getNamespaceURI();
@@ -508,7 +508,7 @@
             // TODO factorise this and other code in variable()?
             StringTemplate pmappingST = new StringTemplate("mapping");
             pmappingST.setAttribute("descriptor", "concurrent_mapper");
-            StringTemplate pparamST = template("vdl_parameter");
+            StringTemplate pparamST = template("swift_parameter");
             pparamST.setAttribute("name", "prefix");
             pparamST.setAttribute("expr", parameterVariableName + "-" + 
                 UUIDGenerator.getInstance().generateRandomBasedUUID().toString());
@@ -1124,7 +1124,7 @@
 		Profile[] profiles = app.getProfileArray();
 		if (profiles.length == 0) 
 			return;
-		StringTemplate attributes = template("vdl_attributes");
+		StringTemplate attributes = template("swift_attributes");
 		for (Profile profile : profiles) { 
 			XmlObject xmlKey   = profile.getAbstractExpressionArray(0);
 			XmlObject xmlValue = profile.getAbstractExpressionArray(1);




More information about the Swift-commit mailing list