org.omegahat.Environment.Language
Interface LazyFunctionTable

All Known Implementing Classes:
OmegahatVarArgsSystemFunctions, OmegahatLazySystemFunctions

public interface LazyFunctionTable

Trivial interface with no methods used to indicated that all the methods defined in this class that have signatures foo(org.omegahat.Environment.Parser.Parse.List, org.omegahat.Environment.Interpreter.Evaluator) are to be considered "lazy" functions and that calls of the form foo(e1,e2,e3) should result in passing the list containing the unevaluated expressions e1,e2,e3.

Note that an entry in the internalFunctionTables of the BasicEvaluator can have other methods that are treated in the usual manner. So not all methods are lazy, just those with this particular signature.

This is primarily motiviated by functions such as Switch, time and quote

See Also:
VarArgsFunctionTable