-struct sSpiderScript
-{
- tSpiderVariant *Variant;
- tAST_Script *Script;
- char *CurNamespace; //!< Current namespace prefix (NULL = Root) - No trailing .
-};
-
-struct sAST_Script
-{
- // TODO: Namespaces and Classes
- tAST_Function *Functions;
- tAST_Function *LastFunction;
-};
-
-struct sAST_Function
-{
- tAST_Function *Next; //!< Next function in list
- int ReturnType;
- tAST_Node *Code; //!< Function Code
- tAST_Node *Arguments; // HACKJOB (Only NODETYPE_DEFVAR is allowed)
- tAST_Node *Arguments_Last;
- int ArgumentCount;
- char Name[]; //!< Function Name
-};
-