comparison src/luan/interp/FnCall.java @ 132:14281d5bd36f

minor git-svn-id: https://luan-java.googlecode.com/svn/trunk@133 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 10 Jun 2014 09:17:25 +0000
parents f5af13062b10
children
comparison
equal deleted inserted replaced
131:15a8e6588f3c 132:14281d5bd36f
30 Object h = luan.getHandler("__call",o); 30 Object h = luan.getHandler("__call",o);
31 if( h != null ) 31 if( h != null )
32 return call(luan,h); 32 return call(luan,h);
33 throw luan.bit(fnExpr.se()).exception( "attempt to call '"+fnExpr.se().text()+"' (a " + Luan.type(o) + " value)" ); 33 throw luan.bit(fnExpr.se()).exception( "attempt to call '"+fnExpr.se().text()+"' (a " + Luan.type(o) + " value)" );
34 } 34 }
35
36 @Override public String toString() {
37 return "(FnCall "+fnName+" "+fnExpr+" "+args+")";
38 }
35 } 39 }