1 #ifndef CODE_SCRIPT_STORE_H 2 #define CODE_SCRIPT_STORE_H 37 typedef void (*
ScanCallback)(
void * context,
const char * p,
int n);
52 static constexpr
size_t k_fileInput2ParseNodeStructKind = 1;
53 static constexpr
size_t k_functionDefinitionParseNodeStructKind = 3;
54 static constexpr
size_t k_expressionStatementParseNodeStructKind = 5;
Ion::Storage::Record::ErrorStatus addScriptFromTemplate(const ScriptTemplate *scriptTemplate)
static const ScriptTemplate * Empty()
static constexpr int k_maxNumberOfScripts
int numberOfRecordsWithExtension(const char *extension)
static Storage * sharedStorage()
Script scriptNamed(const char *name)
const char * contentOfScript(const char *name) override
Script scriptAtIndex(int index)
void scanScriptsForFunctionsAndVariables(void *context, ScanCallback storeFunction, ScanCallback storeVariable)
void(* ScanCallback)(void *context, const char *p, int n)
Ion::Storage::Record::ErrorStatus addNewScript()
static constexpr char k_defaultScriptName[]
static constexpr char k_scriptExtension[]