Mercurial Hosting > luan
view src/luan/LuanFunction.java @ 1260:4b5b84853f6f
replace Table.as_table with Luan.to_table
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 23 Sep 2018 22:32:34 -0600 |
parents | 1a68fc55a80c |
children | 25746915a241 |
line wrap: on
line source
package luan; public abstract class LuanFunction { public abstract Object call(LuanState luan,Object[] args) throws LuanException; public static final Object[] NOTHING = new Object[0]; public final Object call(LuanState luan) throws LuanException { return call(luan,NOTHING); } @Override public String toString() { return "function: " + Integer.toHexString(hashCode()); } }