internal ActiveAxis(Asttree axisTree) { this.axisTree = axisTree; this.currentDepth = -1; this.axisStack = new ArrayList(axisTree.SubtreeArray.Count); for (int i = 0; i < axisTree.SubtreeArray.Count; i++) { AxisStack stack = new AxisStack((ForwardAxis) axisTree.SubtreeArray[i], this); this.axisStack.Add(stack); } this.isActive = true; }