Exemple #1
0
        public Script_Block clone()
        {
            Script_Block sb = new Script_Block();

            sb.logic_Stat = logic_Stat.clone();
            sb.expList    = expList;
            return(sb);
        }
Exemple #2
0
        private Script_Block match_script_block()
        {
            Script_Block script_block = new Script_Block();

            script_block.logic_Stat = match_logic_stat();
            if (script_block.logic_Stat == null)
            {
                return(null);
            }
            script_block.expList = match_expressions();
            return(script_block);
        }
Exemple #3
0
        private Script match_script()
        {
            Script script = new Script();

            script.title = match_title();
            if (script.title == null)
            {
                return(null);
            }
            script.script_block = new List <Script_Block>();
            Script_Block sb = match_script_block();

            while (sb != null)
            {
                script.script_block.Add(sb);
                sb = match_script_block();
            }
            return(script);
        }