| Paula Script
    | 
| Namespaces | |
| namespace | core | 
| Classes | |
| class | Args | 
| Access callback arguments (e.g. value of "a" in "f(a)"). Set return value of the callback function, called from a script.  More... | |
| class | CharInput | 
| Input stream for constant strings.  More... | |
| class | FileInput | 
| Input stream for C++ std ifstream.  More... | |
| class | IInputStream | 
| Base class for input streams.  More... | |
| class | IOutputStream | 
| Base class for output.  More... | |
| class | NullPrint | 
| Dummy printer. Use to optimize out debug prints.  More... | |
| class | POut | 
| Base class for print output.  More... | |
| class | StandardInput | 
| Input stream for C++ std input.  More... | |
| class | STDErr | 
| Print output using C++ std err.  More... | |
| class | STDOut | 
| Print output using C++ std cout.  More... | |
| class | Var | 
| Access Paula script variable data.  More... | |
| Functions | |
| void | printVersion () | 
| const Error * | run (const char *code, const char **args, int numArgs) | 
| Run a script with arguments and return error, or NO_ERROR, if everything went well. | |
| const Error * | run (const char *) | 
| Run a script and return error, or NO_ERROR, if everything went well. | |
| const Error * | run (IInputStream &) | 
| Run a script and return error, or NO_ERROR, if everything went well. | |
| void | runSafe (const char *) | 
| Run a script. If an error occurs, print the error. | |
| void | runSafe (IInputStream &) | 
| Run a script. If an error occurs, print the error. | |
| Var | get (const char *varName) | 
| Get a variable by name. Return 'empty' if the variable is not found. | |
| const Error * | addCallback (const char *name, const Error *(*_action)(Args &)) | 
| Add a callback to call from a Paula script. | |
| Variables | |
| constexpr const char * | PAULA_VERSION = "0.2" | 
| constexpr INT | NODE_UNDEFINED = 0xff000000 | 
| constexpr INT | NODE_SUBTREE = 0x01000000 | 
| constexpr INT | NODE_EXPR_TREE = 0x02000000 | 
| constexpr INT | NODE_STATEMENT_TREE = 0x03000000 | 
| constexpr INT | NODE_KV_TREE = 0x07000000 | 
| constexpr INT | NODE_ANY_DATA = 0x20000000 | 
| constexpr INT | NODE_NAME = 0x21000000 | 
| constexpr INT | NODE_INTEGER = 0x22000000 | 
| constexpr INT | NODE_DOUBLE = 0x23000000 | 
| constexpr INT | NODE_TEXT = 0x24000000 | 
| constexpr INT | NODE_BOOL = 0x25000000 | 
| constexpr INT | NODE_STACK_ROOT = 0x2e000000 | 
| constexpr INT | NODE_VOID = 0x2f000000 | 
| constexpr INT | NODE_OPERATOR = 0x31000000 | 
| constexpr INT | NODE_RAW_TREE = 0x41000000 | 
| constexpr INT | NODE_TYPE_MASK = 0xff000000 | 
| constexpr INT | SIZE_MASK = 0x00ffffff | 
| const Error * paula::addCallback | ( | const char * | name, | 
| const Error *(*)(Args &) | _action | ||
| ) | 
Add a callback to call from a Paula script.
| Var paula::get | ( | const char * | varName | ) | 
Get a variable by name. Return 'empty' if the variable is not found.
| void paula::printVersion | ( | ) | 
| const Error * paula::run | ( | const char * | ) | 
Run a script and return error, or NO_ERROR, if everything went well.
| const Error * paula::run | ( | const char * | code, | 
| const char ** | args, | ||
| int | numArgs | ||
| ) | 
Run a script with arguments and return error, or NO_ERROR, if everything went well.
| const Error * paula::run | ( | IInputStream & | ) | 
Run a script and return error, or NO_ERROR, if everything went well.
| void paula::runSafe | ( | const char * | ) | 
Run a script. If an error occurs, print the error.
| void paula::runSafe | ( | IInputStream & | ) | 
Run a script. If an error occurs, print the error.
| constexpr INT paula::NODE_ANY_DATA = 0x20000000 | 
| constexpr INT paula::NODE_BOOL = 0x25000000 | 
| constexpr INT paula::NODE_DOUBLE = 0x23000000 | 
| constexpr INT paula::NODE_EXPR_TREE = 0x02000000 | 
| constexpr INT paula::NODE_INTEGER = 0x22000000 | 
| constexpr INT paula::NODE_KV_TREE = 0x07000000 | 
| constexpr INT paula::NODE_NAME = 0x21000000 | 
| constexpr INT paula::NODE_OPERATOR = 0x31000000 | 
| constexpr INT paula::NODE_RAW_TREE = 0x41000000 | 
| constexpr INT paula::NODE_STACK_ROOT = 0x2e000000 | 
| constexpr INT paula::NODE_STATEMENT_TREE = 0x03000000 | 
| constexpr INT paula::NODE_SUBTREE = 0x01000000 | 
| constexpr INT paula::NODE_TEXT = 0x24000000 | 
| constexpr INT paula::NODE_TYPE_MASK = 0xff000000 | 
| 
 | constexpr | 
| constexpr INT paula::NODE_VOID = 0x2f000000 | 
| 
 | constexpr | 
| constexpr INT paula::SIZE_MASK = 0x00ffffff |