001package gudusoft.gsqlparser.ir.bound; 002 003/** 004 * Types of binding scopes in the IR scope tree. 005 */ 006public enum EScopeKind { 007 008 /** Global (top-level) scope. */ 009 GLOBAL, 010 011 /** Package scope (TPlsqlCreatePackage). */ 012 PACKAGE, 013 014 /** Procedure/Function scope (TPlsqlCreateProcedure/Function). */ 015 ROUTINE, 016 017 /** PL/SQL block scope (TBlockSqlStatement). */ 018 BLOCK, 019 020 /** SELECT statement scope (TSelectSqlStatement). */ 021 SELECT, 022 023 /** FROM clause scope (TJoinList). */ 024 FROM, 025 026 /** CTE scope (TCTE). */ 027 CTE, 028 029 /** Loop scope (TLoopStmt). */ 030 LOOP, 031 032 /** Exception handler scope (TExceptionClause). */ 033 EXCEPTION 034}