/// <summary> /// Compile the specified script text. /// </summary> /// <param name="scriptText">Script text.</param> public List<Action> compile(string scriptText) { actions = null; actions = new List<Action> (); DokiScriptParser parser; parser = new DokiScriptParser(new StringReader(scriptText), this); parser.Prepare(); parser.Parse(); //node.PrintTo (Console.Out); return actions; }
/// <summary> /// Compile the specified script text. /// </summary> /// <param name="scriptText">Script text.</param> public List <Action> compile(string scriptText) { actions = null; actions = new List <Action> (); DokiScriptParser parser; parser = new DokiScriptParser(new StringReader(scriptText), this); parser.Prepare(); parser.Parse(); //node.PrintTo (Console.Out); return(actions); }