Classes | |
| class | Chunk |
| class | Compiler |
| struct | Token |
| class | Scanner |
| struct | TData |
| struct | TField |
| struct | TClassInfo |
| class | TClassList |
| struct | ObjString |
| struct | ObjTInstance |
| struct | Value |
| class | VM |
Typedefs | |
| template<typename T > | |
| using | JustAChar = const char * |
| template<typename T > | |
| using | JustACharRef = const char *& |
Functions | |
| void | SetAll (VM &vm, std::initializer_list< const char * > names) |
| template<typename... Ts> | |
| void | _swallow (Ts &&...) |
| template<typename... TObjs> | |
| void | RegisterAll () |
| template<typename... TObjs> | |
| void | AddAll (VM &vm) |
| template<typename T , typename... TObjs> | |
| void | AddAll (VM &vm, JustACharRef< T > name, JustACharRef< TObjs >...names, const T *&obj, const TObjs *&...objs) |
| template<typename... TObjs> | |
| Chunk | compileChunk (const char *source) |
| template<typename... TObjs> | |
| std::function< uscript::Value(const TObjs *...)> | compile (JustAChar< TObjs >...names, const char *source) |
| DECLARE_ADDGLOBAL_SPECIAL (int) | |
| DECLARE_ADDGLOBAL_SPECIAL (unsigned) | |
| DECLARE_ADDGLOBAL_SPECIAL (float) | |
| DECLARE_ADDGLOBAL_SPECIAL (double) | |
| DECLARE_ADDGLOBAL_SPECIAL (bool) | |
| using uscript::JustAChar = typedef const char * |
| using uscript::JustACharRef = typedef const char *& |
| enum uscript::OpCode |
Definition at line 13 of file chunk.h.
| enum uscript::TFieldType |
| Enumerator | |
|---|---|
| FIELD_BOOL | |
| FIELD_INT | |
| FIELD_UNSIGNED | |
| FIELD_FLOAT | |
| FIELD_DOUBLE | |
| FIELD_ENUM | |
| FIELD_TINSTANCE | |
Definition at line 11 of file tclass.h.
| enum uscript::TokenType |
Definition at line 8 of file scanner.h.
| enum uscript::ValueType |
| Enumerator | |
|---|---|
| VAL_BOOL | |
| VAL_NIL | |
| VAL_NUMBER | |
| VAL_INTEGER | |
| VAL_OBJ_STRING | |
| VAL_OBJ_TINSTANCE | |
Definition at line 9 of file value.h.
| void uscript::_swallow | ( | Ts && | ... | ) |
| void uscript::AddAll | ( | VM & | vm | ) |
| void uscript::AddAll | ( | VM & | vm, |
| JustACharRef< T > | name, | ||
| JustACharRef< TObjs >... | names, | ||
| const T *& | obj, | ||
| const TObjs *&... | objs | ||
| ) |
| std::function<uscript::Value (const TObjs*...)> uscript::compile | ( | JustAChar< TObjs >... | names, |
| const char * | source | ||
| ) |
| Chunk uscript::compileChunk | ( | const char * | source | ) |
Definition at line 45 of file api.h.
| uscript::DECLARE_ADDGLOBAL_SPECIAL | ( | int | ) |
| uscript::DECLARE_ADDGLOBAL_SPECIAL | ( | unsigned | ) |
| uscript::DECLARE_ADDGLOBAL_SPECIAL | ( | float | ) |
| uscript::DECLARE_ADDGLOBAL_SPECIAL | ( | double | ) |
| uscript::DECLARE_ADDGLOBAL_SPECIAL | ( | bool | ) |
1.8.5