public ScriptBlock(Tjs owner, string name, int lineoffset, string script, ScriptLineData linedata) { // a class for managing the script block // 以下の4つは实行时にいるかな、名前以外はエラー発生时に必要になるだけだろうけど。 mOwner = owner; mName = name; mLineOffset = lineoffset; mScript = script; mLineData = linedata; mOwner.AddScriptBlock(this); }
public virtual void Compact() { if (Tjs.IsLowMemory) { mScript = null; mLineData = null; int count = mInterCodeObjectList.Count; for (int i = 0; i < count; i++) { InterCodeObject v = mInterCodeObjectList[i].Get(); if (v != null) { v.Compact(); } } } }