MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / tfp

Method tfp

chapter18/src/test/java/com/seaofnodes/simple/Eval2.java:295–295  ·  view source on GitHub ↗
(Node n)

Source from the content-addressed store, hash-verified

293 static double d( Node n ) { Object d = F.get(n); return d==null ? 0 : (Double)F.get(n); }
294 // Fetch and unbox a function constant
295 static TypeFunPtr tfp(Node n) { return (TypeFunPtr)F.get(n); }
296 // Fetch and unbox a closure
297 static Closure clj(Node n) { return (Closure)F.get(n); }
298

Callers 1

callMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected