/// TKS_ScriptModule.h
///
/// (c) 2001-2017 Bastian Spiegel <bs@tkscript.de>
///     - distributed under the terms of the GNU general public license (GPL).
/// 
///
#ifndef __TKS_SCRIPTMODULE_H__
#define __TKS_SCRIPTMODULE_H__

 
class TKS_ScriptModule : public YAC_Object {
public:
	void/*TKS_CachedScript*/*cscript;
   TKS_ScriptObjectID script_id;

public:
	TKS_ScriptModule  (void);
	~TKS_ScriptModule ();

	sSI  load         (YAC_String *_s);
	void unload       (void);
	void findVariable (YAC_String *_name, YAC_Value *_r);
	void findTaggedVariableByIndex (sSI _index, YAC_Value *_r);
	void findFunction (YAC_String *_name, YAC_Value *_r);
	void eval         (void);
};


#endif // __TKS_SCRIPTMODULE_H__
