script.h File Reference

#include <cc++/misc.h>
#include <cc++/file.h>
#include <iostream>
#include <fstream>

Go to the source code of this file.

Classes

class  Script
struct  Script::_symbol
class  Script::Test
class  Script::Attr
class  Script::Fun
class  Script::Line
class  Script::Name
class  Script::Name::Event
class  Script::Initial
class  Script::Define
class  Script::Locks
 This class holds a distributed lock set used for global script locks and the new lock/unlock commands.global lock table. More...
struct  Script::Locks::_lock
class  Script::Package
 A class to represent internal ccScript loaded modules.loaded dso modules. More...
class  Script::Session
 This class holds an "active" session handler that has been created by a "slow" module handler.active session base class. More...
class  Script::Property
 This class is used for DSO modules that impliment property extensions for scripting objects.ccScript property module. More...
class  ScriptModule
 This class is used for generic ccScript DSO plugins.ccScript loadable module. More...
class  ScriptCommand
 This class holds the bound keyword set for a given Bayonne style script interpreter.Bayonne script keyword binding tables and compiler constants. More...
struct  ScriptCommand::_keyword
class  ScriptSymbol
 This class manages symbol tables for the scripting engine.Symbol table management for scripting engine. More...
class  ScriptImage
 A derivable class to hold compiled script images for active processes.Script compiler image set. More...
class  ScriptImage::InitialList
class  ScriptInterp
class  ScriptInterp::Context

Defines

#define MAX_LOCKS   8
#define TRAP_BITS   (sizeof(unsigned long) * 8)
#define SCRIPT_STACK_SIZE   20
#define SCRIPT_TEMP_SPACE   16
#define KEYWORD_INDEX_SIZE   37
#define SYMBOL_INDEX_SIZE   187
#define SCRIPT_INDEX_SIZE   KEYWORD_INDEX_SIZE
#define SCRIPT_PREPROCESSOR_OVERRIDE   1
#define SCRIPT_EXCLUSIVE_OVERRIDE   1
#define SCRIPT_IF_OVERRIDE   1
#define SCRIPT_MAP_TABLES   1
#define SCRIPT_LOCAL_DEFINE   1
#define SCRIPT_TRANSACTION_GROUPING   1
#define SCRIPT_SET_READ   1
#define SCRIPT_MAX_ARGS   256
#define SCRIPT_DATA_SEGMENTS
#define SCRIPT_EXTENDED_EXPRESSIONS
#define SCRIPT_NAMED_EVENTS

Typedefs

typedef bool(*) Cond (ScriptInterp *interp, const char *v)
 System script interpreter core engine class.Extensible Bayonne Scripting Engine.
typedef long(*) Function (long *args, unsigned prec)
typedef char *(*) Meta (ScriptInterp *interp, const char *token)

Functions

void addFunction (const char *name, unsigned count, Function i)
void addConditional (const char *name, Cond test)
void addAttribute (const char *name, Meta meta)

Variables

CCXX_CLASS_EXPORT ScriptCommand
CCXX_CLASS_EXPORT ScriptImage
CCXX_CLASS_EXPORT ScriptInterp


Define Documentation

#define KEYWORD_INDEX_SIZE   37

#define MAX_LOCKS   8

#define SCRIPT_DATA_SEGMENTS

#define SCRIPT_EXCLUSIVE_OVERRIDE   1

#define SCRIPT_EXTENDED_EXPRESSIONS

#define SCRIPT_IF_OVERRIDE   1

#define SCRIPT_INDEX_SIZE   KEYWORD_INDEX_SIZE

#define SCRIPT_LOCAL_DEFINE   1

#define SCRIPT_MAP_TABLES   1

#define SCRIPT_MAX_ARGS   256

#define SCRIPT_NAMED_EVENTS

#define SCRIPT_PREPROCESSOR_OVERRIDE   1

#define SCRIPT_SET_READ   1

#define SCRIPT_STACK_SIZE   20

#define SCRIPT_TEMP_SPACE   16

#define SCRIPT_TRANSACTION_GROUPING   1

#define SYMBOL_INDEX_SIZE   187

#define TRAP_BITS   (sizeof(unsigned long) * 8)


Typedef Documentation

typedef bool(*) Cond(ScriptInterp *interp, const char *v)

System script interpreter core engine class.Extensible Bayonne Scripting Engine.

This class is further derived to impliment application specific language dialects.

Author:
David Sugar <dyfet@ostel.com>

typedef long(*) Function(long *args, unsigned prec)

typedef char*(*) Meta(ScriptInterp *interp, const char *token)


Function Documentation

void addAttribute ( const char *  name,
Meta  meta 
)

void addConditional ( const char *  name,
Cond  test 
)

void addFunction ( const char *  name,
unsigned  count,
Function  i 
)


Variable Documentation

class CCXX_CLASS_EXPORT ScriptCommand

class CCXX_CLASS_EXPORT ScriptImage

class CCXX_CLASS_EXPORT ScriptInterp


Generated on Sun Oct 22 22:53:47 2006 for ccScript by  doxygen 1.4.7