MIGRATION NOTE: The new symbol system does not have a single root type; instead you work directly
with distinct declaration/reference/description interfaces (e.g. VariableDeclaration, FunctionReference).
Refactor logic that depends on a common base class to instead branch on the presence of the new
discriminator properties (like _IDENTIFIER) or on known interface shapes. Do not attempt a 1:1 guard replacement.
Legacy type guard for any
URSymbolinstance.MIGRATION NOTE: The new symbol system does not have a single root type; instead you work directly with distinct declaration/reference/description interfaces (e.g. VariableDeclaration, FunctionReference). Refactor logic that depends on a common base class to instead branch on the presence of the new discriminator properties (like
_IDENTIFIER) or on known interface shapes. Do not attempt a 1:1 guard replacement.