public void CreateScopeTree() { ScopeTreeNode node = new ScopeTreeNode(); node.Parent = current; node.SiblingIndex = current.ChildrenNode.Count; current.ChildrenNode.Add(node); current = node; }
public void BackScopeTree() { if (current.Parent != null) current = current.Parent; }
public LocalScopeTree() { root = new ScopeTreeNode(); current = root; }