public Script_Block clone() { Script_Block sb = new Script_Block(); sb.logic_Stat = logic_Stat.clone(); sb.expList = expList; return(sb); }
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); }
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); }