#include <script.h>
Inheritance diagram for ScriptCommand:
Protected Methods | |
virtual unsigned | getTrapId (const char *trap) |
Get the trap id number associated with a trap name. More... | |
virtual unsigned long | getTrapDefault (void) |
Get the mask bits for the default script. More... | |
virtual unsigned long | getTrapHandler (scriptname_t *scr) |
Get the mask bits for a trap "handler". More... | |
virtual unsigned long | getTrapMask (unsigned id) |
Get a trap mask for a given identifer. More... | |
virtual unsigned long | getTrapModifier (const char *trapname) |
A helper method for the compiler. More... | |
virtual unsigned long | getTrapMask (const char *trapname) |
A helper method for the compiler used specifically for "^" trap subsection requests. More... | |
char* | chkIgnore (scriptline_t *line) |
Default compiler syntax to accept any syntax. | |
char* | chkHasModify (scriptline_t *line) |
A check used by "inc" and "dec". More... | |
char* | chkHasVars (scriptline_t *line) |
Script compiler syntax check for certain variable using statements such as "clear". More... | |
char* | chkHasList (scriptline_t *line) |
Script compiler syntax check for assignment statements such as "set", "for", etc. More... | |
char* | chkNoArgs (scriptline_t *line) |
Script compiler syntax check for commands that require no arguments to be present. More... | |
char* | chkHasArgs (scriptline_t *line) |
Script compiler syntax check for commands that require one or more arguments to be present. More... | |
void | Load (SCRKEYWORDS *keywords) |
Load a set of keywords into the system keyword table. More... | |
int | Trap (const char *name) |
Add a trap handler symbolic identity to the keyword table. More... | |
int | getCount (void) |
Get count of active traps. More... | |
virtual char* | Check (scriptcheck_t check, scriptline_t *line) |
Perform compile time check of a specified symbol. More... | |
ScriptCommand (const char *cfgfile) | |
Load a keydata entry for compile-time constants and bind the default ScriptInterp base class methods. More... | |
Friends | |
class | ScriptImage |
class | ScriptInterp |
Application specific dialects are created by deriving a application specific version of ScriptCommand which then binds application specific keywords and associated methods in an application derived ScriptInterp which are typecast to (scriptmethod_t).
|
Load a keydata entry for compile-time constants and bind the default ScriptInterp base class methods. This class is never used alone, so no public constructor is provided.
|
|
Perform compile time check of a specified symbol.
|
|
Load a set of keywords into the system keyword table. This provides a convenient method of initializing and adding to the keyword indexes.
|
|
Add a trap handler symbolic identity to the keyword table. These are used to handle signal mask coercion and event branch points in the compiler.
|
|
Script compiler syntax check for commands that require one or more arguments to be present.
|
|
Script compiler syntax check for assignment statements such as "set", "for", etc.
|
|
A check used by "inc" and "dec".
|
|
Script compiler syntax check for certain variable using statements such as "clear". Assumes list of valid variable arguments. |
|
Default compiler syntax to accept any syntax.
|
|
Script compiler syntax check for commands that require no arguments to be present.
|
|
Get count of active traps.
|
|
Get the mask bits for the default script.
|
|
Get the mask bits for a trap "handler".
|
|
Get the trap id number associated with a trap name.
|
|
A helper method for the compiler used specifically for "^" trap subsection requests. These will occasionally carry different attribute settings.
|
|
Get a trap mask for a given identifer. This is a virtual since some derived handlers may manipulate mask bits.
|
|
A helper method for the compiler. Converts a named trap into it's bit shifted mask. By making it a virtual, derived dialects can add "aliases" to default trap names.
|
|
|
|
|