private SqlCompilerOutputScope OpenScope(ContextType type, ContainerNode container) { traversalPath = null; var scope = new SqlCompilerOutputScope(this, Output, type); Output = container; return(scope); }
internal void CloseScope(SqlCompilerOutputScope scope) { traversalPath = null; Output = scope.ParentContainer; if (scope.Type == ContextType.Node) { traversalTable.Remove(traversalStack.Pop()); } }