[ClavaLaraApi] Adds implementation of JoinPoints.toJoinPoint()
import weaver.JoinPointsBase;
import lara.Check;
import clava.Clava;
+import clava._ClavaJavaTypes;
+JoinPoints.prototype.toJoinPoint = function(node) {
+ var cxxJps = _ClavaJavaTypes.getCxxJoinPoints();
+ return cxxJps.createFromLara(node);
+}
+
+
/**
*
* @return {$jp[]} the children of the given node
