public void Sort(ScriptFunction func) { Array.Sort <ScriptObject>(m_listObject, 0, m_size, new Comparer(m_Script, func)); }
public override ScriptObject Clone() { if (FunctionType != FunstionType.Script) return base.Clone(); ScriptFunction ret = new ScriptFunction(Script, Name, m_ScriptFunction); ret.IsStatic = IsStatic; return ret; }
internal Comparer(Script script, ScriptFunction func) { this.script = script; this.func = func; }
public CodeFunction(ScriptFunction func, string breviary, int line) : base(breviary, line) { this.Func = func; }
public CodeFunction(ScriptFunction func) { this.Func = func; }
public void Sort(ScriptFunction func) { Array.Sort <ScriptValue>(m_Objects, 0, m_Length, new Comparer(func)); }
public Comparer(ScriptFunction func) { this.func = func; }