private static CollectScriptNodes_r ( |
||
n | ||
x | ||
return | void |
private static void CollectScriptNodes_r(ScriptNode n, ObjArray x)
{
x.Add(n);
int nestedCount = n.GetFunctionCount();
for (int i = 0; i != nestedCount; ++i)
{
CollectScriptNodes_r(n.GetFunctionNode(i), x);
}
}