view core/src/luan/LuanFunction.java @ 535:289908469e02

parse numeric constants to ints or longs if possible
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 31 May 2015 00:00:17 -0600
parents 1eafb11a150d
children 6cc2f047019b
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];

	@Override public String toString() {
		return "function: " + Integer.toHexString(hashCode());
	}

}